JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class JCBox

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

public class JCBox
extends Object
implements Serializable

A class that describes a 3D box (normally in data space).

See Also:
Serialized Form

Field Summary
 double depth
          The depth of the box (in the z direction).
 double height
          The height of the box (in the y direction).
 double width
          The width of the box (in the x direction).
 double x
          The x data position of the box.
 double y
          The y data position of the box.
 double z
          The z data position of the box.
 
Constructor Summary
JCBox()
          Default constructor.
JCBox(double x, double y, double width, double height)
          Constructor that provides all necessary value for a 2D rectangle.
JCBox(double x, double y, double z, double width, double height, double depth)
          Constructor that provides all necessary value for a 3D box.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public double x
The x data position of the box.


y

public double y
The y data position of the box.


z

public double z
The z data position of the box.


width

public double width
The width of the box (in the x direction).


height

public double height
The height of the box (in the y direction).


depth

public double depth
The depth of the box (in the z direction).

Constructor Detail

JCBox

public JCBox()
Default constructor. All values at zero.


JCBox

public JCBox(double x,
             double y,
             double z,
             double width,
             double height,
             double depth)
Constructor that provides all necessary value for a 3D box.

Parameters:
x - the x position of the box
y - the y position of the box
z - the z position of the box
width - the width of the box (in the x direction)
height - the height of the box (in the y direction)
depth - the depth of the box (in the z direction)

JCBox

public JCBox(double x,
             double y,
             double width,
             double height)
Constructor that provides all necessary value for a 2D rectangle.

Parameters:
x - the x position of the box
y - the y position of the box
width - the width of the box (in the x direction)
height - the height of the box (in the y direction)

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