/// <summary> /// Gets the feature at the specified Object ID /// </summary> /// <param name="oid"></param> /// <returns></returns> internal IFeature GetFeature(int oid) { if (!_isOpen) { Open(); } if (oid >= _NumberOfRecords) { throw (new ArgumentException("Invalid DataRow requested at index " + oid.ToString())); } var feature = new ShapeFileFeature { AttributeReader = this, Oid = oid }; return(feature); }
protected bool Equals(ShapeFileFeature other) { return(Id == other.Id && Geometry.EqualsExact(other.Geometry)); }