MeshLib C++ Docs
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
 

Detailed Description

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

A class describing a cylinder as a mathematical object.A cylinder is represented by a centerline, a radius, and a length.template <typename T> TODO: Cylinder3 could be infinite. For example for infinite Cylinder3 we could use negative length or length = -1


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