NMCThresholdStrategy
@protocol NMCThresholdStrategy
두 NMCNode를 클러스터링할 기준 거리를 구하는 전략에 대한 인터페이스.
이 전략은NMCDistanceStrategy와 밀접하게 연관되어 있습니다. 두 노드 node1, node2가
있을 때, NMCDistanceStrategy.getDistance:Node1:Node2가 반환한 둘 간의 거리가 getThreshold:가
반환한 기준 거리보다 작거나 같으면 두 노드는zoom 레벨에서 클러스터링됩니다.
See
NMCThresholdStrategy.getThreshold:
-
줌 레벨이
zoom일 때 두NMCNode를 클러스터링할 기준 거리를 반환합니다.Declaration
Objective-C
- (double)getThreshold:(NSInteger)zoom;Swift
func getThreshold(_ zoom: Int) -> DoubleParameters
zoom기준 거리를 구할 줌 레벨.
Return Value
클러스터링할 기준 거리.
Install in Dash
NMCThresholdStrategy Protocol Reference