Typedefs |
|
typedef RwReal | RtBaryV4d [4] |
typedef RtBaryV4d | RtBaryTransform [4] |
Functions |
|
RwBool | RtBaryGetTransform (RtBaryTransform m, RwReal *const area, const RwV3d *const v0, const RwV3d *const v1, const RwV3d *const v2) |
void | RtBaryNormalize (RtBaryTransform bary) |
void | RtBaryWeightsFromV3d (RtBaryV4d out, RtBaryTransform mat, const RwV3d *const in) |
void | RtBaryWeightsFromEdge (RtBaryV4d out, RtBaryTransform mat, const RwV3d *const in) |
void | RtBaryV3dFromWeights (RwV3d *const out, const RtBaryV4d weights, const RwV3d *const v0, const RwV3d *const v1, const RwV3d *const v2) |
|
RtBaryTransform typedef for the 4x4 homogeneous transform matrix mapping a point from Cartesian space to the barycentric space defined by a triangle. |
|
RtBaryV4d typedef for the 4 element homogeneous row of a transform matrix mapping a point from Cartesian space to the barycentric space defined by a triangle. |
|
RtBaryGetTransform finds the 4x4 transform matrix mapping a point from homogeneous Cartesian space to the barycentric space defined by a triangle. The final column of the matrix holds the equation of the plane supporting the triangle.
|
|
TODO!!! |
|
RtBaryV3dFromWeights finds the point corresponding to the specified barycentric weights for a specified triangle. Note that this function is used for debug purposes only and, for efficiency, is available as a macro for final release versions of an application.
|
|
TODO!!! |
|
RtBaryWeightsFromV3d finds the barycentric weights corresponding to a specifed point in a triangle with a given 4x4 barycentric transform matrix. The first three returned weights w0, w1, w2 apply to the triangle vertices v0, v1, v2 specified to RtBaryGetTransform. The final weight holds the height of the point above the plane supporting the triangle.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |