Class pmr.euclid.Real3Range
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.euclid.Real3Range

java.lang.Object
   |
   +----pmr.euclid.Status
           |
           +----pmr.euclid.Real3Range

public class Real3Range
extends Status

Real3Range - 3-D double limits

Contains 3 RealRanges. Can therefore be used to describe 3-dimensional limits (e.g. axes of 3-D graphs, boxes in graphics, limits of a molecule, etc.)

Default is three invalid RealRange components.

Author:
(C) P. Murray-Rust, 1996

Constructor Index

 o Real3Range()
default is three default RealRanges
 o Real3Range(Real3Range)
copy constructor
 o Real3Range(RealRange, RealRange, RealRange)
initialise with min and max values; takes COPIES

Method Index

 o add(Choice3, double)
add a single value
 o add(int, double)
add a single value - not for general use
 o add(Point3)
add a Point3 to a range
 o equals(Real3Range)
 o getXRange()
get xrange
 o getYRange()
get yrange
 o getZRange()
get zrange
 o includes(Point3)
is a Point3 within a Real3Range?
 o plus(Real3Range)
 o toString()

Constructors

 o Real3Range
  public Real3Range()
default is three default RealRanges
 o Real3Range
  public Real3Range(RealRange xr,
                    RealRange yr,
                    RealRange zr)
initialise with min and max values; takes COPIES
 o Real3Range
  public Real3Range(Real3Range r)
copy constructor

Methods

 o equals
  public boolean equals(Real3Range r3)
 o plus
  public Real3Range plus(Real3Range r3)
 o getXRange
  public RealRange getXRange()
get xrange
 o getYRange
  public RealRange getYRange()
get yrange
 o getZRange
  public RealRange getZRange()
get zrange
 o add
  public void add(Choice3 ax,
                  double value)
add a single value
 o add
  protected void add(int axis,
                     double value)
add a single value - not for general use
 o includes
  public boolean includes(Point3 p)
is a Point3 within a Real3Range?
 o add
  public void add(Point3 p)
add a Point3 to a range
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index