C# Class Treefrog.Framework.Imaging.Vector

Exibir arquivo Open project: jaquadro/Treefrog Class Usage Examples

Public Properties

Property Type Description
Zero Vector

Public Methods

Method Description
Angle ( Vector vec1, Vector vec2 ) : float
DistanceSquared ( Vector v1, Vector v2 ) : float
Dot ( Vector v1, Vector v2 ) : float
Equals ( Vector other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string
Vector ( float x, float y ) : System
operator ( ) : Vector
operator ( ) : bool

Method Details

Angle() public static method

public static Angle ( Vector vec1, Vector vec2 ) : float
vec1 Vector
vec2 Vector
return float

DistanceSquared() public static method

public static DistanceSquared ( Vector v1, Vector v2 ) : float
v1 Vector
v2 Vector
return float

Dot() public static method

public static Dot ( Vector v1, Vector v2 ) : float
v1 Vector
v2 Vector
return float

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

ToString() public method

public ToString ( ) : string
return string

Vector() public method

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

operator() public static method

public static operator ( ) : Vector
return Vector

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Zero public_oe static_oe property

public static Vector,Treefrog.Framework.Imaging Zero
return Vector