![]() |
VR-Forces 4.6.1 Class Documentation
|
Class to hold a vertex in spherical coordinates during geometry construction. More...
Public Member Functions | |
| DtSphericalVertex (T inclination, T azimuth, T radius) | |
| CTOR Instantiates a new spherical vertex. | |
| DtSphericalVertex (const DtVector3< T > &cartesian) | |
| Construct from a cartesian vertex Constructs a new Spherical Vertex, equivalent to the given cartesian vertex. | |
| bool | operator< (const DtSphericalVertex< T > &rhs) const |
| Less-than operator Less-than operator for DtSphericalVertex's Exists so a DtSphericalVertex can be used with std::map. | |
| DtVector3< T > | toCartesian () const |
| Returns the equivalent cartesian coordinate Converts this DtSphericalVertex to Cartesian coordinates. | |
Public Attributes | |
| T | myInclination |
| The vertex's representative inclination. | |
| T | myAzimuth |
| The vertex's representative azimuth. | |
| T | myRadius |
| The vertex's representative radius. | |
Class to hold a vertex in spherical coordinates during geometry construction.
| makVrv::DtSphericalVertex< T >::DtSphericalVertex | ( | T | inclination, |
| T | azimuth, | ||
| T | radius | ||
| ) |
CTOR Instantiates a new spherical vertex.
| inclination | the vertex's inclination |
| azimuth | the vertex's azimuth |
| radius | the vertex's radius |
| makVrv::DtSphericalVertex< T >::DtSphericalVertex | ( | const DtVector3< T > & | cartesian | ) |
Construct from a cartesian vertex Constructs a new Spherical Vertex, equivalent to the given cartesian vertex.
| cartesian | the cartesian vertex to construct this Spherical Vertex for |
| bool makVrv::DtSphericalVertex< T >::operator< | ( | const DtSphericalVertex< T > & | rhs | ) | const |
Less-than operator Less-than operator for DtSphericalVertex's Exists so a DtSphericalVertex can be used with std::map.
| rhs | the DtSphericalVertex to compare with |
| DtVector3<T> makVrv::DtSphericalVertex< T >::toCartesian | ( | ) | const |
Returns the equivalent cartesian coordinate Converts this DtSphericalVertex to Cartesian coordinates.
| T makVrv::DtSphericalVertex< T >::myInclination |
The vertex's representative inclination.
| T makVrv::DtSphericalVertex< T >::myAzimuth |
The vertex's representative azimuth.
| T makVrv::DtSphericalVertex< T >::myRadius |
The vertex's representative radius.