C# Class Praeclarum.Graphics.PointFEx

Afficher le fichier Open project: praeclarum/Praeclarum

Méthodes publiques

Méthode Description
Add ( this a, PointF b ) : PointF
Add ( this a, float dx, float dy ) : PointF
DistanceSquaredTo ( this a, float bx, float by ) : float
DistanceSquaredToD ( this a, double bx, double by ) : double
DistanceTo ( this a, PointF b ) : float
DistanceToLine ( this p3, PointF p1, PointF p2 ) : float
Dot ( this a, PointF b ) : float
Length ( this a ) : float
Lerp ( this s, PointF d, float t ) : PointF
Multiply ( this a, float s ) : PointF
Normalized ( this a ) : PointF
Subtract ( this a, PointF b ) : PointF

Method Details

Add() public static méthode

public static Add ( this a, PointF b ) : PointF
a this
b PointF
Résultat PointF

Add() public static méthode

public static Add ( this a, float dx, float dy ) : PointF
a this
dx float
dy float
Résultat PointF

DistanceSquaredTo() public static méthode

public static DistanceSquaredTo ( this a, float bx, float by ) : float
a this
bx float
by float
Résultat float

DistanceSquaredToD() public static méthode

public static DistanceSquaredToD ( this a, double bx, double by ) : double
a this
bx double
by double
Résultat double

DistanceTo() public static méthode

public static DistanceTo ( this a, PointF b ) : float
a this
b PointF
Résultat float

DistanceToLine() public static méthode

public static DistanceToLine ( this p3, PointF p1, PointF p2 ) : float
p3 this
p1 PointF
p2 PointF
Résultat float

Dot() public static méthode

public static Dot ( this a, PointF b ) : float
a this
b PointF
Résultat float

Length() public static méthode

public static Length ( this a ) : float
a this
Résultat float

Lerp() public static méthode

public static Lerp ( this s, PointF d, float t ) : PointF
s this
d PointF
t float
Résultat PointF

Multiply() public static méthode

public static Multiply ( this a, float s ) : PointF
a this
s float
Résultat PointF

Normalized() public static méthode

public static Normalized ( this a ) : PointF
a this
Résultat PointF

Subtract() public static méthode

public static Subtract ( this a, PointF b ) : PointF
a this
b PointF
Résultat PointF