Defines a connected set of faces. More...
Public Member Functions | |
| Shell (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| Shell (cadex.ModelData.Face theFace) | |
| Constructor. | |
| bool | Append (cadex.ModelData.Face theFace) |
| bool | Append (cadex.Collections.FaceList theFaces) |
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.Shell | 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 connected set of faces.
The following image depicts an example of a shell:
Direct children of shell are faces which must be connected with each other (i.e. have common edges) and consistently oriented (i.e. each common edge must be forward in one face and reversed in the other).
Although the data model can describe a non-manifold topology (i.e. a common edge shared by more than two faces), it is strongly not recommended to construct such.
Shell bounding a solid must be closed. A shell not belonging to a solid may have free edges (i.e. shared by one face only).
|
inlineprotectedvirtual |
Reimplemented from cadex.ModelData.Shape.