@interface RMProjection : NSObject
Objective-C wrapper for PROJ4 map projection definitions.
RMProjection | Objective-C wrapper for PROJ4 map projection definitions. |
Functions | |
wrapPointHorizontally | If #projectionWrapsHorizontally, returns #aPoint with its easting adjusted modulo Earth’s diameter to be within projection’s planetBounds. |
constrainPointToBounds | applies #wrapPointHorizontally to aPoint, and then clamps northing (Y coordinate) to projection’s planetBounds |
pointToLatLong | inverse project meters, return latitude/longitude deprecated: rename pending after 0.5 |
latLongToPoint | forward project latitude/longitude, return meters deprecated: rename pending after 0.5 |
- ( RMProjectedPoint ) wrapPointHorizontally: (RMProjectedPoint) aPoint
If #projectionWrapsHorizontally, returns #aPoint with its easting adjusted modulo Earth’s diameter to be within projection’s planetBounds. if !#projectionWrapsHorizontally, returns #aPoint unchanged.
aPoint | {RMProjectedPoint} |
Returns {RMProjectedPoint}
- ( RMProjectedPoint ) constrainPointToBounds: (RMProjectedPoint) aPoint
applies #wrapPointHorizontally to aPoint, and then clamps northing (Y coordinate) to projection’s planetBounds
aPoint | {RMProjectedPoint} |
Returns {RMProjectedPoint}
- ( RMLatLong )pointToLatLong:(RMProjectedPoint)aPoint
inverse project meters, return latitude/longitude deprecated: rename pending after 0.5
aPoint | {RMProjectedPoint} |
Returns {RMLatLong}
- ( RMProjectedPoint )latLongToPoint:(RMLatLong)aLatLong
forward project latitude/longitude, return meters deprecated: rename pending after 0.5
aLatLong | {RMLatLong} |
Returns {RMProjectedPoint}
Objective-C wrapper for PROJ4 map projection definitions.
@interface RMProjection : NSObject
If #projectionWrapsHorizontally, returns #aPoint with its easting adjusted modulo Earth’s diameter to be within projection’s planetBounds.
- ( RMProjectedPoint ) wrapPointHorizontally: (RMProjectedPoint) aPoint
applies #wrapPointHorizontally to aPoint, and then clamps northing (Y coordinate) to projection’s planetBounds
- ( RMProjectedPoint ) constrainPointToBounds: (RMProjectedPoint) aPoint
inverse project meters, return latitude/longitude deprecated: rename pending after 0.5
- ( RMLatLong )pointToLatLong:(RMProjectedPoint)aPoint
forward project latitude/longitude, return meters deprecated: rename pending after 0.5
- ( RMProjectedPoint )latLongToPoint:(RMLatLong)aLatLong