|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.SortPoint
Data structure internal to JClass Chart 3D. Used to sort point data. It store the point, series, and distance to eye for each point.
Field Summary | |
protected double |
distanceToEye
The distance of this point to the eye. |
protected int |
point
Point number in given series. |
protected int |
series
The series to which this point belongs. |
Constructor Summary | |
SortPoint()
Default constructor |
|
SortPoint(int series,
int point,
double distanceToEye)
Constructor that intializes the series, point, and distanceToEye |
Method Summary | |
double |
getDistanceToEye()
Retrieves the distanceToEye for this point. |
int |
getPoint()
Retrieves the point number of this point in the given series. |
int |
getSeries()
Retrieves the series for this point. |
void |
setDistanceToEye(double distanceToEye)
Sets the distanceToEye for this point. |
void |
setPoint(int point)
Sets the point number of this point in the given series. |
void |
setSeries(int series)
Sets the series for this point. |
String |
toString()
Override toString method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int series
protected int point
protected double distanceToEye
Constructor Detail |
public SortPoint()
public SortPoint(int series, int point, double distanceToEye)
series
- The series number for this pointpoint
- The point number for this pointdistanceToEye
- The distance to the eye for this pointMethod Detail |
public void setSeries(int series)
series
- The series number for this pointpublic int getSeries()
public void setPoint(int point)
point
- The point number for this pointpublic int getPoint()
public void setDistanceToEye(double distanceToEye)
distanceToEye
for this point.
distanceToEye
- The distance to the eye for this pointpublic double getDistanceToEye()
distanceToEye
for this point.
public String toString()
toString
in class Object
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |