FDO .NET API Reference Feature Data Objects
OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometry ( OSGeo::FDO::Geometry::IGeometry geometry  ) 

Creates a Geometry object by copying from another Geometry.

Remarks:
This is a pseudo-copy-constructor. It is required that any implementation use only public methods on the underlying Geometry object, thus enabling conversion from Geometries of the same, or any other, implementation of this Geometry package. Thus, this implementation creates FGF-based Geometry objects based on any implementation of the Geometry API.
Parameters:
geometry Input Source geometry
Returns:
Returns an instance of IGeometry

Reimplemented from OSGeo::FDO::Geometry::GeometryFactoryAbstract.


Comments or suggestions? Send us feedback.