Package eas.startSetup.marbBuilder.zeichenModi

Examples of eas.startSetup.marbBuilder.zeichenModi.ArrowMaster


    @Override
    public BufferedImage getInsideView() {
        BufferedImage buffImgAut;
        Graphics2D g;
       
        ArrowMaster master = new ArrowMaster(this.pars);
        Knoten aktKnot = this.getAktZustand();
        if (aktKnot == null) {
            aktKnot = this.getVAut()[0].holeStartzustand();
        }
        DargestellterGraph darstellung = new DarstModEA(
                0,
                0,
                this.umg.getFeld()[0].length - 100,
                this.umg.getFeld()[0].length - 100).erzeuge(
                        this.vAuts()[0], aktKnot);
        List<Object> zeichenListe = master.graph(darstellung);
        buffImgAut = Geometry2D.erzBuffImgAusObjekten(zeichenListe);
       
        Polygon2D rahmen = Geometry2D.rahmen(zeichenListe);
       
        BufferedImage zwisch = new BufferedImage(
View Full Code Here


        if (pol == null) {
            Polygon p;
            Polygon2D p2;
            ParCollection params = this.getPars();
           
            p = new ArrowMaster(params).pfeilEinfach(5, 5, -5, -5, 0.25, false);
            p2 = new Polygon2D();
            for (int i = 0; i < p.npoints; i++) {
                p2.add(new Vector2D(p.xpoints[i], p.ypoints[i]));
            }
           
View Full Code Here

            final ParCollection params) {
        super(brainsBody);
        marb = new EndlicherAutomat();
        marb.erzeugeAusStdSequenz(sequence);
        this.pars = params;
        this.master = new ArrowMaster(this.pars);
    }
View Full Code Here

                    this.getHeight() - 50);
        }

        this.zwischenablage = new Zwischenablage();

        this.zeichenArt = new ArrowMaster(this.pars);
        this.selKnot = new Knoten[autAnz];
        this.gewKnot = null;

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

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

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

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

    }
   
    public GeneralNeuralNetwork(final ParCollection params) {
        this.neurons = new HashMap<Integer, Neuron>();
        this.pars = params;
        this.pfeilMaster = new ArrowMaster(this.pars);
        this.standardActFct = new ActivationFunctionSigmoid(1.0);
    }
View Full Code Here

        this.setSize(750, 700);
       
        this.aktDicke = eas.startSetup.marbBuilder.zeichenModi.ConstantsZeichenModi.PFEIL_DICKE;
        this.pfeilPol = new Polygon2D();
        this.pars = params;
        this.zeichenArt = new ArrowMaster(this.pars);
        this.segBeschr = new SegSpez[1000];
       
        this.addMouseWheelListener(this);
       
        this.addComponentListener(new ComponentListener() {
View Full Code Here

       
        Vector2D anfWin = new Vector2D(this.pfeilPol.get(1));
        anfWin.sub(this.pfeilPol.get(0));
        double winkel = Math.atan(anfWin.x / anfWin.y);
       
        Polygon2D p = (new ArrowMaster(this.pars)).segmentPfeilPol2D(
                this.pfeilPol,
                this.dicken,
                ArrowMaster.EINFACHER_ABSCHLUSS,
                this.anfang,
                new Vector2D(this.anfFakt, this.anfFakt),
View Full Code Here

       
        AusgMerkm[] strichelung = new AusgMerkm[] {
                new AusgMerkm(Color.black, Color.white, true, false),
                new AusgMerkm(Color.black, Color.white, true, true) };

        Pol2DMitAusgMerkm[] pols = new ArrowMaster(GlobalVariables.getPrematureParameters())
                .gestrichelterPfeil(
                        bez2,
                        dicken2,
                        ArrowMaster.EINFACHER_ABSCHLUSS,
                        ArrowMaster.KUGEL_ENDE,
View Full Code Here

        for (double i = bez2.size() - p2; i < bez2.size(); i++) {
            dicken2.add((bez2.size() - i) / 2 + 125);
        }

        Polygon2D pol =
                new ArrowMaster(GlobalVariables.getPrematureParameters()).segmentPfeilPol2D(
                        bez2,
                        dicken2,
                        ArrowMaster.EINFACHER_ABSCHLUSS,
                        ArrowMaster.KUGEL_ENDE,
                        new Vector2D(1, 1),
                        new Vector2D(0.45, 0.45));
       
        pol.rotate(pol.centerPoint(), Math.PI);
        pol = pol.normalize(GlobalVariables.getPrematureParameters());
       
        Polygon2D pol2 =
                new ArrowMaster(GlobalVariables.getPrematureParameters()).segmentPfeilPol2D(
                        pol,
                        null,
                        ArrowMaster.EINFACHER_ABSCHLUSS,
                        ArrowMaster.EINFACHER_ABSCHLUSS,
                        new Vector2D(1, 1),
View Full Code Here

TOP

Related Classes of eas.startSetup.marbBuilder.zeichenModi.ArrowMaster

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.