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

Method get

source/MRMesh/MRDistanceMap.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::optional<float> DistanceMap::get( size_t x, size_t y ) const
44{
45 if ( isValid( x, y ) )
46 return data_[ toIndex( { int( x ), int( y ) } ) ];
47 else
48 return std::nullopt;
49}
50
51std::optional<float> DistanceMap::get( size_t i ) const
52{

Callers 15

buildToolEntryJsonMethod · 0.45
addToolMethod · 0.45
getAABBTreeNotCreateMethod · 0.45
getDipolesNotCreateMethod · 0.45
setSelectedFacesColorMethod · 0.45
setSelectedEdgesColorMethod · 0.45
serializeFields_Method · 0.45
getWorldBoxMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected