Method | Description | |
---|---|---|
FromEllipse ( |
Creates a new Polygon from ellipse.
|
|
FromRectangle ( |
Creates a new Polygon from rectangle.
|
|
Intersects ( |
Checks if this Polygon intersects with another Polygon.
|
|
Intersects ( |
Checks if this Polygon intersects with another Polygon.
|
|
Polygon ( ) : System |
Initializes a new Polygon class.
|
|
Polygon ( IEnumerable |
Initializes a new Polygon class.
|
Method | Description | |
---|---|---|
HasSeparatingAxisTo ( |
A value indicating whether the Polygon has a seperating axis.
|
|
ProjectTo ( Vector2 axis, float &min, float &max ) : void |
Projects an axis.
|
public static FromEllipse ( |
||
ellipse | The Ellipse. | |
return |
public static FromRectangle ( |
||
rectangle | The Rectangle. | |
return |
public Intersects ( |
||
other | The other Polygon. | |
return | bool |
public Intersects ( |
||
other | The other Polygon. | |
minimumTranslationVector | Vector2 | /// Returns a vector with which the Polygon has to be translated at minimum to not /// collide with the second Polygon. /// |
return | bool |
public Polygon ( IEnumerable |
||
points | IEnumerable |
The Points. |
return | System |