Table of Contents

Class OgcCompliantGeometryFactory

Namespace
NetTopologySuite.Geometries
Assembly
NetTopologySuite.dll

OGC compliant geometry factory

[Obsolete("Use GeometryFactoryEx with OrientationOfExteriorRing = CCW")]
public class OgcCompliantGeometryFactory : GeometryFactory
Inheritance
OgcCompliantGeometryFactory
Inherited Members

Constructors

OgcCompliantGeometryFactory()

Creates an instance of this class using the default values for SRID, PrecisionModel and CoordinateSequenceFactory.

public OgcCompliantGeometryFactory()

OgcCompliantGeometryFactory(CoordinateSequenceFactory)

Creates an instance of this class using the default values for SRID, PrecisionModel, but the specified factory.

public OgcCompliantGeometryFactory(CoordinateSequenceFactory factory)

Parameters

factory CoordinateSequenceFactory

OgcCompliantGeometryFactory(PrecisionModel)

public OgcCompliantGeometryFactory(PrecisionModel pm)

Parameters

pm PrecisionModel

OgcCompliantGeometryFactory(PrecisionModel, int)

public OgcCompliantGeometryFactory(PrecisionModel pm, int srid)

Parameters

pm PrecisionModel
srid int

OgcCompliantGeometryFactory(PrecisionModel, int, CoordinateSequenceFactory)

public OgcCompliantGeometryFactory(PrecisionModel pm, int srid, CoordinateSequenceFactory factory)

Parameters

pm PrecisionModel
srid int
factory CoordinateSequenceFactory

Methods

CreatePolygon(CoordinateSequence)

public override Polygon CreatePolygon(CoordinateSequence coordinates)

Parameters

coordinates CoordinateSequence

Returns

Polygon

Remarks

The ExteriorRing is guaranteed to be orientated counter-clockwise.

CreatePolygon(Coordinate[])

public override Polygon CreatePolygon(Coordinate[] coordinates)

Parameters

coordinates Coordinate[]

Returns

Polygon

Remarks

The ExteriorRing is guaranteed to be orientated counter-clockwise.

CreatePolygon(LinearRing)

public override Polygon CreatePolygon(LinearRing shell)

Parameters

shell LinearRing

Returns

Polygon

Remarks

The ExteriorRing is guaranteed to be orientated counter-clockwise.

CreatePolygon(LinearRing, LinearRing[])

public override Polygon CreatePolygon(LinearRing shell, LinearRing[] holes)

Parameters

shell LinearRing
holes LinearRing[]

Returns

Polygon

Remarks

The ExteriorRing is guaranteed to be orientated counter-clockwise.
The InteriorRings are guaranteed to be orientated clockwise.

ToGeometry(Envelope)

public override Geometry ToGeometry(Envelope envelope)

Parameters

envelope Envelope

Returns

Geometry