v0.4.1
Fast, portable C library for geometry input/output
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
Public Member Functions
gmio_stl_mesh_creator_occshape Struct Reference

Provides creation of an OpenCascade TopoDS_Shape containing no geometrical surfaces but only a Poly_Triangulation structure. More...

Inheritance diagram for gmio_stl_mesh_creator_occshape:
gmio_stl_mesh_creator_occpolytri gmio_stl_mesh_creator

Public Member Functions

 gmio_stl_mesh_creator_occshape ()
 
TopoDS_Shape & shape ()
 
- Public Member Functions inherited from gmio_stl_mesh_creator_occpolytri
 gmio_stl_mesh_creator_occpolytri ()
 
const Handle_Poly_Triangulation & polytri () 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...
 

Detailed Description

Provides creation of an OpenCascade TopoDS_Shape containing no geometrical surfaces but only a Poly_Triangulation structure.

Example of use:

gmio_stl_read_file(filepath, &meshcreator, &options);
const TopoDS_Shape shape = meshcreator.shape();

Constructor & Destructor Documentation

gmio_stl_mesh_creator_occshape::gmio_stl_mesh_creator_occshape ( )

Member Function Documentation

TopoDS_Shape& gmio_stl_mesh_creator_occshape::shape ( )
inline

The documentation for this struct was generated from the following file:
Fougue © 2017