Closed navispatial closed 1 year ago
Basic coordinate data types of geobase could also wrap data specified by structures of typed_data package.
geobase
typed_data
Currently coordinate array structures supported:
Position
Box
PositionSeries
Following typed data structures could be used as a source instead of "plain" List without need for changes on geobase data structures:
Float32List
List<double>
TypedData
Float64List
Other types could be supported by implementing new factory methods:
Float32x4
Float64xx
Float64x2
Implemented in geobase 0.6.0
Basic coordinate data types of
geobase
could also wrap data specified by structures oftyped_data
package.Currently coordinate array structures supported:
Position
: an instance of ListBox
: an instance of ListPositionSeries
: an instance of ListFollowing typed data structures could be used as a source instead of "plain" List without need for changes on
geobase
data structures:Float32List
that implementsList<double>
andTypedData
and contains a fixed-length list of IEEE 754 single-precision binary floating-point numbersFloat64List
that implementsList<double>
andTypedData
and contains a fixed-length list of IEEE 754 double-precision binary floating-point numbersOther types could be supported by implementing new factory methods:
Float32x4
Position
(x => x, y => y, z => z, m => w)Float32x4
PositionSeries
with all coordinates (x => x, y => y, z => z, m => w) in each position.Float64xx
Position
(x => x, y => y) in 2DFloat64x2
PositionSeries
with 2D coordinates (x => x, y => y) in each position.