Package org.osm2world.core.math

Examples of org.osm2world.core.math.VectorXZ.dot()


        //  as getDirection returns vectors whose length is 1
        //- we don't need to actually calculate the angle itself,
        //  because if angle a > angle b, then cos a < cos b
        //  (in [0°, 180°])
       
        double comparison = d1.dot(X_UNIT) - d2.dot(X_UNIT);
       
        if (comparison == 0) {
          return 0;
        }
       
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.