Package jmt.engine.jaba

Examples of jmt.engine.jaba.Station2D


        if (sect.countStation() < 2) {
          continue;
        }

        Station2D d1 = (sect.getstation()).get(0);
        Station2D d2 = (sect.getstation()).get(1);
        int d1x = (int) (d1.getVert()).getX();
        int d1y = (int) (d1.getVert()).getY();
        int d2x = (int) (d2.getVert()).getX();
        int d2y = (int) (d2.getVert()).getY();
        int p1x = (int) (p1.getX() * 100);
        int p1y = (int) (p1.getY() * 100);
        int p2x = (int) (p2.getX() * 100);
        int p2y = (int) (p2.getY() * 100);
        double t1 = ((p1.getY() - p2.getY()) / ((p2.getX() * p1.getY()) - (p1.getX() * p2.getY())));
 
View Full Code Here


        if (sect.countStation() < 2) {
          continue;
        }

        Station2D d1 = (sect.getstation()).get(0);
        Station2D d2 = (sect.getstation()).get(1);
        int d1x = (int) (d1.getVert()).getX();
        int d1y = (int) (d1.getVert()).getY();
        int d2x = (int) (d2.getVert()).getX();
        int d2y = (int) (d2.getVert()).getY();
        int p1x = (int) (p1.getX() * 100);
        int p1y = (int) (p1.getY() * 100);
        int p2x = (int) (p2.getX() * 100);
        int p2y = (int) (p2.getY() * 100);
        double t1 = ((p1.getY() - p2.getY()) / ((p2.getX() * p1.getY()) - (p1
View Full Code Here

TOP

Related Classes of jmt.engine.jaba.Station2D

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.