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

Method getWeightedVerts

source/MRMesh/MRMeshTriPoint.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77std::array<WeightedVertex, 3> MeshTriPoint::getWeightedVerts( const MeshTopology & topology ) const
78{
79 return
80 {
81 WeightedVertex{ topology.org( e ), 1 - bary.a - bary.b },
82 WeightedVertex{ topology.dest( e ), bary.a },
83 WeightedVertex{ topology.dest( topology.next( e ) ), bary.b }
84 };
85}
86
87float MeshTriPoint::interpolate( const MeshTopology & topology, const VertScalars & field ) const
88{

Callers 5

updateSolverMethod · 0.80
prepareRhs_Method · 0.80
runMethod · 0.80
replicateZFunction · 0.80

Calls 3

orgMethod · 0.45
destMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected