public static Shape CreateFromStream(Stream stream, double latStart, double longStart, double latDelta, double longDelta) { ShapeHGTFactory factory = new ShapeHGTFactory(stream); factory.latitudeStart = latStart; factory.latitudeDelta = latDelta; factory.longitudeStart = longStart; factory.longitudeDelta = longDelta; Shape shape = factory.ReadShapeFromStream(); return shape; }
public static Shape CreateFromStream(Stream stream) { ShapeHGTFactory factory = new ShapeHGTFactory(stream); Shape shape = factory.ReadShapeFromStream(); return shape; }