FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Geometry::FgfGeometryFactory Class Reference

Inherits OSGeo::FDO::Geometry::GeometryFactoryAbstract.

Inheritance diagram for OSGeo::FDO::Geometry::FgfGeometryFactory:

[legend]
List of all members.

Detailed Description

The FgfGeometryFactory class is an FGF-based Geometry factory, a concrete class that implements all the members from GeometryFactoryAbstract.


Public Member Functions

OSGeo::FDO::Geometry::ICircularArcSegmentCreateCircularArcSegment (OSGeo::FDO::Geometry::IDirectPosition *startPosition, OSGeo::FDO::Geometry::IDirectPosition *midPosition, OSGeo::FDO::Geometry::IDirectPosition *endPosition)
 CircularArcSegment Creates a CircularArcSegment object by copying from three points on the arc.
OSGeo::FDO::Geometry::ICurvePolygonCreateCurvePolygon (OSGeo::FDO::Geometry::IRing *exteriorRing, OSGeo::FDO::Geometry::RingCollection *interiorRings)
 CurvePolygon Creates a CurvePolygon object by copying from given ring objects.
OSGeo::FDO::Geometry::ICurveStringCreateCurveString (OSGeo::FDO::Geometry::CurveSegmentCollection *curveSegments)
 CurveString Creates a CurveString object by copying from a collection of CurveSegment objects.
OSGeo::FDO::Geometry::IGeometryCreateGeometry (OSGeo::FDO::Geometry::IEnvelope *envelope)
 Creates a Geometry object by converting from an envelope.
OSGeo::FDO::Geometry::IGeometryCreateGeometry (System::String *text)
 Creates a Geometry object by converting from a text string.
OSGeo::FDO::Geometry::IGeometryCreateGeometry (OSGeo::FDO::Geometry::IGeometry *geometry)
 Creates a Geometry object by copying from another Geometry.
OSGeo::FDO::Geometry::IGeometryCreateGeometryFromFgf (System::Byte bytes[], Int32 count)
 Creates a Geometry from FGF data.
OSGeo::FDO::Geometry::IGeometryCreateGeometryFromFgf (System::Byte bytes[])
 Creates a Geometry from FGF data.
OSGeo::FDO::Geometry::IGeometryCreateGeometryFromWkb (System::Byte bytes[])
 Creates an FGF-based Geometry from OpenGIS WKB data.
OSGeo::FDO::Geometry::ILinearRingCreateLinearRing (System::Int32 dimensionality, System::Int32 ordinateNumber, System::Double ordinates[])
 Creates a LinearRing object by copying from an array of ordinates.
OSGeo::FDO::Geometry::ILinearRingCreateLinearRing (OSGeo::FDO::Geometry::DirectPositionCollection *positions)
 LinearRing Creates a LinearRing object by copying from a collection of positions.
OSGeo::FDO::Geometry::ILineStringCreateLineString (System::Int32 dimensionType, System::Int32 ordinateNumber, System::Double ordinates[])
 Creates a LineString object by copying from an array of ordinates.
OSGeo::FDO::Geometry::ILineStringCreateLineString (OSGeo::FDO::Geometry::DirectPositionCollection *positions)
 Methods from GeometryFactoryAbstract Creates a LineString object by copying from a collection of positions.
OSGeo::FDO::Geometry::ILineStringSegmentCreateLineStringSegment (System::Int32 dimType, System::Int32 ordinateNumber, System::Double ordinates[])
 Creates a LineStringSegment object by copying from an array of ordinates.
OSGeo::FDO::Geometry::ILineStringSegmentCreateLineStringSegment (OSGeo::FDO::Geometry::DirectPositionCollection *positions)
 LineStringSegment Creates a LineStringSegment object by copying from a collection of positions.
OSGeo::FDO::Geometry::IMultiCurvePolygonCreateMultiCurvePolygon (OSGeo::FDO::Geometry::CurvePolygonCollection *curvePolygons)
 MultiCurvePolygon Creates a MultiCurvePolygon object by copying from a collection of CurvePolygon objects.
OSGeo::FDO::Geometry::IMultiCurveStringCreateMultiCurveString (OSGeo::FDO::Geometry::CurveStringCollection *curveStrings)
 MultiCurveString Creates a MultiCurveString object by copying from a collection of CurveString objects.
