bbox property
Returns the BoundingBox of the MultiPoint
Example:
MultiPoint([Coordinate(1, 2), Coordinate(3, 4)]).bbox; // BoundingBox(1, 2, 3, 4)
Implementation
@override
BoundingBox get bbox {
List<Point> points = explode();
if (points.length < 2) {
return BoundingBox.empty();
}
return BoundingBox.fromPoints(points);
}