MathUtils class
MathUtils class
A set of useful mathematical utilities.
The MathUtils type exposes the following members:
Methods
| Method | Description |
|---|---|
to_degree(, radian) | Convert a Vector3 from radian to degree. |
to_degree(, radian) | Convert a number from radian to degree |
to_degree(, radian) | Convert a number from radian to degree |
to_degree(, x, y, z) | Convert a number from radian to degree |
to_radian(, degree) | Convert a Vector3 from degree to radian |
to_radian(, degree) | Convert a number from degree to radian |
to_radian(, degree) | Convert a number from degree to radian |
to_radian(, x, y, z) | Convert a vector from degree to radian |
calc_normal(, points) | |
find_intersection(, p0, d0, p1, d1, results) | |
point_inside_triangle(, p, p0, p1, p2) | Check if point p is inside triangle (p0, p1, p2) |
ray_intersect(, origin, dir, a, b) | Check if ray (origin, dir) intersects with line segment(start, end) |
clamp(, val, min, max) | Clamp value to range [min, max] |
See Also
- module
aspose.threed.utilities - class
Vector3