Pastel
PastelGeometry
Geometric algorithms
Geometric measures
Distance
Distance
Back to Geometric measures
The
distance
between two shapes
is defined by
where
is some metric.
Files
Distance between a line and a point
distance_line_point.h
distance_line_point.hpp
Distance between a line segment and a point
distance_segment_point.h
distance_segment_point.hpp
Distance between a line segment and a sphere
distance_segment_sphere.h
distance_segment_sphere.hpp
Distance between a plane and a point
distance_plane_point.h
distance_plane_point.hpp
Distance between a plane and a sphere
distance_plane_sphere.h
distance_plane_sphere.hpp
Distance between an aligned box and a point
distance_alignedbox_point.h
distance_alignedbox_point.hpp
Distance between an aligned box and a sphere
distance_alignedbox_sphere.h
distance_alignedbox_sphere.hpp
Distance between two aligned boxes
distance_alignedbox_alignedbox.h
distance_alignedbox_alignedbox.hpp
Distance between two line segments
distance_segment_segment.h
distance_segment_segment.hpp
Distance between two lines
distance_line_line.h
distance_line_line.hpp
Distance between two points
distance_point_point.h
Testing for distance between aligned box and a sphere
test_distance_alignedbox_sphere.cpp
Testing for distance between aligned box and point
test_distance_alignedbox_point.cpp
Testing for distance between aligned boxes
test_distance_alignedbox_alignedbox.cpp
Testing for distance between points
test_distance_point_point.cpp