Package fmg.fmg8.pfeilGUI.funktionen2D

Examples of fmg.fmg8.pfeilGUI.funktionen2D.Funktion


                    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

     *
     * @param fs
     *            Die Funktion.
     */
    private void setzeDickenFunk(final String fs) {
        Funktion f = (new Funktion()).convertStoFunk(fs);
        final int ypsilon;
        ArrayList<Double> neuDick = new ArrayList<Double>(
                this.aktGrph.getPfeilPol().size());

        Integer anfang = this.aktGrph.getMark1();
        Integer ende = this.aktGrph.getMark2();
       
        if (anfang == null) {
            anfang = 0;
        }
        if (ende == null) {
            ende = this.aktGrph.getPfeilPol().size() - 1;
        }
       
        int zwisch;
        if (anfang > ende) {
            zwisch = ende;
            ende = anfang;
            anfang = zwisch;
        }
       
        ypsilon = ende - anfang + 1;
       
        for (int ix = 0; ix < anfang; ix++) {
            neuDick.add(this.aktGrph.getDicken().get(ix));
        }
       
        for (int ix = anfang; ix <= ende; ix++) {
            neuDick.add(f.eval(ix - anfang, ypsilon));
        }

        for (int ix = ende + 1; ix < this.aktGrph.getPfeilPol().size(); ix++) {
            neuDick.add(this.aktGrph.getDicken().get(ix));
        }
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

TOP

Related Classes of fmg.fmg8.pfeilGUI.funktionen2D.Funktion

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.