NMSMutablePath.h
1 //
2 // NMSMutablePath.h
3 // NavionicsMobileSDK
4 //
5 // Copyright © 2016 Navionics. All rights reserved.
6 //
7 
8 #import "NMSPath.h"
9 
11 @interface NMSMutablePath : NMSPath
12 
17 - (void)addCoordinate:(CLLocationCoordinate2D)coordinate;
18 
24 - (void)insertCoordinate:(CLLocationCoordinate2D)coordinate atIndex:(NSUInteger)index;
25 
31 - (void)replaceCoordinateAtIndex:(NSUInteger)index withCoordinate:(CLLocationCoordinate2D)coordinate;
32 
37 - (void)removeCoordinateAtIndex:(NSUInteger)index;
38 
40 - (void)removeLastCoordinate;
41 
43 - (void)removeAllCoordinates;
44 
45 @end
void removeLastCoordinate()
Removes the last coordinate of the path.
void removeAllCoordinates()
Removes all coordinates in this path.
Array of CLLocationCoordinate2D.
Definition: NMSPath.h:12
Dynamic array of CLLocationCoordinate2D.