SpatialExtent<T extends Box> class

An extent with 1 to N bounding boxes in defined coordinate reference system.

Annotations
  • @immutable

Constructors

SpatialExtent.multi(Iterable<T> boxes, {CoordRefSys crs = CoordRefSys.CRS84})
A spatial extent of boxes with coordinate reference system specified by crs.
SpatialExtent.single(T bbox, {CoordRefSys crs = CoordRefSys.CRS84})
A spatial extent of one bbox with coordinate reference system specified by crs.
const

Properties

boxes Iterable<T>
All bounding boxes for this extent.
no setter
crs CoordRefSys
The coordinate reference system for bounding boxes of this extent.
no setter
first → T
The first bounding box for this extent.
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Iterable<T>? boxes, CoordRefSys? crs}) SpatialExtent<T>
Copy this spatial extent with optional boxes and/or crs parameters changed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override