OSGeo::FDO::Geometry::IMultiGeometryCreateMultiGeometry (OSGeo::FDO::Geometry::GeometryCollection *geometries)
 MultiGeometry Creates a MultiGeometry object by copying from a collection of Geometry objects.
OSGeo::FDO::Geometry::IMultiLineStringCreateMultiLineString (OSGeo::FDO::Geometry::LineStringCollection *lineStrings)
 MultiLineString Creates a MultiLineString object by copying from a collection of LineString objects.
OSGeo::FDO::Geometry::IMultiPointCreateMultiPoint (System::Int32 dimensionality, System::Int32 ordinateNumber, System::Double ordinates[])
 Creates a MultiPoint object by copying from an array of ordinates.
OSGeo::FDO::Geometry::IMultiPointCreateMultiPoint (OSGeo::FDO::Geometry::PointCollection *points)
 MultiPoint Creates a MultiPoint object by copying from a collection of point objects.
OSGeo::FDO::Geometry::IMultiPolygonCreateMultiPolygon (OSGeo::FDO::Geometry::PolygonCollection *polygons)
 Creates a MultiPolygon object by copying from a collection of polygon objects.
OSGeo::FDO::Geometry::IPointCreatePoint (System::Int32 dimensionality, System::Double ordinates[])
 Creates an point object by copying from an array of ordinates.
OSGeo::FDO::Geometry::IPointCreatePoint (OSGeo::FDO::Geometry::IDirectPosition *position)
 Point Creates a point object by copying from a position.
OSGeo::FDO::Geometry::IPolygonCreatePolygon (OSGeo::FDO::Geometry::ILinearRing *exteriorRing, OSGeo::FDO::Geometry::LinearRingCollection *interiorRings)
 Polygon Creates a polygon object by copying from given LinearRing objects.
OSGeo::FDO::Geometry::IRingCreateRing (OSGeo::FDO::Geometry::CurveSegmentCollection *curveSegments)
 Ring Creates a ring object by copying from a collection of CurveSegment objects.
 FgfGeometryFactory ()
 Instantiates an FgfGeometryFactory object.
 FgfGeometryFactory (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs an FgfGeometryFactory based on an unmanaged instance of the object.
System::Byte GetFgf (OSGeo::FDO::Geometry::IGeometry *geometry)[]
 Gets FGF data from a Geometry.
System::Byte GetWkb (OSGeo::FDO::Geometry::IGeometry *geometry)[]
 Gets OpenGIS WKB data from a Geometry.

Constructor & Destructor Documentation

OSGeo::FDO::Geometry::FgfGeometryFactory::FgfGeometryFactory System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs an FgfGeometryFactory based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

OSGeo::FDO::Geometry::FgfGeometryFactory::FgfGeometryFactory  ) 
 

Instantiates an FgfGeometryFactory object.


Member Function Documentation

OSGeo ::FDO ::Geometry ::ICircularArcSegment* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateCircularArcSegment OSGeo::FDO::Geometry::IDirectPosition startPosition,
OSGeo::FDO::Geometry::IDirectPosition midPosition,
OSGeo::FDO::Geometry::IDirectPosition endPosition
 

CircularArcSegment Creates a CircularArcSegment object by copying from three points on the arc.

Parameters:
startPosition Input starting position of the arc
midPosition Input a position on the arc, and not equal to the starting or ending positions
endPosition Input ending position of the arc
Returns:
Returns a CircularArcSegment

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

OSGeo ::FDO ::Geometry ::ICurvePolygon* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateCurvePolygon OSGeo::FDO::Geometry::IRing exteriorRing,
OSGeo::FDO::Geometry::RingCollection interiorRings
 

CurvePolygon Creates a CurvePolygon object by copying from given ring objects.

Parameters:
exteriorRing Input exterior ring to copy
interiorRings Input collection of interior rings to copy
Returns:
Returns a CurvePolygon

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

OSGeo ::FDO ::Geometry ::ICurveString* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateCurveString OSGeo::FDO::Geometry::CurveSegmentCollection curveSegments  ) 
 

CurveString Creates a CurveString object by copying from a collection of CurveSegment objects.

Parameters:
curveSegments Input collection of CurveSegment objects to copy
Returns:
Returns a CurveString

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

OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometry OSGeo::FDO::Geometry::IEnvelope envelope  ) 
 

