NMSMutablePath Class Reference

Dynamic array of CLLocationCoordinate2D. More...

#import <NMSMutablePath.h>

Inheritance diagram for NMSMutablePath:
NMSPath

Instance Methods

(void) - addCoordinate:
 Adds coordinate at the end of the path. More...
 
(void) - insertCoordinate:atIndex:
 Adds coordinate at index. More...
 
(void) - replaceCoordinateAtIndex:withCoordinate:
 Replace the coordinate at index with new coordinate. More...
 
(void) - removeCoordinateAtIndex:
 Remove coordinate at index. More...
 
(void) - removeLastCoordinate
 Removes the last coordinate of the path. More...
 
(void) - removeAllCoordinates
 Removes all coordinates in this path. More...
 
- Instance Methods inherited from NMSPath
(id) - initWithPath:
 Initializes a newly allocated path with the contents of another NMSPath. More...
 
(NSUInteger) - count
 Get size of path. More...
 
(CLLocationCoordinate2D) - coordinateAtIndex:
 Returns a path coordinate in specific index. More...
 

Additional Inherited Members

- Class Methods inherited from NMSPath
(instancetype) + path
 Convenience constructor for an empty path. More...
 

Detailed Description

Dynamic array of CLLocationCoordinate2D.

Definition at line 11 of file NMSMutablePath.h.

Method Documentation

◆ addCoordinate:()

- (void) addCoordinate: (CLLocationCoordinate2D)  coordinate

Adds coordinate at the end of the path.

Parameters
coordinatethe coordinate to add

◆ insertCoordinate:atIndex:()

- (void) insertCoordinate: (CLLocationCoordinate2D)  coordinate
atIndex: (NSUInteger)  index 

Adds coordinate at index.

Parameters
coordinatethe coordinate to add
indexthe index

◆ removeAllCoordinates()

- (void) removeAllCoordinates

Removes all coordinates in this path.

◆ removeCoordinateAtIndex:()

- (void) removeCoordinateAtIndex: (NSUInteger)  index

Remove coordinate at index.

Parameters
indexthe index

◆ removeLastCoordinate()

- (void) removeLastCoordinate

Removes the last coordinate of the path.

◆ replaceCoordinateAtIndex:withCoordinate:()

- (void) replaceCoordinateAtIndex: (NSUInteger)  index
withCoordinate: (CLLocationCoordinate2D)  coordinate 

Replace the coordinate at index with new coordinate.

Parameters
coordinatethe new coordinate
indexthe index

The documentation for this class was generated from the following file:
  • /Users/jenkins/workspace/mobilesdk-ios/iOS/Deployment/NavionicsMobileSDK.framework/Headers/NMSMutablePath.h