MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MPPolygonGeometry Class Reference

#include <MPPolygonGeometry.h>

Inheritance diagram for MPPolygonGeometry:
MPGeometry <MPGeometryQueryProtocol>

Instance Methods

(nullable GMSPath *) - gmsPathForPath
 
(nullable NSArray< GMSPath * > *) - gmsPathsForHoles
 
- Instance Methods inherited from <MPGeometryQueryProtocol>
(BOOL) - containsPoint:
 
(BOOL) - containsCoordinate:
 
(BOOL) - containsCoordinate:ignorePolygonHoles:
 
(BOOL) - containsCoordinate:ignorePolygonHoles:containmentMetadata:
 
(BOOL) - containsLineSegmentFromCoordinate:toCoordinate:
 

Properties

NSArray< NSArray< NSNumber * > * > * path
 
NSArray< NSArray< NSArray< NSNumber * > * > * > * holes
 
- Properties inherited from MPGeometry
NSString< Optional > * type
 
NSArray * coordinates
 
NSArray< NSNumber * >< Optional > * bbox
 
- Properties inherited from <MPGeometryQueryProtocol>
double area
 

Method Documentation

◆ gmsPathForPath

- (nullable GMSPath *) gmsPathForPath

Get a GMSPath representing the path of the polygon.

Returns
GMSPath

◆ gmsPathsForHoles

- (nullable NSArray< GMSPath * > *) gmsPathsForHoles

Return an array of GMSPaths for the hole in the polygon.

Returns
Array of GMSPaths, nil if the polygon have no holes.

Property Documentation

◆ holes

- (NSArray<NSArray<NSArray<NSNumber*>*>*>*) holes
readnonatomicassign

Optional array of polygon holes. A polygon hole is an array of [longitude, latitude] pairs.

◆ path

- (NSArray<NSArray<NSNumber*>*>*) path
readnonatomicassign

The polygon boundary. Consists of pairs of [longitude, latitude].