|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.iso.PositionFactoryImpl
public class PositionFactoryImpl
Default implementation of PositionFactory that stores contents using double.
You should be aware of the following:
Constructor Summary | |
---|---|
PositionFactoryImpl()
This is just here so FactorySPI can find us. |
|
PositionFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
|
|
PositionFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
org.opengis.geometry.Precision precision)
|
|
PositionFactoryImpl(Hints hints)
This is the constructor used by GeometryFactoryFinder when a user requests a new instance. |
Method Summary | |
---|---|
org.opengis.geometry.DirectPosition |
createDirectPosition(double[] coords)
|
PointArrayImpl |
createPointArray()
|
DoublePointArray |
createPointArray(double[] array,
int start,
int end)
|
org.opengis.geometry.coordinate.PointArray |
createPointArray(float[] array,
int start,
int end)
|
org.opengis.geometry.coordinate.Position |
createPosition(org.opengis.geometry.coordinate.Position position)
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCoordinateReferenceSystem()
|
java.util.Map |
getImplementationHints()
Report back to FactoryRegistry about our configuration. |
org.opengis.geometry.Precision |
getPrecision()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PositionFactoryImpl()
public PositionFactoryImpl(Hints hints)
hints
- Hints (must include CRS and PRECISION)public PositionFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
public PositionFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, org.opengis.geometry.Precision precision)
Method Detail |
---|
public java.util.Map getImplementationHints()
FactoryRegistry will check to make sure that there are no duplicates created (so there will be only a "single" PositionFactory created with this configuration).
getImplementationHints
in interface Factory
public org.opengis.geometry.DirectPosition createDirectPosition(double[] coords) throws org.opengis.geometry.MismatchedDimensionException
createDirectPosition
in interface org.opengis.geometry.PositionFactory
org.opengis.geometry.MismatchedDimensionException
public org.opengis.geometry.coordinate.Position createPosition(org.opengis.geometry.coordinate.Position position)
createPosition
in interface org.opengis.geometry.PositionFactory
public PointArrayImpl createPointArray()
createPointArray
in interface org.opengis.geometry.PositionFactory
public DoublePointArray createPointArray(double[] array, int start, int end)
createPointArray
in interface org.opengis.geometry.PositionFactory
public org.opengis.geometry.coordinate.PointArray createPointArray(float[] array, int start, int end)
createPointArray
in interface org.opengis.geometry.PositionFactory
public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
getCoordinateReferenceSystem
in interface org.opengis.geometry.PositionFactory
public org.opengis.geometry.Precision getPrecision()
getPrecision
in interface org.opengis.geometry.PositionFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |