NMCDefaultThresholdStrategy
@interface NMCDefaultThresholdStrategy : NSObject <NMCThresholdStrategy>
기본 NMCThresholdStrategy 구현체. 고정된 기준 거리를 사용합니다.
-
생성자.
Declaration
Objective-C
- (nonnull instancetype)initWithThreshold:(double)threshold;Swift
init(threshold: Double)Parameters
threshold기준 거리.
-
생성자로 지정된
threshold를 반환합니다.Declaration
Objective-C
- (double)getThreshold:(NSInteger)zoom;Swift
func getThreshold(_ zoom: Int) -> DoubleParameters
zoom기준 거리를 구할 줌 레벨.
Return Value
클러스터링할 기준 거리.
Install in Dash
NMCDefaultThresholdStrategy Class Reference