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

#include <MRCone3.h>

Public Member Functions

 Cone3 ()
 
 Cone3 (const Line3< T > &inAxis, T inAngle, T inHeight)
 
Vector3< T > & center (void)
 
const Vector3< T > & center (void) const
 
Vector3< T > & direction (void)
 
const Vector3< T > & direction (void) const
 
Vector3< T > & apex (void)
 
const Vector3< T > & apex (void) const
 
Vector3< T > projectPoint (const Vector3< T > &point) const
 

Public Attributes

Line3< T > axis
 
angle = 0
 
height = 0
 

Constructor & Destructor Documentation

◆ Cone3() [1/2]

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

◆ Cone3() [2/2]

template<typename T >
MR::Cone3< T >::Cone3 ( const Line3< T > & inAxis,
T inAngle,
T inHeight )
inline

Member Function Documentation

◆ apex() [1/2]

template<typename T >
Vector3< T > & MR::Cone3< T >::apex ( void )
inline

◆ apex() [2/2]

template<typename T >
const Vector3< T > & MR::Cone3< T >::apex ( void ) const
inline

◆ center() [1/2]

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

◆ center() [2/2]

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

◆ direction() [1/2]

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

◆ direction() [2/2]

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

◆ projectPoint()

template<typename T >
Vector3< T > MR::Cone3< T >::projectPoint ( const Vector3< T > & point) const
inline

Member Data Documentation

◆ angle

template<typename T >
T MR::Cone3< T >::angle = 0

◆ axis

template<typename T >
Line3<T> MR::Cone3< T >::axis

◆ height

template<typename T >
T MR::Cone3< T >::height = 0

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