47 # error C++ compiler required
50 #ifndef GMIO_SUPPORT_STL_OCC_BREP_H
51 #define GMIO_SUPPORT_STL_OCC_BREP_H
54 #include "../gmio_stl/stl_mesh.h"
58 #include <Poly_Triangulation.hxx>
59 #include <TopoDS_Shape.hxx>
80 inline const TopoDS_Shape*
shape()
const {
return m_shape; }
83 static void get_triangle(
86 void init_C_members();
91 const TColgp_Array1OfPnt* ptr_nodes;
93 struct triangle_data {
94 const Poly_Triangle* ptr_triangle;
95 const face_data* ptr_face_data;
98 std::vector<face_data> m_vec_face_data;
99 std::vector<triangle_data> m_vec_triangle_data;
100 const TopoDS_Shape* m_shape;
Provides an interface for accessing the underlying(hidden) user mesh.
Definition: stl_mesh.h:44
const void * cookie
Opaque pointer on the user mesh, passed as first argument to hook functions.
Definition: stl_mesh.h:48
STL mesh triangle.
Definition: stl_triangle.h:44
Provides access to all the internal triangles of OpenCascade's TopoDS_Shape.
Definition: stl_occ_brep.h:75
Global declarations for the support module.
const TopoDS_Shape * shape() const
Definition: stl_occ_brep.h:80