public class DoublePointError extends Tuple<DoublePoint,DoublePoint>
| Constructor and Description |
|---|
DoublePointError()
default constructor (zero coordinates and errors)
|
DoublePointError(double x,
double y,
double errorX,
double errorY) |
| Modifier and Type | Method and Description |
|---|---|
double |
getErrorX() |
double |
getErrorY() |
double |
getX() |
double |
getY() |
void |
set(double newX,
double newY) |
void |
set(double newX,
double newErrorX,
double newY,
double newErrorY) |
void |
setError(double newX,
double newY) |
String |
toString() |
public DoublePointError()
public DoublePointError(double x,
double y,
double errorX,
double errorY)
x - new X coordinatey - new Y coordinateerrorX - error of X coordinateerrorY - error of Y coordinatepublic double getErrorX()
public double getErrorY()
public double getX()
public double getY()
public void set(double newX,
double newY)
newX - the x coordinate to setnewY - the Y coordinate to setpublic void set(double newX,
double newErrorX,
double newY,
double newErrorY)
newX - the x coordinate to setnewErrorX - the error estimate of the x coordinatenewY - the Y coordinate to setnewErrorY - the error estimate of the y coordinatepublic void setError(double newX,
double newY)
newX - the x coordinate to setnewY - the Y coordinate to setpublic String toString()
toString in class Tuple<DoublePoint,DoublePoint>Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.