|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.graphics.heprep.ref.DefaultHepRepAttribute | +--hep.graphics.heprep.ref.DefaultHepRepPoint
Field Summary | |
static String |
cvsId
|
protected double |
x
|
protected double |
y
|
protected double |
z
|
Fields inherited from interface hep.graphics.heprep.HepRepConstants |
SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN |
Constructor Summary | |
DefaultHepRepPoint(HepRepInstance instance,
double x,
double y,
double z)
|
Method Summary | |
HepRepPoint |
copy(HepRepInstance parent)
Returns a deep copy of this point. |
boolean |
equals(Object o)
|
HepRepAttValue |
getAttValue(String lowerCaseName)
look for attribute on this node, otherwise delegate to instance |
double |
getEta()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getEta(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
HepRepInstance |
getInstance()
Returns associated instance (parent). |
double |
getPhi()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getPhi(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double |
getR()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getR(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double |
getRho()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getRho(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double |
getTheta()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getTheta(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double |
getX()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getX(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double[] |
getXYZ(double[] xyz)
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getY()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getY(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
double |
getZ()
Returns coordinate with respect to vertex at (0, 0, 0). |
double |
getZ(double xVertex,
double yVertex,
double zVertex)
Returns coordinate with respect to vertex at (xVertex, yVertex, zVertex). |
int |
hashCode()
|
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepAttribute |
addAttColor, addAttColor, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Field Detail |
public static final String cvsId
protected double x
protected double y
protected double z
Constructor Detail |
public DefaultHepRepPoint(HepRepInstance instance, double x, double y, double z)
Method Detail |
public HepRepInstance getInstance()
HepRepPoint
getInstance
in interface HepRepPoint
public boolean equals(Object o)
equals
in class DefaultHepRepAttribute
public int hashCode()
hashCode
in class DefaultHepRepAttribute
public HepRepAttValue getAttValue(String lowerCaseName)
getAttValue
in interface HepRepAttribute
getAttValue
in class DefaultHepRepAttribute
lowerCaseName
- of attribute value.
public HepRepPoint copy(HepRepInstance parent) throws CloneNotSupportedException
HepRepPoint
copy
in interface HepRepPoint
parent
- to add the copy to.
CloneNotSupportedException
- if copying is not possible.public double getX()
HepRepPoint
getX
in interface HepRepPoint
public double getY()
HepRepPoint
getY
in interface HepRepPoint
public double getZ()
HepRepPoint
getZ
in interface HepRepPoint
public double[] getXYZ(double[] xyz)
HepRepPoint
getXYZ
in interface HepRepPoint
xyz
- list of three coordinates which are filled and returned.
If null, a new list of three coordinates is allocated.
public double getRho()
HepRepPoint
getRho
in interface HepRepPoint
public double getPhi()
HepRepPoint
getPhi
in interface HepRepPoint
public double getTheta()
HepRepPoint
getTheta
in interface HepRepPoint
public double getR()
HepRepPoint
getR
in interface HepRepPoint
public double getEta()
HepRepPoint
getEta
in interface HepRepPoint
public double getX(double xVertex, double yVertex, double zVertex)
HepRepPoint
getX
in interface HepRepPoint
public double getY(double xVertex, double yVertex, double zVertex)
HepRepPoint
getY
in interface HepRepPoint
public double getZ(double xVertex, double yVertex, double zVertex)
HepRepPoint
getZ
in interface HepRepPoint
public double getRho(double xVertex, double yVertex, double zVertex)
HepRepPoint
getRho
in interface HepRepPoint
public double getPhi(double xVertex, double yVertex, double zVertex)
HepRepPoint
getPhi
in interface HepRepPoint
public double getTheta(double xVertex, double yVertex, double zVertex)
HepRepPoint
getTheta
in interface HepRepPoint
public double getR(double xVertex, double yVertex, double zVertex)
HepRepPoint
getR
in interface HepRepPoint
public double getEta(double xVertex, double yVertex, double zVertex)
HepRepPoint
getEta
in interface HepRepPoint
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |