Package fmg.fmg8.umgebung2D

Examples of fmg.fmg8.umgebung2D.Vektor2D.sub()


                            x2 = pol.xpoints[1];
                            y1 = pol.ypoints[0];
                            y2 = pol.ypoints[1];

                            Vektor2D verschOrtho = new Vektor2D(x1, y1);
                            verschOrtho.sub(new Vektor2D(x2, y2));
                            Vektor2D verschPar = new Vektor2D(verschOrtho);
                            verschPar.normal();
                            verschPar.mult(30);
                            verschOrtho.ortho();
                            verschOrtho.normal();
View Full Code Here


       
        p11 = new Vektor2D(punkte.get(punkte.size() - 1));
        p12 = new Vektor2D(p11);
       
        p11.add(c2);
        p12.sub(c2);
       
        pktList1.add(p11);
        pktList2.add(p12);
       
        // Pfeilspitze.
View Full Code Here

                                              false,
                                              false,
                                              false);

                    norm = new Vektor2D(letzte[j].x, letzte[j].y);
                    norm.sub(new Vektor2D(
                            rob.getPosition().x,
                            rob.getPosition().y));
                    norm.ortho();
                    norm.normal();
                   
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.