Example #1
0
 public GeometryFactory(ICoordinateFactory coordFactory, ICoordinateSequenceFactory sequenceFactory, Int32?srid, ICoordinateSystem spatialReference)
 {
     _coordFactory     = coordFactory;
     _sequenceFactory  = sequenceFactory;
     _srid             = srid;
     _spatialReference = spatialReference;
     _spatialOps       = new BoundingBoxSpatialOperations(this);
     _wktEncoder       = new WktWriter();
     _wktDecoder       = new WktReader(this, null);
     _wkbEncoder       = new WkbWriter();
     _wkbDecoder       = new WkbReader(this);
 }
 public GeometryFactory(ICoordinateFactory coordFactory, ICoordinateSequenceFactory sequenceFactory, Int32? srid, ICoordinateSystem spatialReference)
 {
     _coordFactory = coordFactory;
     _sequenceFactory = sequenceFactory;
     _srid = srid;
     _spatialReference = spatialReference;
     _spatialOps = new BoundingBoxSpatialOperations(this);
     _wktEncoder = new WktWriter();
     _wktDecoder = new WktReader(this, null);
     _wkbEncoder = new WkbWriter();
     _wkbDecoder = new WkbReader(this);
 }