/// <summary> /// Extracts elements from a geometry. /// </summary> /// <param name="geom">An geometry to extract from</param> /// <returns>An extracter over the geometry.</returns> public static InputExtracter Extract(Geometry geom) { var extracter = new InputExtracter(); extracter.Add(geom); return(extracter); }
/// <summary> /// Extracts elements from an enumeration of geometries. /// </summary> /// <param name="geoms">An enumeration of geometries</param> /// <returns>An extracter over the geometries.</returns> public static InputExtracter Extract(IEnumerable <Geometry> geoms) { var extracter = new InputExtracter(); extracter.Add(geoms); return(extracter); }
private void Extract(Geometry geom) { _extracter = InputExtracter.Extract(geom); }
private void Extract(IEnumerable <Geometry> geoms) { _extracter = InputExtracter.Extract(geoms); }