|
The Physiologist's Friend Simulation API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Intersectable
Declares the interface for a Transformable
that can be
intersected with another shape.
Method Summary | |
---|---|
float |
area()
Computes the area of this geometric object. |
Intersectable |
intersect(Intersectable other)
Computes the area of intersection between this object and the given other object. |
Methods inherited from interface ch.unizh.ini.friend.graphics.Transformable |
---|
apply, clone, rotate, rotate, scale, scale, translate |
Method Detail |
---|
Intersectable intersect(Intersectable other)
other
object.
other
- The object to intersect with.
float area()
|
http://www.ini.unizh.ch/~tobi/friend | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |