using System; using System.Collections.Generic; using GeoAPI.Coordinates; using GeoAPI.DataStructures.Collections.Generic; using NPack; using NPack.Interfaces; namespace NetTopologySuite.Coordinates { public class BufferedCoordinateSet : BufferedCoordinateSequence, ISet { public BufferedCoordinateSet(BufferedCoordinateSequenceFactory factory, IVectorBuffer buffer) : base(factory, buffer) { } internal BufferedCoordinateSet( ICoordinateSequence sequence, BufferedCoordinateSequenceFactory factory, IVectorBuffer buffer) : base(factory, buffer) { ICoordinateSequence withoutDupes = sequence.WithoutDuplicatePoints(); BufferedCoordinateSequence nativeSequence = withoutDupes as BufferedCoordinateSequence; if (nativeSequence == null) { nativeSequence = factory.Create(withoutDupes) as BufferedCoordinateSequence; } SetSequenceInternal(nativeSequence); } #region ISet Members public ISet Union(ISet a) { throw new NotImplementedException(); } public ISet Intersect(ISet a) { throw new NotImplementedException(); } public ISet Minus(ISet a) { throw new NotImplementedException(); } public ISet ExclusiveOr(ISet a) { throw new NotImplementedException(); } public Boolean ContainsAll(IEnumerable c) { throw new NotImplementedException(); } public Boolean IsEmpty { get { throw new NotImplementedException(); } } public new Boolean Add(BufferedCoordinate o) { throw new NotImplementedException(); } public new Boolean AddRange(IEnumerable c) { throw new NotImplementedException(); } public Boolean RemoveAll(IEnumerable c) { throw new NotImplementedException(); } public Boolean RetainAll(IEnumerable c) { throw new NotImplementedException(); } public new ISet Clone() { throw new NotImplementedException(); } #endregion #region IEnumerable Members public new System.Collections.IEnumerator GetEnumerator() { throw new NotImplementedException(); } #endregion #region ICloneable Members Object ICloneable.Clone() { throw new NotImplementedException(); } #endregion #region ISet Members void ISet.Clear() { Clear(); } #endregion } }