org.geotools.geometry.jts
Interface JTSGeometry

All Known Implementing Classes:
AggregateImpl, BoundaryImpl, ComplexBoundaryImpl, ComplexImpl, CompositeCurveImpl, CompositeImpl, CompositeSurfaceImpl, CurveBoundaryImpl, CurveImpl, GenericCurveImpl, GeometryImpl, LineSegmentImpl, LineStringImpl, MultiPointImpl, PointArrayImpl, PointImpl, PolygonImpl, PolyhedralSurfaceImpl, PrimitiveBoundaryImpl, RingImpl, SurfaceBoundaryImpl, SurfaceImpl, SurfacePatchImpl

public interface JTSGeometry

Interface implemented by the various geometry classes of LiteGO1 that allows a user to retrieve the equivalent JTS geometry. The coordinate reference system of the geometry is attached as the "userData" property of the returned JTS object.


Method Summary
 com.vividsolutions.jts.geom.Geometry getJTSGeometry()
          Retrieves the equivalent JTS geometry for this object.
 void invalidateCachedJTSPeer()
          This method is invoked to cause the JTS object to be recalculated the next time it is requested.
 

Method Detail

getJTSGeometry

com.vividsolutions.jts.geom.Geometry getJTSGeometry()
Retrieves the equivalent JTS geometry for this object. Note that this operation may be expensive if the geometry must be computed.


invalidateCachedJTSPeer

void invalidateCachedJTSPeer()
This method is invoked to cause the JTS object to be recalculated the next time it is requested. This method will be called by the underlying guts of the code when something has changed.



Copyright © 1996-2010 Geotools. All Rights Reserved.