MCPcopy Index your code
hub / github.com/Nurtak/ObjectGraphVisualization / setX

Method setX

src/ch/hsr/ogv/model/ModelBox.java:75–81  ·  view source on GitHub ↗
(double x)

Source from the content-addressed store, hash-verified

73 }
74
75 public void setX(double x) {
76 Point3D coords = new Point3D(x, 0, 0);
77 if (coordinates != null) {
78 coords = new Point3D(x, this.coordinates.getY(), this.coordinates.getZ());
79 }
80 setCoordinates(coords);
81 }
82
83 public void setY(double y) {
84 Point3D coords = new Point3D(0, y, 0);

Callers 14

testSetXMethod · 0.45
handleMouseMethod · 0.45
eastResizeMethod · 0.45
westResizeMethod · 0.45
handleCenterViewMethod · 0.45
adaptBoxHeightMethod · 0.45
adaptBoxCoordinatesMethod · 0.45
setTranslateMethod · 0.45
setTxMethod · 0.45
setScaleMethod · 0.45
setSxMethod · 0.45
setPivotMethod · 0.45

Calls 3

setCoordinatesMethod · 0.95
getYMethod · 0.45
getZMethod · 0.45

Tested by 1

testSetXMethod · 0.36