Defines a topological solid. More...
Public Member Functions | |
| Solid (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| Solid (cadex.ModelData.Shell theShell) | |
| Constructor. | |
| bool | Append (cadex.ModelData.Shell theShell) |
| Adds a shell to the solid. | |
| bool | Append (cadex.Collections.ShellList theShells) |
| Adds a shells to the solid. | |
Public Member Functions inherited from cadex.ModelData.Shape | |
| Shape (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| override int | GetHashCode () |
| cadex.ModelData.ShapeType | Type () |
| Returns a shape type. For a null object returns Undefined. | |
| cadex.ModelData.ShapeOrientation | Orientation () |
| Returns orientation flag. | |
| cadex.ModelData.Shape | Reversed () |
| Returns a shape that shares the same geometry and subshape graph but has opposite orientation. | |
| cadex.ModelData.Shape | Oriented (cadex.ModelData.ShapeOrientation theOrientation) |
| Returns a shape that shares the same geometry and subshape graph and has specified orientation. | |
| bool | IsEqual (cadex.ModelData.Shape theOther) |
| Returns true if the shape shares the same geometry and subshape graph, and has equal orientation. | |
| bool | IsSame (cadex.ModelData.Shape theOther) |
| Returns true if the shape shares the same geometry and subshape graph. | |
| void | SetName (cadex.UTF16String theName) |
| Sets the name. | |
| cadex.UTF16String | Name () |
| Returns the name. | |
| void | AddAssociatedPMI (cadex.PMI.Element theElement) |
| Adds the PMI element. | |
| void | AddAssociatedPMI (cadex.Collections.PMIElementList theElements) |
| Adds the PMI elements. | |
| cadex.Collections.PMIElementList | AssociatedPMI () |
| Returns the PMI elements. | |
| override bool | Equals (System.Object o) |
Public Member Functions inherited from cadex.BaseObject | |
| BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| bool | IsNull () |
| ulong | Id () |
| Return unique identifier of public object. | |
| bool | IsEqual (cadex.BaseObject theObj) |
| override int | GetHashCode () |
| override bool | Equals (System.Object o) |
Static Public Member Functions | |
| static cadex.ModelData.Solid | Cast (cadex.ModelData.Shape theShape) |
| static new bool | CompareType (cadex.BaseObject theObject) |
| Check the type of object. Returns true if the specified object is this class type. | |
Static Public Member Functions inherited from cadex.ModelData.Shape | |
| static bool | CompareType (cadex.BaseObject theObject) |
| Check the type of object. Returns true if the specified object is this class type. | |
| static cadex.ModelData.Shape | Cast (cadex.BaseObject theBase) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Defines a topological solid.
The following image depicts an example of a solid:
As a rule, a solid has a single external shell. Solids with voids (i.e. multiple shells) are also supported.
Shells must be oriented so that the solid corresponds to a finite volume in 3D space.
|
inline |
Adds a shells to the solid.
There must be single outer (external) shell and zero, one or more inner shells (i.e. voids). It is strongly recommended (although not required) that the first shell being added is an outer shell. Solids with voids may have limited support in CAD Exchanger and other systems.
Returns false if one of theShells is null and true otherwise.
|
inline |
Adds a shell to the solid.
There must be single outer (external) shell and zero, one or more inner shells (i.e. voids). It is strongly recommended (although not required) that the first shell being added is an outer shell. Solids with voids may have limited support in CAD Exchanger and other systems.
Returns false if theShell is null and true otherwise.
|
inlineprotectedvirtual |
Reimplemented from cadex.ModelData.Shape.