MathUtils — Aspose.3D FOSS TypeScript API Reference
MathUtils — MathUtils class in the Aspose.3D FOSS TypeScript API..
Package: aspose.threed
Methods
| Method | Returns | Description |
|---|---|---|
toDegree(radian: Vector3) | Vector3 | |
toRadian(degree: Vector3) | Vector3 | |
calcNormal(points: Vector3[]) | Vector3 | |
findIntersection(p0: Vector2, d0: Vector2, p1: Vector2, d1: Vector2, results: Vector2[]) | number | |
pointInsideTriangle(p: Vector2, p0: Vector2, p1: Vector2, p2: Vector2) | boolean | |
rayIntersect(origin: Vector2, dir: Vector2, a: Vector2, b: Vector2) | `Vector2 | null` |
clamp(val: number, min: number, max: number) | number |