// Description: Closest points between an aligned box and a point
#ifndef PASTELGEOMETRY_CLOSEST_ALIGNEDBOX_POINT_H
#define PASTELGEOMETRY_CLOSEST_ALIGNEDBOX_POINT_H
#include "pastel/geometry/shape/alignedbox.h"
namespace Pastel
{
//! Computes closest points between an aligned box and a point.
/*!
Returns:
A point C on the box such that C and 'point' are closest points.
*/
template <typename Real, integer N>
Vector<Real, N> closest(
const AlignedBox<Real, N>& box,
const Vector<Real, N>& point);
}
#include "pastel/geometry/closest/closest_alignedbox_point.hpp"
#endif