|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.xmravec.bc.prodes.Sphere
public class Sphere
Spheric detector shape
Constructor Summary | |
---|---|
Sphere()
Sphere constructor tries to load radius from radius.txt file |
Method Summary | |
---|---|
Coordinates |
coordinates()
Calculates coordinates of intersection neutron trajectory and detector surface |
double |
getLambda()
Returns a distance of neutron to the surface of detector in neutron direction |
Coordinates |
hitPoint(Particle particle)
Calculates the coordinates on the surface of the detector where particle is about to leave the detector |
void |
setLambda(double lambda)
Sets a distance of neutron to the surface of detector in neutron direction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sphere()
Method Detail |
---|
public Coordinates coordinates()
coordinates
in interface DetectorShape
public double getLambda()
getLambda
in interface DetectorShape
public void setLambda(double lambda)
setLambda
in interface DetectorShape
lambda
- distance of neutron to the surface of detector in metrespublic Coordinates hitPoint(Particle particle)
hitPoint
in interface DetectorShape
particle
- particle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |