org.geotools.data
Class GeometryBuilder

java.lang.Object
  extended byorg.geotools.data.GeometryBuilder

public class GeometryBuilder
extends java.lang.Object

This GeometryFactory contains additional information allowing for intergration with CoordinateReferenceSystem classes.

TODO: Andrea can you review and revise this class? It should declare reprojection to start with.

This class is a builder and thus is stateful, it has the same api calls as JTS Geometryfactory. You can use a subclass of this api to define you own transformations

Author:
Jody Garnett

Constructor Summary
GeometryBuilder()
           
 
Method Summary
 AbstractCRS getCoordinateReferenceSystem()
           
 com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
           
 void setCoordinateReferenceSystem(AbstractCRS coordinateReferenceSystem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryBuilder

public GeometryBuilder()
Method Detail

getGeometryFactory

public com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()

getCoordinateReferenceSystem

public AbstractCRS getCoordinateReferenceSystem()
Returns:
Returns the coordinateReferenceSystem.

setCoordinateReferenceSystem

public void setCoordinateReferenceSystem(AbstractCRS coordinateReferenceSystem)
Parameters:
coordinateReferenceSystem - The coordinateReferenceSystem to set.


Copyright © GeoTools. All Rights Reserved.