HighMap library (C++)
Loading...
Searching...
No Matches
path_verification.cpp File Reference

Namespaces

namespace  hmap
 

Functions

bool hmap::assert_start_end_points (const Path &path1, const Path &path2, float tol=1e-6f, bool verbose=false)
 Asserts that the start and end points of two paths are within a specified tolerance.
 
float hmap::chamfer_distance (const Path &a, const Path &b)
 Calculate the chamfer distance between two paths.
 
bool hmap::has_duplicates (const Path &path, float tol=1e-6f)
 Check if a path contains duplicate points within a given tolerance.