OCC.Core.Tesselator module¶
-
class
ShapeTesselator
(ShapeTesselator self, TopoDS_Shape aShape) → ShapeTesselator¶ Bases:
object
-
Compute
(ShapeTesselator self, bool compute_edges=False, float mesh_quality=1.0, bool parallel=False)¶
-
ExportShapeToThreejsJSONString
(ShapeTesselator self, char * shape_function_name) → std::string¶
-
ExportShapeToX3D
(ShapeTesselator self, char * filename, int diffR=1, int diffG=0, int diffB=0)¶
-
ExportShapeToX3DIndexedFaceSet
(ShapeTesselator self) → std::string¶
-
GetEdgeVertex
(ShapeTesselator self, int iEdge, int ivert)¶
-
GetNormal
(ShapeTesselator self, int inorm)¶
-
GetNormalsAsTuple
(ShapeTesselator self) → vector_float¶
-
GetTriangleIndex
(ShapeTesselator self, int triangleIdx)¶
-
GetVertex
(ShapeTesselator self, int ivert)¶
-
GetVerticesPositionAsTuple
(ShapeTesselator self) → vector_float¶
-
ObjEdgeGetVertexCount
(ShapeTesselator self, int iEdge) → int¶
-
ObjGetEdgeCount
(ShapeTesselator self) → int¶
-
ObjGetInvalidTriangleCount
(ShapeTesselator self) → int¶
-
ObjGetNormalCount
(ShapeTesselator self) → int¶
-
ObjGetTriangleCount
(ShapeTesselator self) → int¶
-
ObjGetVertexCount
(ShapeTesselator self) → int¶
-
VerticesList
(ShapeTesselator self) → float *¶
-
property
thisown
¶ The membership flag
-