 |
PK_MFACET_parameterise_vec |
|
PK_ERROR_code_t PK_MFACET_parameterise_vec
(
--- received arguments ---
PK_MFACET_t mfacet, --- mfacet
PK_VECTOR_t position, --- position on the mfacet
const PK_MFACET_parameterise_vec_o_t *options, --- options
--- returned arguments ---
PK_UV_t *const uv --- uv coordinates returned
)
This function finds the mesh parameterisation of a position known to be on a
particular mfacet. For points on more than one mfacet, the parameterisation
corresponding to the mfacet of the lowest identifier will be returned.
Specific Errors:
PK_ERROR_not_on_mfacet the position supplied does not lie on the
mfacet. (MILD)
PK_ERROR_invalid_geometry the mesh has invalid geometry. (MILD)