A cone class describing a cone by its angle and length.
More...
#include <murl_math_cone.h>
template<class DataType>
class Murl::Math::Cone< DataType >
A cone class describing a cone by its angle and length.
|
using | ValueType = DataType |
| The template parameter value type.
|
|
|
DataType | mLength |
| The length of the cone.
|
|
DataType | mAngle |
| The angle of the cone.
|
|
DataType | mSin |
| The sine of the angle.
|
|
DataType | mCos |
| The cosine of the angle.
|
|
DataType | mTan |
| The tangent of the angle.
|
|
DataType | mShearX |
| The X shear value.
|
|
DataType | mShearY |
| The Y shear value.
|
|
◆ Cone() [1/3]
template<class DataType >
Constructor taking cone length and angle.
- Parameters
-
length | The length of the cone. |
angle | The angle of the cone. |
◆ Cone() [2/3]
template<class DataType >
Constructor taking a frustum.
- Parameters
-
◆ Cone() [3/3]
template<class DataType >
template<class DataType2 >
The copy constructor using a cone of different type.
- Parameters
-
◆ GetLength()
template<class DataType >
Get the length.
- Returns
- The length.
◆ GetAngle()
template<class DataType >
Get the angle.
- Returns
- The angle.
◆ Set()
template<class DataType >
Set the cone by a frustum.
- Parameters
-
◆ IsIntersecting()
template<class DataType >
Check if the cone is intersecting a sphere.
- Parameters
-
sphere | The sphere to check. |
- Returns
- true if the cone is intersecting the sphere.
◆ ToString()
template<class DataType >
Get the string representation of the object.
- Returns
- The string representation of the object.
The documentation for this class was generated from the following files:
- murl_graph_types.h
- murl_math_cone.h