Examples of WorldCoordinates


Examples of jsky.coords.WorldCoordinates

     */
    public boolean check(TableQueryResult table) {
        // If no image is being displayed, try to generate a blank WCS image
        GraphicsImageDisplay imageDisplay = (GraphicsImageDisplay) _coordinateConverter.getImageDisplay();
        if (imageDisplay.isClear()) {
            WorldCoordinates pos = table.getWCSCenter();
            if (pos != null) {
                imageDisplay.blankImage(pos.getRaDeg(), pos.getDecDeg());
            }
        }

        return _coordinateConverter.isWCS();
    }
View Full Code Here

Examples of thaumcraft.api.WorldCoordinates

   */
  public static int drainVis(World world, int x, int y, int z, Aspect aspect, int amount) {

    int drainedAmount = 0;

    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);
    if (!nearbyNodes.containsKey(drainer)) {
      calculateNearbyNodes(world, x, y, z);
    }

View Full Code Here

Examples of thaumcraft.api.WorldCoordinates

      sourcelist = new HashMap<WorldCoordinates, WeakReference<TileVisNode>>();
      return;
    }

    ArrayList<WeakReference<TileVisNode>> cn = new ArrayList<WeakReference<TileVisNode>>();
    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);

    ArrayList<Object[]> nearby = new ArrayList<Object[]>();

    for (WeakReference<TileVisNode> root : sourcelist.values()) {
View Full Code Here

Examples of thaumcraft.api.WorldCoordinates

 
  /**
   * @return the WorldCoordinates location of where this node is located
   */
  public WorldCoordinates getLocation() {
    return new WorldCoordinates(this);
  }
View Full Code Here

Examples of thaumcraft.api.WorldCoordinates

   */
  public static int drainVis(World world, int x, int y, int z, Aspect aspect, int amount) {

    int drainedAmount = 0;

    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);
    if (!nearbyNodes.containsKey(drainer)) {
      calculateNearbyNodes(world, x, y, z);
    }

View Full Code Here

Examples of thaumcraft.api.WorldCoordinates

      sourcelist = new HashMap<WorldCoordinates, WeakReference<TileVisNode>>();
      return;
    }

    ArrayList<WeakReference<TileVisNode>> cn = new ArrayList<WeakReference<TileVisNode>>();
    WorldCoordinates drainer = new WorldCoordinates(x, y, z,
        world.provider.dimensionId);

    ArrayList<Object[]> nearby = new ArrayList<Object[]>();

    for (WeakReference<TileVisNode> root : sourcelist.values()) {
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.