Package org.geoscript.js.geom

Examples of org.geoscript.js.geom.Bounds


        return projection;
    }
   
    @JSGetter
    public Bounds getBounds() {
        Bounds bounds = null;
        Geometry geometry = getGeometry();
        if (geometry != null) {
            bounds = geometry.getBounds();
        }
        return bounds;
View Full Code Here


        return collection.size();
    }
   
    @JSGetter
    public Bounds getBounds() {
        return new Bounds(getParentScope(), collection.getBounds());
    }
View Full Code Here

            Context cx = getCurrentContext();
            value = cx.newObject(scope, "Date", args);
        } else if (value instanceof com.vividsolutions.jts.geom.Geometry) {
            value = GeometryWrapper.wrap(scope, (com.vividsolutions.jts.geom.Geometry) value);
        } else if (value instanceof ReferencedEnvelope) {
            value = new Bounds(scope, (ReferencedEnvelope) value);
        } else if (value instanceof SimpleFeature) {
            value = new Feature(scope, (SimpleFeature) value);
        } else if (value instanceof SimpleFeatureType) {
            value = new Schema(scope, (SimpleFeatureType) value);
        } else if (value instanceof SimpleFeatureCollection) {
View Full Code Here

TOP

Related Classes of org.geoscript.js.geom.Bounds

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.