getCoordinates method

void getCoordinates(
  1. Pointer<CLLocationCoordinate2D> coords, {
  2. required NSRange range,
})

Retrieves the vertices of part of the shape.

@param coords On input, you must provide a C array of CLLocationCoordinate2D structures large enough to hold the desired number of coordinates. On output, this structure contains the requested coordinate data. @param range The range of vertices you want. The location field indicates the first vertex you are requesting, with 0 being the first vertex, 1 being the second vertex, and so on. The length field indicates the number of vertices you want. The array in coords must be large enough to accommodate the number of requested coordinates.

Implementation

void getCoordinates(ffi.Pointer<CLLocationCoordinate2D> coords, {required objc.NSRange range}) {
_objc_msgSend_peohs4(this.ref.pointer, _sel_getCoordinates_range_, coords, range);

}