![]() |
v0.3.0
Fast, portable C library for geometry input/output
|
Provides creation of a new domain within an StlMesh_Mesh object. More...
Public Member Functions | |
| gmio_stl_mesh_creator_occmesh () | |
| gmio_stl_mesh_creator_occmesh (StlMesh_Mesh *mesh) | |
| gmio_stl_mesh_creator_occmesh (const Handle_StlMesh_Mesh &hnd) | |
| StlMesh_Mesh * | mesh () const |
Additional Inherited Members | |
Data Fields inherited from gmio_stl_mesh_creator | |
| void * | cookie |
| Opaque pointer on the user mesh, passed as first argument to hook functions. More... | |
| void(* | func_begin_solid )(void *cookie, const struct gmio_stl_mesh_creator_infos *infos) |
| Optional pointer on a function that handles declaration of a solid. More... | |
| void(* | func_add_triangle )(void *cookie, uint32_t tri_id, const struct gmio_stl_triangle *triangle) |
| Pointer on a function that adds a triangle to the user mesh. More... | |
| void(* | func_end_solid )(void *cookie) |
| Optional pointer on a function that finalizes creation of the user mesh. More... | |
Provides creation of a new domain within an StlMesh_Mesh object.
gmio_stl_mesh_creator::func_add_triangle() calls StlMesh_Mesh::AddVertex() only for new unique vertices, ie. they are no vertex duplicates in the resulting domain.
As of OpenCascade v7.0.0, it's not possible to rely on StlMesh_Mesh::AddOnlyNewVertex(): this function still has the same effect as StlMesh_Mesh::AddVertex()
Example of use:
| gmio_stl_mesh_creator_occmesh::gmio_stl_mesh_creator_occmesh | ( | ) |
|
explicit |
|
explicit |
|
inline |
| Fougue © 2016 | Last Update: Tue Jul 5 2016 |