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

Method fastBoundary

kernels/TIndexKernel.cpp:632–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630
631
632void TIndexKernel::fastBoundary(Stage& reader, FileInfo& fileInfo)
633{
634 QuickInfo qi = reader.preview();
635 if (!qi.valid())
636 return;
637
638 fileInfo.m_boundary = makeMultiPolygon(qi.m_bounds.to2d().toWKT());
639 if (!qi.m_srs.empty())
640 fileInfo.m_srs = qi.m_srs.getWKT();
641 fileInfo.m_gridHeight = 0.0;
642}
643
644
645void TIndexKernel::getFileInfo(FileInfo& fileInfo)

Callers

nothing calls this directly

Calls 6

to2dMethod · 0.80
getWKTMethod · 0.80
previewMethod · 0.45
validMethod · 0.45
toWKTMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected