Hide menu
Loading...
Searching...
No Matches
cadex.ModelData.Polyline2dSet Class Reference

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

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

Public Member Functions

 Polyline2dSet (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Polyline2dSet (cadex.Geom.Polyline2d thePolyline)
 
void AddPolyline (cadex.Geom.Polyline2d thePolyline)
 Adds a polyline into a polyline set.
 
void AddPolylines (cadex.ModelData.Polyline2dSet theSet)
 Adds polylines from theSet into a polyline set.
 
cadex.Geom.Polyline2d 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.Polyline2dSet 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.Polyline2dSet.AddPolyline ( cadex.Geom.Polyline2d thePolyline)
inline

Adds a polyline into a polyline set.

◆ AddPolylines()

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

Adds polylines from theSet into a polyline set.

◆ Dispose()

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

Reimplemented from cadex.ModelData.MeshShape.

◆ NumberOfPolylines()

uint cadex.ModelData.Polyline2dSet.NumberOfPolylines ( )
inline

Returns a number of polylines in polyline set.

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

◆ Polyline()

cadex.Geom.Polyline2d cadex.ModelData.Polyline2dSet.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.