MSFMultiPolygonGeometry

Objective-C


@interface MSFMultiPolygonGeometry : MSFMultiGeometry

Swift

class MSFMultiPolygonGeometry : MSFMultiGeometry

A multipolygon container.

  • Constructs a MultiPolygonGeometry from the vector of polygons.

    Declaration

    Objective-C

    - (id)initWithGeometries:(MSFPolygonGeometryVector *)geometries;

    Swift

    init!(geometries: MSFPolygonGeometryVector!)

    Parameters

    geometries

    The vector of polygon geometries.

  • Undocumented

    Declaration

    Objective-C

    - (enum MSFGeometryType)getType;

    Swift

    func getType() -> MSFGeometryType
  • Returns the polygon geometry at the specified index. Index must be between 0 and getGeometryCount (exclusive)

    Declaration

    Objective-C

    - (MSFPolygonGeometry *)getGeometry:(int)index;

    Swift

    func getGeometry(_ index: Int32) -> MSFPolygonGeometry!

    Parameters

    index

    The index of the polygon geometry.

    Return Value

    The polygon geometry at specified index. @throws NSException If the index is out of range.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()