org.geotools.geometry
Class GeometryFactoryFinder
Object
FactoryFinder
GeometryFactoryFinder
public class GeometryFactoryFinder
- extends FactoryFinder
Defines static methods used to access the application's default geometry factory implementations.
- Since:
- 2.5
- Author:
- Jody Garnett (Refractions Research)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPrecision
public static Precision getPrecision(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getPositionFactory
public static PositionFactory getPositionFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getGeometryFactory
public static 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 ComplexFactory getComplexFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getAggregateFactory
public static AggregateFactory getAggregateFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
getPrimitiveFactory
public static PrimitiveFactory getPrimitiveFactory(Hints hints)
throws FactoryRegistryException
- Throws:
FactoryRegistryException
Copyright © 1996-2014 Geotools. All Rights Reserved.