Examples of Invert()


Examples of org.gradle.groovy.scripts.internal.StatementExtractingScriptTransformer.invert()

            PluginAware pluginAware = target instanceof PluginAware ? (PluginAware) target : null;
            pluginRequestApplicator.applyPlugins(pluginRequests, scriptHandler, pluginAware, targetScope);

            compiler.setClassloader(targetScope.getLocalClassLoader());

            BuildScriptTransformer transformer = new BuildScriptTransformer("no_" + classpathScriptTransformer.getId(), classpathScriptTransformer.invert(), scriptSource);
            compiler.setTransformer(transformer);

            // TODO - find a less tangled way of getting this in here, see the verifier impl for why it's needed
            compiler.setVerifier(new ClosureCreationInterceptingVerifier());
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.CellTransform.invert()

     */
    public static CellTransform transform(CellTransform transform,
            CellTransform fromReferenceSystem, CellTransform toReferenceSystem) {

        CellTransform newTransform = toReferenceSystem.clone(null);
        newTransform.invert();
        newTransform.mul(fromReferenceSystem);
        newTransform.mul(transform);
        return newTransform;
    }
}
View Full Code Here

Examples of org.jvnet.substance.theme.SubstanceTheme.invert()

            Boolean bool = XMLutils.getElementBoolean("invert", config); //$NON-NLS-1$
            if (bool != null && bool.booleanValue()) {
                SubstanceTheme theme = SubstanceLookAndFeel.getTheme();

                SubstanceLookAndFeel.setCurrentTheme(theme.invert());
            }
            bool = XMLutils.getElementBoolean("negate", config); //$NON-NLS-1$
            if (bool != null && bool.booleanValue()) {
                SubstanceTheme theme = SubstanceLookAndFeel.getTheme();
View Full Code Here

Examples of org.openpnp.model.Location.invert()

        boardLocation = boardLocation.convertToUnits(placementLocation.getUnits());
       
        // If we are placing the bottom of the board we need to invert
        // the placement location.
        if (bl.getSide() == Side.Bottom) {
            placementLocation = placementLocation.invert(true, false, false, false);
        }

        // Create the point that represents the final placement location
        Point p = new Point(placementLocation.getX(),
                placementLocation.getY());
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

        center = center.subtract(Y_UNIT.mult(0.5 * height));
       
        VectorXZ faceDirection = segment.getDirection();
        if (frontCenter.y < backCenter.y) {
          //invert if upwards
          faceDirection = faceDirection.invert();
        }
       
        target.drawBox(Materials.STEPS_DEFAULT,
            center, faceDirection,
            height, width, backCenter.distanceToXZ(frontCenter));
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

   
    VectorXZ inVector = line1.getDirection();
    VectorXZ outVector = line2.getDirection();

    if (!inbound1) { inVector = inVector.invert(); }
    if (inbound2) { outVector = outVector.invert(); }
   
    VectorXZ cutVector;
   
    if (inVector.equals(outVector)) { //TODO: allow for some small difference?
      cutVector = outVector.rightNormal();
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

   
    //make sure that cutVector points to the right, which is equivalent to:
    //y component of the cross product (inVector x cutVector) is positive.
    //If this isn't the case, invert the cut vector.
    if (inVector.z * cutVector.x - inVector.x * cutVector.z <= 0) {
      cutVector = cutVector.invert();
    }
   
    /* set calculated cut vector */
   
    if (inbound1) {
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

    /* set calculated cut vector */
   
    if (inbound1) {
      renderable1.setEndCutVector(cutVector);
    } else {
      renderable1.setStartCutVector(cutVector.invert());
    }
   
    if (inbound2) {
      renderable2.setEndCutVector(cutVector.invert());
    } else {
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

    } else {
      renderable1.setStartCutVector(cutVector.invert());
    }
   
    if (inbound2) {
      renderable2.setEndCutVector(cutVector.invert());
    } else {
      renderable2.setStartCutVector(cutVector);
    }
   
    /* perform calculations necessary for connectors
View Full Code Here

Examples of org.osm2world.core.math.VectorXZ.invert()

      NetworkWaySegmentWorldObject inRenderable =
        ((NetworkWaySegmentWorldObject)in.getPrimaryRepresentation());
     
      VectorXZ cutVector = in.getRightNormal();
      inRenderable.setEndCutVector(cutVector);
      cutVectors.add(cutVector.invert());
     
      coords.add(in.getEndNode().getPos());
      widths.add(inRenderable.getWidth());
     
    }
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.