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

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

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

Public Member Functions

 PointSet (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 PointSet ()
 Constructor.
 
void AddPoint (cadex.Geom.Point2d thePoint)
 
uint NumberOfPoints ()
 
cadex.Geom.Point2d Point (uint theIndex)
 
- 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.PointSet Cast (cadex.Drawing.Element theBase)
 
static cadex.Drawing.PointSet 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 of 2D points.

Defines a polygonal shape consisting of individual points.

This geometric element encapsulates the portion of the view's geometry described with 2D points.

Constructor & Destructor Documentation

◆ PointSet()

cadex.Drawing.PointSet.PointSet ( )
inline

Constructor.

Creates a point set from points thePoints. Constructor.

Creates not initialized object, for which IsNull() returns true.

Member Function Documentation

◆ AddPoint()

void cadex.Drawing.PointSet.AddPoint ( cadex.Geom.Point2d thePoint)
inline

Adds the point to the element. Adds a point into a point set.

◆ Dispose()

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

Reimplemented from cadex.Drawing.Geometry.

◆ NumberOfPoints()

uint cadex.Drawing.PointSet.NumberOfPoints ( )
inline

Returns the number of points currently composing the element. Returns a number of points in point set.

◆ Point()

cadex.Geom.Point2d cadex.Drawing.PointSet.Point ( uint theIndex)
inline

Returns the specified point of the element. Returns the point at position theIndex in point set.