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

Method bounds

filters/SplitterFilter.cpp:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70BOX2D SplitterFilter::bounds(const Coord& coord) const
71{
72 const int& xpos = coord.first;
73 const int& ypos = coord.second;
74
75 double minx = m_xOrigin + xpos * m_length;
76 double maxx = minx + m_length;
77 double miny = m_yOrigin + ypos * m_length;
78 double maxy = miny + m_length;
79
80 return BOX2D(minx, miny, maxx, maxy);
81}
82
83
84BOX2D SplitterFilter::bufferedBounds(const Coord& coord) const

Callers 2

extractMetadataMethod · 0.45
doneMethod · 0.45

Calls 1

BOX2DClass · 0.50

Tested by

no test coverage detected