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

Method isValid

source/MRMesh/MRDistanceMap.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool DistanceMap::isValid( size_t x, size_t y ) const
34{
35 return data_[ toIndex( { int( x ), int( y ) } ) ] != NOT_VALID_VALUE;
36}
37
38bool DistanceMap::isValid( size_t i ) const
39{

Callers 3

test_distance_mapFunction · 0.45
TESTFunction · 0.45
distanceMapToMeshFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_distance_mapFunction · 0.36
TESTFunction · 0.36