0.44.0
|
#include <iaSphere.h>
Public Member Functions | |
iaSphere ()=default | |
iaSphere (iaVector3< T > center, T radius) | |
virtual | ~iaSphere ()=default |
void | merge (iaSphere< T > &sphere) |
bool | operator== (const iaSphere< T > &sphere) const |
bool | operator!= (const iaSphere< T > &sphere) const |
Public Attributes | |
iaVector3< T > | _center |
T | _radius = static_cast<T>(1.0) |
sphere
|
default |
does nothing
iaux::iaSphere< T >::iaSphere | ( | iaVector3< T > | center, |
T | radius | ||
) |
constructor that initializes member variables
center | center position of sphere |
radius | radius of sphere |
|
virtualdefault |
does nothing
void iaSphere::merge | ( | iaSphere< T > & | sphere | ) |
merges one sphere in to an other
sphere | the sphere to merge with |
bool iaSphere::operator!= | ( | const iaSphere< T > & | sphere | ) | const |
sphere | the sphere to compare with |
bool iaSphere::operator== | ( | const iaSphere< T > & | sphere | ) | const |
sphere | the sphere to compare with |
iaVector3<T> iaux::iaSphere< T >::_center |
center position of sphere
T iaux::iaSphere< T >::_radius = static_cast<T>(1.0) |
radius of sphere