public void Filter(Geometry geom) { if (geom is Point || geom is LineString || geom is Polygon ) _pts.Add( geom.GetCoordinate() ); }