C# Class PreStorm.Vector

显示文件 Open project: jshirota/PreStorm Class Usage Examples

Public Methods

Method Description
CrossProduct ( Vector v1, Vector v2 ) : double
DotProduct ( Vector v1, Vector v2 ) : double
Vector ( double x, double y )
operator ( ) : Vector

Method Details

CrossProduct() public static method

public static CrossProduct ( Vector v1, Vector v2 ) : double
v1 Vector
v2 Vector
return double

DotProduct() public static method

public static DotProduct ( Vector v1, Vector v2 ) : double
v1 Vector
v2 Vector
return double

Vector() public method

public Vector ( double x, double y )
x double
y double

operator() public static method

public static operator ( ) : Vector
return Vector