/// <summary> /// Creates an instance of this class, using the provided <see cref="CoordinateSequenceFactory"/>, /// <see cref="PrecisionModel"/>, a spatial reference Id (<paramref name="srid"/>) and /// a <see cref="Geometries.GeometryOverlay"/>. /// </summary> /// <param name="coordinateSequenceFactory">The coordinate sequence factory to use.</param> /// <param name="precisionModel">The precision model.</param> /// <param name="srid">The default spatial reference ID</param> /// <param name="geometryOverlay">The geometry overlay function set to use.</param> /// <param name="coordinateEqualityComparer">The equality comparer for coordinates</param> public NtsGeometryServices(CoordinateSequenceFactory coordinateSequenceFactory, PrecisionModel precisionModel, int srid, GeometryOverlay geometryOverlay, CoordinateEqualityComparer coordinateEqualityComparer) { DefaultCoordinateSequenceFactory = coordinateSequenceFactory ?? throw new ArgumentNullException(nameof(coordinateSequenceFactory)); DefaultPrecisionModel = precisionModel ?? throw new ArgumentNullException(nameof(precisionModel)); DefaultSRID = srid; GeometryOverlay = geometryOverlay ?? throw new ArgumentNullException(nameof(geometryOverlay)); CoordinateEqualityComparer = coordinateEqualityComparer ?? throw new ArgumentNullException(nameof(coordinateEqualityComparer)); }
public NtsGeometryServicesEx(CoordinateSequenceFactory csFactory, PrecisionModel pm, int srid, GeometryOverlay go, CoordinateEqualityComparer ceo) : base(csFactory, pm, srid, go, ceo) { }