NTFeatureCollection


@interface NTFeatureCollection : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

A collection of features.

  • Constructs a FeatureCollection from a vector of features.

    Declaration

    Objective-C

    - (id)initWithFeatures:(NTFeatureVector *)features;

    Parameters

    features

    The features for the collection.

  • Returns the number of features in this container.

    Declaration

    Objective-C

    - (int)getFeatureCount;

    Return Value

    The number of features.

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

    Warning

    Throws NSException If the index is out of range.

    Declaration

    Objective-C

    - (NTFeature *)getFeature:(int)index;

    Parameters

    index

    The index of the feature to get.

    Return Value

    The feature at specified index.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;