MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::Cone3< T > Class Template Reference

Base class for cone parameterization. More...

#include <MRCone3.h>

Public Member Functions

 Cone3 ()
 
 Cone3 (const Line3< T > &inAxis, T inAngle, T inHeight)
 
Vector3< T > & center (void)
 now we use an apex as center of the cone.
 
const Vector3< T > & center (void) const
 now we use an apex as center of the cone.
 
Vector3< T > & direction (void)
 main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0
 
const Vector3< T > & direction (void) const
 main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0
 
Vector3< T > & apex (void)
 return cone apex position
 
const Vector3< T > & apex (void) const
 return cone apex position
 
Vector3< T > projectPoint (const Vector3< T > &point) const
 

Public Attributes

Line3< T > axis
 
angle = 0
 for any cone point dot( point , direction ) >=0
 
height = 0
 cone angle, main axis vs side
 

Detailed Description

template<typename T>
class MR::Cone3< T >

Base class for cone parameterization.


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