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

Method setCoordinates

src/ch/hsr/ogv/model/ModelBox.java:67–73  ·  view source on GitHub ↗
(Point3D coordinates)

Source from the content-addressed store, hash-verified

65 }
66
67 public void setCoordinates(Point3D coordinates) {
68 if (this.coordinates != null) {
69 this.coordinates = coordinates;
70 setChanged();
71 notifyObservers(ModelBoxChange.COORDINATES);
72 }
73 }
74
75 public void setX(double x) {
76 Point3D coords = new Point3D(x, 0, 0);

Callers 7

setXMethod · 0.95
setYMethod · 0.95
setZMethod · 0.95
testSetCoordinatesMethod · 0.80
moveOnMouseDraggedMethod · 0.80
resetObjectLevelMethod · 0.80
deleteSuperObjectMethod · 0.80

Calls

no outgoing calls

Tested by 1

testSetCoordinatesMethod · 0.64