|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.jts.spatialschema.geometry.primitive.PrimitiveFactoryImpl
public class PrimitiveFactoryImpl
Factory that knows how to create instances of the 19107 primitives as implemented in LiteGO1.
Constructor Summary | |
---|---|
PrimitiveFactoryImpl()
DOCUMENT ME |
|
PrimitiveFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
DOCUMENT ME |
Method Summary | |
---|---|
org.opengis.geometry.primitive.Curve |
createCurve(java.util.List<org.opengis.geometry.primitive.CurveSegment> segments)
Takes a list of with the appropriate end-to-start relationships and creates a . |
org.opengis.geometry.DirectPosition |
createDirectPosition(double[] coordinates)
Create a direct position at the specified location specified by coordinates. |
org.opengis.geometry.primitive.Point |
createPoint(double[] coordinates)
Creates a point at the specified location specified by coordinates. |
org.opengis.geometry.primitive.Point |
createPoint(org.opengis.geometry.coordinate.Position position)
Creates a point at the specified position. |
org.opengis.geometry.coordinate.PolyhedralSurface |
createPolyhedralSurface(java.util.List<org.opengis.geometry.coordinate.Polygon> patches)
|
org.opengis.geometry.primitive.Primitive |
createPrimitive(org.opengis.geometry.Envelope envelope)
Not implemented. |
org.opengis.geometry.primitive.Ring |
createRing(java.util.List curves)
|
org.opengis.geometry.primitive.Solid |
createSolid(org.opengis.geometry.primitive.SolidBoundary boundary)
Constructs a by indicating its boundary as a collection of organized into a . |
org.opengis.geometry.primitive.Surface |
createSurface(java.util.List<org.opengis.geometry.primitive.SurfacePatch> patches)
Creates a new Surface. |
org.opengis.geometry.primitive.Surface |
createSurface(org.opengis.geometry.primitive.SurfaceBoundary boundary)
|
org.opengis.geometry.primitive.SurfaceBoundary |
createSurfaceBoundary(org.opengis.geometry.primitive.Ring exterior,
java.util.List interiors)
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCoordinateReferenceSystem()
Returns the coordinate reference system in use for all geometric objects to be created through this interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrimitiveFactoryImpl()
public PrimitiveFactoryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
crs
- Method Detail |
---|
public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
getCoordinateReferenceSystem
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.primitive.Primitive createPrimitive(org.opengis.geometry.Envelope envelope)
createPrimitive
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.DirectPosition createDirectPosition(double[] coordinates)
coordinates
-
public org.opengis.geometry.primitive.Point createPoint(double[] coordinates)
createPoint
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.primitive.Point createPoint(org.opengis.geometry.coordinate.Position position)
createPoint
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.primitive.Curve createCurve(java.util.List<org.opengis.geometry.primitive.CurveSegment> segments)
createCurve
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.primitive.Surface createSurface(java.util.List<org.opengis.geometry.primitive.SurfacePatch> patches)
createSurface
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.primitive.Surface createSurface(org.opengis.geometry.primitive.SurfaceBoundary boundary)
createSurface
in interface org.opengis.geometry.primitive.PrimitiveFactory
PrimitiveFactory.createSurface(org.opengis.geometry.primitive.SurfaceBoundary)
public org.opengis.geometry.primitive.SurfaceBoundary createSurfaceBoundary(org.opengis.geometry.primitive.Ring exterior, java.util.List interiors) throws org.opengis.geometry.MismatchedReferenceSystemException, org.opengis.geometry.MismatchedDimensionException
createSurfaceBoundary
in interface org.opengis.geometry.primitive.PrimitiveFactory
org.opengis.geometry.MismatchedReferenceSystemException
org.opengis.geometry.MismatchedDimensionException
PrimitiveFactory.createSurfaceBoundary(org.opengis.geometry.primitive.Ring, java.util.List)
public org.opengis.geometry.primitive.Solid createSolid(org.opengis.geometry.primitive.SolidBoundary boundary)
createSolid
in interface org.opengis.geometry.primitive.PrimitiveFactory
boundary
-
Solid
based on the given boundary
public org.opengis.geometry.primitive.Ring createRing(java.util.List curves)
createRing
in interface org.opengis.geometry.primitive.PrimitiveFactory
public org.opengis.geometry.coordinate.PolyhedralSurface createPolyhedralSurface(java.util.List<org.opengis.geometry.coordinate.Polygon> patches) throws org.opengis.geometry.MismatchedReferenceSystemException, org.opengis.geometry.MismatchedDimensionException
org.opengis.geometry.MismatchedReferenceSystemException
org.opengis.geometry.MismatchedDimensionException
org.opengis.geometry.coordinate.Factory#createPolyhedralSurface(java.util.List)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |