geom/ops: add stub 'covers' test
This commit is contained in:
parent
78f746c21e
commit
cc2d11f102
10
geom/ops.hpp
10
geom/ops.hpp
@ -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 <
|
||||
|
Loading…
Reference in New Issue
Block a user