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

3D geometric primitives in three-dimensional space More...

#include <Primitive3D.h>

Collaboration diagram for dyno::TSphere3D< Real >:

Public Types

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

Public Member Functions

DYN_FUNC TSphere3D ()
 
DYN_FUNC TSphere3D (const Coord3D &c, const Real &r)
 
DYN_FUNC TSphere3D (const Coord3D &c, const Quat< Real > &rot, const Real &r)
 
DYN_FUNC TSphere3D (const TSphere3D< Real > &sphere)
 
DYN_FUNC Real volume ()
 
DYN_FUNC bool isValid ()
 
DYN_FUNC TAlignedBox3D< Realaabb ()
 

Public Attributes

Coord3D center
 
Quat< Realrotation
 
Real radius
 

Detailed Description

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

3D geometric primitives in three-dimensional space

Definition at line 574 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

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

Definition at line 577 of file Primitive3D.h.

◆ Coord3D

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

Definition at line 578 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TSphere3D() [1/4]

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

Definition at line 3183 of file Primitive3D.inl.

◆ TSphere3D() [2/4]

template<typename Real>
DYN_FUNC dyno::TSphere3D< Real >::TSphere3D ( const Coord3D & c,
const Real & r )

Definition at line 3191 of file Primitive3D.inl.

◆ TSphere3D() [3/4]

template<typename Real>
DYN_FUNC dyno::TSphere3D< Real >::TSphere3D ( const Coord3D & c,
const Quat< Real > & rot,
const Real & r )

Definition at line 3199 of file Primitive3D.inl.

◆ TSphere3D() [4/4]

template<typename Real>
DYN_FUNC dyno::TSphere3D< Real >::TSphere3D ( const TSphere3D< Real > & sphere)

Member Function Documentation

◆ aabb()

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

Definition at line 3296 of file Primitive3D.inl.

◆ isValid()

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

Definition at line 3221 of file Primitive3D.inl.

◆ volume()

template<typename Real>
DYN_FUNC Real dyno::TSphere3D< Real >::volume ( )

Definition at line 3215 of file Primitive3D.inl.

Member Data Documentation

◆ center

template<typename Real>
Coord3D dyno::TSphere3D< Real >::center

Definition at line 592 of file Primitive3D.h.

◆ radius

template<typename Real>
Real dyno::TSphere3D< Real >::radius

Definition at line 594 of file Primitive3D.h.

◆ rotation

template<typename Real>
Quat<Real> dyno::TSphere3D< Real >::rotation

Definition at line 593 of file Primitive3D.h.


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