|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.media.j3d.Bounds
javax.media.j3d.BoundingBox
de.fhg.igd.earth.utils.cBoundingBox
This class represents a bounding box. A bounding box is defined by two points (cPoint3d). If no points are defined the box is boundless. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG
| Field Summary | |
private boolean |
boundless_
the boundless flag |
| Fields inherited from class javax.media.j3d.BoundingBox |
|
| Fields inherited from class javax.media.j3d.Bounds |
|
| Constructor Summary | |
cBoundingBox()
Creates an instance of this class (boundless is true). |
|
cBoundingBox(cBoundingBox bb)
Creates an instance of this class with the given bounding box (boundless is true). |
|
cBoundingBox(cPoint3d lower,
cPoint3d upper)
Creates an instance of this class with the given points (boundless is true). |
|
| Method Summary | |
Object |
clone()
Clones this object |
void |
combine(javax.media.j3d.Bounds bounds)
Combines this boundingBox with the given bounds. |
void |
combine(cPoint3d point)
Combines this boundingBox with the given point. |
cPoint3d |
getCenter()
Returns the center of this bounding box. |
boolean |
isBoundless()
Returns teh boundless flag. |
private void |
readObject(ObjectInputStream in)
The super class ist not clonable, so we have to implement a special read method here |
private void |
writeObject(ObjectOutputStream out)
The super class ist not clonable, so we have to implement a special write method here |
| Methods inherited from class javax.media.j3d.BoundingBox |
closestIntersection, combine, combine, combine, equals, getLower, getUpper, hashCode, intersect, intersect, intersect, intersect, intersect, intersect, isEmpty, set, setLower, setLower, setUpper, setUpper, toString, transform, transform |
| Methods inherited from class javax.media.j3d.Bounds |
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private boolean boundless_
| Constructor Detail |
public cBoundingBox()
public cBoundingBox(cBoundingBox bb)
public cBoundingBox(cPoint3d lower,
cPoint3d upper)
lower - The lower pointupper - The upper point| Method Detail |
public void combine(cPoint3d point)
point - Point to combinepublic void combine(javax.media.j3d.Bounds bounds)
bounds - Bounds to combinepublic boolean isBoundless()
public cPoint3d getCenter()
private void writeObject(ObjectOutputStream out)
throws IOException
out - Object output stream
IOException
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
in - Object input stream
IOException
ClassNotFoundExceptionpublic Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||