JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class Intersection

java.lang.Object
  |
  +--com.klg.jclass.chart3d.Intersection
All Implemented Interfaces:
Serializable

public class Intersection
extends Object
implements Serializable

Data structure internal to JClass Chart 3D. This structure represents an intersection of a contour line with a cell. It stores the side numbers of the sides the line intersects and stores the point information in ContourSegment objects.

See Also:
Serialized Form

Field Summary
protected  int level
          Contour level of the contour line for this intersection.
protected  com.klg.jclass.chart3d.ContourSegment segment1
          The point (stored in the segment) that corresponds to the side1 intersection.
protected  com.klg.jclass.chart3d.ContourSegment segment2
          The point (stored in the segment) that corresponds to the side2 intersection.
protected  int side1
          The first side of the cell that the contour line intersects.
protected  int side2
          The second side of the cell that the contour line intersects.
 
Method Summary
 int getLevel()
          Gets the level for this intersection.
 com.klg.jclass.chart3d.ContourSegment getSegment1()
          Gets the first point for this contour intersection.
 com.klg.jclass.chart3d.ContourSegment getSegment2()
          Gets the second point for this contour intersection.
 int getSide1()
          Gets the first side for this intersection.
 int getSide2()
          Gets the second side for this intersection.
protected  void setLevel(int level)
          Sets the level for this intersection.
protected  void setSegment1(com.klg.jclass.chart3d.ContourSegment segment1)
          Sets the first point for this contour intersection.
protected  void setSegment2(com.klg.jclass.chart3d.ContourSegment segment2)
          Sets the second point for this contour intersection.
protected  void setSide1(int side1)
          Sets the first side for this intersection.
protected  void setSide2(int side2)
          Sets the second side for this intersection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

protected int level
Contour level of the contour line for this intersection.


side1

protected int side1
The first side of the cell that the contour line intersects.


side2

protected int side2
The second side of the cell that the contour line intersects.


segment1

protected com.klg.jclass.chart3d.ContourSegment segment1
The point (stored in the segment) that corresponds to the side1 intersection.


segment2

protected com.klg.jclass.chart3d.ContourSegment segment2
The point (stored in the segment) that corresponds to the side2 intersection.

Method Detail

setLevel

protected void setLevel(int level)
Sets the level for this intersection.

Parameters:
level -

getLevel

public int getLevel()
Gets the level for this intersection.


setSide1

protected void setSide1(int side1)
Sets the first side for this intersection.

Parameters:
side1 -

getSide1

public int getSide1()
Gets the first side for this intersection.


setSide2

protected void setSide2(int side2)
Sets the second side for this intersection.

Parameters:
side2 -

getSide2

public int getSide2()
Gets the second side for this intersection.


setSegment1

protected void setSegment1(com.klg.jclass.chart3d.ContourSegment segment1)
Sets the first point for this contour intersection.

Parameters:
segment1 -

getSegment1

public com.klg.jclass.chart3d.ContourSegment getSegment1()
Gets the first point for this contour intersection.


setSegment2

protected void setSegment2(com.klg.jclass.chart3d.ContourSegment segment2)
Sets the second point for this contour intersection.

Parameters:
segment2 -

getSegment2

public com.klg.jclass.chart3d.ContourSegment getSegment2()
Gets the second point for this contour intersection.


Copyright © 2004 Quest Software Inc..
All rights reserved.