|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HepRepPoint
HepRepPoint interface. The HepRepMath class can be used to deal with the conversions.
Field Summary |
---|
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 |
Method Summary | |
---|---|
HepRepPoint |
copy(HepRepInstance parent)
Returns a deep copy of this point. |
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 interface hep.graphics.heprep.HepRepAttribute |
---|
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Method Detail |
---|
double getX()
double getY()
double getZ()
double getRho()
double getPhi()
double getTheta()
double getR()
double getEta()
double getX(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getY(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getZ(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getRho(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getPhi(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getTheta(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getR(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double getEta(double xVertex, double yVertex, double zVertex)
xVertex
- x-coordinate of vertexyVertex
- y-coordinate of vertexzVertex
- z-coordinate of vertex
double[] getXYZ(double[] xyz)
xyz
- list of three coordinates which are filled and returned.
If null, a new list of three coordinates is allocated.
HepRepInstance getInstance()
HepRepPoint copy(HepRepInstance parent) throws CloneNotSupportedException
parent
- to add the copy to.
CloneNotSupportedException
- if copying is not possible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |