C# Class Methods.LineSweepPoint.Vector

A 2d vector (stripped to only include used methods).
Datei anzeigen Open project: Strilanc/Methods

Public Properties

Property Type Description
X double
Y double

Public Methods

Method Description
Cross ( Vector other ) : double

Cross product.

Vector ( double x, double y )
operator ( ) : Vector

Scale.

operator ( ) : double

Dot product.

Method Details

Cross() public method

Cross product.
public Cross ( Vector other ) : double
other Vector
return double

Vector() public method

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

operator() public static method

Scale.
public static operator ( ) : Vector
return Vector

operator() public static method

Dot product.
public static operator ( ) : double
return double

Property Details

X public_oe property

public double X
return double

Y public_oe property

public double Y
return double