IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
PolygonF Class Reference
Inheritance diagram for PolygonF:

Data Structures

class  CInterface
 
class  Handle
 

Public Member Functions

 PolygonF ()
 Initializes a new empty instance of the PolygonF class.
 
 PolygonF (PointF[] points)
 Initializes a new instance of the PolygonF class with specified floating-point points.
 
void Dispose ()
 Releases the resources used by the PolygonF class.
 
override string ToString ()
 Converts the PolygonF to a string representation.
 

Properties

bool IsClosed [get]
 Gets information about whether a polygon is closed.
 
PointF[] Points [get]
 Gets the points from a polygon.
 
static IEqualityComparer< PolygonF > Comparer = new PolygonFEqualityComparer() [get]
 Gets a default equality comparer for comparing PolygonF data values.
 

Detailed Description

A polygon is a two-dimensional geometric shape that is made up of a finite number of straight line segments connected end-to-end to form an open or closed figure. A polygon is represented by the points where the line segments meet.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 17 of file PolygonF.cs.

Constructor & Destructor Documentation

◆ PolygonF() [1/2]

PolygonF ( )
inline

Initializes a new empty instance of the PolygonF class.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 25 of file PolygonF.cs.

◆ PolygonF() [2/2]

PolygonF ( PointF[] points)
inline

Initializes a new instance of the PolygonF class with specified floating-point points.

Parameters
pointsThe points of the polygon.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 37 of file PolygonF.cs.

Member Function Documentation

◆ Dispose()

void Dispose ( )
inline

Releases the resources used by the PolygonF class.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 115 of file PolygonF.cs.

◆ ToString()

override string ToString ( )
inline

Converts the PolygonF to a string representation.

Returns
A string representing of the polygon.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 130 of file PolygonF.cs.

Property Documentation

◆ Comparer

IEqualityComparer<PolygonF> Comparer = new PolygonFEqualityComparer()
staticget

Gets a default equality comparer for comparing PolygonF data values.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 109 of file PolygonF.cs.

◆ IsClosed

bool IsClosed
get

Gets information about whether a polygon is closed.

A closed polygon contains the same point as first and last point. Returns True if closed, False if open.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 59 of file PolygonF.cs.

◆ Points

PointF [] Points
get

Gets the points from a polygon.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 74 of file PolygonF.cs.