Hide menu
Loading...
Searching...
No Matches
cadex.Drawing.PiecewiseContour Class Reference

Describes drawing elements composed connected 2D curves. More...

Inheritance diagram for cadex.Drawing.PiecewiseContour:
cadex.Drawing.Geometry cadex.Drawing.Element cadex.BaseObject

Public Member Functions

 PiecewiseContour (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 PiecewiseContour ()
 Constructor.
 
bool IsClosed ()
 Returns true if the contour is closed.
 
bool AddCurve (cadex.Geom.Curve2d theCurve)
 Adds a trimmed curve or a B-spline curve to the element.
 
uint NumberOfCurves ()
 Returns the number of curves currently composing the element.
 
cadex.Geom.Curve2d Curve (uint theIndex)
 Returns the specified curve of the element.
 
- Public Member Functions inherited from cadex.Drawing.Geometry
 Geometry (global::System.IntPtr cPtr, bool cMemoryOwn)
 
- Public Member Functions inherited from cadex.Drawing.Element
 Element (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void SetUuid (System.Guid theUuid)
 
System.Guid Uuid ()
 
void Accept (cadex.Drawing.ElementVisitor 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)
 
static new cadex.Drawing.PiecewiseContour Cast (cadex.Drawing.Element theBase)
 
static cadex.Drawing.PiecewiseContour Cast (cadex.Drawing.Geometry theBase)
 
- Static Public Member Functions inherited from cadex.Drawing.Geometry
static cadex.Drawing.Geometry Cast (cadex.Drawing.Element theBase)
 
- Static Public Member Functions inherited from cadex.Drawing.Element
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the Element type.
 
static cadex.Drawing.Element Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Describes drawing elements composed connected 2D curves.

Restriction - can only contain Geom.Curve2d if it's trimmed (i.e., IsTrimmed() returns true) and Geom.BSplineCurve2d.

Member Function Documentation

◆ Dispose()

override void cadex.Drawing.PiecewiseContour.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.Drawing.Geometry.