Examples of xmax()


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

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

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

      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());

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

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

                {               
                  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.xMax()

                {               
                  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.xMax()

       
        // 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.
View Full Code Here

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

       
        // 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.
View Full Code Here

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

            {
              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.xmax()

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

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