/// <summary> /// Initializes a new instance of the <see cref="StoredGeometry" /> class. /// </summary> /// <param name="precisionModel">The precision model.</param> /// <param name="referenceSystem">The reference system driver.</param> /// <param name="driver">The geometry driver.</param> /// <param name="identifier">The feature identifier.</param> /// <param name="indexes">The indexes of the geometry within the feature.</param> /// <exception cref="System.ArgumentNullException"> /// The driver is null. /// or /// The identifier is null. /// </exception> protected StoredGeometry(PrecisionModel precisionModel, IReferenceSystem referenceSystem, IGeometryDriver driver, String identifier, IEnumerable <Int32> indexes) : base(precisionModel, referenceSystem) { this.Identifier = identifier ?? throw new ArgumentNullException(nameof(identifier)); this.driver = driver ?? throw new ArgumentNullException(nameof(driver)); this.indexes = indexes == null ? EmptyIndexes : indexes.ToArray(); }
/// <summary> /// Initializes a new instance of the <see cref="StoredGeometryCollection{GeometryType}" /> class. /// </summary> /// <param name="precisionModel">The precision model.</param> /// <param name="referenceSystem">The reference system.</param> /// <param name="driver">The geometry driver.</param> /// <param name="identifier">The feature identifier.</param> /// <param name="indexes">The indexes of the geometry within the feature.</param> /// <exception cref="System.ArgumentNullException"> /// The driver is null. /// or /// The identifier is null. /// </exception> public StoredGeometryCollection(PrecisionModel precisionModel, IReferenceSystem referenceSystem, IGeometryDriver driver, String identifier, IEnumerable <Int32> indexes) : base(precisionModel, referenceSystem, driver, identifier, indexes) { }
/// <summary> /// Initializes a new instance of the <see cref="StoredCurve" /> class. /// </summary> /// <param name="precisionModel">The precision model.</param> /// <param name="referenceSystem">The reference system.</param> /// <param name="driver">The geometry driver.</param> /// <param name="identifier">The feature identifier.</param> /// <param name="indexes">The indexes of the geometry within the feature.</param> /// <exception cref="System.ArgumentNullException"> /// The driver is null. /// or /// The identifier is null. /// </exception> protected StoredCurve(PrecisionModel precisionModel, IReferenceSystem referenceSystem, IGeometryDriver driver, String identifier, IEnumerable <Int32> indexes) : base(precisionModel, referenceSystem, driver, identifier, indexes) { }
/// <summary> /// Initializes a new instance of the <see cref="StoredPoint" /> class. /// </summary> /// <param name="precisionModel">The precision model.</param> /// <param name="referenceSystem">The reference system.</param> /// <param name="driver">The geometry driver.</param> /// <param name="identifier">The feature identifier.</param> /// <exception cref="System.ArgumentNullException"> /// The driver is null. /// or /// The identifier is null. /// </exception> public StoredPoint(PrecisionModel precisionModel, IReferenceSystem referenceSystem, IGeometryDriver driver, String identifier) : base(precisionModel, referenceSystem, driver, identifier, null) { }