org.geotools.geometry
Class GeometryFactoryFinder
java.lang.Object
org.geotools.factory.FactoryFinder
org.geotools.geometry.GeometryFactoryFinder
public class GeometryFactoryFinder
- extends FactoryFinder
Defines static methods used to access the application's default geometry factory implementations.
- Since:
- 2.5
- Version:
- $Id: GeometryFactoryFinder.java 30641 2008-06-12 17:42:27Z acuster $
- Author:
- Jody Garnett (Refractions Research)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrecision
public static org.opengis.geometry.Precision getPrecision(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getPositionFactory
public static org.opengis.geometry.PositionFactory getPositionFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getGeometryFactory
public static org.opengis.geometry.coordinate.GeometryFactory getGeometryFactory(Hints hints)
throws FactoryRegistryException
- An implementation of
GeometryFactory
for the provided crs.
- Parameters:
hints
- A set of hints that *must* include a Hints.CRS key
- Returns:
- a GeometryFactory set up to work with the indicated CRS
- Throws:
FactoryRegistryException
- if no implementation was found or can be created for the
GeometryFactory
interface.
getComplexFactory
public static org.opengis.geometry.complex.ComplexFactory getComplexFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getAggregateFactory
public static org.opengis.geometry.aggregate.AggregateFactory getAggregateFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getPrimitiveFactory
public static org.opengis.geometry.primitive.PrimitiveFactory getPrimitiveFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
Copyright © 1996-2010 Geotools. All Rights Reserved.