Examples of Plane2D


Examples of eas.math.geometry.Plane2D

                    planePoint1 = new Vector3D(x2, y2, this.heightProfile.get(x2, y2));
                }
                planePoint2 = new Vector3D(x2, y1, this.heightProfile.get(x2, y1));
                planePoint3 = new Vector3D(x1, y2, this.heightProfile.get(x1, y2));
           
            Plane2D plane = new Plane2D(planePoint1, planePoint2, planePoint3);
           
            Vector3D normalVector = plane.getNormalizedZPositiveNormalVector();
           
            Vector2D gradient = new Vector2D(normalVector.x, normalVector.y);
           
            return gradient;
        } catch (Exception e) {
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.