|
CadFace Class |
CadFace defines a 3D face that is defined by multiple edges.
The face can also define a triangulated mesh and interpolated edge positions.
Inheritance Hierarchy Namespace: Ab4d.OpenCascadeAssembly: Ab4d.OpenCascade (in Ab4d.OpenCascade.dll) Version: 1.0.0
Syntax The CadFace type exposes the following members.
Constructors | Name | Description |
---|
| CadFace | Initializes a new instance of the CadFace class |
TopFields | Name | Description |
---|
| EdgeCurves |
Gets an array of edge curve objects that define the edges.
|
| EdgeIndices |
EdgeIndices are defined where one pair of int values define one edge: first int is the index in the EdgePositionsBuffer, second int is number of positions per edge).
This array is defined when GenerateInterpolatedEdgePositions is set to true (by default).
|
| EdgeLengths |
Calculated lengths of each edge.
This array is defined when CalculateShapeProperties is set to true (by default).
|
| EdgePositionsBuffer |
Edge positions define interpolated edge positions.
This array is defined when GenerateInterpolatedEdgePositions is set to true (by default).
|
| FaceColor |
An array of color values in RGBA format.
When null, then this CadFace does not have its own color, instead Color defined in PartData is used.
|
| SurfaceArea |
Gets the calculated exact surface area of this face.
This value is calculated when CalculateShapeProperties is set to true (by default).
|
| TriangleIndices |
Indices in the VertexBuffer that define triangles - 3 indices per triangle.
This array is defined when GenerateTriangulatedMeshes is set to true (by default).
|
| VertexBuffer |
VertexBuffer where each vertex is defined by 7 float values: xPos, yPos, zPos, xNormal, yNormal, zNormal, u, v.
This array is defined when GenerateTriangulatedMeshes is set to true (by default).
|
TopSee Also