|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bool.BooleanModeller
Class used to apply boolean operations on solids.
Two 'Solid' objects are submitted to this class constructor. There is a methods for
each boolean operation. Each of these return a 'Solid' resulting from the application
of its operation into the submitted solids.
See: D. H. Laidlaw, W. B. Trumbore, and J. F. Hughes.
"Constructive Solid Geometry for Polyhedral Objects"
SIGGRAPH Proceedings, 1986, p.161.
Constructor Summary | |
BooleanModeller(bool.Solid solid1,
bool.Solid solid2)
Constructs a BooleanModeller object to apply boolean operation in two solids. |
Method Summary | |
java.lang.Object |
clone()
Clones the BooleanModeller object |
bool.Solid |
getDifference()
Gets the solid generated by the difference of the two solids submitted to the constructor. |
bool.Solid |
getIntersection()
Gets the solid generated by the intersection of the two solids submitted to the constructor |
bool.Solid |
getUnion()
Gets the solid generated by the union of the two solids submitted to the constructor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BooleanModeller(bool.Solid solid1, bool.Solid solid2)
solid1
- first solid where boolean operations will be appliedsolid2
- second solid where boolean operations will be appliedMethod Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public bool.Solid getUnion()
public bool.Solid getIntersection()
public bool.Solid getDifference()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |