SuperDex Physics C++ API
Loading...
Searching...
No Matches
superdex::Obb Class Referencefinal

#include <obb.h>

Public Member Functions

Real3 GetCenter () const
template<int i>
Real3 GetCorner () const
NdArray< real, 8, 3 > GetCorners () const
Real3 GetHalfExtents () const
Matrix3x3r GetRotation () const
Real3 GetSize () const
MatrixTransformRT const & GetTransform () const
 Obb ()=default
 Obb (MatrixTransformRT const &transform, Real3 const &halfExtents)
 Obb (MatrixTransformRT const &transform, Vec4r halfExtents)
 Obb (TransformRT const &transform, Real3 const &halfExtents)
 Obb (TransformRT const &transform, Vec4r halfExtents)
Vec4r VGetCenter () const
template<int i>
Vec4r VGetCorner () const
NdArray< Vec4r, 8 > VGetCorners () const
Vec4r VGetHalfExtents () const
VMatrix3x3r VGetRotation () const
Vec4r VGetSize () const

Detailed Description

Definition at line 36 of file obb.h.

Constructor & Destructor Documentation

◆ Obb() [1/5]

superdex::Obb::Obb ( )
inlinedefault

◆ Obb() [2/5]

superdex::Obb::Obb ( MatrixTransformRT const & transform,
Vec4r halfExtents )
inline

Definition at line 41 of file obb.h.

◆ Obb() [3/5]

superdex::Obb::Obb ( TransformRT const & transform,
Vec4r halfExtents )
inline

Definition at line 51 of file obb.h.

◆ Obb() [4/5]

superdex::Obb::Obb ( TransformRT const & transform,
Real3 const & halfExtents )
inline

Definition at line 52 of file obb.h.

◆ Obb() [5/5]

superdex::Obb::Obb ( MatrixTransformRT const & transform,
Real3 const & halfExtents )
inline

Definition at line 53 of file obb.h.

Member Function Documentation

◆ GetCenter()

Real3 superdex::Obb::GetCenter ( ) const
inlinenodiscard

Definition at line 62 of file obb.h.

◆ GetCorner()

template<int i>
Real3 superdex::Obb::GetCorner ( ) const
inlinenodiscard

Definition at line 92 of file obb.h.

◆ GetCorners()

NdArray< real, 8, 3 > superdex::Obb::GetCorners ( ) const
inlinenodiscard

Definition at line 94 of file obb.h.

◆ GetHalfExtents()

Real3 superdex::Obb::GetHalfExtents ( ) const
inlinenodiscard

Definition at line 64 of file obb.h.

◆ GetRotation()

Matrix3x3r superdex::Obb::GetRotation ( ) const
inlinenodiscard

Definition at line 63 of file obb.h.

◆ GetSize()

Real3 superdex::Obb::GetSize ( ) const
inlinenodiscard

Definition at line 65 of file obb.h.

◆ GetTransform()

MatrixTransformRT const & superdex::Obb::GetTransform ( ) const
inlinenodiscard

Definition at line 68 of file obb.h.

◆ VGetCenter()

Vec4r superdex::Obb::VGetCenter ( ) const
inlinenodiscard

Definition at line 56 of file obb.h.

◆ VGetCorner()

template<int i>
Vec4r superdex::Obb::VGetCorner ( ) const
inlinenodiscard

Definition at line 71 of file obb.h.

◆ VGetCorners()

NdArray< Vec4r, 8 > superdex::Obb::VGetCorners ( ) const
inlinenodiscard

Definition at line 87 of file obb.h.

◆ VGetHalfExtents()

Vec4r superdex::Obb::VGetHalfExtents ( ) const
inlinenodiscard

Definition at line 58 of file obb.h.

◆ VGetRotation()

VMatrix3x3r superdex::Obb::VGetRotation ( ) const
inlinenodiscard

Definition at line 57 of file obb.h.

◆ VGetSize()

Vec4r superdex::Obb::VGetSize ( ) const
inlinenodiscard

Definition at line 59 of file obb.h.


The documentation for this class was generated from the following file: