public static string ToWkt(PointSet2 <double> geom) { if (geom != null) { StringBuilder sb = new StringBuilder(); sb.Append("MULTIPOINT("); for (uint i = 0; i < geom.VertexCount; i++) { sb.Append('('); sb.Append(geom[i].X); sb.Append(' '); sb.Append(geom[i].Y); sb.Append("),"); } if (geom.VertexCount > 0) { sb[sb.Length - 1] = ')'; //replace last paren } else { sb.Append(')'); //empty case } return(sb.ToString()); } return(string.Empty); }
public PointSet2(PointSet2 <T> other) { if (other == null) { throw new ArgumentNullException(); } this.Points = other.Points; }
public int CompareTo(PointSet2 <T> other) { throw new NotImplementedException(); }
public bool Equals(PointSet2 <T> other) { throw new NotImplementedException(); }