Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
bool DistanceMap::isValid( size_t x, size_t y ) const
34
{
35
return data_[ toIndex( { int( x ), int( y ) } ) ] != NOT_VALID_VALUE;
36
}
37
38
bool DistanceMap::isValid( size_t i ) const
39
{
Callers
3
test_distance_map
Function · 0.45
TEST
Function · 0.45
distanceMapToMesh
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_distance_map
Function · 0.36
TEST
Function · 0.36