private void checkPositiveValid() { Geometry bufCurve = result.getBoundary(); checkMinimumDistance(input, bufCurve, minValidDistance); if (! isValid) return; checkMaximumDistance(input, bufCurve, maxValidDistance); }
public Geometry getBoundary() { if (geom instanceof LineString) return boundaryLineString((LineString) geom); if (geom instanceof MultiLineString) return boundaryMultiLineString((MultiLineString) geom); return geom.getBoundary(); }
static public Geometry boundary(Geometry arg0) { if (arg0 == null) return null; Geometry _this = arg0; return _this.getBoundary(); }
static public Geometry boundary(Geometry arg0) { Geometry _this = arg0; return _this.getBoundary(); }
@Override public Geometry getBoundingBox() { return (this.geometry!=null)?geometry.getBoundary():null; }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry) { if(geometry==null) { return null; } return geometry.getBoundary(); } }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry) { if(geometry==null) { return null; } return geometry.getBoundary(); } }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry) { if(geometry==null) { return null; } return geometry.getBoundary(); } }
@Override public Geometry getBoundingBox() { return (this.geometry!=null)?geometry.getBoundary():null; }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry, int srid) { if(geometry==null) { return null; } Geometry geometryEnvelope = geometry.getBoundary(); geometryEnvelope.setSRID(srid); return geometryEnvelope; }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry, int srid) { if(geometry==null) { return null; } Geometry geometryEnvelope = geometry.getBoundary(); geometryEnvelope.setSRID(srid); return geometryEnvelope; }
/** * @param geometry Geometry instance * @return Geometry envelope */ public static Geometry getBoundary(Geometry geometry, int srid) { if(geometry==null) { return null; } Geometry geometryEnvelope = geometry.getBoundary(); geometryEnvelope.setSRID(srid); return geometryEnvelope; }
@Override public Item item(final QueryContext qc, final InputInfo ii) throws QueryException { return toElement(checkGeo(0, qc).getBoundary(), qc); } }
private void checkPositiveValid() { Geometry bufCurve = result.getBoundary(); checkMinimumDistance(input, bufCurve, minValidDistance); if (! isValid) return; checkMaximumDistance(input, bufCurve, maxValidDistance); }
public final boolean isCycle() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); com.vividsolutions.jts.geom.Geometry jtsBoundary = jtsGeom.getBoundary(); return jtsBoundary.isEmpty(); }
public Geometry getBoundary() { if (geom instanceof LineString) return boundaryLineString((LineString) geom); if (geom instanceof MultiLineString) return boundaryMultiLineString((MultiLineString) geom); return geom.getBoundary(); }
/** * @return * @see com.polexis.lite.spatialschema.geometry.geometry.GenericSurfaceImpl#getPerimeter() */ public final double getPerimeter() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); return jtsGeom.getBoundary().getLength(); }
Envelope env = new Envelope(); for(Geometry g : mySet){ env.expandToInclude(g.getBoundary().getEnvelopeInternal()): }
public final boolean isCycle() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); com.vividsolutions.jts.geom.Geometry jtsBoundary = jtsGeom.getBoundary(); return jtsBoundary.isEmpty(); }
/** * @return * @see com.polexis.lite.spatialschema.geometry.geometry.GenericSurfaceImpl#getPerimeter() */ public final double getPerimeter() { com.vividsolutions.jts.geom.Geometry jtsGeom = getJTSGeometry(); return jtsGeom.getBoundary().getLength(); }