Package com.esri.core.geometry
Class Clusterer.ClusterHashFunction
- java.lang.Object
-
- com.esri.core.geometry.IndexHashTable.HashFunction
-
- com.esri.core.geometry.Clusterer.ClusterHashFunction
-
- Enclosing class:
- Clusterer
final class Clusterer.ClusterHashFunction extends IndexHashTable.HashFunction
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
m_hash_values
(package private) double
m_inv_cell_size
(package private) Point2D
m_origin
(package private) Point2D
m_pt
(package private) Point2D
m_pt_2
(package private) EditShape
m_shape
(package private) double
m_sqr_tolerance
-
Constructor Summary
Constructors Constructor Description ClusterHashFunction(EditShape shape, Point2D origin, double sqr_tolerance, double inv_cell_size, int hash_values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
calculate_hash(int element)
(package private) int
calculate_hash_from_vertex(int vertex)
(package private) int
dbg_calculate_hash_from_xy(double x, double y)
boolean
equal(int element_1, int element_2)
boolean
equal(java.lang.Object element_descriptor, int element)
int
getHash(int element)
int
getHash(java.lang.Object element_descriptor)
-
-
-
Method Detail
-
calculate_hash
int calculate_hash(int element)
-
dbg_calculate_hash_from_xy
int dbg_calculate_hash_from_xy(double x, double y)
-
calculate_hash_from_vertex
int calculate_hash_from_vertex(int vertex)
-
getHash
public int getHash(int element)
- Specified by:
getHash
in classIndexHashTable.HashFunction
-
equal
public boolean equal(int element_1, int element_2)
- Specified by:
equal
in classIndexHashTable.HashFunction
-
getHash
public int getHash(java.lang.Object element_descriptor)
- Specified by:
getHash
in classIndexHashTable.HashFunction
-
equal
public boolean equal(java.lang.Object element_descriptor, int element)
- Specified by:
equal
in classIndexHashTable.HashFunction
-
-