Creates a Geometry object by converting from an envelope.

Remarks:
This method will produce a new FGF-based Geometry based on the given envelope.
Parameters:
envelope Input Source envelope
Returns:
Returns a geometry

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

OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometry System::String *  text  ) 
 

Creates a Geometry object by converting from a text string.

Parameters:
text Input Source geometry
Returns:
Returns an instance of IGeometry

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

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.

OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometryFromFgf System::Byte  bytes[],
Int32  count
 

Creates a Geometry from FGF data.

Parameters:
bytes Input FGF data that defines the Geometry. The caller must guarantee the validity of the array for the lifetime of the associated geometry object.
count Input Number of bytes of FGF data.
Returns:
Returns an instance of IGeometry

OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometryFromFgf System::Byte  bytes[]  ) 
 

Creates a Geometry from FGF data.

Parameters:
bytes Input FGF data that defines the Geometry.
Returns:
Returns an instance of IGeometry

OSGeo ::FDO ::Geometry ::IGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateGeometryFromWkb System::Byte  bytes[]  ) 
 

Creates an FGF-based Geometry from OpenGIS WKB data.

Parameters:
bytes Input WKB data that defines the Geometry.
Returns:
Returns a Geometry

OSGeo ::FDO ::Geometry ::ILinearRing* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLinearRing System::Int32  dimensionality,
System::Int32  ordinateNumber,
System::Double  ordinates[]
 

Creates a LinearRing object by copying from an array of ordinates.

Remarks:
The ordinates representing the first and last positions must be equal.
Parameters:
dimensionality Input dimensionality of the ordinates (see Dimensionality)
ordinateNumber Input total number of ordinates in the array
ordinates Input ordinate array representing positions
Returns:
Returns a LinearRing

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

OSGeo ::FDO ::Geometry ::ILinearRing* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLinearRing OSGeo::FDO::Geometry::DirectPositionCollection positions  ) 
 

LinearRing Creates a LinearRing object by copying from a collection of positions.

Remarks:
The first and last positions must be equal.
Parameters:
positions Input collection of positions to copy
Returns:
Returns a LinearRing

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

OSGeo ::FDO ::Geometry ::ILineString* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLineString System::Int32  dimensionType,
System::Int32  ordinateNumber,
System::Double  ordinates[]
 

Creates a LineString object by copying from an array of ordinates.

Parameters:
dimensionType Input dimensionality of the ordinates (see Dimensionality)
ordinateNumber Input total number of ordinates in the array
ordinates Input ordinate array representing positions
Returns:
Returns a LineString

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

OSGeo ::FDO ::Geometry ::ILineString* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLineString OSGeo::FDO::Geometry::DirectPositionCollection positions  ) 
 

Methods from GeometryFactoryAbstract Creates a LineString object by copying from a collection of positions.

Parameters:
positions Input collection of positions to copy
Returns:
Returns a LineString

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

OSGeo ::FDO ::Geometry ::ILineStringSegment* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLineStringSegment System::Int32  dimType,
System::Int32  ordinateNumber,
System::Double  ordinates[]
 

Creates a LineStringSegment object by copying from an array of ordinates.

Parameters:
dimType Input dimensionality of the ordinates (see Dimensionality)
ordinateNumber Input total number of ordinates in the array
ordinates Input ordinate array representing positions
Returns:
Returns a LineStringSegment

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

OSGeo ::FDO ::Geometry ::ILineStringSegment* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateLineStringSegment OSGeo::FDO::Geometry::DirectPositionCollection positions  ) 
 

LineStringSegment Creates a LineStringSegment object by copying from a collection of positions.

Parameters:
positions Input collection of positions to copy
Returns:
Returns a LineStringSegment

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

OSGeo ::FDO ::Geometry ::IMultiCurvePolygon* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiCurvePolygon OSGeo::FDO::Geometry::CurvePolygonCollection curvePolygons  ) 
 

MultiCurvePolygon Creates a MultiCurvePolygon object by copying from a collection of CurvePolygon objects.

Parameters:
curvePolygons Input collection of CurvePolygon objects to copy
Returns:
Returns a MultiCurvePolygon

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

OSGeo ::FDO ::Geometry ::IMultiCurveString* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiCurveString OSGeo::FDO::Geometry::CurveStringCollection curveStrings  ) 
 

