|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.acetate.Ring
public class Ring
Provides the x, y coordiante locations of a polygon feature.
Constructor Summary | |
---|---|
Ring()
Constructs an instance of a Ring object. |
Method Summary | |
---|---|
void |
addHoles(Hole obj)
Adds the given Hole object to the Ring object's Holes collection. |
void |
clearHoles()
Clears all Hole objects from the Holes collection. |
Hole |
getHole(int index)
Returns a Hole object at given index from the Holes collection. |
int |
getHolesCount()
Returns the count of Hole objects in the Holes collection. |
Points |
getPoints()
Returns the Point object associated with this Ring object. |
void |
removeHole(int index)
Removes a Hole object at given index from the Holes collection. |
void |
setPoints(Points object)
Sets the given points object to the Ring object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ring()
Ring ring = new Ring();
Method Detail |
---|
public void setPoints(Points object)
Point point = new Point();
point.setX(-125.00);
point.setY(45.0);
Points points = new Points();
points.addPointObject(point);
ring.setPoints(points);
object
- the Points object;getPoints()
public Points getPoints()
Points points = ring.getPoints();
setPoints(com.esri.aims.mtier.model.acetate.Points)
public void addHoles(Hole obj)
Point pnt = new Point();
pnt.setX(-125.00);
pnt.setY(45.0);
Points pnts = new Points();
pnts.addPointObject(pnt);
Hole hole = new Hole();
hole.setPoints(pnts);
ring.addHoles(hole);
obj
- the Hole object.getHole(int)
,
removeHole(int)
,
clearHoles()
public int getHolesCount()
int holesCount = Ring.getHolesCount();
public Hole getHole(int index)
Hole hole = ring.getHole(2);
index
- the item in the collection
addHoles(com.esri.aims.mtier.model.acetate.Hole)
public void removeHole(int index)
ring.removeHole(2);
index
- the item in the collectionclearHoles()
,
addHoles(com.esri.aims.mtier.model.acetate.Hole)
public void clearHoles()
ring.clearHoles();
removeHole(int)
,
addHoles(com.esri.aims.mtier.model.acetate.Hole)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |