| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.graphics.heprep.ref.DefaultHepRepAttribute
hep.graphics.heprep.ref.DefaultHepRepPoint
| Field Summary | |
| static String | cvsId | 
| protected  HepRepInstance | instance | 
| 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 | |
| protected  | DefaultHepRepPoint(HepRepInstance instance,
                   double x,
                   double y,
                   double z) | 
| 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). | 
|  String | toString() | 
| 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, equals, finalize, getClass, hashCode, notify, notifyAll, 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
protected HepRepInstance instance
| Constructor Detail | 
protected DefaultHepRepPoint(HepRepInstance instance,
                             double x,
                             double y,
                             double z)
| Method Detail | 
public HepRepInstance getInstance()
HepRepPoint
getInstance in interface HepRepPointpublic String toString()
public HepRepAttValue getAttValue(String lowerCaseName)
getAttValue in interface HepRepAttributegetAttValue in class DefaultHepRepAttribute
public HepRepPoint copy(HepRepInstance parent)
                 throws CloneNotSupportedException
HepRepPoint
copy in interface HepRepPointparent - to add the copy to.
CloneNotSupportedException - if copying is not possible.public double getX()
HepRepPoint
getX in interface HepRepPointpublic double getY()
HepRepPoint
getY in interface HepRepPointpublic double getZ()
HepRepPoint
getZ in interface HepRepPointpublic double[] getXYZ(double[] xyz)
HepRepPoint
getXYZ in interface HepRepPointxyz - 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 HepRepPointpublic double getPhi()
HepRepPoint
getPhi in interface HepRepPointpublic double getTheta()
HepRepPoint
getTheta in interface HepRepPointpublic double getR()
HepRepPoint
getR in interface HepRepPointpublic 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 | |||||||||