hep.lcd.vertexing.zvtop
Class ZvSpatPoint

java.lang.Object
  |
  +--hep.lcd.vertexing.zvtop.ZvSpatPoint

public class ZvSpatPoint
extends Object

ZvSpatPoint -- ZvTop spatial point representation helper class for ZvTopVertexer

Version:
$Id: ZvSpatPoint.java,v 1.2 2001/06/05 18:20:56 walkowia Exp $
Author:
W.Walkowiak, 10/02/00
Source Code:
ZvSpatPoint.java

Constructor Summary
ZvSpatPoint()
           
ZvSpatPoint(double[] position, double vSig)
           
ZvSpatPoint(ZvSpatPoint sp)
          copy constructor
 
Method Summary
 ZvSpatPoint copy()
          provide a deep copy
 double distance(ZvSpatPoint spatialPoint)
          distance between this and another spatial point
 boolean isEqual(ZvSpatPoint spatialPoint)
          check for equality of this spatial point with another
-- equality, if dist(sp1,sp2) < maxSep
default: maxSep = 5 um
 boolean isEqual(ZvSpatPoint spatialPoint, double maxSep)
          check for equality of this spatial point with another
-- equality, if dist(sp1,sp2) < maxSep
 double[] position()
          get the space point position
 void setPosition(double[] position)
          set the space point position
 void setVertexId(int id)
          set the index of the associated vertex
 void setVSig(double vSig)
          set the space point vertex significance value
 int vertexId()
          get the index of the associated vertes
 double vSig()
          get the space point vertex significance value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZvSpatPoint

public ZvSpatPoint()

ZvSpatPoint

public ZvSpatPoint(double[] position,
                   double vSig)

ZvSpatPoint

public ZvSpatPoint(ZvSpatPoint sp)
copy constructor
Method Detail

setPosition

public void setPosition(double[] position)
set the space point position

setVSig

public void setVSig(double vSig)
set the space point vertex significance value

position

public double[] position()
get the space point position

vSig

public double vSig()
get the space point vertex significance value

distance

public double distance(ZvSpatPoint spatialPoint)
distance between this and another spatial point

isEqual

public boolean isEqual(ZvSpatPoint spatialPoint)
check for equality of this spatial point with another
-- equality, if dist(sp1,sp2) < maxSep
default: maxSep = 5 um

isEqual

public boolean isEqual(ZvSpatPoint spatialPoint,
                       double maxSep)
check for equality of this spatial point with another
-- equality, if dist(sp1,sp2) < maxSep

setVertexId

public void setVertexId(int id)
set the index of the associated vertex

vertexId

public int vertexId()
get the index of the associated vertes

copy

public ZvSpatPoint copy()
provide a deep copy


The LCD Group