|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.cutruzzula.lgml.geometry.AbstractGeometry
it.cutruzzula.lgml.geometry.LineString
public class LineString
The class represents a LINESTRING object.
| Constructor Summary | |
|---|---|
LineString(java.util.List<Point> points,
int srsDimension)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
asWKT()
Method to get the WKT form of this line-string object. |
java.util.List<Point> |
getPoints()
Method to get the list of points. |
java.lang.String |
getType()
Method to get the geometry type. |
| Methods inherited from class it.cutruzzula.lgml.geometry.AbstractGeometry |
|---|
getSrsDimension, getSrsName, setSrsName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineString(java.util.List<Point> points,
int srsDimension)
throws java.lang.Exception
points - A java.util.List of Point objectssrsDimension - The number of dimensions
A - generic exception if dimensions are not homogeneous
java.lang.Exception| Method Detail |
|---|
public java.util.List<Point> getPoints()
public java.lang.String asWKT()
asWKT in class AbstractGeometrypublic java.lang.String getType()
getType in class AbstractGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||