C# Class CatEye.Core.Point

Mostrar archivo Open project: bigfatbrowncat/CatEye Class Usage Examples

Public Methods

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

public DeserializeFromXML ( XmlNode node ) : void
node System.Xml.XmlNode
return void

Distance() public static method

public static Distance ( Point p, Point q ) : double
p Point
q Point
return double

Move() public static method

public static Move ( Point p, Vector v ) : Point
p Point
v Vector
return Point

Point() public method

public Point ( double x, double y ) : System
x double
y double
return System

Rotate() public static method

public static Rotate ( Point src, double angle, Point center ) : Point
src Point
angle double
center Point
return Point

SerializeToXML() public method

public SerializeToXML ( System xdoc ) : XmlNode
xdoc System
return System.Xml.XmlNode