Class MathUtils
Contents
[
Hide
]MathUtils class
A set of useful mathematical utilities.
public class MathUtils
Methods
Name | Description |
---|---|
static CalcNormal(Vector3[]) | |
static Clamp(double, double, double) | Clamp value to range [min, max] |
static FindIntersection(Vector2, Vector2, Vector2, Vector2, Vector2[]) | |
static PointInsideTriangle(Vector2, Vector2, Vector2, Vector2) | Check if point p is inside triangle (p0, p1, p2) |
static RayIntersect(Vector2, Vector2, Vector2, Vector2) | Check if ray (origin, dir) intersects with line segment(start, end) |
static ToDegree(double) | Convert a number from radian to degree |
static ToDegree(float) | Convert a number from radian to degree |
static ToDegree(Vector3) | Convert a Vector3 from radian to degree. |
static ToDegree(double, double, double) | Convert a number from radian to degree |
static ToRadian(double) | Convert a number from degree to radian |
static ToRadian(float) | Convert a number from degree to radian |
static ToRadian(Vector3) | Convert a Vector3 from degree to radian |
static ToRadian(double, double, double) | Convert a vector from degree to radian |
See Also
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D