Examples of ROIGeometry


Examples of org.jaitools.imageutils.ROIGeometry

            return null;
        }
        if (at == null) {
            at = new AffineTransform();
        }
        ROIGeometry roiGeometry = roiCache.get(at);
        if (roiGeometry == null) {
            Geometry rescaled;
            AffineTransformation geometryAT = new AffineTransformation(at.getScaleX(), at.getShearX(), at
                    .getTranslateX(), at.getShearY(), at.getScaleY(), at.getTranslateY());
            if (inset > 0) {
View Full Code Here

Examples of org.jaitools.imageutils.ROIGeometry

            final Geometry geom = getGeometry(roi);
            // is it a rectangle?
            if (geom != null && geom.equalsExact(geom.getEnvelope())) {
                GeometryClipper clipper = new GeometryClipper(geom.getEnvelopeInternal());
                Geometry intersect = clipper.clip(getAsGeometry(), true);
                return new ROIGeometry(intersect);
   
            } else {
                return super.intersect(roi);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.