Skip to content

Commit 70ed202

Browse files
committed
fill in missing methods
1 parent ad0644c commit 70ed202

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common-tools/swim-tools/src/main/java/org/jlab/clas/swimtools/AdaptiveSwim.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public double[] SwimToPlaneTiltSecSysBdlXZPlane(int sector, double z_cm) {
2828

2929
@Override
3030
public double[] SwimToPlaneLab(double z_cm) {
31-
throw new UnsupportedOperationException("Not supported yet.");
31+
return SwimPlane(new Vector3D(0,0,1), new Point3D(0,0,z_cm), accuracy);
3232
}
3333

3434
@Override
3535
public double[] SwimToCylinder(double radius) {
36-
throw new UnsupportedOperationException("Not supported yet.");
36+
return SwimGenCylinder(new Point3D(0,0,-1), new Point3D(0,0,1), radius, accuracy);
3737
}
3838

3939
@Override
@@ -168,7 +168,7 @@ public double[] SwimToLine(Line3D l) {
168168

169169
@Override
170170
public double[] SwimToZ(double Z, int dir) {
171-
throw new UnsupportedOperationException("Not supported yet.");
171+
return SwimPlane(new Vector3D(0,0,dir*1), new Point3D(0,0,Z), accuracy);
172172
}
173173

174174
@Override

0 commit comments

Comments
 (0)