![]() |
v0.4.1
Fast, portable C library for geometry input/output
|
Provides creation of a new domain within an OpenCascade StlMesh_Mesh.
More...
Public Member Functions | |
| gmio_stl_mesh_creator_occmesh () | |
| gmio_stl_mesh_creator_occmesh (const Handle_StlMesh_Mesh &hnd) | |
| const Handle_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 function that handles declaration of a solid. More... | |
| void(* | func_add_triangle )(void *cookie, uint32_t tri_id, const struct gmio_stl_triangle *triangle) |
| Function that adds a triangle to the user mesh. More... | |
| void(* | func_end_solid )(void *cookie) |
| Optional function that finalizes creation of the user mesh. More... | |
Provides creation of a new domain within an OpenCascade StlMesh_Mesh.
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 |
|
inline |
| Fougue © 2017 | Last Update: Fri Apr 14 2017 |