To avoid exposing M_PI, we define the constructor here.
| 32 | |
| 33 | /// To avoid exposing M_PI, we define the constructor here. |
| 34 | SphericalBounds::SphericalBounds() |
| 35 | { |
| 36 | rangeMinimum = 0.; |
| 37 | rangeMaximum = DOUBLE_MAX; |
| 38 | azimuthStart = -M_PI; |
| 39 | azimuthEnd = M_PI; |
| 40 | |
| 41 | constexpr auto HALF_PI = M_PI / 2.0; |
| 42 | |
| 43 | elevationMinimum = -HALF_PI; |
| 44 | elevationMaximum = HALF_PI; |
| 45 | } |
| 46 | |
| 47 | template <typename COORDTYPE> |
| 48 | Data3DPointsData_t<COORDTYPE>::Data3DPointsData_t( Data3D &data3D ) : _selfAllocated( true ) |
nothing calls this directly
no outgoing calls
no test coverage detected