public void setVertical(double start, double end, double resolution, String units, boolean isPositiveUp) { double size = end - start; this.updown = new Range(start, size, resolution, units); setZPositiveUp(isPositiveUp); }
public void setVertical(CoordinateAxis1D vaxis) { int n = (int) vaxis.getSize(); double size = vaxis.getCoordValue(n - 1) - vaxis.getCoordValue(0); double resolution = vaxis.getIncrement(); String units = vaxis.getUnitsString(); this.updown = new Range(vaxis.getCoordValue(0), size, resolution, units); if (units != null) { setZPositiveUp(SimpleUnit.isCompatible("m", units)); } }
public void setVertical(CoordinateAxis1D vaxis) { int n = (int) vaxis.getSize(); double size = vaxis.getCoordValue(n - 1) - vaxis.getCoordValue(0); double resolution = vaxis.getIncrement(); String units = vaxis.getUnitsString(); this.updown = new Range(vaxis.getCoordValue(0), size, resolution, units); if (units != null) { setZPositiveUp(SimpleUnit.isCompatible("m", units)); } }
public void setVertical(CoordinateAxis1D vaxis) { int n = (int) vaxis.getSize(); double size = vaxis.getCoordValue(n - 1) - vaxis.getCoordValue(0); double resolution = vaxis.getIncrement(); String units = vaxis.getUnitsString(); this.updown = new Range(vaxis.getCoordValue(0), size, resolution, units); if (units != null) { setZPositiveUp(SimpleUnit.isCompatible("m", units)); } }
public void setVertical(double start, double end, double resolution, String units, boolean isPositiveUp) { double size = end - start; this.updown = new Range(start, size, resolution, units); setZPositiveUp(isPositiveUp); }
public void setVertical(double start, double end, double resolution, String units, boolean isPositiveUp) { double size = end - start; this.updown = new Range(start, size, resolution, units); setZPositiveUp(isPositiveUp); }