MSFMultiGeometry

Objective-C


@interface MSFMultiGeometry : MSFGeometry

Swift

class MSFMultiGeometry : MSFGeometry

A generic multi geometry container.

  • Constructs a MultiGeometry from a vector of geometry objects.

    Declaration

    Objective-C

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

    Swift

    init!(geometries: MSFGeometryVector!)

    Parameters

    geometries

    The geometries for multi geometry.

  • Undocumented

    Declaration

    Objective-C

    - (MSFMapPos *)getCenterPos;

    Swift

    func getCenterPos() -> MSFMapPos!
  • Undocumented

    Declaration

    Objective-C

    - (enum MSFGeometryType)getType;

    Swift

    func getType() -> MSFGeometryType
  • Returns the number of geometry objects in this multi geometry container.

    Declaration

    Objective-C

    - (int)getGeometryCount;

    Swift

    func getCount() -> Int32

    Return Value

    The number of geometry objects.

  • Returns the geometry at the specified index. Index must be between 0 and getGeometryCount (exclusive)

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    index

    The index of the geometry.

    Return Value

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

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()