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

Defines a polygonal shape consisting of polylines. More...

Inheritance diagram for cadex.ModelData.PolylineSet:
cadex.ModelData.MeshShape cadex.BaseObject

Public Member Functions

 PolylineSet (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 PolylineSet (cadex.Geom.Polyline thePolyline)
 
void AddPolyline (cadex.Geom.Polyline thePolyline)
 Adds a polyline into a polyline set.
 
void AddPolylines (cadex.ModelData.PolylineSet theSet)
 Adds polylines from theSet into a polyline set.
 
cadex.Geom.Polyline Polyline (uint theIndex)
 Returns the polyline at position theIndex in polyline set.
 
uint NumberOfPolylines ()
 Returns a number of polylines in polyline set.
 
- Public Member Functions inherited from cadex.ModelData.MeshShape
 MeshShape (global::System.IntPtr cPtr, bool cMemoryOwn)
 
- 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 new bool CompareType (cadex.BaseObject theObject)
 
static cadex.ModelData.PolylineSet Cast (cadex.ModelData.MeshShape theBase)
 
- Static Public Member Functions inherited from cadex.ModelData.MeshShape
static bool CompareType (cadex.BaseObject theObject)
 Check the type of object. Returns true if the specified object is this class type.
 
static cadex.ModelData.MeshShape Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines a polygonal shape consisting of polylines.

Examples
exploring/mesh/Program.cs, and exploring/mesh/main.cxx.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.ModelData.MeshShape.

◆ Polyline()

cadex.Geom.Polyline cadex.ModelData.PolylineSet.Polyline ( uint theIndex)
inline

Returns the polyline at position theIndex in polyline set.

theIndex must be in the range [0, NumberOfPolylines()-1]. Otherwise the result is undefined.

Examples
exploring/mesh/Program.cs, and exploring/mesh/main.cxx.