estimateMultiPoint method

int estimateMultiPoint(
  1. MultiPoint geom
)

Implementation

int estimateMultiPoint(MultiPoint geom) {
  // int size
  int result = 4;
  if (geom.getNumGeometries() > 0) {
    // We can shortcut here, as all subgeoms have the same fixed size
    result += geom.getNumGeometries() * estimateBytes(geom.getGeometryN(0));
  }
  return result;
}