|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.map.layer.query.Geometry
public class Geometry
Contains a collection of points associated with a given recordset. The Geometry object also contains methods for creating Line, Polygon, and Ring objects.
Constructor Summary | |
---|---|
Geometry()
Constructs an instance of a Geometry object. |
Method Summary | |
---|---|
Line |
createLine(Points object)
Returns a line object created by the given Parts object. |
Polygon |
createPolygonObject(Ring object)
Returns a Polygon object created by the given Parts object. |
Ring |
createRing(Points object)
Returns a Parts object created by the given Points object. |
Point |
getPointObject(int index)
Returns a Point object at given index from a Points collection. |
Points |
getPoints()
Returns a Points collection object containing all geometry points. |
void |
setPoints(Points object)
Sets the given Points collection object containing all geometry points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Geometry()
Geometry geometry = new Geometry();
Method Detail |
---|
public Point getPointObject(int index)
Point point = geometry.getPointObject(2);
index
- Point object to return.
public Points getPoints()
Points points = geometry.getPoints();
setPoints(com.esri.aims.mtier.model.acetate.Points)
public void setPoints(Points object)
Points points = new Points();
geometry.setPoints(points);
object
- the Points collection object.getPoints()
public Ring createRing(Points object)
Ring ring = geometry.createRing(geometry.getPoints());
object
- the Points object to create the Ring from.
createPolygonObject(com.esri.aims.mtier.model.acetate.Ring)
,
createLine(com.esri.aims.mtier.model.acetate.Points)
public Polygon createPolygonObject(Ring object)
Ring ring = geometry.createRing(geometry.getPoints());
Polygon polygon = geometry.createPolygonObject(ring);
object
- the Ring object to create the Polygon Object from.
public Line createLine(Points object)
Line line = geometry.createLine(geometry.getPoints());
object
- the Points object to create the Line object from.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |