Package com.vividsolutions.jts.simplify

Examples of com.vividsolutions.jts.simplify.DouglasPeuckerSimplifier


    }

    public static Geometry makeBuffer(Graph graph) {
        Geometry geom = geometryCollectionFromVertices(graph).buffer(.04, 6);

        DouglasPeuckerSimplifier simplifier = new DouglasPeuckerSimplifier(geom);
        simplifier.setDistanceTolerance(0.00001);

        return simplifier.getResultGeometry();
    }
View Full Code Here

TOP

Related Classes of com.vividsolutions.jts.simplify.DouglasPeuckerSimplifier

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.