Contains connecting information between B-Rep and Poly representation. More...
Public Member Functions | |
ModelData_MeshPatch | Get (const ModelData_Vertex &theVertex) const |
Returns the result of meshing the given vertex. | |
ModelData_MeshPatch | Get (const ModelData_Edge &theEdge) const |
Returns the result of meshing the given edge. | |
ModelData_MeshPatch | Get (const ModelData_Face &theFace) const |
Returns the result of meshing the given face. | |
const std::shared_ptr< internal::ModelData_BRepToPolyAssociationsImpl > & | Impl () const |
Contains connecting information between B-Rep and Poly representation.
Methods of this container class allow to get index array from PolyVertexSet (one of IndexedTriangleSet, PolyLineSet, PolyPointSet) which represents parts of mesh, corresponding to ModelData_Face, ModelData_Edge, ModelData_Vertex of original B-Rep model.
ModelData_MeshPatch cadex::ModelData_BRepToPolyAssociations::Get | ( | const ModelData_Edge & | theEdge | ) | const |
Returns the result of meshing the given edge.
The result is a polyline represented by ModelData_MeshPatch. If this edge was part of Solid or Sheet body, the vertex set would be ModelData_IndexedTriangleSet, and if it was part of Wireframe body, the vertex set would be ModelData_PolyLineSet.
If edge is null or was meshed by a different mesher instance, returns false.
ModelData_MeshPatch cadex::ModelData_BRepToPolyAssociations::Get | ( | const ModelData_Face & | theFace | ) | const |
Returns the result of meshing the given face.
The result is a piece of mesh represented by ModelData_MeshPatch.
If face is null or was meshed by a different mesher instance, returns false.
ModelData_MeshPatch cadex::ModelData_BRepToPolyAssociations::Get | ( | const ModelData_Vertex & | theVertex | ) | const |
Returns the result of meshing the given vertex.
The result is a point represented by ModelData_MeshPatch. If this vertex was part of Solid or Sheet body, the vertex set would be ModelData_IndexedTriangleSet, and if it was part of Wireframe body, the vertex set would be ModelData_PolyLineSet, and if it was part of Acorn body, the vertex set would be ModelData_PolyPointSet,
If vertex is null or was meshed by a different mesher instance, returns false.