Examples of AffineTransformBuilder


Examples of org.geotools.referencing.operation.builder.AffineTransformBuilder

     * Get Math Transform based on control points
     *
     * @return MathTransform
     */
    public synchronized MathTransform getTransform() {
        AffineTransformBuilder builder = new AffineTransformBuilder(controlPoints);
        try {
            return builder.getMathTransform();
        } catch (FactoryException e) {
            LOGGER.log(Level.WARNING, e.getLocalizedMessage(), e);
            return null;
        }
    }
View Full Code Here

Examples of org.geotools.referencing.operation.builder.AffineTransformBuilder

        System.out.println("sy  "+a2g2.getYScale());
        System.out.println("sxy "+a2g2.getSkew());
        System.out.println(aab.getMathTransform());
       
        System.out.println("Afinita------------------------------------------------------");
        AffineTransformBuilder atb = new  AffineTransformBuilder(builder.getMappedPositions());
      
       // transformTest(atb.getMathTransform(), builder.getMappedPositions());
   /*     AffineToGeometric a2g3 = new AffineToGeometric((AffineTransform2D)atb.getMathTransform());
        System.out.println("Parametry------------------------------------------------------");
        System.out.println(a2g3.getRotation()*180/Math.PI);
 
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.