| Back | AAM-API documentation | The AAM-Site |
2D triangular mesh container.
This class implements the concept of a 2D triangular mesh. Included functionality is a hit test and matlab export capability.
Performs a hit test on the point p.
Performs a hit test on the point p.
Constructor.
Destructor.
Adds a point to the end.
Replaces the points in the mesh with the one given by a shape. Preserves the triangles.
Adds a triangle to the end.
Writes mesh structure to a matlab file containing three vectors:
xTri X-points. yTri Y-points. Tri Triangles defined as an (ntriangles x 3) matrix. Thus each row defines a triangle using three indices pointing to the point-vectors.
Returns the total area of all triangles in the mesh.
Assignment operator.
Copy constructor.
Alphabetic index Hierarchy of classes
| Back | AAM-API documentation | The AAM-Site |