C# Class Gu.Wpf.Geometry.Line

Afficher le fichier Open project: JohanLarsson/Gu.Wpf.Geometry Class Usage Examples

Méthodes publiques

Свойство Type Description
EndPoint Point
StartPoint Point

Private Properties

Свойство Type Description
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?

Méthodes publiques

Méthode Description
Line ( Point startPoint, Point endPoint ) : System
ToString ( ) : string
ToString ( string format ) : string

Private Methods

Méthode Description
ClosestIntersection ( Rect rectangle ) : Point?
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?

Method Details

Line() public méthode

public Line ( Point startPoint, Point endPoint ) : System
startPoint Point
endPoint Point
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString() public méthode

public ToString ( string format ) : string
format string
Résultat string

Property Details

EndPoint public_oe property

public Point EndPoint
Résultat Point

StartPoint public_oe property

public Point StartPoint
Résultat Point