예제 #1
0
 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;
 }
예제 #2
0
        public static Shape CreateFromStream(Stream stream)
        {
            ShapeHGTFactory factory = new ShapeHGTFactory(stream);

            Shape shape = factory.ReadShapeFromStream();
            return shape;
        }