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

Defines an outline consisting of 2D curves. More...

Inheritance diagram for cadex.PMI.Curve2dOutline:
cadex.PMI.Outline cadex.BaseObject

Public Member Functions

 Curve2dOutline (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Curve2dOutline ()
 Constructor.
 
void Append (cadex.Geom.Curve2d theCurve)
 Appends the curve.
 
cadex.Collections.Curve2dList Curves ()
 Returns the curves.
 
bool IsEmpty ()
 Returns true if no curves have been added.
 
uint NumberOfCurves ()
 Returns the number of added curves.
 
cadex.Geom.Curve2d Curve (uint theIndex)
 Returns the specified curve.
 
- Public Member Functions inherited from cadex.PMI.Outline
 Outline (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Accept (cadex.PMI.OutlineVisitor theVisitor)
 
- 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)
 Returns true if theOutline has the Curve2dOutline type.
 
- Static Public Member Functions inherited from cadex.PMI.Outline
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the Outline type.
 
static cadex.PMI.Outline Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from cadex.PMI.Outline
override void Dispose (bool disposing)
 

Detailed Description

Defines an outline consisting of 2D curves.

See also
OutlinedComponent
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Member Function Documentation

◆ Dispose()

override void cadex.PMI.Curve2dOutline.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.BaseObject.

◆ IsEmpty()

bool cadex.PMI.Curve2dOutline.IsEmpty ( )
inline

Returns true if no curves have been added.

Returns true if IsNull().

◆ NumberOfCurves()

uint cadex.PMI.Curve2dOutline.NumberOfCurves ( )
inline

Returns the number of added curves.

Returns 0 if IsNull().

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