Click or drag to resize
AB4D logo

CadPart Class

CadPart is an object that can be hierarchically organized, can have child CadParts and can use a CadShell that defines faces.
Inheritance Hierarchy
SystemObject
  Ab4d.OpenCascadeCadPart

Namespace: Ab4d.OpenCascade
Assembly: Ab4d.OpenCascade (in Ab4d.OpenCascade.dll) Version: 1.0.0
Syntax
C#
public class CadPart

The CadPart type exposes the following members.

Constructors
 NameDescription
Public methodCadPartInitializes a new instance of the CadPart class
Top
Fields
 NameDescription
Public fieldBoundingBoxMax Gets the max value of the bounding box of this part.
Public fieldBoundingBoxMin Gets the min value of the bounding box of this part.
Public fieldChildren List of child CadParts.
Public fieldId Id defined by OpenCascade.
Public fieldName Name that is defined in the CAD file.
Public fieldParent Parent CadPart or null when this is a root CadPart.
Public fieldPartColor An array of color values in RGBA format that define the color of this CadPart and its CadFaces (when individual CadFace does not define its own FaceColor).
Public fieldShellIndex When this CadPart defines a Shell with faces, then ShellIndex is an index in the Shells list. When -1, then no Shell is defined.
Public fieldSurfaceArea Gets the calculated exact surface area of this part. This value is calculated when CalculateShapeProperties is set to true (by default).
Public fieldTransformMatrix Transformation matrix that is defined as 16 float values (4 x 4 row major matrix). When null, then no transformation is used.
Public fieldVolume Gets the calculated exact value of this part. This value is calculated when CalculateShapeProperties is set to true (by default).
Top
See Also