iceCube.uhe.geometry
public class Volume extends java.lang.Object
Constructor and 隱ャ譏� |
---|
Volume(double sizeOfOneSide)
Constructor.
|
Volume(double xD,
double yD,
double zD)
Constructor.
|
Modifier and Type | Method and 隱ャ譏� |
---|---|
boolean |
isCubic()
Tells if this volume is cubit.
|
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]
|
double |
xDim()
return the X dimension [cm] of the cuboid volume
|
double |
yDim()
return the Y dimension [cm] of the cuboid volume
|
double |
zDim()
return the Z dimension [cm] of the cuboid volume
|
public Volume(double sizeOfOneSide)
public Volume(double xD, double yD, double zD)
public boolean isCubic()
public double xDim()
public double yDim()
public double zDim()
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)