Hide menu
Loading...
Searching...
No Matches

Defines a topological solid. More...

Inheritance diagram for cadex.ModelData.Solid:
cadex.ModelData.Shape cadex.BaseObject

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)
 

Detailed Description

Member Function Documentation

◆ Append() [1/2]

bool cadex.ModelData.Solid.Append ( cadex.Collections.ShellList theShells)
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.

◆ Append() [2/2]

bool cadex.ModelData.Solid.Append ( cadex.ModelData.Shell theShell)
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.

◆ Dispose()

override void cadex.ModelData.Solid.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.ModelData.Shape.