public class PlotPoint2D
extends java.lang.Object
PlotPoint2D defines a plot point in terms of it's X , Y
and Z value. Also sets the lift-pen attribute, which, if true, will lift the
pen after having plot this point. It has internal parameter which can be used
for sorting| Constructor and Description |
|---|
PlotPoint2D()
Default constructor, does nothing.
|
PlotPoint2D(double x,
double y,
double z)
Default constructor, initializes the class x- and y values.
|
PlotPoint2D(PlotPoint2D pp)
Another constructor, initializes the class x- and y values.
|
| Modifier and Type | Method and Description |
|---|---|
PlotPoint2D |
getPoint()
returns x- and y and z values.
|
double |
getX()
Return the current X-value.
|
double |
getY()
Return the current Y-value.
|
double |
getZ()
Return the current Z-value.
|
void |
print()
print PlotPoint2D
|
void |
setPoint(double x,
double y,
double z)
Sets x-, y and z values.
|
void |
setPoint(PlotPoint2D pp)
Sets x- and y and z values.
|
public PlotPoint2D()
public PlotPoint2D(double x,
double y,
double z)
x - x-value;y - y-value;z - z-value;public PlotPoint2D(PlotPoint2D pp)
pp - PlotPoint instancepublic void setPoint(double x,
double y,
double z)
x - x-value;y - y-value;z - y-value;public void setPoint(PlotPoint2D pp)
pp - PlotPoint instancepublic PlotPoint2D getPoint()
public double getX()
public double getY()
public double getZ()
public void print()
JHepSim. A part of HSTOOLS. version-1.2