C# Class Vector2D, UnityUtils

Datei anzeigen Open project: mortennobel/UnityUtils Class Usage Examples

Public Properties

Property Type Description
x double
y double

Public Methods

Method Description
Copy ( ) : Vector2D,
Distance ( Vector2D, v1, Vector2D, v2 ) : double
Dot ( Vector2D, v1, Vector2D, v2 ) : double
Equals ( Vector2D, p ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string
ToVector2 ( ) : Vector2,
Vector2D ( Vector2, vector ) : System.Collections
Vector2D ( double x, double y ) : System.Collections
operator ( ) : Vector2D,
operator ( ) : bool
this ( int i ) : double

Method Details

Copy() public method

public Copy ( ) : Vector2D,
return Vector2D,

Distance() public static method

public static Distance ( Vector2D, v1, Vector2D, v2 ) : double
v1 Vector2D,
v2 Vector2D,
return double

Dot() public static method

public static Dot ( Vector2D, v1, Vector2D, v2 ) : double
v1 Vector2D,
v2 Vector2D,
return double

Equals() public method

public Equals ( Vector2D, p ) : bool
p Vector2D,
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

ToVector2() public method

public ToVector2 ( ) : Vector2,
return Vector2,

Vector2D() public method

public Vector2D ( Vector2, vector ) : System.Collections
vector Vector2,
return System.Collections

Vector2D() public method

public Vector2D ( double x, double y ) : System.Collections
x double
y double
return System.Collections

operator() public static method

public static operator ( ) : Vector2D,
return Vector2D,

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int i ) : double
i int
return double

Property Details

x public_oe property

public double x
return double

y public_oe property

public double y
return double