MCPcopy Create free account
hub / github.com/Nurtak/ObjectGraphVisualization / setZ

Method setZ

src/ch/hsr/ogv/model/ModelBox.java:91–97  ·  view source on GitHub ↗
(double z)

Source from the content-addressed store, hash-verified

89 }
90
91 public void setZ(double z) {
92 Point3D coords = new Point3D(0, 0, z);
93 if (coordinates != null) {
94 coords = new Point3D(this.coordinates.getX(), this.coordinates.getY(), z);
95 }
96 setCoordinates(coords);
97 }
98
99 @XmlTransient
100 public double getX() {

Callers 12

testSetZMethod · 0.45
northResizeMethod · 0.45
southResizeMethod · 0.45
adaptBoxHeightMethod · 0.45
adaptBoxCoordinatesMethod · 0.45
setTranslateMethod · 0.45
setTzMethod · 0.45
setScaleMethod · 0.45
setSzMethod · 0.45
setPivotMethod · 0.45
resetMethod · 0.45
resetTSPMethod · 0.45

Calls 3

setCoordinatesMethod · 0.95
getXMethod · 0.45
getYMethod · 0.45

Tested by 1

testSetZMethod · 0.36