Leaper Vision Toolkit
LPolygon Class Reference
Inheritance diagram for LPolygon:
ILPolygon ILDrawable ILSortable ILObjects ILObject

Additional Inherited Members

- Public Member Functions inherited from ILPolygon
void AddPoints (ILPoints *points)
 
double DistanceToPoint (ILPoint *point, LPVAggregation aggType, ILPoint **rootPoint)
 
double DistanceToPolygon (ILPolygon *polygon, LPVAggregation aggType, ILPoint **rootPoint1, ILPoint **rootPoint2)
 
void Draw (BOOL bFill, HDC hdc, double zoomX, double zoomY, double panX, double panY)
 
void FromPolyRegion (ILPolyRegion *val)
 
double GetArea ()
 
ILPointGetGravityCenter ()
 
ILCircleGetInscribedCircle ()
 
double GetPerimeter ()
 
ILPointsGetPoints ()
 
LPVIntersectType IntersectLine (ILLine *line, ILPoints **intersectPoints)
 
BOOL IntersectPolygon (ILPolygon *polygon, ILPoints **intersectPoints)
 
ILPointItem (int index)
 
LPVPointTestResult PointTest (ILPoint *point)
 
void RemovePoints (double lbX, double ubX, double lbY, double ubY)
 
ILPolygonResample (int num)
 
ILPolygonResampleByStep (double step, double stepThreshold)
 
void Set (int index, double x, double y)
 
void SetPolygon (LArray< double > xs, LArray< double > ys, BOOL isClosed)
 
ILPolyRegionToPolyRegion ()
 
ILPolygonTransform (ILTransform *tf)
 
ILPolygonTranslate (double offsetX, double offsetY)
 
- Public Member Functions inherited from ILObjects
int Count ()
 
BOOL Empty ()
 
ILObjectItemObject (int objIndex)
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Public Member Functions inherited from ILDrawable
void SetBrushColor (COLORREF brushColor)
 
void SetFont (LString fontFamily, int fontHeight, COLORREF fontColor, BOOL bold, BOOL italic, BOOL underline, BOOL strikeOut)
 
void SetFontColor (COLORREF fontColor)
 
void SetFontFamily (LString fontFamily)
 
void SetFontHeight (int fontHeight)
 
void SetPen (LPVPenStyle penStyle, int penWidth, COLORREF penColor)
 
void SetPenColor (COLORREF penColor)
 
void SetPenStyle (LPVPenStyle penStyle)
 
void SetPenWidth (int penWidth)
 
- Public Member Functions inherited from ILSortable
double GetPosX (LPVPositionMode posMode)
 
double GetPosY (LPVPositionMode posMode)
 
double GetScore ()
 
- Properties inherited from ILPolygon
BOOL Closed [get, set]
 Whether this is a closed polygon.
 
- Properties inherited from ILSortable
int Index [get, set]
 

Detailed Description

This class implements the interface ILPolygon, and is used to create an instance of polygon.