MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPGeometryQueryProtocol.h
Go to the documentation of this file.
1//
2// MPGeometryQueryProtocol.h
3// MapsIndoors
4//
5// Created by Michael Bech Hansen on 14/09/2018.
6// Copyright © 2018 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
11#import "MPPoint.h"
12
14
15
16@protocol MPGeometryQueryProtocol <NSObject>
17
21@property (nonatomic, readonly) double area;
22
30- (BOOL) containsPoint:(nonnull MPPoint*) point;
31
39- (BOOL) containsCoordinate:(CLLocationCoordinate2D)coordinate;
40
49- (BOOL) containsCoordinate:(CLLocationCoordinate2D)coordinate ignorePolygonHoles:(BOOL)ignorePolygonHoles;
50
61- (BOOL) containsCoordinate:(CLLocationCoordinate2D)coordinate ignorePolygonHoles:(BOOL)ignorePolygonHoles containmentMetadata:(nullable MPGeometryContainmentMetadata*)containmentMetadata;
62
71- (BOOL) containsLineSegmentFromCoordinate:(CLLocationCoordinate2D)u toCoordinate:(CLLocationCoordinate2D)v;
72
73@end
Definition MPGeometryContainmentMetadata.h:14
Definition MPPoint.h:23