Méthode | 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.
|
Méthode | 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. | |
Résultat |
public static FromRectangle ( |
||
rectangle | The Rectangle. | |
Résultat |
public Intersects ( |
||
other | The other Polygon. | |
Résultat | 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. /// |
Résultat | bool |
public Polygon ( IEnumerable |
||
points | IEnumerable |
The Points. |
Résultat | System |