MeshLib
 
Loading...
Searching...
No Matches
MR::Cylinder3< T > Class Template Reference

#include <MRCylinder3.h>

Public Member Functions

 Cylinder3 ()
 
 Cylinder3 (const Vector3< T > &inCenter, const Vector3< T > &inDirectoin, T inRadius, T inLength)
 
 Cylinder3 (const Line3< T > &inAxis, T inRadius, T inLength)
 
Vector3< T > & center (void)
 
const Vector3< T > & center (void) const
 
Vector3< T > & direction (void)
 
const Vector3< T > & direction (void) const
 

Public Attributes

Line3< T > mainAxis
 
radius = 0
 
length = 0
 

Constructor & Destructor Documentation

◆ Cylinder3() [1/3]

template<typename T >
MR::Cylinder3< T >::Cylinder3 ( )
inline

◆ Cylinder3() [2/3]

template<typename T >
MR::Cylinder3< T >::Cylinder3 ( const Vector3< T > & inCenter,
const Vector3< T > & inDirectoin,
T inRadius,
T inLength )
inline

◆ Cylinder3() [3/3]

template<typename T >
MR::Cylinder3< T >::Cylinder3 ( const Line3< T > & inAxis,
T inRadius,
T inLength )
inline

Member Function Documentation

◆ center() [1/2]

template<typename T >
Vector3< T > & MR::Cylinder3< T >::center ( void )
inline

◆ center() [2/2]

template<typename T >
const Vector3< T > & MR::Cylinder3< T >::center ( void ) const
inline

◆ direction() [1/2]

template<typename T >
Vector3< T > & MR::Cylinder3< T >::direction ( void )
inline

◆ direction() [2/2]

template<typename T >
const Vector3< T > & MR::Cylinder3< T >::direction ( void ) const
inline

Member Data Documentation

◆ length

template<typename T >
T MR::Cylinder3< T >::length = 0

◆ mainAxis

template<typename T >
Line3<T> MR::Cylinder3< T >::mainAxis

◆ radius

template<typename T >
T MR::Cylinder3< T >::radius = 0

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