NTClusterElementBuilder


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

A special callback interface for building cluster elements from set of existing vector element.

  • Returns the builder mode. The return value of this method determines which builder method is called.

    Declaration

    Objective-C

    - (enum NTClusterBuilderMode)getBuilderMode;

    Return Value

    The builder mode that determines which buildClusterElement method is called.

  • Returns the builder mode. The return value of this method determines which builder method is called.

    Declaration

    Objective-C

    - (enum NTClusterBuilderMode)getBuilderModeSwigExplicitNTClusterElementBuilder;

    Return Value

    The builder mode that determines which buildClusterElement method is called.

  • A callback for building a new cluster element given position and the number of cluster element.

    Declaration

    Objective-C

    - (NTVectorElement *)buildClusterElement:(NTMapPos *)mapPos
                                elementCount:(int)elementCount;

    Parameters

    mapPos

    The position of the cluster element.

    elementCount

    The number of elements in the cluster.

    Return Value

    The created cluster element.

  • A callback for building a new cluster element given position and the number of cluster element.

    Declaration

    Objective-C

    - (NTVectorElement *)
        buildClusterElementSwigExplicitNTClusterElementBuilder:(NTMapPos *)mapPos
                                                  elementCount:(int)elementCount;

    Parameters

    mapPos

    The position of the cluster element.

    elementCount

    The number of elements in the cluster.

    Return Value

    The created cluster element.

  • A callback for building a new cluster element given position and list of vector elements.

    Declaration

    Objective-C

    - (NTVectorElement *)buildClusterElement:(NTMapPos *)mapPos
                                    elements:(NTVectorElementVector *)elements;

    Parameters

    mapPos

    The position of the cluster element.

    elements

    The list of elements that defines the cluster.

    Return Value

    The created cluster element.

  • A callback for building a new cluster element given position and list of vector elements.

    Declaration

    Objective-C

    - (NTVectorElement *)
        buildClusterElementSwigExplicitNTClusterElementBuilder:(NTMapPos *)mapPos
                                                      elements:
                                                          (NTVectorElementVector *)
                                                              elements;

    Parameters

    mapPos

    The position of the cluster element.

    elements

    The list of elements that defines the cluster.

    Return Value

    The created cluster element.

  • Undocumented

    Declaration

    Objective-C

    -(id)init;
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;