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

Method to3d

pdal/util/Bounds.cpp:167–172  ·  view source on GitHub ↗

We don't allow implicit conversion from a BOX2D to BOX3D. Use the explicit BOX3D ctor that takes a BOX2D if that's what you want.

Source from the content-addressed store, hash-verified

165// We don't allow implicit conversion from a BOX2D to BOX3D. Use the explicit
166// BOX3D ctor that takes a BOX2D if that's what you want.
167BOX3D Bounds::to3d() const
168{
169 if (!is3d())
170 return BOX3D();
171 return m_box;
172}
173
174BOX2D Bounds::to2d() const
175{

Callers 7

createSpatialFiltersMethod · 0.80
initializeMethod · 0.80
TESTFunction · 0.80
processOneMethod · 0.80
cropMethod · 0.80
reprojectBoundsFunction · 0.80
Bounds.cppFile · 0.80

Calls 1

BOX3DFunction · 0.70

Tested by 1

TESTFunction · 0.64