values property
Coordinate values of this bounding box as an iterable of 4, 6 or 8 items.
The number of values expected is indicated by valueCount.
For projected or cartesian coordinates, values are:
Type | Returned values |
---|---|
xy | minX, minY, maxX, maxY |
xyz | minX, minY, minZ, maxX, maxY, maxZ |
xym | minX, minY, minM, maxX, maxY, maxM |
xyzm | minX, minY, minZ, minM, maxX, maxY, maxZ, maxM |
For geographic coordinates, values are:
Type | Returned values |
---|---|
xy | west, south, east, north |
xyz | west, south, minElev, east, north, maxElev |
xym | west, south, minM, east, north, maxM |
xyzm | west, south, minElev, minM, east, north, maxElev, maxM |
See also valuesByType that returns coordinate values according to a given coordinate type.
Implementation
@override
Iterable<double> get values => Box.getValues(this, type: coordType);