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

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

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

Public Member Functions

 CurveSet (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 CurveSet ()
 Constructor.
 
void AddCurve (cadex.Geom.Curve2d theCurve)
 Adds a 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.CurveSet Cast (cadex.Drawing.Element theBase)
 
static cadex.Drawing.CurveSet 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)
 
- Protected Member Functions inherited from cadex.Drawing.Geometry
override void Dispose (bool disposing)
 

Detailed Description

Describes drawing elements composed of 2D curves.

This geometric element encapsulates the portion of the view's geometry described with parametric 2D curves (more specifically, objects of classes derived from Geom.Curve2d).

Examples
exploring/drawings/Program.cs, exploring/drawings/main.cxx, nesting/nesting_computer/Program.cs, and nesting/nesting_computer/main.cxx.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.BaseObject.