pub trait BoundedGeometry<T>where
    T: Scalar,
    DefaultAllocator: Allocator<T, Self::Dimension>,
{ type Dimension: DimName; fn bounding_box(&self) -> AxisAlignedBoundingBox<T, Self::Dimension>; }

Required Associated Types§

Required Methods§

Implementors§

source§

impl<T> BoundedGeometry<T> for SdfAxisAlignedBox<T>where
    T: Real,

§

type Dimension = Const<2>

source§

impl<T> BoundedGeometry<T> for SdfCircle<T>where
    T: Real,

§

type Dimension = Const<2>

source§

impl<T> BoundedGeometry<T> for Hexahedron<T>where
    T: Real,

§

type Dimension = Const<3>

source§

impl<T> BoundedGeometry<T> for Quad2d<T>where
    T: Real,

§

type Dimension = Const<2>

source§

impl<T, D> BoundedGeometry<T> for AxisAlignedBoundingBox<T, D>where
    T: Real,
    D: DimName,
    DefaultAllocator: Allocator<T, D>,

§

type Dimension = D

source§

impl<T, D> BoundedGeometry<T> for SimplePolygon<T, D>where
    T: Real,
    D: DimName,
    DefaultAllocator: Allocator<T, D>,

§

type Dimension = D

source§

impl<T, D> BoundedGeometry<T> for Triangle<T, D>where
    T: Real,
    D: DimName,
    DefaultAllocator: Allocator<T, D>,

§

type Dimension = D

source§

impl<T, Left, Right> BoundedGeometry<T> for SdfUnion<Left, Right>where
    T: Real,
    Left: BoundedGeometry<T, Dimension = U2>,
    Right: BoundedGeometry<T, Dimension = U2>,

§

type Dimension = Const<2>

source§

impl<T: Real> BoundedGeometry<T> for Tetrahedron<T>

§

type Dimension = Const<3>