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

Method calculateMesh

source/MRMesh/MRObjectDistanceMap.cpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93std::shared_ptr<Mesh> ObjectDistanceMap::calculateMesh( ProgressCallback cb ) const
94{
95 auto res = distanceMapToMesh( *dmap_, dmap2local_, cb );
96 if ( !res.has_value() )
97 {
98 return nullptr;
99 }
100 return std::make_shared<Mesh>( res.value() );
101}
102
103void ObjectDistanceMap::updateMesh( const std::shared_ptr<Mesh>& mesh )
104{

Callers

nothing calls this directly

Calls 2

distanceMapToMeshFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected