|
MapsIndoors iOS SDK V3
|
#include <MPPoint.h>
Instance Methods | |
| (id) | - initWithLat:lon: |
| (id) | - initWithLat:lon:zValue: |
| (double) | - lat |
| (double) | - lng |
| (double) | - z |
| (int) | - zIndex |
| (void) | - setZValue: |
| (double) | - distanceTo: |
| (nonnull NSString *) | - latLngString |
| (CLLocationCoordinate2D) | - getCoordinate |
Class Methods | |
| (nullable MPPoint *) | + parse: |
Additional Inherited Members | |
Properties inherited from MPGeometry | |
| NSString< Optional > * | type |
| NSArray * | coordinates |
| NSArray< NSNumber * >< Optional > * | bbox |
Basic point geometry class.
| - (double) distanceTo: | (nonnull MPPoint *) | point |
Calculate the 2d geographic distance to another point.
| - (CLLocationCoordinate2D) getCoordinate |
Get a CoreLocation coordinate struct representation of the MPPoint
| - (id) initWithLat: | (double) | latitude | |
| lon: | (double) | longitude |
Regular geographic point geometry initialization.
| - (id) initWithLat: | (double) | latitude | |
| lon: | (double) | longitude | |
| zValue: | (double) | z |
Indoor geographic point geometry initialization.
| - (double) lat |
Get the latitude component.
| - (nonnull NSString *) latLngString |
Get latitude/logitude value as a string
| - (double) lng |
Get the longitude component.
| + (nullable MPPoint *) parse: | (nonnull NSString *) | coordinate |
| - (void) setZValue: | (double) | z |
Set the z / floorIndex component.
| - (double) z |
Get the z / floorIndex component.
| - (int) zIndex |
Get the z / floorIndex component as a rounded index.