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

#include <Primitive3D.h>

Collaboration diagram for dyno::TCapsule3D< Real >:

Public Types

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

Public Member Functions

DYN_FUNC TCapsule3D ()
 
DYN_FUNC TCapsule3D (const Coord3D &c, const Quat< Real > &q, const Real &r, const Real &hl)
 
DYN_FUNC TCapsule3D (const Coord3D &v0, const Coord3D &v1, const Real &r)
 
DYN_FUNC TCapsule3D (const TCapsule3D< Real > &capsule)
 
DYN_FUNC Real volume () const
 
DYN_FUNC bool isValid () const
 
DYN_FUNC TAlignedBox3D< Realaabb () const
 
DYN_FUNC Coord3D startPoint () const
 
DYN_FUNC Coord3D endPoint () const
 
DYN_FUNC TSegment3D< Realcenterline () const
 

Public Attributes

Coord3D center
 
Quat< Realrotation
 
Real radius
 
Real halfLength
 

Detailed Description

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

Definition at line 640 of file Primitive3D.h.

Member Typedef Documentation

◆ Coord2D

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

Definition at line 643 of file Primitive3D.h.

◆ Coord3D

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

Definition at line 644 of file Primitive3D.h.

Constructor & Destructor Documentation

◆ TCapsule3D() [1/4]

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

Definition at line 3307 of file Primitive3D.inl.

◆ TCapsule3D() [2/4]

template<typename Real>
DYN_FUNC dyno::TCapsule3D< Real >::TCapsule3D ( const Coord3D & c,
const Quat< Real > & q,
const Real & r,
const Real & hl )

Definition at line 3327 of file Primitive3D.inl.

◆ TCapsule3D() [3/4]

template<typename Real>
DYN_FUNC dyno::TCapsule3D< Real >::TCapsule3D ( const Coord3D & v0,
const Coord3D & v1,
const Real & r )

Definition at line 3316 of file Primitive3D.inl.

◆ TCapsule3D() [4/4]

template<typename Real>
DYN_FUNC dyno::TCapsule3D< Real >::TCapsule3D ( const TCapsule3D< Real > & capsule)

Member Function Documentation

◆ aabb()

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

Definition at line 3358 of file Primitive3D.inl.

Here is the call graph for this function:

◆ centerline()

template<typename Real>
DYN_FUNC TSegment3D< Real > dyno::TCapsule3D< Real >::centerline ( ) const
inline

Definition at line 661 of file Primitive3D.h.

Here is the caller graph for this function:

◆ endPoint()

template<typename Real>
DYN_FUNC Coord3D dyno::TCapsule3D< Real >::endPoint ( ) const
inline

Definition at line 659 of file Primitive3D.h.

Here is the caller graph for this function:

◆ isValid()

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

Definition at line 3352 of file Primitive3D.inl.

◆ startPoint()

template<typename Real>
DYN_FUNC Coord3D dyno::TCapsule3D< Real >::startPoint ( ) const
inline

Definition at line 658 of file Primitive3D.h.

Here is the caller graph for this function:

◆ volume()

template<typename Real>
DYN_FUNC Real dyno::TCapsule3D< Real >::volume ( ) const

Definition at line 3345 of file Primitive3D.inl.

Member Data Documentation

◆ center

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

Definition at line 663 of file Primitive3D.h.

◆ halfLength

template<typename Real>
Real dyno::TCapsule3D< Real >::halfLength

Definition at line 666 of file Primitive3D.h.

◆ radius

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

Definition at line 665 of file Primitive3D.h.

◆ rotation

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

Definition at line 664 of file Primitive3D.h.


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