chrono::cascade::ChCascadeMeshTools Class Reference
Description
Tools to convert an OpenCASCADE shapes into triangle meshes.
#include <ChCascadeMeshTools.h>
Static Public Member Functions | |
static void | fillTriangleMeshFromCascadeFace (geometry::ChTriangleMeshConnected &chmesh, const TopoDS_Face &F) |
This function can be used to convert a OpenCASCADE face into a triangle mesh. More... | |
static void | fillTriangleMeshFromCascade (geometry::ChTriangleMeshConnected &chmesh, const TopoDS_Shape &mshape, const ChCascadeTriangulateTolerances &mtolerances) |
This function can be used to convert a OpenCASCADE shape into a Chrono ChTriangleMesh triangle mesh. More... | |
static void | fillObjFileFromCascade (ChStreamOutAscii &objfile, const TopoDS_Shape &mshape, const ChCascadeTriangulateTolerances &mtolerances) |
This function can be used to convert a OpenCASCADE shape into a 'obj' file format. More... | |
Member Function Documentation
◆ fillObjFileFromCascade()
|
static |
This function can be used to convert a OpenCASCADE shape into a 'obj' file format.
The file 'objfile' must be already opened, and empty. Also normals are saved.
- Parameters
-
objfile the .obj file will be written here mshape OpenCASCADE face to be output as 'obj' file mtolerances tesselation tolerances
◆ fillTriangleMeshFromCascade()
|
static |
This function can be used to convert a OpenCASCADE shape into a Chrono ChTriangleMesh triangle mesh.
- Parameters
-
chmesh Mesh that will be filled with triangles mshape OpenCASCADE face to be meshed mtolerances tesselation tolerances
◆ fillTriangleMeshFromCascadeFace()
|
static |
This function can be used to convert a OpenCASCADE face into a triangle mesh.
The face must be already mshed (ex because you called fillTriangleMeshFromCascade before).
- Parameters
-
chmesh Mesh that will be filled with triangles F OpenCASCADE face to be meshed
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_cascade/ChCascadeMeshTools.h
- /builds/uwsbel/chrono/src/chrono_cascade/ChCascadeMeshTools.cpp