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
-
Real3Range()
- default is three default RealRanges
-
Real3Range(Real3Range)
- copy constructor
-
Real3Range(RealRange, RealRange, RealRange)
- initialise with min and max values; takes COPIES
-
add(Choice3, double)
- add a single value
-
add(int, double)
- add a single value - not for general use
-
add(Point3)
- add a Point3 to a range
-
equals(Real3Range)
-
-
getXRange()
- get xrange
-
getYRange()
- get yrange
-
getZRange()
- get zrange
-
includes(Point3)
- is a Point3 within a Real3Range?
-
plus(Real3Range)
-
-
toString()
-
Real3Range
public Real3Range()
- default is three default RealRanges
Real3Range
public Real3Range(RealRange xr,
RealRange yr,
RealRange zr)
- initialise with min and max values; takes COPIES
Real3Range
public Real3Range(Real3Range r)
- copy constructor
equals
public boolean equals(Real3Range r3)
plus
public Real3Range plus(Real3Range r3)
getXRange
public RealRange getXRange()
- get xrange
getYRange
public RealRange getYRange()
- get yrange
getZRange
public RealRange getZRange()
- get zrange
add
public void add(Choice3 ax,
double value)
- add a single value
add
protected void add(int axis,
double value)
- add a single value - not for general use
includes
public boolean includes(Point3 p)
- is a Point3 within a Real3Range?
add
public void add(Point3 p)
- add a Point3 to a range
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index