#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 |
| T | radius = 0 |
| T | length = 0 |
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