|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.model.spatialschema.CurveSegmentImpl
org.deegree.model.spatialschema.LineStringImpl
class LineStringImpl
default implementation of the LineString interface of package jago.model. ------------------------------------------------------------
Field Summary |
---|
Fields inherited from class org.deegree.model.spatialschema.CurveSegmentImpl |
---|
crs, points |
Constructor Summary | |
---|---|
LineStringImpl(Position[] gmps,
CoordinateSystem cs)
Creates a new LineStringImpl object. |
Method Summary | |
---|---|
Object |
clone()
returns a shallow copy of the geometry |
boolean |
contains(Geometry gmo)
The Boolean valued operation "contains" shall return TRUE if this Geometry contains another Geometry. |
LineString |
getAsLineString()
returns a reference to itself |
double |
getLength()
returns the length of the curve in units of the related spatial reference system |
boolean |
intersects(Geometry gmo)
The Boolean valued operation "intersects" shall return TRUE if this Geometry intersects another Geometry. |
Methods inherited from class org.deegree.model.spatialschema.CurveSegmentImpl |
---|
equals, getCoordinateSystem, getEndPoint, getNumberOfPoints, getPositionAt, getPositions, getStartPoint, reverse, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.model.spatialschema.CurveSegment |
---|
getCoordinateSystem, getNumberOfPoints, getPositionAt, getPositions, reverse |
Methods inherited from interface org.deegree.model.spatialschema.GenericCurve |
---|
getEndPoint, getStartPoint |
Constructor Detail |
---|
public LineStringImpl(Position[] gmps, CoordinateSystem cs) throws GeometryException
gmps
- cs
-
GeometryException
Method Detail |
---|
public Object clone()
clone
in class Object
public double getLength()
getLength
in interface GenericCurve
public LineString getAsLineString() throws GeometryException
getAsLineString
in interface GenericCurve
GeometryException
public boolean intersects(Geometry gmo)
intersects
in interface CurveSegment
public boolean contains(Geometry gmo)
contains
in interface CurveSegment
contains
in class CurveSegmentImpl
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net