Leaper Vision Toolkit
中文 / English 2.x
LLine Class Reference
Inheritance diagram for LLine:
ILLine ILDrawable ILSortable ILGeomObject ILObject

Additional Inherited Members

- Public Member Functions inherited from ILLine
double AcuteAngle (ILLine *line)
 
double AngleTo (ILLine *line)
 
ILLineBisectLine (ILLine *line)
 
double Distance (ILLine *line)
 
void Draw (HDC hdc, double zoomX, double zoomY, double panX, double panY)
 
void FromRotRectRegion (ILRotRectRegion *val)
 
double GetAngle ()
 
ILPointGetEndPoint ()
 
double GetLength ()
 
ILPointGetMidPoint ()
 
ILPointGetStartPoint ()
 
double GetX (double y)
 
double GetY (double x)
 
LPVIntersectType IntersectCircle (ILCircle *circle, ILPoints **intersectPoints)
 
LPVIntersectType IntersectLine (ILLine *line, ILPoint **intersectPoint)
 
LPVIntersectType IntersectPoly (ILPolygon *polygon, ILPoints **intersectPoints)
 
double Parallel (ILLine *line)
 
double Perpendicular (ILPoint *point, ILPoint **rootPoint)
 
ILPolygonResample (int num)
 
ILPolygonResampleByStep (double step, double stepThreshold)
 
void Set (double x1, double y1, double x2, double y2)
 
void Set2 (double midx, double midy, double lineAngle, double length)
 
ILRotRectRegionToRotRectRegion (int exp)
 
ILLineTransform (ILTransform *tf)
 
ILLineTranslate (double offsetX, double offsetY)
 
- Public Member Functions inherited from 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 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 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 Member Functions inherited from ILSortable
double GetPosX (LPVPositionMode posMode)
 
double GetPosY (LPVPositionMode posMode)
 
double GetScore ()
 
- Properties inherited from ILLine
double X1 [get, set]
 The x-coordinate of the start point of the line.
 
double X2 [get, set]
 The x-coordinate of the end point of the line.
 
double Y1 [get, set]
 The y-coordinate of the start point of the line.
 
double Y2 [get, set]
 The y-coordinate of the end point of the line.
 
- Properties inherited from ILObject
LString Name [get, set]
 Name of the object. By default, the object has no name.
In most cases, LPV classes don't make use of the names.
The name is drawn on canvas around the object if ILDrawable::SetDrawName() is enabled. More...
 
- Properties inherited from ILSortable
int Index [get, set]
 The index of the object.
 

Detailed Description

This class implements the interface ILLine, and is used to create an instance of line.