Math |
The Math3D type exposes the following members.
| Name | Description | |
|---|---|---|
| DissectStraightLineWithDashPattern | Dissects a straight line into individual line segments, using a dash pattern. | |
| Get2DProjectionToPlane | Creates a transformation matrix that projects 2D points (represented as 3D points with ignored z-coordinate) to a plane defined by vectors e and n and a point p. The x-coordinate is projected in the e direction, the y-coordinate in the n direction. | |
| Get2DProjectionToPlaneToPlane | Creates a transformation matrix that first maps a 2D point into a 3D coordinate system with origin p, and unit vectors e and n, then projects the created 3D point in the direction of v onto a plane defined by point p and the plane's normal q. | |
| GetDistancePointToPlane | Gets the signed distance of a point a to a plane defined by a point p and a normal vector q. The distance is positive if the point a lies in the half-space into which q points. | |
| GetFractionalIndexOfPointOnLineInGivenDistanceToAnotherPoint | Gets the fractional index of the point on a line that has a certain distance to another point ps. | |
| GetNormalizedVectorOrthogonalToVector | Makes a given vector n orthogonal to another vector v and normalizes the result. | |
| GetProjectionToPlane | Gets a projection matrix that projects a point in the direction given by v onto a plane defined by an arbitrary point on the plane p and the plane's normal q. | |
| GetRelativePositionsOnLineSegmentForPointsAtDistanceToPoint | Gets the relative positions of the two points on a line segment that have a given distance to a third point. Returned values may be outside [0,1], and if no solution exists the values are NaN. | |
| GetVectorOrthogonalToVector | Makes a given vector n orthogonal to another vector v by subtracting a fraction of v from n. | |
| GetVectorSymmetricalToPlane | Calculates a vector which is symmetrical to the provided vector n with respect to the symmetry plane given by the normal q. The result corresponds to reflecting a ray on a mirror described by the plane. | |
| GetVectorSymmetricalToVector | Calculates the counterpart of the provided vector n, so that this vector n and its counterpart are symmetrical, with the symmetry line provided by vector q. |