geomc 1.0
A c++ linear algebra template library
|
Implementation of AnyConvex for a specific Shape. More...
#include <geomc/shape/Shape.h>
Public Types | |
typedef Shape::elem_t | T |
typedef PointType< T, N >::point_t | point_t |
typedef T | elem_t |
The coordinate type of this shape. | |
Public Member Functions | |
AnyConvexImpl (const Shape &s) | |
AnyConvexImpl (const Shape &&s) | |
point_t | convex_support (point_t d) const |
Rect< Shape::elem_t, N > | bounds () const |
template<typename Shape > | |
bool | intersects (const Convex< T, N, Shape > &other) const |
Convex shape overlap test. More... | |
Public Attributes | |
Shape | shape |
Static Public Attributes | |
static constexpr index_t | N = Shape::N |
Protected Member Functions | |
virtual point_t | _impl_convex_support (Vec< T, N > p) const |
virtual Rect< T, N > | _impl_bounds () const |
Implementation of AnyConvex for a specific Shape.
|
inlineprotectedvirtual |
Implements AnyConvex< Shape::elem_t, Shape::N >.
Implements AnyConvex< Shape::elem_t, Shape::N >.
Convex shape overlap test.
other
; false otherwise.