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

Class describing a square box from one coordinate to another. More...

#include <lsGeometries.hpp>

Public Member Functions

 Cylinder ()
 
 Cylinder (hrleVectorType< T, D > passedOrigin, hrleVectorType< T, D > passedAxisDirection, T passedHeight, T passedRadius, T passedTopRadius=0)
 
 Cylinder (const T *passedOrigin, const T *passedAxisDirection, const T passedHeight, const T passedRadius, const T passedTopRadius=0)
 
 Cylinder (std::vector< T > passedOrigin, std::vector< T > passedAxisDirection, T passedHeight, T passedRadius, T passedTopRadius=0)
 

Public Attributes

hrleVectorType< T, 3 > origin = hrleVectorType<T, 3>(T(0))
 This is the location of the center of the base of the cylinder.
 
hrleVectorType< T, 3 > axisDirection = hrleVectorType<T, 3>(T(0))
 This vector will be the main axis of the cylinder.
 
T height = 0.
 height of the cylinder
 
T radius = 0.
 radius of the base of the cylinder
 
T topRadius = 0.
 radius of the top of the cylinder
 

Detailed Description

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

Class describing a square box from one coordinate to another.

Constructor & Destructor Documentation

◆ Cylinder() [1/4]

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

◆ Cylinder() [2/4]

template<class T , int D>
viennals::Cylinder< T, D >::Cylinder ( hrleVectorType< T, D > passedOrigin,
hrleVectorType< T, D > passedAxisDirection,
T passedHeight,
T passedRadius,
T passedTopRadius = 0 )
inline

◆ Cylinder() [3/4]

template<class T , int D>
viennals::Cylinder< T, D >::Cylinder ( const T * passedOrigin,
const T * passedAxisDirection,
const T passedHeight,
const T passedRadius,
const T passedTopRadius = 0 )
inline

◆ Cylinder() [4/4]

template<class T , int D>
viennals::Cylinder< T, D >::Cylinder ( std::vector< T > passedOrigin,
std::vector< T > passedAxisDirection,
T passedHeight,
T passedRadius,
T passedTopRadius = 0 )
inline

Member Data Documentation

◆ axisDirection

template<class T , int D>
hrleVectorType<T, 3> viennals::Cylinder< T, D >::axisDirection = hrleVectorType<T, 3>(T(0))

This vector will be the main axis of the cylinder.

◆ height

template<class T , int D>
T viennals::Cylinder< T, D >::height = 0.

height of the cylinder

◆ origin

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

This is the location of the center of the base of the cylinder.

◆ radius

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

radius of the base of the cylinder

◆ topRadius

template<class T , int D>
T viennals::Cylinder< T, D >::topRadius = 0.

radius of the top of the cylinder


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