C# Class CatEye.Core.Vector

Exibir arquivo Open project: bigfatbrowncat/CatEye Class Usage Examples

Public Methods

Method Description
Angle ( Vector a, Vector b, double epsilon ) : double

Угол между векторами

CrossProduct ( Vector a, Vector b ) : double

Векторное произведение

Vector ( Point begin, Point end ) : System
Vector ( double x, double y ) : System
operator ( ) : Vector

Умножение вектора на число

operator ( ) : double

Скалярное произведение

Method Details

Angle() public static method

Угол между векторами
public static Angle ( Vector a, Vector b, double epsilon ) : double
a Vector
b Vector
epsilon double
return double

CrossProduct() public static method

Векторное произведение
public static CrossProduct ( Vector a, Vector b ) : double
a Vector
b Vector
return double

Vector() public method

public Vector ( Point begin, Point end ) : System
begin Point
end Point
return System

Vector() public method

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

operator() public static method

Умножение вектора на число
public static operator ( ) : Vector
return Vector

operator() public static method

Скалярное произведение
public static operator ( ) : double
return double