SFPointFiniteFilter

Objective-C

@interface SFPointFiniteFilter : NSObject <SFGeometryFilter>

Swift

class SFPointFiniteFilter : NSObject, SFGeometryFilter

Point filter for finite checks on x and y properties, optionally filter on z and m properties and non finite values (NaN or infinity)

  • Finite Filter type

    Declaration

    Objective-C

    @property (nonatomic) enum SFFiniteFilterType type;

    Swift

    var type: SFFiniteFilterType { get set }
  • Include z values in filtering

    Declaration

    Objective-C

    @property (nonatomic) BOOL filterZ;

    Swift

    var filterZ: Bool { get set }
  • Include m values in filtering

    Declaration

    Objective-C

    @property (nonatomic) BOOL filterM;

    Swift

    var filterM: Bool { get set }
  • Initialize, filter on x and y, allowing only finite values

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new point finite filter

  • Initialize, filter on x and y

    Declaration

    Objective-C

    - (instancetype)initWithType:(enum SFFiniteFilterType)type;

    Swift

    init!(type: SFFiniteFilterType)

    Parameters

    type

    finite filter type

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally z

    Declaration

    Objective-C

    - (instancetype)initWithType:(enum SFFiniteFilterType)type andZ:(BOOL)filterZ;

    Swift

    init!(type: SFFiniteFilterType, andZ filterZ: Bool)

    Parameters

    type

    finite filter type

    filterZ

    filter z values mode

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally m

    Declaration

    Objective-C

    - (instancetype)initWithType:(enum SFFiniteFilterType)type andM:(BOOL)filterM;

    Swift

    init!(type: SFFiniteFilterType, andM filterM: Bool)

    Parameters

    type

    finite filter type

    filterM

    filter m values mode

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally z and m

    Declaration

    Objective-C

    - (instancetype)initWithType:(enum SFFiniteFilterType)type
                            andZ:(BOOL)filterZ
                            andM:(BOOL)filterM;

    Swift

    init!(type: SFFiniteFilterType, andZ filterZ: Bool, andM filterM: Bool)

    Parameters

    type

    finite filter type

    filterZ

    filter z values mode

    filterM

    filter m values mode

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally z

    Declaration

    Objective-C

    - (instancetype)initWithZ:(BOOL)filterZ;

    Swift

    init!(z filterZ: Bool)

    Parameters

    filterZ

    filter z values mode

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally m

    Declaration

    Objective-C

    - (instancetype)initWithM:(BOOL)filterM;

    Swift

    init!(m filterM: Bool)

    Parameters

    filterM

    filter m values mode

    Return Value

    new point finite filter

  • Initialize, filter on x, y, and optionally z and m

    Declaration

    Objective-C

    - (instancetype)initWithZ:(BOOL)filterZ andM:(BOOL)filterM;

    Swift

    init!(z filterZ: Bool, andM filterM: Bool)

    Parameters

    filterZ

    filter z values mode

    filterM

    filter m values mode

    Return Value

    new point finite filter