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

Function dirDblAreas

source/MRMesh/MRMeshMath.cpp:151–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151Vector<Vector3f, VertId> dirDblAreas( const MeshTopology & topology, const VertCoords & points, const VertBitSet * region )
152{
153 MR_TIMER;
154 const auto & vs = topology.getVertIds( region );
155 Vector<Vector3f, VertId> res( vs.find_last() + 1 );
156 BitSetParallelFor( vs, [&]( VertId v )
157 {
158 res[v] = dirDblArea( topology, points, v );
159 } );
160 return res;
161}
162
163float triangleAspectRatio( const MeshTopology & topology, const VertCoords & points, FaceId f )
164{

Callers 1

inflate1Function · 0.85

Calls 3

BitSetParallelForFunction · 0.85
dirDblAreaFunction · 0.70
find_lastMethod · 0.45

Tested by

no test coverage detected