|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.util.CompositeViewRegionUpdateInfo
This class is useful for translations of bounding boxes from
coordinatesystem-space to boundingbox (view)-space and vice versa. This
functionality is used by the classes SwingGraphPanel and
NavigatorPanel in the gui-package.
| Constructor Summary | |
CompositeViewRegionUpdateInfo(Boundary regionInCoordinateSystemSpace,
Boundary regionInBoundingBoxSpace)
Constructor specifying a boundary in CoordinateSystem-space
and one in BoundingBox-space. |
|
CompositeViewRegionUpdateInfo(Boundary regionInCoordinateSystemSpace,
Boundary regionInBoundingBoxSpace,
boolean coordinateSystemChanged)
Constructor specifying a boundary in CoordinateSystem-space
and one in BoundingBox-space. |
|
| Method Summary | |
Boundary |
getRegionInBoundingBoxSpace()
Returns a Boundary for the region in boundingbox-space. |
Boundary |
getRegionInCoordinateSystemSpace()
Returns a Boundary for the region in coordinatesystem-space. |
boolean |
hasCoordinateSystemChanged()
Indicating whether the CoordinateSystem changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompositeViewRegionUpdateInfo(Boundary regionInCoordinateSystemSpace,
Boundary regionInBoundingBoxSpace)
CoordinateSystem-space
and one in BoundingBox-space.
regionInCoordinateSystemSpace - a Boundary in
coordinatesystem-space.regionInBoundingBoxSpace - a Boundary in
boundingbox (view)-space.
public CompositeViewRegionUpdateInfo(Boundary regionInCoordinateSystemSpace,
Boundary regionInBoundingBoxSpace,
boolean coordinateSystemChanged)
CoordinateSystem-space
and one in BoundingBox-space.
regionInCoordinateSystemSpace - a Boundary in
coordinatesystem-space.regionInBoundingBoxSpace - a Boundary in
boundingbox (view)-space.coordinateSystemChanged - indicates whether the
CoordinateSystem has changed.| Method Detail |
public Boundary getRegionInCoordinateSystemSpace()
Boundary for the region in coordinatesystem-space.
Boundary for the region in coordinatesystem-space.public Boundary getRegionInBoundingBoxSpace()
Boundary for the region in boundingbox-space.
Boundary for the region in boundingbox-space.public boolean hasCoordinateSystemChanged()
CoordinateSystem changed.
CoordinateSystem changed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||