|
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.ContourCell
Data structure internal to JClass Chart 3D. Stores contour information on a per cell basis.
Field Summary | |
protected ArrayList[] |
corners
A contour intersection list for each corner of the cell. |
protected boolean |
hole
Does this cell correspond to a hole? |
protected com.klg.jclass.chart3d.Intersection |
newIntersection
A place to temporarily store new Intersections. |
protected int |
nIntersections
The number of contour intersections for this cell. |
protected ArrayList |
side
A contour intersection list for the side of the cell (either vertical or horizontal, it can't be both). |
static int |
SIDE
|
Method Summary | |
protected void |
addIntersection(com.klg.jclass.chart3d.Intersection intersection,
int place)
Adds an intersection to one of the four corner lists or the side list. |
int |
compare(Object o1,
Object o2)
Generic segment sorting routine, for all four corners, and sides (left-to-right or top-to-bottom). |
ArrayList |
getIntersectionList(int place)
|
protected com.klg.jclass.chart3d.Intersection |
getNewIntersection()
Gets the newest intersection (possibly still under construction). |
int |
getNIntersections()
Retrieves the number of contour intersections for this cell. |
protected boolean |
isHole()
Does this cell correspond to a hole? |
protected void |
setHole(boolean hole)
Sets whether this cell corresponds to a hole or not. |
protected void |
setNewIntersection(com.klg.jclass.chart3d.Intersection newIntersection)
Sets the newest intersection. |
protected void |
sortIntersectionLists()
Sorts the contour intersection lists of each of the four corners and the side list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Field Detail |
public static final int SIDE
protected boolean hole
protected int nIntersections
protected ArrayList[] corners
protected ArrayList side
protected com.klg.jclass.chart3d.Intersection newIntersection
Method Detail |
protected void setHole(boolean hole)
hole
- protected boolean isHole()
protected void addIntersection(com.klg.jclass.chart3d.Intersection intersection, int place)
intersection
- place
- public int getNIntersections()
protected com.klg.jclass.chart3d.Intersection getNewIntersection()
protected void setNewIntersection(com.klg.jclass.chart3d.Intersection newIntersection)
newIntersection
- public ArrayList getIntersectionList(int place)
place
- protected void sortIntersectionLists()
public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- o2
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |