ViennaLS
Loading...
Searching...
No Matches
viennals::Sphere< T, D > Class Template Reference

Class describing a sphere via origin and radius. More...

#include <lsGeometries.hpp>

Public Member Functions

 Sphere ()
 
 Sphere (hrleVectorType< T, D > passedOrigin, T passedRadius)
 
 Sphere (T *passedOrigin, T passedRadius)
 
 Sphere (const std::vector< T > &passedOrigin, T passedRadius)
 

Public Attributes

hrleVectorType< T, Dorigin = hrleVectorType<T, D>(T(0))
 
T radius = 0.
 

Detailed Description

template<class T, int D>
class viennals::Sphere< T, D >

Class describing a sphere via origin and radius.

Constructor & Destructor Documentation

◆ Sphere() [1/4]

template<class T , int D>
viennals::Sphere< T, D >::Sphere ( )
inline

◆ Sphere() [2/4]

template<class T , int D>
viennals::Sphere< T, D >::Sphere ( hrleVectorType< T, D > passedOrigin,
T passedRadius )
inline

◆ Sphere() [3/4]

template<class T , int D>
viennals::Sphere< T, D >::Sphere ( T * passedOrigin,
T passedRadius )
inline

◆ Sphere() [4/4]

template<class T , int D>
viennals::Sphere< T, D >::Sphere ( const std::vector< T > & passedOrigin,
T passedRadius )
inline

Member Data Documentation

◆ origin

template<class T , int D>
hrleVectorType<T, D> viennals::Sphere< T, D >::origin = hrleVectorType<T, D>(T(0))

◆ radius

template<class T , int D>
T viennals::Sphere< T, D >::radius = 0.

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