VBDMultiPoint
@interface VBDMultiPoint : VBDShape
The VBDMultiPoint class is an abstract superclass used to define shapes
composed of multiple points. You should not create instances of this class
directly. Instead, you should create instances of the VBDPolyline or
VBDPolygon classes. However, you can use the method and properties of this
class to access information about the specific points associated with the line
or polygon.
-
The number of points associated with the shape. (read-only)
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger pointCount; -
Retrieves one or more coordinates associated with the shape.
Declaration
Objective-C
- (void)getCoordinates:(nonnull CLLocationCoordinate2D *)coords range:(NSRange)range;Parameters
coordsOn input, you must provide a C array of structures large enough to hold the desired number of coordinates. On output, this structure contains the requested coordinate data.
rangeThe range of points you want. The
locationfield indicates the first point you are requesting, with0being the first point,1being the second point, and so on. Thelengthfield indicates the number of points you want. The array incoordsmust be large enough to accommodate the number of requested coordinates.
VBDMultiPoint Class Reference