float[]
arrays containing (x,y)
coordinates. More sophisticated subclasses can compress data in order to store big
coordinate arrays with less memory. This package is designed to work with vectorial
map. For example, a {@link org.geotools.renderer.array.PointArray} object may be used
for storing one polygon representing a land contour or an isobath. A
{@link org.geotools.renderer.array.PointArray} may be compressed by invoking its
{@link org.geotools.renderer.array.PointArray#getFinal} method with a non-null
{@link org.geotools.renderer.geom.CompressionLevel} argument. Note that
compression is destructive: it will result in a lost of coordinates
precision. The lost is minimized if every point is equally spaced.
{@link org.geotools.renderer.array.PointArray} has an iterator allowing forward-only iteration through coordinate points. It does not allow random access or backward iteration. This limitation makes it easier to implements compression algorithms.