MultiCurveString Creates a MultiCurveString object by copying from a collection of CurveString objects.

Parameters:
curveStrings Input collection of CurveString objects to copy
Returns:
Returns a MultiCurveString

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

OSGeo ::FDO ::Geometry ::IMultiGeometry* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiGeometry OSGeo::FDO::Geometry::GeometryCollection geometries  ) 
 

MultiGeometry Creates a MultiGeometry object by copying from a collection of Geometry objects.

Parameters:
geometries Input collection of Geometry objects to copy
Returns:
Returns a MultiGeometry

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

OSGeo ::FDO ::Geometry ::IMultiLineString* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiLineString OSGeo::FDO::Geometry::LineStringCollection lineStrings  ) 
 

MultiLineString Creates a MultiLineString object by copying from a collection of LineString objects.

Parameters:
lineStrings Input collection of LineString objects to copy
Returns:
Returns a MultiLineString

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

OSGeo ::FDO ::Geometry ::IMultiPoint* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiPoint System::Int32  dimensionality,
System::Int32  ordinateNumber,
System::Double  ordinates[]
 

Creates a MultiPoint object by copying from an array of ordinates.

Parameters:
dimensionality Input dimensionality of the ordinates (see Dimensionality)
ordinateNumber Input total number of ordinates in the array
ordinates Input ordinate array representing positions
Returns:
Returns a MultiPoint

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

OSGeo ::FDO ::Geometry ::IMultiPoint* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiPoint OSGeo::FDO::Geometry::PointCollection points  ) 
 

MultiPoint Creates a MultiPoint object by copying from a collection of point objects.

Parameters:
points Input collection of point objects to copy
Returns:
Returns a MultiPoint

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

OSGeo ::FDO ::Geometry ::IMultiPolygon* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateMultiPolygon OSGeo::FDO::Geometry::PolygonCollection polygons  ) 
 

Creates a MultiPolygon object by copying from a collection of polygon objects.

Parameters:
polygons Input collection of polygon objects to copy
Returns:
Returns a MultiPolygon

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

OSGeo ::FDO ::Geometry ::IPoint* OSGeo::FDO::Geometry::FgfGeometryFactory::CreatePoint System::Int32  dimensionality,
System::Double  ordinates[]
 

Creates an point object by copying from an array of ordinates.

Parameters:
dimensionality Input dimensionality of the ordinates (see Dimensionality)
ordinates Input ordinate array representing one position
Returns:
Returns a point

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

OSGeo ::FDO ::Geometry ::IPoint* OSGeo::FDO::Geometry::FgfGeometryFactory::CreatePoint OSGeo::FDO::Geometry::IDirectPosition position  ) 
 

Point Creates a point object by copying from a position.

Parameters:
position Input position to copy
Returns:
Returns a point

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

OSGeo ::FDO ::Geometry ::IPolygon* OSGeo::FDO::Geometry::FgfGeometryFactory::CreatePolygon OSGeo::FDO::Geometry::ILinearRing exteriorRing,
OSGeo::FDO::Geometry::LinearRingCollection interiorRings
 

Polygon Creates a polygon object by copying from given LinearRing objects.

Parameters:
exteriorRing Input exterior ring to copy
interiorRings Input collection of interior rings to copy
Returns:
Returns a polygon

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

OSGeo ::FDO ::Geometry ::IRing* OSGeo::FDO::Geometry::FgfGeometryFactory::CreateRing OSGeo::FDO::Geometry::CurveSegmentCollection curveSegments  ) 
 

Ring Creates a ring object by copying from a collection of CurveSegment objects.

Parameters:
curveSegments Input collection of CurveSegment objects to copy
Returns:
Returns a Ring

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

System::Byte OSGeo::FDO::Geometry::FgfGeometryFactory::GetFgf OSGeo::FDO::Geometry::IGeometry geometry  ) 
 

Gets FGF data from a Geometry.

Parameters:
geometry Input a Geometry, which must be FGF-based
Returns:
Returns FGF data representing the Geometry

System::Byte OSGeo::FDO::Geometry::FgfGeometryFactory::GetWkb OSGeo::FDO::Geometry::IGeometry geometry  ) 
 

Gets OpenGIS WKB data from a Geometry.

Parameters:
geometry Input a Geometry, which must be FGF-based
Returns:
Returns WKB data representing the Geometry

Comments or suggestions? Send us feedback.