bbox property

  1. @override
BoundingBox get bbox
override

Returns the BoundingBox of the MultiLineString

Example:

MultiLineString([[Coordinate(1, 2), Coordinate(3, 4)]]).bbox; // BoundingBox(1, 2, 3, 4)

Implementation

@override
BoundingBox get bbox {
  List<Point> points = explode();
  return BoundingBox.fromPoints(points);
}