C# Class YLScsDrawing.Geometry.Vector

Afficher le fichier Open project: emcf/WolfEngine Class Usage Examples

Méthodes publiques

Méthode Description
CrossProduct ( Vector v ) : double
DistancePointLine ( PointF pt, PointF lnA, PointF lnB ) : double
DotProduct ( Vector v ) : double
IsCCW ( PointF pt1, PointF pt2, PointF pt3 ) : bool
IsClockwise ( PointF pt1, PointF pt2, PointF pt3 ) : bool
Rotate ( int Degree ) : void
ToPointF ( ) : PointF
Vector ( PointF pt ) : System
Vector ( PointF st, PointF end ) : System
Vector ( double x, double y ) : System
operator ( ) : Vector

Method Details

CrossProduct() public méthode

public CrossProduct ( Vector v ) : double
v Vector
Résultat double

DistancePointLine() public static méthode

public static DistancePointLine ( PointF pt, PointF lnA, PointF lnB ) : double
pt System.Drawing.PointF
lnA System.Drawing.PointF
lnB System.Drawing.PointF
Résultat double

DotProduct() public méthode

public DotProduct ( Vector v ) : double
v Vector
Résultat double

IsCCW() public static méthode

public static IsCCW ( PointF pt1, PointF pt2, PointF pt3 ) : bool
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
pt3 System.Drawing.PointF
Résultat bool

IsClockwise() public static méthode

public static IsClockwise ( PointF pt1, PointF pt2, PointF pt3 ) : bool
pt1 System.Drawing.PointF
pt2 System.Drawing.PointF
pt3 System.Drawing.PointF
Résultat bool

Rotate() public méthode

public Rotate ( int Degree ) : void
Degree int
Résultat void

ToPointF() public méthode

public ToPointF ( ) : PointF
Résultat System.Drawing.PointF

Vector() public méthode

public Vector ( PointF pt ) : System
pt System.Drawing.PointF
Résultat System

Vector() public méthode

public Vector ( PointF st, PointF end ) : System
st System.Drawing.PointF
end System.Drawing.PointF
Résultat System

Vector() public méthode

public Vector ( double x, double y ) : System
x double
y double
Résultat System

operator() public static méthode

public static operator ( ) : Vector
Résultat Vector