#include <MRMeshTriPoint.h>
Public Attributes | |
MREdgeId | e |
left face of this edge is considered | |
MRTriPointf | bary |
encodes a point inside a triangular mesh face using barycentric coordinates
Notations used below:
v0 - the value in org( e )
v1 - the value in dest( e )
v2 - the value in dest( next( e ) )
MRTriPointf MRMeshTriPoint::bary |
barycentric coordinates
a in [0,1], a=0 => point is on next( e ) edge, a=1 => point is in dest( e ) b in [0,1], b=0 => point is on e edge, b=1 => point is in dest( next( e ) ) a+b in [0,1], a+b=0 => point is in org( e ), a+b=1 => point is on prev( e.sym() ) edge
MREdgeId MRMeshTriPoint::e |
left face of this edge is considered