|
FreeHEP API Version current |
|||||||||
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.DefaultHepRepDefinition hep.graphics.heprep1.adapter.HepRepAttributeAdapter hep.graphics.heprep1.adapter.HepRepPointAdapter
Field Summary |
Fields inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
cvsId |
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 | |
HepRepPointAdapter(HepRepPoint point,
HepRepInstance parent)
|
Method Summary | |
HepRepPoint |
copy(HepRepInstance parent)
Returns a deep copy of this point. |
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). |
Methods inherited from class hep.graphics.heprep1.adapter.HepRepAttributeAdapter |
getAttDef |
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
addAttDef, addAttDef, equals, getAttDefFromNode, getAttDefsFromNode |
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, hashCode, 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 |
Constructor Detail |
public HepRepPointAdapter(HepRepPoint point, HepRepInstance parent)
Method Detail |
public HepRepInstance getInstance()
HepRepPoint
getInstance
in interface HepRepPoint
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 HepRepAttValue getAttValue(String lowerCaseName)
getAttValue
in interface HepRepAttribute
getAttValue
in class DefaultHepRepAttribute
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 current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |