|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.math.r3.ClosedBox
Represents a cartesian set in R3.
| Field Summary | |
ClosedInterval |
I1
first dimension extent of domain |
ClosedInterval |
I2
second dimension extent of domain |
ClosedInterval |
I3
third dimension extent of domain |
| Constructor Summary | |
ClosedBox()
Default constructor - creates an empty DomainR3 object to be initialized by the user |
|
ClosedBox(ClosedInterval I1,
ClosedInterval I2,
ClosedInterval I3)
Initializing constructor - creates a new instance of DomainR3 according to the given parameters. |
|
ClosedBox(double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
Initializing constructor - creates a new instance of DomainR3 according to the given parameters. |
|
| Method Summary | |
boolean |
boundary(R3 pt)
Determine whether or not point pt is member of the boundary of this set. |
R3 |
centroid()
Compute the centroid of the domain |
double |
diameter()
Computes the diameter of the domain. |
R3 |
dimensions()
Compute the dimensions of the domain |
ClosedInterval |
get1()
Get first dimension extent |
ClosedInterval |
get2()
Get second dimension extent |
ClosedInterval |
get3()
Get second dimension extent |
R3 |
getVertexMax()
Get the maximum vertex |
R3 |
getVertexMin()
Get the minimum vertex |
ClosedInterval |
getXDimension()
Get the x dimension |
ClosedInterval |
getYDimension()
Get the y dimension |
ClosedInterval |
getZDimension()
Get the z dimension |
boolean |
membership(R3 pt)
Determine whether point pt is an element of the domain. |
void |
print(java.io.PrintWriter os)
Print out contents on an output stream |
void |
println(java.io.PrintWriter os)
Print out contents on an output stream, terminate in newline character |
double |
volume()
Compute the volume of the domain. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ClosedInterval I1
public ClosedInterval I2
public ClosedInterval I3
| Constructor Detail |
public ClosedBox()
public ClosedBox(ClosedInterval I1,
ClosedInterval I2,
ClosedInterval I3)
I1 - interval of definition in x dimensionI2 - interval of definition in y dimensionI3 - interval of definition in z dimension
public ClosedBox(double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
xmin - x dimension minimum valuexmax - x dimension maximum valueymin - y dimension minimum valueymax - y dimension maximum valuezmin - z dimension minimum valuezmax - z dimension maximum value| Method Detail |
public ClosedInterval get1()
public ClosedInterval get2()
public ClosedInterval get3()
public ClosedInterval getXDimension()
public ClosedInterval getYDimension()
public ClosedInterval getZDimension()
public R3 getVertexMin()
public R3 getVertexMax()
public boolean membership(R3 pt)
public boolean boundary(R3 pt)
public R3 centroid()
public double diameter()
public double volume()
public R3 dimensions()
public void print(java.io.PrintWriter os)
os - output stream receiving content dumppublic void println(java.io.PrintWriter os)
os - output stream receiving content dump
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||