Geometry convexHull = input.convexHull();
static public Geometry convexHull(Geometry arg0) { if (arg0 == null) return null; Geometry _this = arg0; return _this.convexHull(); }
/** * @param geometry * @return smallest convex Polygon that contains all the points in the Geometry */ public static Geometry convexHull(Geometry geometry) { if(geometry==null) { return null; } return geometry.convexHull(); } }
/** * @param geometry * @return smallest convex Polygon that contains all the points in the Geometry */ public static Geometry convexHull(Geometry geometry) { if(geometry==null) { return null; } return geometry.convexHull(); } }
static public Geometry convexHull(Geometry arg0) { Geometry _this = arg0; return _this.convexHull(); }
/** Converts it into a convexHull shape.*/ public static Geometry convertToConvexHull(Geometry g) { return g.convexHull(); }
/** Converts it into a convexHull shape.*/ public static Geometry convertToConvexHull(Geometry g) { return g.convexHull(); }
/** * @param geometry * @return smallest convex Polygon that contains all the points in the Geometry */ public static Geometry convexHull(Geometry geometry) { if(geometry==null) { return null; } return geometry.convexHull(); } }
@Execute public void runAlgorithm() { result = data.convexHull(); } }
/** * Returns the convex hull of the specified {@link JtsGeometry}. * * @param shape the JTS shape to be transformed * @return the convex hull */ @Override public JtsGeometry apply(JtsGeometry shape) { Geometry centroid = shape.getGeom().convexHull(); return CONTEXT.makeShape(centroid); }
@Override public Item item(final QueryContext qc, final InputInfo ii) throws QueryException { return toElement(checkGeo(0, qc).convexHull(), qc); } }
@Override public Geometry getConvexHull() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry().convexHull(); return createFromJTS( jtsGeom, crs ); }
public static GeometryType convexHull(GeometryType geom) throws FunctionExecutionException { Geometry g = getGeometry(geom); return getGeometryType(g.convexHull()); }
/** * Returns the convex hull of the specified {@link JtsGeometry}. * * @return the convex hull */ @Override public JtsGeometry apply() { Geometry centroid = shape.apply().getGeom().convexHull(); return CONTEXT.makeShape(centroid); }
/** * Compute the max distance */ private void computeMaxDistance() { HashSet<Coordinate> coordinatesA = new HashSet<Coordinate>(); coordinatesA.addAll(Arrays.asList(geomA.convexHull().getCoordinates())); Geometry fullHull = geomA.getFactory().createGeometryCollection(new Geometry[]{geomA, geomB}).convexHull(); maxDistanceFilter = new MaxDistanceFilter(coordinatesA); fullHull.apply(maxDistanceFilter); }
public static GeometryType convexHull(GeometryType geom) throws FunctionExecutionException { Geometry g = getGeometry(geom); return getGeometryType(g.convexHull(), geom.getSrid()); }
/** * Returns the geometric convex hull of this geometry. */ public final Geometry getConvexHull() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); com.vividsolutions.jts.geom.Geometry jtsHull = jtsGeom.convexHull(); return JTSUtils.jtsToGo1(jtsHull, getCoordinateReferenceSystem()); }
public static GeometryType convexHull(GeometryType geom) throws FunctionExecutionException { Geometry g = getGeometry(geom); return getGeometryType(g.convexHull(), geom.getSrid()); }
/** * Returns the geometric convex hull of this geometry. */ public final Geometry getConvexHull() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); com.vividsolutions.jts.geom.Geometry jtsHull = jtsGeom.convexHull(); return JTSUtils.jtsToGo1(jtsHull, getCoordinateReferenceSystem()); }
/** * Compute the max distance */ private void computeMaxDistance() { HashSet<Coordinate> coordinatesA = new HashSet<Coordinate>(); coordinatesA.addAll(Arrays.asList(geomA.convexHull().getCoordinates())); Geometry fullHull = geomA.getFactory().createGeometryCollection(new Geometry[]{geomA, geomB}).convexHull(); maxDistanceFilter = new MaxDistanceFilter(coordinatesA); fullHull.apply(maxDistanceFilter); }