Leaper Vision Toolkit
LPoints类 参考
类 LPoints 继承关系图:
ILPoints ILDrawable ILSortable ILGeomObject ILObject

额外继承的成员函数

- Public 成员函数 继承自 ILPoints
void Add (double x, double y)
 
void AddPoints (ILPoints *points)
 
void AddPointsInRegion (ILRegion *region)
 
int Count ()
 
LArray< double > DistancesToLine (ILLine *line)
 
LArray< double > DistancesToPoint (ILPoint *point)
 
LArray< double > DistancesToPoints (ILPoints *points, LArray< int > indexes)
 
LArray< double > DistancesToPolygon (ILPolygon *polygon, LArray< ILPoint * > rootPoints)
 
double DistanceToLine (ILLine *line, LPVAggregation aggType)
 
double DistanceToPoint (ILPoint *point, LPVAggregation aggType)
 
double DistanceToPoints (ILPoints *points, LPVAggregation aggType)
 
double DistanceToPolygon (ILPolygon *polygon, LPVAggregation aggType)
 
void Draw (HDC hdc, double zoomX, double zoomY, double panX, double panY)
 
BOOL Empty ()
 
ILCircleFitCircle ()
 
ILEllipseFitEllipse ()
 
ILLineFitLine ()
 
void FromSortables (ILSortables *sortable, LPVPositionMode posMode)
 
ILCircleGetBoundingCircle ()
 
ILRectGetBoundingRect ()
 
ILRectGetBoundingRotRect ()
 
ILPointGetCenter ()
 
ILPolygonGetConvexHull ()
 
void GetPoints (LArray< double > xs, LArray< double > ys)
 
ILPointItem (int index)
 
void RemovePoints (double lbX, double ubX, double lbY, double ubY)
 
ILPointsScale (double factorX, double factorY)
 
void SetPoints (LArray< double > xs, LArray< double > ys)
 
ILPointsTransform (ILTransform *tf)
 
ILPointsTranslate (double offsetX, double offsetY)
 
- Public 成员函数 继承自 ILGeomObject
void Drag (LPVGeomHandle geomHandle, int posX, int posY, double zoomX, double zoomY, double panX, double panY)
 
void EnableHandle (LPVGeomHandle geomHandle, BOOL enabled)
 
LPVGeomHandle HitTest (int posX, int posY, double zoomX, double zoomY, double panX, double panY)
 
void ScaleTo (double factorX, double factorY)
 
void TransformTo (ILTransform *tf)
 
void TranslateTo (double offsetX, double offsetY)
 
- Public 成员函数 继承自 ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 
- Public 成员函数 继承自 ILDrawable
void SetBrushColor (COLORREF brushColor)
 
void SetDrawName (BOOL val)
 
void SetDrawPoint (int size, LPVPointShape shape)
 
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 ()
 
- 属性 继承自 ILObject
LString Name [get, set]
 对象的名称,默认为空。
大多数情况下,LPV 算法类并不使用这个名称。
ILDrawable::SetDrawName() 启用,该名称将被绘制在对象的附近 更多...
 
- 属性 继承自 ILSortable
int Index [get, set]
 索引
 

详细描述

该类实现了 ILPoints 接口,用于创建点集合的实例。