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

Method inVertex

source/MRMesh/MRMeshTriPoint.cpp:7–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5{
6
7VertId MeshTriPoint::inVertex( const MeshTopology & topology ) const
8{
9 switch( bary.inVertex() )
10 {
11 case 0:
12 return topology.org( e );
13 case 1:
14 return topology.dest( e );
15 case 2:
16 return topology.dest( topology.next( e ) );
17 }
18 return {};
19}
20
21MeshEdgePoint MeshTriPoint::onEdge( const MeshTopology & topology ) const
22{

Callers 1

fromSameTriangleFunction · 0.45

Calls 3

orgMethod · 0.45
destMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected