|
KiCad PCB EDA Suite
|
#include <geometry/intersection.h>#include <math/vector2d.h>#include <cmath>#include <type_traits>#include <variant>Go to the source code of this file.
Functions | |
| double | snapManifoldDistance (const INTERSECTABLE_GEOM &aGeometry, const VECTOR2I &aPoint) |
| Distance from a point to the nearest point of a snap manifold shape. | |
|
inline |
Distance from a point to the nearest point of a snap manifold shape.
The inference and resolver stages both measure candidate proximity, so the per-shape distance handling lives here to keep the two stages in agreement.
Definition at line 36 of file snap_manifold.h.
References std::abs().