MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / toTriPoint

Function toTriPoint

source/MRMesh/MRMeshMath.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44MeshTriPoint toTriPoint( const MeshTopology & topology, const VertCoords & points, FaceId f, const Vector3f & p )
45{
46 auto e = topology.edgeWithLeft( f );
47 Vector3f v0, v1, v2;
48 getLeftTriPoints( topology, points, e, v0, v1, v2 );
49 return MeshTriPoint( e, p, v0, v1, v2 );
50}
51
52MeshTriPoint toTriPoint( const MeshTopology & topology, const VertCoords & points, const PointOnFace & p )
53{

Callers 1

toTriPointMethod · 0.85

Calls 3

edgeWithLeftMethod · 0.80
getLeftTriPointsFunction · 0.70
MeshTriPointClass · 0.70

Tested by

no test coverage detected