MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPPoint.h
Go to the documentation of this file.
1//
2// MPPoint.h
3// MapsIndoors SDK for iOS
4//
5// Created by Daniel Nielsen on 7/29/13.
6// Copyright (c) 2017 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "MPJSONModel.h"
11#import <CoreLocation/CoreLocation.h>
12
13#import "MPGeometry.h"
14
15@protocol MPPoint
16@end
17
22@interface MPPoint : MPGeometry
23
27- initWithLat:(double)latitude lon:(double)longitude;
31- initWithLat:(double)latitude lon:(double)longitude zValue:(double)z;
35- (double)lat;
39- (double)lng;
43- (double)z;
47- (int)zIndex;
51- (void)setZValue:(double)z;
55- (double)distanceTo:(nonnull MPPoint*)point;
56
62- (nonnull NSString *)latLngString;
63
70+ (nullable MPPoint*)parse: (nonnull NSString*) coordinate;
71
77- (CLLocationCoordinate2D)getCoordinate;
78
79@end
Definition MPGeometry.h:15
Definition MPPoint.h:23
int zIndex()
nonnull NSString * latLngString()
double z()
double lng()
CLLocationCoordinate2D getCoordinate()
double lat()