C# Class Myre.Physics.Collisions.Projection

Show file Open project: TomGillen/Myre Class Usage Examples

Public Properties

Property Type Description
End float
EndPoint Vector2
Start float
StartPoint Vector2

Public Methods

Method Description
Create ( Vector2 axis, Vector2 vertices ) : Projection
Equals ( Projection other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Overlaps ( Projection b ) : bool
Overlaps ( Projection b, float &distance ) : bool
Overlaps ( Projection b, float &distance, int &order ) : bool
Projection ( float a, float b ) : System
Projection ( float a, float b, Vector2 pointA, Vector2 pointB ) : System

Method Details

Create() public static method

public static Create ( Vector2 axis, Vector2 vertices ) : Projection
axis Vector2
vertices Vector2
return Projection

Equals() public method

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

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Overlaps() public method

public Overlaps ( Projection b ) : bool
b Projection
return bool

Overlaps() public method

public Overlaps ( Projection b, float &distance ) : bool
b Projection
distance float
return bool

Overlaps() public method

public Overlaps ( Projection b, float &distance, int &order ) : bool
b Projection
distance float
order int
return bool

Projection() public method

public Projection ( float a, float b ) : System
a float
b float
return System

Projection() public method

public Projection ( float a, float b, Vector2 pointA, Vector2 pointB ) : System
a float
b float
pointA Vector2
pointB Vector2
return System

Property Details

End public property

public float End
return float

EndPoint public property

public Vector2 EndPoint
return Vector2

Start public property

public float Start
return float

StartPoint public property

public Vector2 StartPoint
return Vector2