|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecticeCube.uhe.geometry.Volume
public class Volume
This class defines the cubic volume. It is used for checking whether the particle is inside or outside of the given volume.
Constructor Summary | |
---|---|
Volume(double sizeOfOneSide)
Constructor. |
Method Summary | |
---|---|
static boolean |
isInsidePlane(J3Vector r,
J3Vector plane)
Check if the point described by IceCube coordinate is inside the plane. |
boolean |
isInsideVolume(J3Vector r)
Check if the point described by IceCube coordinate is inside the volume. |
boolean |
isInsideVolume(J3Vector r,
J3Vector shift)
Check if the point r - shift described by IceCube coordinate is inside the volume. |
boolean |
isJ3LineInsideVolume(J3Line line,
double axisLengthFrom,
double axisLengthTo)
Check if the given J3Line would pass inside the volome in the range of [axisLengthFrom, axisLengthTo] |
boolean |
isJ3LineInsideVolume(J3Line line,
J3Vector shift,
double axisLengthFrom,
double axisLengthTo)
Check if the given J3Line - J3Vector would pass inside the volome in the range of [axisLengthFrom, axisLengthTo] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Volume(double sizeOfOneSide)
Method Detail |
---|
public boolean isInsideVolume(J3Vector r)
public boolean isInsideVolume(J3Vector r, J3Vector shift)
public static boolean isInsidePlane(J3Vector r, J3Vector plane)
public boolean isJ3LineInsideVolume(J3Line line, double axisLengthFrom, double axisLengthTo)
public boolean isJ3LineInsideVolume(J3Line line, J3Vector shift, double axisLengthFrom, double axisLengthTo)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |