33 # error C++ compiler required
36 #ifndef GMIO_SUPPORT_STL_OCC_BREP_H
37 #define GMIO_SUPPORT_STL_OCC_BREP_H
40 #include "../gmio_stl/stl_mesh.h"
44 #include <Poly_Triangulation.hxx>
45 #include <TopoDS_Shape.hxx>
66 inline const TopoDS_Shape*
shape()
const {
return m_shape; }
69 static void get_triangle(
72 void init_C_members();
77 const TColgp_Array1OfPnt* ptr_nodes;
79 struct triangle_data {
80 const Poly_Triangle* ptr_triangle;
81 const face_data* ptr_face_data;
84 std::vector<face_data> m_vec_face_data;
85 std::vector<triangle_data> m_vec_triangle_data;
86 const TopoDS_Shape* m_shape;
Provides an interface for accessing the underlying(hidden) user mesh.
Definition: stl_mesh.h:30
const void * cookie
Opaque pointer on the user mesh, passed as first argument to hook functions.
Definition: stl_mesh.h:34
STL mesh triangle.
Definition: stl_triangle.h:30
Provides access to all the internal triangles of OpenCascade's TopoDS_Shape.
Definition: stl_occ_brep.h:61
Global declarations for the support module.
const TopoDS_Shape * shape() const
Definition: stl_occ_brep.h:66