cg_lab_triangles, an Octave code which carries out computational investigations involving triangles, for a computational geometry class.
The text of the assignment itself is available in cg_lab_triangles.pdf.
The information on this web page is distributed under the MIT license.
cg_lab_triangles is available in a MATLAB version and an Octave version.
geometry, an Octave code which evaluates various geometric quantities.
random_data, an Octave code which can uniformly sample points from a variety of regions.
stroud_rule, an Octave code which contains quadrature rules for a variety of unusual areas, surfaces and volumes in 2D, 3D and N-dimensions.
triangle_dunavant_rule, an Octave code which defines Dunavant rules for quadrature on a triangle.
triangle_fekete_rule, an Octave code which defines Fekete rules for quadrature or interpolation on a triangle.
triangle_ncc_rule, an Octave code which defines Newton-Cotes closed quadrature rules on a triangle.
triangle_nco_rule, an Octave code which defines Newton-Cotes open quadrature rules on a triangle.
triangle_wandzura_rule, an Octave code which defines Wandzura rules for quadrature on a triangle.