NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.NtsGeometryServices Class Reference

A geometry service provider class More...

Inheritance diagram for NetTopologySuite.NtsGeometryServices:

Public Member Functions

 NtsGeometryServices ()
 Creates an instance of this class, using the CoordinateArraySequenceFactory as default and a PrecisionModels.Floating precision model. No DefaultSRID is specified More...
 
 NtsGeometryServices (ICoordinateSequenceFactory coordinateSequenceFactory, IPrecisionModel precisionModel, int srid)
 Creates an instance of this class, using the provided ICoordinateSequenceFactory, IPrecisionModel and spatial reference Id (srid . More...
 
IPrecisionModel CreatePrecisionModel (PrecisionModels modelType)
 Creates a precision model based on given precision model type More...
 
IPrecisionModel CreatePrecisionModel (IPrecisionModel precisionModel)
 Creates a precision model based on given precision model. More...
 
IPrecisionModel CreatePrecisionModel (double scale)
 Creates a precision model based on the given scale factor. More...
 
IGeometryFactory CreateGeometryFactory ()
 
IGeometryFactory CreateGeometryFactory (int srid)
 
void ReadConfiguration ()
 
void WriteConfiguration ()
 
IGeometryFactory CreateGeometryFactory (ICoordinateSequenceFactory coordinateSequenceFactory)
 
IGeometryFactory CreateGeometryFactory (IPrecisionModel precisionModel)
 
IGeometryFactory CreateGeometryFactory (IPrecisionModel precisionModel, int srid)
 
IGeometryFactory CreateGeometryFactory (IPrecisionModel precisionModel, int srid, ICoordinateSequenceFactory coordinateSequenceFactory)
 

Properties

static IGeometryServices Instance [get, set]
 Gets or sets the current instance More...
 
int DefaultSRID [get, set]
 Gets the default spatial reference id More...
 
ICoordinateSequenceFactory DefaultCoordinateSequenceFactory [get]
 Gets or sets the coordiate sequence factory to use More...
 
IPrecisionModel DefaultPrecisionModel [get]
 Gets or sets the default precision model More...
 
int NumFactories [get]
 Gets a value representing the number of geometry factories that have been stored in the cache More...
 

Detailed Description

A geometry service provider class

Constructor & Destructor Documentation

NetTopologySuite.NtsGeometryServices.NtsGeometryServices ( )

Creates an instance of this class, using the CoordinateArraySequenceFactory as default and a PrecisionModels.Floating precision model. No DefaultSRID is specified

NetTopologySuite.NtsGeometryServices.NtsGeometryServices ( ICoordinateSequenceFactory  coordinateSequenceFactory,
IPrecisionModel  precisionModel,
int  srid 
)

Creates an instance of this class, using the provided ICoordinateSequenceFactory, IPrecisionModel and spatial reference Id (srid .

Parameters
coordinateSequenceFactoryThe coordinate sequence factory to use.
precisionModelThe precision model.
sridThe default spatial reference ID

Member Function Documentation

IPrecisionModel NetTopologySuite.NtsGeometryServices.CreatePrecisionModel ( PrecisionModels  modelType)

Creates a precision model based on given precision model type

Returns
The precision model type
IPrecisionModel NetTopologySuite.NtsGeometryServices.CreatePrecisionModel ( IPrecisionModel  precisionModel)

Creates a precision model based on given precision model.

Returns
The precision model
IPrecisionModel NetTopologySuite.NtsGeometryServices.CreatePrecisionModel ( double  scale)

Creates a precision model based on the given scale factor.

Parameters
scaleThe scale factor
Returns
The precision model.

Property Documentation

ICoordinateSequenceFactory NetTopologySuite.NtsGeometryServices.DefaultCoordinateSequenceFactory
get

Gets or sets the coordiate sequence factory to use

IPrecisionModel NetTopologySuite.NtsGeometryServices.DefaultPrecisionModel
get

Gets or sets the default precision model

int NetTopologySuite.NtsGeometryServices.DefaultSRID
getset

Gets the default spatial reference id

IGeometryServices NetTopologySuite.NtsGeometryServices.Instance
staticgetset

Gets or sets the current instance

int NetTopologySuite.NtsGeometryServices.NumFactories
get

Gets a value representing the number of geometry factories that have been stored in the cache


The documentation for this class was generated from the following file: