CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
|
#include <CartoTypeBase.h>
Instance Methods | |
(int) | - contourCount |
(int) | - pointCount: |
(CtPathPoint) | - point:pointIndex: |
The CartoType path protocol.
- (int) contourCount |
Gets the number of contours (sub-paths) in the path.
Reimplemented in CtMapObject, CtRoute, and CtRouteSegment.
- (CtPathPoint) point: | (int) | aContourIndex | |
pointIndex: | (int) | aPointIndex |
Gets a point, given its contour index and point index. Returns (0,0) if the contour index or point index is out of range.
Reimplemented in CtMapObject, CtRoute, and CtRouteSegment.
- (int) pointCount: | (int) | aContourIndex |
Gets the number of points in a certain contour.
Reimplemented in CtMapObject, CtRoute, and CtRouteSegment.