Math | |
The MathUtils type exposes the following members.
| Name | Description | |
|---|---|---|
| AddArc3DPoints | AddArc3DPoints adds the 3D positions that define a 3D arc (segment of an ellipse that is defined by start and end angle). | |
| GetAngleDiff | Returned the smallest difference between two angles in degrees (result is in range between 0 and 180). | |
| GetArc3DPoints | GetArc3DPoints returns 3D positions that define a 3D arc (segment of an ellipse that is defined by start and end angle). | |
| GetPerpendicularVectors | Calculate two vectors that are perpendicular to the inputVector. Both calculated vectors are normalized. | |
| GetRotationMatrix | Returns a Matrix3D that rotates around all three axes | |
| GetSignedAngleDiff | Returned the smallest difference between two angles in degrees (difference is positive if angle1 is bigger then angle2) | |
| IsOne | Returns true if the value is close to one (taking double precision errors into account). | |
| IsSame(Double, Double) | Returns true if value1 is same as value2 (taking double precision errors into account). | |
| IsSame(Point, Point) | Returns true if the specified Point are same (taking double precision errors into account). | |
| IsSame(Point3D, Point3D) | Returns true if the specified Point3D are same (taking double precision errors into account). | |
| IsSame(Vector3D, Vector3D) | Returns true if the specified Vector3D are same (taking double precision errors into account). | |
| IsZero | Returns true if the value is close to zero (taking double precision errors into account). | |
| IsZeroOrBigger | Returns true if the value is close to zero or bigger (taking double precision errors into account). | |
| IsZeroOrNaN | Returns true if the value is NaN or close to zero (taking double precision errors into account). | |
| IsZeroOrSmaller | Returns true if the value is close to zero or smaller (taking double precision errors into account). | |
| RayPlaneIntersection | RayPlaneIntersection calculates a position where a ray interects a plane. Returns false if there is no intersection. | |
| Rotate(Point3D, Double, Double) | Rotates the Point3D for heading and attitude in degrees | |
| Rotate(Vector3D, Double, Double) | Rotates the Vector3D for heading and attitude in degrees |