C# Class monoshrub.Points

Afficher le fichier Open project: threerings/monoshrub Class Usage Examples

Méthodes publiques

Свойство Type Description
ZERO Point

Méthodes publiques

Méthode Description
Distance ( float x1, float y1, float x2, float y2 ) : float
DistanceSq ( float x1, float y1, float x2, float y2 ) : float
EpsilonEquals ( Point p1, Point p2 ) : bool
EpsilonEquals ( Point p1, Point p2, float epsilon ) : bool
InverseTransform ( float x, float y, float sx, float sy, float rotation, float tx, float ty ) : Point
PointToString ( float x, float y ) : String
Transform ( float x, float y, float sx, float sy, float rotation, float tx, float ty ) : Point
Transform ( float x, float y, float sx, float sy, float sina, float cosa, float tx, float ty ) : Point

Method Details

Distance() public static méthode

public static Distance ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
Résultat float

DistanceSq() public static méthode

public static DistanceSq ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
Résultat float

EpsilonEquals() public static méthode

public static EpsilonEquals ( Point p1, Point p2 ) : bool
p1 Point
p2 Point
Résultat bool

EpsilonEquals() public static méthode

public static EpsilonEquals ( Point p1, Point p2, float epsilon ) : bool
p1 Point
p2 Point
epsilon float
Résultat bool

InverseTransform() public static méthode

public static InverseTransform ( float x, float y, float sx, float sy, float rotation, float tx, float ty ) : Point
x float
y float
sx float
sy float
rotation float
tx float
ty float
Résultat Point

PointToString() public static méthode

public static PointToString ( float x, float y ) : String
x float
y float
Résultat String

Transform() public static méthode

public static Transform ( float x, float y, float sx, float sy, float rotation, float tx, float ty ) : Point
x float
y float
sx float
sy float
rotation float
tx float
ty float
Résultat Point

Transform() public static méthode

public static Transform ( float x, float y, float sx, float sy, float sina, float cosa, float tx, float ty ) : Point
x float
y float
sx float
sy float
sina float
cosa float
tx float
ty float
Résultat Point

Property Details

ZERO public_oe static_oe property

public static Point ZERO
Résultat Point