Package fmg.fmg8.umgebung2D

Examples of fmg.fmg8.umgebung2D.Umgebung


                    Color.white,
                    true,
                    true);

            if (this.pfeilPol.size() > 1 && this.zeichneGrundPfeil) {
                SegSpez segNeu = new SegSpez(
                        ausg,
                        0,
                        this.pfeilPol.size() - 1,
                        PfeilMaster.DOPPELSPITZES_ENDE,
                        PfeilMaster.EINFACHE_SPITZE_1,
View Full Code Here


            m2 = this.mark1;
        } else {
            return;
        }
       
        SegSpez neu = new SegSpez(
                aktSeg,
                m1,
                m2,
                PfeilMaster.EINFACHER_ABSCHLUSS,
                PfeilMaster.EINFACHER_ABSCHLUSS,
View Full Code Here

     * Verzeichnis.
     */
    private void ladeGraphen() {
        File verz = new File(this.pars.getStdPfad());
        String endung = fmg.fmg8.graphVis.Konstanten.GRAPH_ENDUNG;
        String[] gespGr = verz.list(new DateiFilter(endung));
        String grNam;
        VisMantel visRob = null;
        Vis obs = null;
        boolean sel = false;
       
View Full Code Here

        this.removeAll();
       
        this.addWindowListener(new WindHideAdapt());
       
        this.zwischenablage = new Zwischenablage();

        this.zeichenArt = new PfeilMaster(this.pars);
        this.gewKnot = null;

        this.setLayout(new BorderLayout());
View Full Code Here

                    Konstanten.OBEN,
                    this.getWidth() - 50,
                    this.getHeight() - 50);
        }

        this.zwischenablage = new Zwischenablage();

        this.zeichenArt = new PfeilMaster(this.pars);
        this.selKnot = new Knoten[autAnz];
        this.gewKnot = null;
View Full Code Here

       
        this.pars = params;
        this.observer = obs;
        this.visObserver = visObs;

        this.aufnahme = new Aufnahme(this.pars);
        this.schnappZyklen = this.pars.getSchnInt().longValue();
        this.rand = new Random(this.pars.getSeed().longValue());
        this.rekombArt = new RekTrivial(
                this.pars.getRekAnzEltern(),
                this.pars.getRekAnzKinder(),
View Full Code Here

                      final int[]         ids) {
        this.pars = params;
        this.observer = obs;
        this.visObserver = visObs;

        this.aufnahme = new Aufnahme(this.pars);
        this.schnappZyklen = this.pars.getSchnInt().longValue();
        this.rand = new Random(this.pars.getSeed().longValue());
        this.rekombArt = new RekTrivial(
                this.pars.getRekAnzEltern(),
                this.pars.getRekAnzKinder(),
View Full Code Here

     * Startet einen Zeitablauf mit Simulation ohne GUI.
     *
     * @param args  Die Parameter.
     */
    public static void main(final String[] args) {
        Parametersatz params = new Parametersatz(args);
        params.ergaenze();
        params.setGraphisch(false);
       
        if (params.getGraphisch().booleanValue()) {
            throw new RuntimeException("Nur Kommandozeilenmodus erlaubt.");
        }
       
        SonstMeth.log(1, params.toString(), params, "plain", null);
        SimulationsZeit simT = new SimulationsZeit(params, null, null);
       
        simT.zeitStarten();
    }
View Full Code Here

            v = new Vektor2D(-2.3, -1.7);
            a.add(v);
        }

        if (nummer == 6) {
            Parametersatz params = new Parametersatz(new String[0]);
            params.ergaenze();
            PfeilMaster zeichnen = new PfeilMaster(params);

            ArrayList<Double> dicken = new ArrayList<Double>();
            Polygon2D bez = new Polygon2D();
View Full Code Here

     * Main-Methode.
     *
     * @param args  Argumente.
     */
    public static void main(final String[] args) {
        Parametersatz params = new Parametersatz(args);
        params.ergaenze();
        PfeilMaster zeichnen = new PfeilMaster(params);
        List<Object> l = new ArrayList<Object>();
        Polygon2D bez2 = new Polygon2D();

        bez2 = Geometrie2D.bezierKurve(
                new Vektor2D(0, 0),
                new Vektor2D(50, 0),
                new Vektor2D(50, -20),
                new Vektor2D(100, -20),
                0.0001);
       
        bez2 = bez2.normalisiere();

        Polygon2D seg = zeichnen.segmentPfeilPol2D(
                bez2,
                null,
                PfeilMaster.DOPPELSPITZES_ENDE,
                PfeilMaster.EINFACHE_SPITZE_1,
                new Vektor2D(1, 1),
                new Vektor2D(1, 1));

        l.add(seg.toPol(5, Vektor2D.NULL_VEKTOR));
        l.add(0, new AusgMerkm(Color.black, Color.yellow, true, true));
        params.setStdPfad(
          "C:\\Eig\\Forschung\\Paper_Vortraege\\Paper_4_AAMAS_accept\\Poster");
       
        Geometrie2D.saveObjectsToFile(l, "luke", "png", params);
    }
View Full Code Here

TOP

Related Classes of fmg.fmg8.umgebung2D.Umgebung

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.