Examples of ymin()


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

      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.yMin()

      cpt.setByte("kind", (byte) 1);

      TileMarker areaTile = (TileMarker) tile;

      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());
View Full Code Here

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

      throw new RuntimeException("Could not load font: " + name, e);
    }
   
    FontHeaderTable head = font.getTable(Tag.head);
    unitsPerEm = head.unitsPerEm();
    yMin = head.yMin();
    yMax = head.yMax();
  }

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

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

                if (!curveControlPointInsideCurrentRect(x, y, cer, currRect))
                {               
                  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();
View Full Code Here

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

                if (!curveControlPointInsideCurrentRect(x, y, cer, currRect))
                {               
                  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();
View Full Code Here

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

    int region = BoundaryRegions.X_MIN + BoundaryRegions.Y_MIN;
    int neighbor = neighborMap.getBoundaryNeighbor(region);
    String identification = identificationString(
        GeneralBoundaryType.Hardwall, myPartID, region, "boundary-corner");

    if (myPart.xmin() != globalSimulation.xmin() || myPart.ymin() != globalSimulation.ymin()) {

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

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

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

    testPotentialNeighborsCount(1, neighbors.length,  identification);

    if (myPart.xmax() == globalSimulation.xmax() && myPart.ymin() != globalSimulation.ymin()) {
      testForAnyNeighbor(neighbors[0], partitions.length, identification);
    }
    else {
      testForNoNeighbor(neighbors[0], identification);
    }
View Full Code Here

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

      xstart -= Grid.EXTRA_CELLS_BEFORE_GRID;
    }
    if (mypart.xmax() == globalSettings.getGridCellsX() - 1) {
      xend += Grid.EXTRA_CELLS_AFTER_GRID;
    }
    if (mypart.ymin() == 0) {
      ystart -= Grid.EXTRA_CELLS_BEFORE_GRID;
    }
    if (mypart.ymax() == globalSettings.getGridCellsY() - 1) {
      yend += Grid.EXTRA_CELLS_AFTER_GRID;
    }
View Full Code Here

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

    }
    else if (neighborPart.xmax() < myPart.xmin()) {
      xdirec = -1;
    }

    if (myPart.ymax() < neighborPart.ymin()) {
      ydirec = +1;
    }
    else if (neighborPart.ymax() < myPart.ymin()) {
      ydirec = -1;
    }
View Full Code Here

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

        largestYmax = b.ymax();
      }
      if (b.xmin() < smallestXmin) {
        smallestXmin = b.xmin();
      }
      if (b.ymin() < smallestYmin) {
        smallestYmin = b.ymin();
      }

      for (int j = i + 1; j < partitions.length; ++j) {
        IntBox b2 = partitions[j];
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.