MathHelper Methods |
The MathHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| ArbitraryAxis |
Gets the rotation matrix from the normal vector (extrusion direction) of an entity.
| |
| FindIntersection(Vector2, Vector2, Vector2, Vector2) |
Calculates the intersection point of two lines.
| |
| FindIntersection(Vector2, Vector2, Vector2, Vector2, Double) |
Calculates the intersection point of two lines.
| |
| IsEqual(Double, Double) |
Checks if a number is equal to another.
| |
| IsEqual(Double, Double, Double) |
Checks if a number is equal to another.
| |
| IsOne(Double) |
Checks if a number is close to one.
| |
| IsOne(Double, Double) |
Checks if a number is close to one.
| |
| IsZero(Double) |
Checks if a number is close to zero.
| |
| IsZero(Double, Double) |
Checks if a number is close to zero.
| |
| NormalizeAngle |
Normalizes the value of an angle in degrees between [0, 360[.
| |
| PointInSegment(Vector2, Vector2, Vector2) |
Checks if a point is inside a line segment.
| |
| PointInSegment(Vector3, Vector3, Vector3) |
Checks if a point is inside a line segment.
| |
| PointLineDistance(Vector2, Vector2, Vector2) |
Calculates the minimum distance between a point and a line.
| |
| PointLineDistance(Vector3, Vector3, Vector3) |
Calculates the minimum distance between a point and a line.
| |
| RotateAboutAxis |
Rotate given vector of angle in radians about a specified axis.
| |
| RoundToNearest |
Round off a numeric value to the nearest of another value.
| |
| Transform(Vector2, Double, CoordinateSystem, CoordinateSystem) |
Transforms a point between coordinate systems.
| |
| Transform(IEnumerableVector2, Double, CoordinateSystem, CoordinateSystem) |
Transforms a point list between coordinate systems.
| |
| Transform(Vector3, Vector3, CoordinateSystem, CoordinateSystem) |
Transforms a point between coordinate systems.
| |
| Transform(IEnumerableVector3, Vector3, CoordinateSystem, CoordinateSystem) |
Transforms a point list between coordinate systems.
|