|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.MonteCarloSS.Region
public final class MonteCarloSS.Region
A Region represents a homogeneous volume of sample. Regions are described by a Shape, a Material and a list of fully contained child Regions.
Copyright: Not subject to copyright - 2004
Company: National Institute of Standards and Technology
| Constructor Summary | |
|---|---|
MonteCarloSS.Region(MonteCarloSS.Region parent,
Material material,
MonteCarloSS.Shape shape)
Region - Creates a region based on the specified Material (defines the composition and density) and the specified Shape (defines the morphology.) |
|
| Method Summary | |
|---|---|
protected double |
calculateEnergyLoss(double len,
double kE)
calculateEnergyLoss - Calculate the amount of kinetic energy lost when an electron of the specified kinetic energy (kE) traverses a distance (len) in this Region. |
void |
clearSubRegions()
clearSubRegions - Clear all the fully contained Regions within this Region. |
MonteCarloSS.Region |
findEndOfStep(double[] pos0,
double[] pos1)
findEndOfStep - Given a starting point (pos0) and a candidate ending point (pos1), findEndOfStep checks the parent Region and each sub-Region to determine whether the line segment intesects the boundary of any Regions. |
double |
getAtomsPerCubicMeter(Element el)
|
Material |
getMaterial()
getMaterial - Get the material of which this Region is constructed. |
MonteCarloSS.Shape |
getShape()
getShape - Returns the instance of the Shape interface that defines the shape of this Region. |
java.util.List |
getSubRegions()
getSubRegions - Returns an immutable list of the sub-regions associated with this region. |
void |
removeSubRegion(MonteCarloSS.Region subRegion)
removeSubRegion - Remove the specified subRegion from the list of fully contained Regions within this Region. |
void |
rotate(double[] pivot,
double phi,
double theta,
double psi)
rotate - Rotate the object around the specified point by phi about the z-axis followed by theta round the y-axis followed by psi around the z-axis. |
void |
translate(double[] distance)
translate - Translate this object by the distance specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonteCarloSS.Region(MonteCarloSS.Region parent,
Material material,
MonteCarloSS.Shape shape)
parent - Regionmaterial - Materialshape - Shape| Method Detail |
|---|
public Material getMaterial()
public void removeSubRegion(MonteCarloSS.Region subRegion)
subRegion - Regionpublic void clearSubRegions()
public java.util.List getSubRegions()
public MonteCarloSS.Region findEndOfStep(double[] pos0,
double[] pos1)
pos0 - double[] - The fixed initial point.pos1 - double[] - [In] The candidate end point [Out] The
foreshortened end point
public MonteCarloSS.Shape getShape()
protected double calculateEnergyLoss(double len,
double kE)
len - double - A distance in meterskE - double - An energy in joules
public double getAtomsPerCubicMeter(Element el)
public void rotate(double[] pivot,
double phi,
double theta,
double psi)
ITransform| [ | cos(phi)*cos(th)*cos(psi)-sin(phi)*sin(psi) | -sin(phi)*cos(th)*cos(psi)-cos(phi)*sin(psi) | sin(th)*cos(psi) | ] |
| [ | sin(phi)*cos(psi)+cos(phi)*cos(th)*sin(psi) | -sin(phi)*cos(th)*sin(psi)+cos(phi)*cos(psi) | sin(th)*sin(psi) | ] |
| [ | -cos(phi)*sin(th) | sin(th)*sin(phi) | cos(th) | ] |
rotate in interface ITransformpivot - double[] - a three-vector specifying the point around which
the rotation is performedphi - doubletheta - doublepsi - doublepublic void translate(double[] distance)
ITransform
translate in interface ITransformdistance - double[] - A three-vector specifying how much to translate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||