Examples of transform()


Examples of cuke4duke.internal.language.Transformable.transform()

    }

    @Override
    protected Object customTransform(Object arg, Class<?> parameterType, Locale locale) throws Throwable {
        Transformable transformer = transformers.get(parameterType);
        return transformer == null ? null : transformer.transform(arg, locale);
    }

    @Override
    public void load_code_file(String classFile) throws Throwable {
        Class<?> clazz = loadClass(classFile);

Examples of de.anomic.data.wiki.WikiCode.transform()

            this.source = (sb == null) ? null : sb.toString();
        }
        public void genHTML() throws IOException {
            try {
                WikiParser wparser = new WikiCode();
                html = wparser.transform(hostport, source);
            } catch (Exception e) {
                Log.logException(e);
                throw new IOException(e.getMessage());
            }
        }

Examples of de.anomic.data.wiki.WikiParser.transform()

            this.source = (sb == null) ? null : sb.toString();
        }
        public void genHTML() throws IOException {
            try {
                WikiParser wparser = new WikiCode();
                html = wparser.transform(hostport, source);
            } catch (Exception e) {
                Log.logException(e);
                throw new IOException(e.getMessage());
            }
        }

Examples of de.crowdcode.kissmda.core.Transformer.transform()

        // injector and execute
        Injector injector = parentInjector
            .createChildInjector(guiceModuleClazz.newInstance());
        Transformer transformer = injector
            .getInstance(transformerClazz);
        transformer.transform(context);

        logger.info("Stop the transformation with following Transformer:"
            + transformerClazz.getName());
      }
    }

Examples of de.fhpotsdam.unfolding.geo.Transformation.transform()

    System.out.printf("\tpoint2 : x = %.9f y = %.9f \n", point2.x, point2.y);

    // from AbstractProjection#project
    Transformation transformation = new Transformation(1.068070779e7f, 0.0f, 3.355443185e7f, 0.0f,
        -1.068070890e7f, 3.355443057e7f);
    PVector point3 = transformation.transform(point2);
    System.out.printf("\tpoint3a : x = %.9f y = %.9f \n", point3.x, point3.y);

    double x = 1.068070779e7 * point2.x + 0.0 * point2.y + 3.355443185e7;
    double y = 0.0 * point2.x + -1.068070890e7 * point2.y + 3.355443057e7;
    System.out.printf("\tpoint3b : x = %.9f y = %.9f \n", x, y);

Examples of diva.canvas.Figure.transform()

        _selectionInteractor.getSelectionModel().clearSelection();
        // iterate over all figures in the foreground layer
        Iterator it = _figureLayer.figures();
        while (it.hasNext()) {
            Figure fig = (Figure) (it.next());
            fig.transform(trans);
        }
    }


    /**
 

Examples of diva.canvas.event.LayerEvent.transform()

        // Create a new event and transform layer coordinates if necessary
        layerevent = new LayerEvent(e);

        AffineTransform at = _canvasPane.getTransformContext()
                .getInverseTransform();
        layerevent.transform(at);

        // Process it on the pane
        String tip = _canvasPane.getToolTipText(layerevent);
        return tip;
    }

Examples of diva.canvas.toolbox.LabelFigure.transform()

            label.translateTo(x, y + 5);

            // Rotate the label.
            AffineTransform rotate = AffineTransform.getRotateInstance(
                    Math.PI / 2.0, x, y + 5);
            label.transform(rotate);
        } else if (direction == SwingConstants.EAST) {
            // The 1.0 argument is the padding.
            label = new LabelFigure(string, font, 1.0,
                    SwingConstants.SOUTH_WEST);

Examples of diva.util.java2d.Polygon2D.transform()

        p.closePath();

        // translate origin towards center of canvas
        AffineTransform at = new AffineTransform();
        at.translate(200.0f, 200.0f);
        p.transform(at);

        BasicFigure star = new BasicFigure(p);
        star.setLineWidth(2);
        star.setStrokePaint(Color.blue);
        figureLayer.add(star);

Examples of edu.cmu.cs.stage3.math.Matrix44.transform()

  public void transform( javax.vecmath.Matrix4d trans, ReferenceFrame asSeenBy ) {
    if( asSeenBy==null ) {
      asSeenBy = this;
    }
    Matrix44 m = getTransformation( asSeenBy );
    m.transform( trans );
    setTransformation( m, asSeenBy );
  }

  //todo
    /*
 
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.