Decimal latitude and longitude coordinates for a specific location.
More...
#import <deCartaPosition.h>
List of all members.
Detailed Description
Decimal latitude and longitude coordinates for a specific location.
Decimal latitude and longitude coordinates for a specific location. This is an immutable position object.
Member Function Documentation
| - (id) initWithLat: |
|
(double) |
inLat |
| andLon: |
|
(double) |
inLon | |
|
|
| | |
Initializes the deCartaPosition object with a latitude and longitude.
- Parameters:
-
| inLat | Decimal latitude |
| inLon | Decimal longitude |
- Returns:
- deCartaPosition object
| - (id) initWithString: |
|
(NSString *) |
latlon |
|
|
Initializes the deCartaPosition object with a string that represents the latitude and longitude.
- Parameters:
-
| latlon | NSString object representing the latitude and longitude |
- Returns:
- deCartaPosition object
| + (deCartaPosition *) positionWithLat: |
|
(double) |
inLat |
| andLon: |
|
(double) |
inLon | |
|
|
| | |
Creates and returns a deCartaPosition object with a specified latitude and longitude
- Parameters:
-
| inLat | Latitude (double) |
| inLon | Longitude (double) |
- Returns:
- deCartaPosition object for the specified location
Creates and returns a deCartaPosition object with a specified location, specified by a string. The string is comprised of a latitude value and a longitude value, separated by either a space or a comma.
- Parameters:
-
| latlon | string input of the format "lat lon" or "lat,lon" |
- Returns:
- deCartaPosition object for the specified location
Property Documentation
- (double) lat [read, assign] |
- (double) lon [read, assign] |
The documentation for this class was generated from the following files:
- D:/decarta_projects/export08122011/iPhoneV2/iPhoneAPI/location/deCartaPosition.h
- D:/decarta_projects/export08122011/iPhoneV2/iPhoneAPI/location/deCartaPosition.m