PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::TAlignedBox3D< Real > Class Template Reference

#include <Primitive3D.h>

Collaboration diagram for dyno::TAlignedBox3D< Real >:

Public Types

typedef Vector< Real, 2 > Coord2D
 
typedef Vector< Real, 3 > Coord3D
 
typedef SquareMatrix< Real, 3 > Matrix3D
 

Public Member Functions

DYN_FUNC TAlignedBox3D ()
 
DYN_FUNC TAlignedBox3D (const Coord3D &p0, const Coord3D &p1)
 
DYN_FUNC TAlignedBox3D (const TAlignedBox3D< Real > &box)
 
DYN_FUNC bool intersect (const TAlignedBox3D< Real > &abox, TAlignedBox3D< Real > &interBox) const
 
DYN_FUNC bool checkOverlap (const TAlignedBox3D< Real > &abox) const
 
DYN_FUNC TAlignedBox3D< Realmerge (const TAlignedBox3D< Real > &aabb) const
 
DYN_FUNC bool meshInsert (const TTriangle3D< Real > &tri) const
 
DYN_FUNC bool isValid ()
 
DYN_FUNC TOrientedBox3D< Realrotate (const Matrix3D &mat)
 
DYN_FUNC Real length (unsigned int i) const
 

Public Attributes

Coord3D v0
 
Coord3D v1
 

Detailed Description

template<typename Real>
class dyno::TAlignedBox3D< Real >

Definition at line 716 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

template<typename Real>
typedef Vector<Real, 2> dyno::TAlignedBox3D< Real >::Coord2D

Definition at line 719 of file Primitive3D.h.

◆ Coord3D

template<typename Real>
typedef Vector<Real, 3> dyno::TAlignedBox3D< Real >::Coord3D

Definition at line 720 of file Primitive3D.h.

◆ Matrix3D

template<typename Real>
typedef SquareMatrix<Real, 3> dyno::TAlignedBox3D< Real >::Matrix3D

Definition at line 721 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TAlignedBox3D() [1/3]

template<typename Real>
DYN_FUNC dyno::TAlignedBox3D< Real >::TAlignedBox3D ( )

Definition at line 3899 of file Primitive3D.inl.

Here is the caller graph for this function:

◆ TAlignedBox3D() [2/3]

template<typename Real>
DYN_FUNC dyno::TAlignedBox3D< Real >::TAlignedBox3D ( const Coord3D & p0,
const Coord3D & p1 )

Definition at line 3906 of file Primitive3D.inl.

◆ TAlignedBox3D() [3/3]

template<typename Real>
DYN_FUNC dyno::TAlignedBox3D< Real >::TAlignedBox3D ( const TAlignedBox3D< Real > & box)

Member Function Documentation

◆ checkOverlap()

template<typename Real>
DYN_FUNC bool dyno::TAlignedBox3D< Real >::checkOverlap ( const TAlignedBox3D< Real > & abox) const

Definition at line 3959 of file Primitive3D.inl.

Here is the call graph for this function:

◆ intersect()

template<typename Real>
DYN_FUNC bool dyno::TAlignedBox3D< Real >::intersect ( const TAlignedBox3D< Real > & abox,
TAlignedBox3D< Real > & interBox ) const

Definition at line 3920 of file Primitive3D.inl.

Here is the call graph for this function:

◆ isValid()

template<typename Real>
DYN_FUNC bool dyno::TAlignedBox3D< Real >::isValid ( )

Definition at line 4080 of file Primitive3D.inl.

◆ length()

template<typename Real>
DYN_FUNC Real dyno::TAlignedBox3D< Real >::length ( unsigned int i) const
inline

Definition at line 738 of file Primitive3D.h.

◆ merge()

template<typename Real>
DYN_FUNC TAlignedBox3D< Real > dyno::TAlignedBox3D< Real >::merge ( const TAlignedBox3D< Real > & aabb) const

Definition at line 3974 of file Primitive3D.inl.

Here is the call graph for this function:

◆ meshInsert()

template<typename Real>
DYN_FUNC bool dyno::TAlignedBox3D< Real >::meshInsert ( const TTriangle3D< Real > & tri) const

Definition at line 3985 of file Primitive3D.inl.

Here is the call graph for this function:

◆ rotate()

template<typename Real>
DYN_FUNC TOrientedBox3D< Real > dyno::TAlignedBox3D< Real >::rotate ( const Matrix3D & mat)

Definition at line 4066 of file Primitive3D.inl.

Member Data Documentation

◆ v0

template<typename Real>
Coord3D dyno::TAlignedBox3D< Real >::v0

Definition at line 740 of file Primitive3D.h.

◆ v1

template<typename Real>
Coord3D dyno::TAlignedBox3D< Real >::v1

Definition at line 741 of file Primitive3D.h.


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