igor::iAACube< T > Class Template Reference

#include <iAACube.h>

Public Member Functions

 iAACube ()=default
 
 iAACube (const iaVector3< T > &center, T halfEdgeLenght)
 
const iaVector3< T > & getCenter () const
 
const T & getHalfEdge () const
 

Public Attributes

iaVector3< T > _center
 
_halfEdgeLength = static_cast<T>(0)
 

Detailed Description

template<class T>
class igor::iAACube< T >

Axis aligned cube

Constructor & Destructor Documentation

◆ iAACube() [1/2]

template<class T >
igor::iAACube< T >::iAACube ( )
default

does nothing

◆ iAACube() [2/2]

template<class T >
iAACube::iAACube ( const iaVector3< T > &  center,
halfEdgeLenght 
)

init members constructor

Parameters
centercenter position of cube
halfEdgeLenghthalf of the edge length of the cube

Member Function Documentation

◆ getCenter()

template<class T >
const iaVector3< T > & iAACube::getCenter ( ) const
Returns
the center

◆ getHalfEdge()

template<class T >
const T & iAACube::getHalfEdge ( ) const
Returns
the center

Member Data Documentation

◆ _center

template<class T >
iaVector3<T> igor::iAACube< T >::_center

center position of cube

◆ _halfEdgeLength

template<class T >
T igor::iAACube< T >::_halfEdgeLength = static_cast<T>(0)

half of the edge length


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