Examples of ymax()


Examples of buildcraft.api.core.IAreaProvider.yMax()

      a = new DefaultAreaProvider(xCoord, yCoord, zCoord, xCoord + 10, yCoord + 4, zCoord + 10);
      useDefault = true;
    }

    xSize = a.xMax() - a.xMin() + 1;
    int ySize = a.yMax() - a.yMin() + 1;
    zSize = a.zMax() - a.zMin() + 1;

    box.initialize(a);

    if (ySize < 5) {
View Full Code Here

Examples of buildcraft.builders.TileMarker.yMax()

      cpt.setInteger("xMin", areaTile.xMin());
      cpt.setInteger("yMin", areaTile.yMin());
      cpt.setInteger("zMin", areaTile.zMin());
      cpt.setInteger("xMax", areaTile.xMax());
      cpt.setInteger("yMax", areaTile.yMax());
      cpt.setInteger("zMax", areaTile.zMax());

    } else {
      cpt.setByte("kind", (byte) 0);
View Full Code Here

Examples of com.google.typography.font.sfntly.table.core.FontHeaderTable.yMax()

    }
   
    FontHeaderTable head = font.getTable(Tag.head);
    unitsPerEm = head.unitsPerEm();
    yMin = head.yMin();
    yMax = head.yMax();
  }

  @Override
  public FontExtraMetrics getExtraMetrics() {
    return new FontExtraMetrics();
View Full Code Here

Examples of org.apache.flex.swf.types.Rect.yMax()

                  Rect curvBounds = computeCurveBounds(x, y, cer);
               
                  if (curvBounds.xMin() < x1) x1 = curvBounds.xMin();
                  if (curvBounds.yMin() < y1) y1 = curvBounds.yMin();
                  if (curvBounds.xMax() > x2) x2 = curvBounds.xMax();
                  if (curvBounds.yMax() > y2) y2 = curvBounds.yMax();
                }
                               
                x = x + cer.getControlDeltaX() + cer.getAnchorDeltaX();
                y = y + cer.getControlDeltaY() + cer.getAnchorDeltaY();
            }
View Full Code Here

Examples of org.apache.flex.swf.types.Rect.yMax()

                  Rect curvBounds = computeCurveBounds(x, y, cer);
               
                  if (curvBounds.xMin() < x1) x1 = curvBounds.xMin();
                  if (curvBounds.yMin() < y1) y1 = curvBounds.yMin();
                  if (curvBounds.xMax() > x2) x2 = curvBounds.xMax();
                  if (curvBounds.yMax() > y2) y2 = curvBounds.yMax();
                }
                               
                x = x + cer.getControlDeltaX() + cer.getAnchorDeltaX();
                y = y + cer.getControlDeltaY() + cer.getAnchorDeltaY();
            }
View Full Code Here

Examples of org.apache.flex.swf.types.Rect.yMax()

        // Inflate the bounding box from all sides with half of the stroke
        // weight - pathBBox.inflate(weight/2, weight/2).
        Rect strokeExtents = getStrokeExtents(strokeNode, ls);

        newRect = new Rect(newRect.xMin() - strokeExtents.xMax(), newRect.xMax() + strokeExtents.xMax(),
                newRect.yMin() - strokeExtents.yMax(), newRect.yMax() + strokeExtents.yMax());
       
       
        // If there are less than two segments, then or joint style is not
        //"miterLimit" finish - return pathBBox.
        if (ls instanceof LineStyle2)
View Full Code Here

Examples of org.apache.flex.swf.types.Rect.yMax()

        // Inflate the bounding box from all sides with half of the stroke
        // weight - pathBBox.inflate(weight/2, weight/2).
        Rect strokeExtents = getStrokeExtents(strokeNode, ls);

        newRect = new Rect(newRect.xMin() - strokeExtents.xMax(), newRect.xMax() + strokeExtents.xMax(),
                newRect.yMin() - strokeExtents.yMax(), newRect.yMax() + strokeExtents.yMax());
       
       
        // If there are less than two segments, then or joint style is not
        //"miterLimit" finish - return pathBBox.
        if (ls instanceof LineStyle2)
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.ymax()

    region = BoundaryRegions.X_CENTER + BoundaryRegions.Y_MAX;
    neighbor = neighborMap.getBoundaryNeighbor(region);
    identification = identificationString(
        GeneralBoundaryType.Hardwall, myPartID, region, "boundary-edge");

    if (myPart.ymax() != globalSimulation.ymax()) {

      // If the region is not at the bottom of global simulation
      // then it must have one neighbor
      testForAnyNeighbor(neighbor, partitions.length, identification);
    } else {
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.ymax()

    String identification = identificationString(
        GeneralBoundaryType.Hardwall, myPartID, region, "border-corner");

    testPotentialNeighborsCount(3, neighbors.length,  identification);

    if (myPart.xmax() == globalSimulation.xmax() && myPart.ymax() == globalSimulation.ymax()) {

      // If the region is at global simulation corner it can not have any neighbors
      for (int neighbor: neighbors) {
        testForNoNeighbor(neighbor, identification);
      }
View Full Code Here

Examples of org.openpixi.pixi.physics.util.IntBox.ymax()

      // If the region is at global simulation corner it can not have any neighbors
      for (int neighbor: neighbors) {
        testForNoNeighbor(neighbor, identification);
      }
    }
    else if (myPart.xmax() == globalSimulation.xmax() || myPart.ymax() == globalSimulation.ymax()) {

      // If the region is not at global simulation corner but at its edge
      // it must have exactly one neighbor
      testForSingleNeighbor(neighbors, partitions.length, identification);
    } else {
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.