com.jidesoft.chart.model
Class ChartPoint3D
java.lang.Object
com.jidesoft.chart.model.ChartPoint
com.jidesoft.chart.model.ChartPoint3D
- All Implemented Interfaces:
- Chartable, Chartable3D, Highlightable, Nameable, Named, Comparable<Chartable>
public class ChartPoint3D
- extends ChartPoint
- implements Chartable3D
An implementation of a 3-dimensional chart point
|
Constructor Summary |
ChartPoint3D()
Create a 3D point at the origin |
ChartPoint3D(double x,
double y,
double z)
Create a 3D point from the supplied x, y, z coordinates |
| Methods inherited from class com.jidesoft.chart.model.ChartPoint |
compareTo, getHighlight, getName, getX, getY, isHighlight, setHighlight, setName, setX, setY, toString |
ChartPoint3D
public ChartPoint3D()
- Create a 3D point at the origin
ChartPoint3D
public ChartPoint3D(double x,
double y,
double z)
- Create a 3D point from the supplied x, y, z coordinates
- Parameters:
x - the x coordinatey - the y coordinatez - the z coordinate
getZ
public Positionable getZ()
- Gets the z coordinate of the Chartable object
- Specified by:
getZ in interface Chartable3D
- Returns:
- the z coordinate
setZ
public void setZ(Positionable z)
- Set the position on the Z axis
- Parameters:
z - the position on the Z axis
equals
public boolean equals(Object o)
- Overrides:
equals in class ChartPoint
hashCode
public int hashCode()
- Overrides:
hashCode in class ChartPoint