MBMProjectedMeters.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /**
  4. * ProjectedMeters is a coordinate in a specific
  5. * [Spherical Mercator](http://docs.openlayers.org/library/spherical_mercator.html) projection.
  6. *
  7. * This specific Spherical Mercator projection assumes the Earth is a sphere with a radius
  8. * of 6,378,137 meters. Coordinates are determined as distances, in meters, on the surface
  9. * of that sphere.
  10. */
  11. NS_SWIFT_NAME(ProjectedMeters)
  12. __attribute__((visibility ("default")))
  13. @interface MBMProjectedMeters : NSObject
  14. // This class provides custom init which should be called
  15. - (nonnull instancetype)init NS_UNAVAILABLE;
  16. // This class provides custom init which should be called
  17. + (nonnull instancetype)new NS_UNAVAILABLE;
  18. - (nonnull instancetype)initWithNorthing:(double)northing
  19. easting:(double)easting;
  20. /** Projected meters in north direction. */
  21. @property (nonatomic, readonly) double northing;
  22. /** Projected meters in east direction. */
  23. @property (nonatomic, readonly) double easting;
  24. @end