MCPcopy Create free account
hub / github.com/apache/orc / merge

Method merge

c++/src/Geospatial.hh:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 geospatialTypes_.insert(geospatialTypes.begin(), geospatialTypes.end());
42 }
43 void merge(const WKBGeometryBounder& other) {
44 if (!isValid() || !other.isValid()) {
45 invalidate();
46 return;
47 }
48 box_.merge(other.box_);
49 geospatialTypes_.insert(other.geospatialTypes_.begin(), other.geospatialTypes_.end());
50 }
51
52 // Get the bounding box for the merged geometries.
53 const BoundingBox& bounds() const {

Callers 1

mergeBoxMethod · 0.45

Calls 3

endMethod · 0.65
isValidMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected