public class XYZDataPoint extends Object implements Serializable
Constructor and Description |
---|
XYZDataPoint(double x,
double y,
double z)
Create a new XYZDataPoint.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
Returns the x value.
|
double |
getY()
Returns the y value.
|
double |
getZ()
Returns the z value.
|
void |
setX(double x)
Set the x value.
|
void |
setY(double y)
Set the y value.
|
void |
setZ(double z)
Set the z value.
|
String |
toString()
Returns the (x,y,x) value as a comma separated string.
|
public XYZDataPoint(double x, double y, double z)
x
- the x valuey
- the y valuez
- the z valuepublic double getX()
public void setX(double x)
x
- the x to setpublic double getY()
public void setY(double y)
y
- the y to setpublic double getZ()
public void setZ(double z)
z
- the z to setCopyright © 2016. All rights reserved.