Leaper Vision Toolkit
LPolygon类 参考
类 LPolygon 继承关系图:
ILPolygon ILDrawable ILSortable ILObjects ILObject

额外继承的成员函数

- Public 成员函数 继承自 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 成员函数 继承自 ILObjects
int Count ()
 
BOOL Empty ()
 
ILObjectItemObject (int objIndex)
 
- Public 成员函数 继承自 ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Public 成员函数 继承自 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 成员函数 继承自 ILSortable
double GetPosX (LPVPositionMode posMode)
 
double GetPosY (LPVPositionMode posMode)
 
double GetScore ()
 
- 属性 继承自 ILPolygon
BOOL Closed [get, set]
 多边形是否闭合
 
- 属性 继承自 ILSortable
int Index [get, set]
 

详细描述

该类实现了 ILPolygon 接口,用于创建多边形的实例。