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

Function _validateData3D

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

@private Validates a Data3D and throws on error.

Source from the content-addressed store, hash-verified

18 /// @private
19 /// Validates a Data3D and throws on error.
20 constexpr void _validateData3D( const Data3D &inData3D )
21 {
22 if ( inData3D.pointFields.pointRangeNodeType == NumericalNodeType::Integer )
23 {
24 throw E57_EXCEPTION2( ErrorInvalidNodeType, "pointRangeNodeType cannot be Integer" );
25 }
26
27 if ( inData3D.pointFields.angleNodeType == NumericalNodeType::Integer )
28 {
29 throw E57_EXCEPTION2( ErrorInvalidNodeType, "angleNodeType cannot be Integer" );
30 }
31 }
32
33 /// To avoid exposing M_PI, we define the constructor here.
34 SphericalBounds::SphericalBounds()

Callers 1

Data3DPointsData_tMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected