|
MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHcTriangleMesh.h>


Public Member Functions | |
| void | addTriangle (const ChVector<> &vertex0, const ChVector<> &vertex1, const ChVector<> &vertex2) |
| void | addTriangle (const ChTriangle &atriangle) |
| int | getNumTriangles () const |
| const ChTriangle & | getTriangle (int index) const |
| virtual int | GetClassType () |
| virtual int | GetManifoldDimension () |
| void chrono::geometry::ChTriangleMesh::addTriangle | ( | const ChVector<> & | vertex0, | |
| const ChVector<> & | vertex1, | |||
| const ChVector<> & | vertex2 | |||
| ) |
Add a triangle to this triangle mesh, by specifying the three coordinates.
| void chrono::geometry::ChTriangleMesh::addTriangle | ( | const ChTriangle & | atriangle | ) |
Add a triangle to this triangle mesh, by specifying a ChTriangle.
| int chrono::geometry::ChTriangleMesh::getNumTriangles | ( | ) | const |
Get the number of triangles already added to this mesh.
| const ChTriangle& chrono::geometry::ChTriangleMesh::getTriangle | ( | int | index | ) | const |
Access the n-th triangle in mesh.
| virtual int chrono::geometry::ChTriangleMesh::GetClassType | ( | ) | [virtual] |
Get the class type as unique numerical ID (faster than using ChronoRTTI mechanism). Each inherited class must return an unique ID.
Reimplemented from chrono::geometry::ChGeometry.
| virtual int chrono::geometry::ChTriangleMesh::GetManifoldDimension | ( | ) | [virtual] |
CHRONO::ENGINE