|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--bool.Bound
Representation of a bound - the extremes of a 3d component for each coordinate.
See:
D. H. Laidlaw, W. B. Trumbore, and J. F. Hughes.
"Constructive Solid Geometry for Polyhedral Objects"
SIGGRAPH Proceedings, 1986, p.161.
| Constructor Summary | |
Bound(javax.vecmath.Point3d[] vertices)
Bound constructor for a object 3d |
|
Bound(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
Bound constructor for a face |
|
| Method Summary | |
boolean |
overlap(bool.Bound bound)
Checks if a bound overlaps other one |
java.lang.String |
toString()
Makes a string definition for the bound object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Bound(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
p1 - point relative to the first vertexp2 - point relative to the second vertexp3 - point relative to the third vertexpublic Bound(javax.vecmath.Point3d[] vertices)
vertices - the object vertices| Method Detail |
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean overlap(bool.Bound bound)
bound - other bound to make the comparison
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||