@Test public void multiPoint() throws Exception { double[] ords = {1, 2, 3, 4}; MultiPoint mp = builder.multiPoint(ords[0], ords[1], ords[2], ords[3]); assertEquals(2, mp.getNumGeometries()); Point p = (Point) mp.getGeometryN(0); assertEquals(2, p.getCoordinateSequence().getDimension()); }
public MultiPoint multiPoint(double x1, double y1, double x2, double y2) { return geomFact.createMultiPoint(new Point[] {point(x1, y1), point(x2, y2)}); }
GeometryBuilder { public MultiPoint multiPoint(double x1, double y1, double x2, double y2) { return geomFact.createMultiPoint(new Point[] {point(x1, y1), point(x2, y2)}); } }
GeometryBuilder { public MultiPoint multiPoint(double x1, double y1, double x2, double y2) { return geomFact.createMultiPoint(new Point[] {point(x1, y1), point(x2, y2)}); } GeometryBuilder();  GeometryBuilder(GeometryFactory geomFact); }
GeometryBuilder { public MultiPoint multiPoint(double x1, double y1, double x2, double y2) { return geomFact.createMultiPoint(new Point[] {point(x1, y1), point(x2, y2)}); } GeometryBuilder();  GeometryBuilder(GeometryFactory geomFact); Point point(); Point pointZ(); Point point(double x); Point point(double x, double y); Point pointZ(double x, double y, double z); LineString lineString(); LineString lineStringZ(); LineString lineString(double... ord); LineString lineStringZ(double... ord); LinearRing linearRing(); LinearRing linearRingZ(); LinearRing linearRing(double... ord); LinearRing linearRingZ(double... ord); Polygon polygon(); Polygon polygonZ(); Polygon polygon(double... ord); Polygon polygonZ(double... ord); Polygon polygon(LinearRing shell); Polygon polygon(LinearRing shell, LinearRing hole); Polygon polygon(Polygon shell, Polygon hole); Polygon box(double x1, double y1, double x2, double y2); Polygon boxZ(double x1, double y1, double x2, double y2, double z); Polygon ellipse(double x1, double y1, double x2, double y2, int nsides); Polygon circle(double x, double y, double radius, int nsides); MultiPoint multiPoint(double x1, double y1, double x2, double y2); MultiPoint multiPointZ(
            double x1, double y1, double z1, double x2, double y2, double z2); MultiLineString multiLineString(LineString... lines); MultiPolygon multiPolygon(Polygon... polys); GeometryCollection geometryCollection(Geometry... geoms); }
GeometryBuilder { public MultiPoint multiPoint(double x1, double y1, double x2, double y2) { return geomFact.createMultiPoint(new Point[] {point(x1, y1), point(x2, y2)}); } GeometryBuilder();  GeometryBuilder(GeometryFactory geomFact); Point point(); Point pointZ(); Point point(double x); Point point(double x, double y); Point pointZ(double x, double y, double z); LineString lineString(); LineString lineStringZ(); LineString lineString(double... ord); LineString lineStringZ(double... ord); LinearRing linearRing(); LinearRing linearRingZ(); LinearRing linearRing(double... ord); LinearRing linearRingZ(double... ord); Polygon polygon(); Polygon polygonZ(); Polygon polygon(double... ord); Polygon polygonZ(double... ord); Polygon polygon(LinearRing shell); Polygon polygon(LinearRing shell, LinearRing hole); Polygon polygon(Polygon shell, Polygon hole); Polygon box(double x1, double y1, double x2, double y2); Polygon boxZ(double x1, double y1, double x2, double y2, double z); Polygon ellipse(double x1, double y1, double x2, double y2, int nsides); Polygon circle(double x, double y, double radius, int nsides); MultiPoint multiPoint(double x1, double y1, double x2, double y2); MultiPoint multiPointZ(
            double x1, double y1, double z1, double x2, double y2, double z2); MultiLineString multiLineString(LineString... lines); MultiPolygon multiPolygon(Polygon... polys); GeometryCollection geometryCollection(Geometry... geoms);  }