writePoint method
Writes a "slim" Point (without endiannes, srid ant type, only the ordinates and measure. Used by writeGeometry as ell as writePointArray.
Implementation
void writePoint(Coordinate geom, ValueSetter dest) {
dest.setDouble(geom.x);
dest.setDouble(geom.y);
var z = geom.z;
if (!z.isNaN) {
//geom.dimension == 3) {
dest.setDouble(z);
}
var m = geom.getM();
if (!m.isNaN) {
//} geom.haveMeasure) {
dest.setDouble(m);
}
}