C# Class CatEye.Core.Point

Afficher le fichier Open project: bigfatbrowncat/CatEye Class Usage Examples

Méthodes publiques

Méthode Description
DeserializeFromXML ( XmlNode node ) : void
Distance ( Point p, Point q ) : double
Move ( Point p, Vector v ) : Point
Point ( double x, double y ) : System
Rotate ( Point src, double angle, Point center ) : Point
SerializeToXML ( System xdoc ) : XmlNode

Method Details

DeserializeFromXML() public méthode

public DeserializeFromXML ( XmlNode node ) : void
node System.Xml.XmlNode
Résultat void

Distance() public static méthode

public static Distance ( Point p, Point q ) : double
p Point
q Point
Résultat double

Move() public static méthode

public static Move ( Point p, Vector v ) : Point
p Point
v Vector
Résultat Point

Point() public méthode

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

Rotate() public static méthode

public static Rotate ( Point src, double angle, Point center ) : Point
src Point
angle double
center Point
Résultat Point

SerializeToXML() public méthode

public SerializeToXML ( System xdoc ) : XmlNode
xdoc System
Résultat System.Xml.XmlNode