Package org.nlogo.api

Examples of org.nlogo.api.WorldDimensions3D.minPzcor()


  @Override
  public void createPatches(WorldDimensions dim) {
    WorldDimensions3D d = (WorldDimensions3D) dim;
    createPatches(dim.minPxcor(), dim.maxPxcor(),
                  dim.minPycor(), dim.maxPycor(),
                  d.minPzcor(), d.maxPzcor());
  }

  @Override
  public void createPatches(int minPxcor, int maxPxcor,
                            int minPycor, int maxPycor) {
View Full Code Here


    } else if (variableName.equalsIgnoreCase("WORLD-HEIGHT")) {
      d.minPycor_$eq(growMin(_minPycor, _maxPycor, value, d.minPycor()));
      d.maxPycor_$eq(growMax(_minPycor, _maxPycor, value, d.maxPycor()));
    } else if (variableName.equalsIgnoreCase("WORLD-DEPTH")) {
      WorldDimensions3D wd = (WorldDimensions3D) d;
      wd.minPzcor_$eq(growMin(_minPzcor, _maxPzcor, value, wd.minPzcor()));
      wd.maxPzcor_$eq(growMax(_minPzcor, _maxPzcor, value, wd.maxPzcor()));
    }
    return d;
  }
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.