final ReferencedEnvelope envelope = c.getBounds(); if (envelope == null) { return DataUtilities.bounds(c); } else { return envelope;
/** Calculates the bounds of the features without caching. */ @Override public ReferencedEnvelope getBounds() { return DataUtilities.bounds(this); } }
public ReferencedEnvelope getBounds() { // calculate manually return DataUtilities.bounds(this); } }
public ReferencedEnvelope getBounds() { // calculate manually return DataUtilities.bounds(this); } }
public ReferencedEnvelope getBounds() { // calculate manually return DataUtilities.bounds(this); } }
public ReferencedEnvelope getBounds() { // calculate manually return DataUtilities.bounds(this); } }
public ReferencedEnvelope getBounds() { return DataUtilities.bounds(this); }
/** Calculates the bounds of the features without caching. */ @Override public ReferencedEnvelope getBounds() { return DataUtilities.bounds(features()); }
/** * Convenience method that computes the feature bounds by traversing the feature iterator. * * @return bounds calculated using {@link #features()} * @deprecated Use {@link DataUtilities#bounds(FeatureIterator) */ protected ReferencedEnvelope getFeatureBounds() { return DataUtilities.bounds(features()); }
@Override public ReferencedEnvelope getBounds() { return DataUtilities.bounds(features()); }
@Override public ReferencedEnvelope getBounds() { if (attribute == null) { // in this case we just have to expand the original collection bounds ReferencedEnvelope re = delegate.getBounds(); re.expandBy(distance); return re; } else { // unlucky case, we need to actually compute by hand... return DataUtilities.bounds(features()); } }
public void testBounds() { SimpleFeatureCollection collection = DataUtilities.collection(roadFeatures); ReferencedEnvelope expected = collection.getBounds(); ReferencedEnvelope actual = DataUtilities.bounds(collection); assertEquals(expected, actual); }
public ReferencedEnvelope getBounds() { //calculate manually return DataUtilities.bounds( this ); } }
public ReferencedEnvelope getBounds() { //calculate manually return DataUtilities.bounds( this ); } }
ReferencedEnvelope envelope = DataUtilities.bounds(features); if (envelope != null && !envelope.isEmpty()) { return envelope;
ReferencedEnvelope envelope = DataUtilities.bounds(features); if (envelope != null && !envelope.isEmpty()) { try {
public ReferencedEnvelope getBounds() { //calculate manually return ReferencedEnvelope.reference( DataUtilities.bounds( this ) ); } }
@Override public ReferencedEnvelope getBounds() { if (offsetBounds == null) { return DataUtilities.bounds(features()); } return offsetBounds; }
public ReferencedEnvelope getBounds() { //calculate manually return ReferencedEnvelope.reference( DataUtilities.bounds( this ) ); }
public ReferencedEnvelope getBounds() { try { Envelope envelope = JTS.transform(delegate.getBounds(), transform); return new ReferencedEnvelope(envelope, getSchema().getCoordinateReferenceSystem()); } catch (TransformException e) { LOGGER.log(Level.FINER, e.getMessage(), e); return DataUtilities.bounds(features()); } }