coordType property

  1. @override
Coords coordType
override

A value of Coords representing the coordinate type of position data contained directly or within child objects.

For objects containing position data directly, the coordinate type is the type indicated by such data. For example for geometries containing 2D coordinates it's Coords.xy or for geometries containg 3D data, it's Coords.xyz.

For objects that are containers for other positionable objects, the returned type is such that it's valid for all items contained. For example if a collection has items with types Coords.xy, Coords.xyz and Coords.xym, then Coords.xy is returned. When all items are Coords.xyz, then Coords.xyz is returned.

Implementation

@override
Coords get coordType => positionSeriesArrayType(chains);