|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.ZLocator | +--edu.umd.cs.jazz.ZBoundsLocator
ZBoundsLocator is used to locate a points on the bounds of a scene graph object in the coordinate system of that scene graph object.
Constructor Summary | |
protected |
ZBoundsLocator(ZSceneGraphObject aSceneGraphObject, int aSide) ZBoundsLocators should be created using the provided static factory methodes. |
Method Summary | |
static ZBoundsLocator |
createEastLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the east side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createNorthEastLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the north east side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createNorthLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the north side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createNorthWestLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the north west side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createSouthEastLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the south east side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createSouthLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the south side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createSouthWestLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the south west side of the aSceneGraphObject parameter. |
static ZBoundsLocator |
createWestLocator(ZSceneGraphObject aSceneGraphObject) Create and return a new locator on the west side of the aSceneGraphObject parameter. |
double |
getX() Return the x coord of the located point. |
double |
getY() Return the y coord of the located point. |
Methods inherited from class edu.umd.cs.jazz.ZLocator |
getNormal, getPoint, getSceneGraphObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ZBoundsLocator(ZSceneGraphObject aSceneGraphObject, int aSide)
Method Detail |
public double getX()
getX
in class ZLocator
public double getY()
getY
in class ZLocator
public static ZBoundsLocator createEastLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createNorthEastLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createNorthWestLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createNorthLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createSouthLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createWestLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createSouthWestLocator(ZSceneGraphObject aSceneGraphObject)
public static ZBoundsLocator createSouthEastLocator(ZSceneGraphObject aSceneGraphObject)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |