All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class crw.data3.FloatRange

java.lang.Object
   |
   +----crw.data3.FloatRange

public class FloatRange
extends Object
A class for the Range of floating point values.

Version:
1.0 2-11-1998
Author:
C.R.Wie

Variable Index

 o max
The max-value of this point, usually used as the maximum value if this FloatPoint is used to indicate the range for double values.
 o min
The min-value of this point, usually used as the minimum value if this FloatPoint is used to indicate the range for double values.

Constructor Index

 o FloatRange()
Default constructor, min=0.0 and max=0.0.
 o FloatRange(double, double)
Sets the min- and max-values at the parameters.
 o FloatRange(FloatRange)

Method Index

 o setOrder()
Sets the smaller value of the current min and max as the min-value and the larger as the max-value.
 o union(FloatRange)

Variables

 o min
  public double min
The min-value of this point, usually used as the minimum value if this FloatPoint is used to indicate the range for double values.

 o max
  public double max
The max-value of this point, usually used as the maximum value if this FloatPoint is used to indicate the range for double values.

Constructors

 o FloatRange
  public FloatRange()
Default constructor, min=0.0 and max=0.0.

 o FloatRange
  public FloatRange(double min,
                    double max)
Sets the min- and max-values at the parameters.

Parameters:
min - the min-value
max - the max-value
 o FloatRange
  public FloatRange(FloatRange r)

Methods

 o setOrder
  public void setOrder()
Sets the smaller value of the current min and max as the min-value and the larger as the max-value.

 o union
  public void union(FloatRange r)

All Packages  Class Hierarchy  This Package  Previous  Next  Index