Examples of xMin()


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

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

      useDefault = true;
    }

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

    if (xSize < 3 || zSize < 3 || ((xSize * zSize) >> 8) >= chunkTicket.getMaxChunkListDepth()) {
      if (placedBy != null) {
        placedBy.addChatMessage(new ChatComponentText(
View Full Code Here

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

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

Examples of buildcraft.builders.TileMarker.xMin()

    } else if (tile instanceof TileMarker) {
      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 nl.peterbloem.powerlaws.Discrete.xMin()

    for(Node<N> node : graph.nodes())
      degreesPL.add(node.degree());
   
    Discrete dist = Discrete.fit(degreesPL).fit();
    plExponent = dist.exponent();
    plMin = dist.xMin();
    // * TODO: This is too slow to include now, but it is an important
    //         statistic.
    // plSignificance = dist.significance(degreesPL, PL_ACCURACY);
  }
 
View Full Code Here

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

                Rect currRect = new Rect(x1, x2, y1, y2);
                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();
                }
                               
View Full Code Here

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

                Rect currRect = new Rect(x1, x2, y1, y2);
                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();
                }
                               
View Full Code Here

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

            {
              return newRect;
            }
        }
        // Use strokeExtents to get the transformed stroke weight.
        double halfWeight = (strokeExtents.xMax() - strokeExtents.xMin())/2.0;  
        newRect = addJoint2Bounds(records, ls, strokeNode, halfWeight, newRect);
        return newRect;
    }
   
    public static Rect addJoint2Bounds(List<ShapeRecord> records, LineStyle ls, AbstractStrokeNode stroke, double halfWeight, Rect pathBBox)
View Full Code Here

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

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

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

    testPotentialNeighborsCount(1, neighbors.length,  identification);

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

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

    int xstart = 0;
    int ystart = 0;
    int xend = mypart.xsize() - 1;
    int yend = mypart.ysize() - 1;
    if (mypart.xmin() == 0) {
      xstart -= Grid.EXTRA_CELLS_BEFORE_GRID;
    }
    if (mypart.xmax() == globalSettings.getGridCellsX() - 1) {
      xend += Grid.EXTRA_CELLS_AFTER_GRID;
    }
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.