C# Class Praeclarum.Graphics.PointFEx

ファイルを表示 Open project: praeclarum/Praeclarum

Public Methods

Method 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 method

public static Add ( this a, PointF b ) : PointF
a this
b PointF
return PointF

Add() public static method

public static Add ( this a, float dx, float dy ) : PointF
a this
dx float
dy float
return PointF

DistanceSquaredTo() public static method

public static DistanceSquaredTo ( this a, float bx, float by ) : float
a this
bx float
by float
return float

DistanceSquaredToD() public static method

public static DistanceSquaredToD ( this a, double bx, double by ) : double
a this
bx double
by double
return double

DistanceTo() public static method

public static DistanceTo ( this a, PointF b ) : float
a this
b PointF
return float

DistanceToLine() public static method

public static DistanceToLine ( this p3, PointF p1, PointF p2 ) : float
p3 this
p1 PointF
p2 PointF
return float

Dot() public static method

public static Dot ( this a, PointF b ) : float
a this
b PointF
return float

Length() public static method

public static Length ( this a ) : float
a this
return float

Lerp() public static method

public static Lerp ( this s, PointF d, float t ) : PointF
s this
d PointF
t float
return PointF

Multiply() public static method

public static Multiply ( this a, float s ) : PointF
a this
s float
return PointF

Normalized() public static method

public static Normalized ( this a ) : PointF
a this
return PointF

Subtract() public static method

public static Subtract ( this a, PointF b ) : PointF
a this
b PointF
return PointF