|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.geom.Line
| Field Summary |
| Fields inherited from interface com.moximedia.ows.types.GeometryType |
GEOMETRY_TYPE_COLLECTION, GEOMETRY_TYPE_ENVELOPE, GEOMETRY_TYPE_LINE, GEOMETRY_TYPE_MULTILINE, GEOMETRY_TYPE_MULTIPOINT, GEOMETRY_TYPE_MULTIPOLYGON, GEOMETRY_TYPE_POINT, GEOMETRY_TYPE_POLYGON, GEOMETRY_TYPE_UNKNOWN |
| Constructor Summary | |
Line()
Creates new Line |
|
Line(com.vividsolutions.jts.geom.Point[] points)
Creates a new Line object from a com.vividsolutions.jts.geom.Point array. |
|
Line(Points pts)
Creates a new Line object using a Points object. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a clone of this object. |
Point |
getClosestPointTo(Point pt)
Gets the closest vertex in this object to the specified point. |
Line |
getCopy()
Creates a copy of this object. |
Envelope |
getExtent()
|
int |
getGeometryType()
Returns the geometry type of this geometry. |
java.lang.String |
getGid()
|
Points |
getPoints()
|
boolean |
intersects(Geometry geometry)
|
boolean |
isGeometryType(int geometryType)
Compares a geometry type with another value. |
boolean |
isValid()
Returns an indicator of whether this shape is valid. |
Geometry |
project(Projection projection)
|
Geometry |
project(Projection fromProjection,
Projection toProjection)
|
void |
setPoints(Points pts)
|
void |
setSrs(java.lang.String srs)
|
void |
setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
|
java.awt.geom.GeneralPath |
toGeneralPath()
|
java.lang.String |
toGmlString()
|
com.vividsolutions.jts.geom.Geometry |
toJtsGeometry()
|
java.lang.String |
toWktString()
Returns the well known string representation of this object. |
Geometry |
unproject(Projection projection)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Line()
public Line(Points pts)
pts - A Points object.public Line(com.vividsolutions.jts.geom.Point[] points)
points - A com.vividsolutions.jts.geom.Point array.| Method Detail |
public java.lang.Object clone()
clone in interface Geometrypublic Line getCopy()
public Envelope getExtent()
getExtent in interface Geometrypublic int getGeometryType()
getGeometryType in interface Geometrypublic boolean intersects(Geometry geometry)
intersects in interface Geometrypublic boolean isGeometryType(int geometryType)
isGeometryType in interface GeometrygeometryType - An enumerated value.
public java.lang.String getGid()
public Points getPoints()
public void setPoints(Points pts)
public void setSrs(java.lang.String srs)
setSrs in interface Geometrypublic java.awt.geom.GeneralPath toGeneralPath()
public java.lang.String toGmlString()
toGmlString in interface Geometrypublic com.vividsolutions.jts.geom.Geometry toJtsGeometry()
toJtsGeometry in interface Geometry
public void setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
setXmlAttribute in interface Geometry
public Geometry project(Projection fromProjection,
Projection toProjection)
project in interface Geometrypublic Geometry project(Projection projection)
project in interface Geometrypublic Geometry unproject(Projection projection)
unproject in interface Geometrypublic boolean isValid()
isValid in interface Geometrypublic Point getClosestPointTo(Point pt)
getClosestPointTo in interface Geometrypt - The point to compare the vertexes to.
public java.lang.String toWktString()
toWktString in interface Geometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||