/** * Parse an Array of "slim" Points (without endianness and type, part of * LinearRing and Linestring, but not MultiPoint! * * @param haveZ * @param haveM */ private Point[] parsePointArray(ValueGetter data, boolean haveZ, boolean haveM) { int count = data.getInt(); Point[] result = new Point[count]; for (int i = 0; i < count; i++) { result[i] = parsePoint(data, haveZ, haveM); } return result; }
/** * Parse an Array of "slim" Points (without endianness and type, part of * LinearRing and Linestring, but not MultiPoint! * * @param haveZ * @param haveM */ private Point[] parsePointArray(ValueGetter data, boolean haveZ, boolean haveM) { int count = data.getInt(); Point[] result = new Point[count]; for (int i = 0; i < count; i++) { result[i] = parsePoint(data, haveZ, haveM); } return result; }
switch (realtype) { case Geometry.POINT : result1 = parsePoint(data, haveZ, haveM); break; case Geometry.LINESTRING :
switch (realtype) { case Geometry.POINT : result1 = parsePoint(data, haveZ, haveM); break; case Geometry.LINESTRING :