MCPcopy Create free account
hub / github.com/PDAL/PDAL / SphericalBounds

Method SphericalBounds

plugins/e57/libE57Format/src/E57SimpleData.cpp:34–45  ·  view source on GitHub ↗

To avoid exposing M_PI, we define the constructor here.

Source from the content-addressed store, hash-verified

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 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected