MeshLib JavaScript Docs
Loading...
Searching...
No Matches
MeshProjectionResult Class Reference

Public Attributes

PointOnFace proj
 the closest point on mesh, transformed by xf if it is given
MeshTriPoint mtp
 its barycentric representation
number distSq
 squared distance from original projected point to proj
boolean valid
 check for validity, otherwise the projection was not found

Member Data Documentation

◆ distSq

number MeshProjectionResult::distSq

squared distance from original projected point to proj

◆ mtp

MeshTriPoint MeshProjectionResult::mtp

its barycentric representation

◆ proj

PointOnFace MeshProjectionResult::proj

the closest point on mesh, transformed by xf if it is given

◆ valid

boolean MeshProjectionResult::valid

check for validity, otherwise the projection was not found


The documentation for this class was generated from the following file: