iceCube.uhe.geometry
クラス Volume

java.lang.Object
  上位を拡張 iceCube.uhe.geometry.Volume
直系の既知のサブクラス:
IceCubeVolume

public class Volume
extends java.lang.Object

This class defines the cubic volume. It is used for checking whether the particle is inside or outside of the given volume.


コンストラクタの概要
Volume(double sizeOfOneSide)
          Constructor.
 
メソッドの概要
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]
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Volume

public Volume(double sizeOfOneSide)
Constructor. Set six planes. The origin of the IceCube coordinate (IceCubeCoordinate.java) is ASSUMED to be at the center of the volume.

メソッドの詳細

isInsideVolume

public boolean isInsideVolume(J3Vector r)
Check if the point described by IceCube coordinate is inside the volume. If it's inside, returns true.


isInsideVolume

public boolean isInsideVolume(J3Vector r,
                              J3Vector shift)
Check if the point r - shift described by IceCube coordinate is inside the volume. If it's inside, returns true.


isInsidePlane

public static boolean isInsidePlane(J3Vector r,
                                    J3Vector plane)
Check if the point described by IceCube coordinate is inside the plane. If it's inside, returns true.


isJ3LineInsideVolume

public boolean isJ3LineInsideVolume(J3Line line,
                                    double axisLengthFrom,
                                    double axisLengthTo)
Check if the given J3Line would pass inside the volome in the range of [axisLengthFrom, axisLengthTo]


isJ3LineInsideVolume

public 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]