#include <MRMeshTriPoint.h>
Public Member Functions | |
~MeshTriPoint () | |
left face of this edge is considered | |
Public Attributes | |
MR::DotNet::EdgeId | e |
MR::DotNet::TriPoint | bary |
internal | : MeshTriPoint( MR::MeshTriPoint* mtp ) |
Related Symbols | |
(Note that these are not member symbols.) | |
MRMESH_API bool | same (const MeshTopology &topology, const MeshTriPoint &lhs, const MeshTriPoint &rhs) |
returns true if two points are equal considering different representations | |
MRMESH_API bool | fromSameTriangle (const MeshTopology &topology, MeshTriPoint &a, MeshTriPoint &b) |
bool | fromSameTriangle (const MeshTopology &topology, MeshTriPoint &&a, MeshTriPoint &&b) |
MRMESH_API MeshTriPoint | getVertexAsMeshTriPoint (const MeshTopology &topology, EdgeId e, VertId v) |
returns MeshTriPoint representation of given vertex with given edge field; or invalid MeshTriPoint if it is not possible | |
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 ) )
MeshTriPoint::~MeshTriPoint | ( | ) |
left face of this edge is considered
|
related |
returns true if points a and b are located insides or on a boundary of the same triangle; if true a.e and b.e are updated to have that triangle on the left
|
related |
returns true if points a and b are located insides or on a boundary of the same triangle; if true a.e and b.e are updated to have that triangle on the left
|
related |
returns MeshTriPoint representation of given vertex with given edge field; or invalid MeshTriPoint if it is not possible
|
related |
returns true if two points are equal considering different representations
internal MeshTriPoint::__pad0__ |
MR::DotNet::TriPoint MeshTriPoint::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
MR::DotNet::EdgeId MeshTriPoint::e |