Свойство | Тип | Описание | |
---|---|---|---|
EndPoint | Point | ||
StartPoint | Point |
Свойство | Тип | Описание | |
---|---|---|---|
ClosestIntersection | Point? | ||
DistanceTo | double | ||
DistanceToPointOnLine | double | ||
Flip | Line | ||
IntersectWith | Point? | ||
IntersectionPoint | Point? | ||
IsPointOnLine | bool | ||
Offset | Line | ||
Parse | Line | ||
Perp | double | ||
PerpendicularLineTo | Line? | ||
Project | Point | ||
RotateAroundStartPoint | Line | ||
TrimOrExtendEndWith | Line? | ||
TrimOrExtendStartWith | Line? | ||
TrimTo | Point? |
Метод | Описание | |
---|---|---|
Line ( Point startPoint, Point endPoint ) : System | ||
ToString ( ) : string | ||
ToString ( string format ) : string |
Метод | Описание | |
---|---|---|
ClosestIntersection ( |
||
DistanceTo ( Point p ) : double | ||
DistanceToPointOnLine ( Point p ) : double | ||
Flip ( ) : Line | ||
IntersectWith ( Line other, bool mustBeBetweenStartAndEnd ) : Point? | ||
IntersectionPoint ( Line l1, Line l2, bool mustBeBetweenStartAndEnd ) : Point? | ||
IsPointOnLine ( Point p ) : bool | ||
Offset ( double distance ) : Line | ||
Parse ( string text ) : Line | ||
Perp ( System.Windows.Vector u, System.Windows.Vector v ) : double | ||
PerpendicularLineTo ( Point p ) : Line? | ||
Project ( Point p ) : Point | ||
RotateAroundStartPoint ( double angleInDegrees ) : Line | ||
TrimOrExtendEndWith ( Line other ) : Line? | ||
TrimOrExtendStartWith ( Line other ) : Line? | ||
TrimTo ( Point p ) : Point? |
public Line ( Point startPoint, Point endPoint ) : System | ||
startPoint | Point | |
endPoint | Point | |
Результат | System |
public ToString ( string format ) : string | ||
format | string | |
Результат | string |