C# Class TrianglesInSpace.Primitives.Vector

Show file Open project: anthony-martin/Triangles-in-space Class Usage Examples

Public Properties

Property Type Description
X double
Y double

Public Methods

Method Description
Equals ( Vector other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Normalise ( ) : Vector
ToString ( ) : string
Vector ( double x, double y ) : System
operator ( ) : Vector
operator ( ) : bool

Method Details

Equals() public method

public Equals ( Vector other ) : bool
other Vector
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Normalise() public method

public Normalise ( ) : Vector
return Vector

ToString() public method

public ToString ( ) : string
return string

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 ( ) : bool
return bool

Property Details

X public property

public double X
return double

Y public property

public double Y
return double