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)
 theIndex must be in the range [0, NumberOfPolylines()-1].
 
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

◆ AddPolyline()

void cadex.ModelData.PolylineSet.AddPolyline ( cadex.Geom.Polyline thePolyline)
inline

Adds a polyline into a polyline set.

◆ AddPolylines()

void cadex.ModelData.PolylineSet.AddPolylines ( cadex.ModelData.PolylineSet theSet)
inline

Adds polylines from theSet into a polyline set.

◆ Dispose()

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

Reimplemented from cadex.ModelData.MeshShape.

◆ NumberOfPolylines()

uint cadex.ModelData.PolylineSet.NumberOfPolylines ( )
inline

Returns a number of polylines in polyline set.

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

◆ Polyline()

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

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

Otherwise the result is undefined. Returns the polyline at position theIndex in polyline set.

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