geom/ops: add stub 'covers' test

This commit is contained in:
Danny Robson 2018-12-17 14:44:43 +11:00
parent 78f746c21e
commit cc2d11f102

View File

@ -28,6 +28,16 @@ namespace cruft::geom {
bool
intersects (A<S,T>, B<S,T>);
/// Tests whether the entirety of shape `B` is inclusively contained
/// within the shape `A`.
template <
size_t S,
typename T,
template<size_t,typename> class A,
template<size_t,typename> class B
>
bool covers (A<S,T> const&, B<S,T> const&);
/// Returns a minimum squared distance between two shapes.
template <