Class Clusterer
java.lang.Object
com.esri.core.geometry.Clusterer
Implementation for the vertex clustering.
Used by the TopoGraph and Simplify.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) final class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) int[](package private) int[](package private) double(package private) IndexMultiList(package private) int(package private) Clusterer.ClusterHashFunction(package private) IndexHashTable(package private) int(package private) double(package private) int(package private) Point2D(package private) EditShape(package private) double(package private) double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) boolean(package private) voidcollectClusterCandidates_(int xyindex, AttributeStreamOfInt32 candidates) (package private) voidcollectNearestNeighbourCandidates_(int xyindex, int hash, Point2D pointOfInterest, int bucket_ptr, AttributeStreamOfInt32 candidates) (package private) static booleanexecuteNonReciprocal(EditShape shape, double tolerance) (package private) voidfindClusterCandidate_(int xyindex, Clusterer.ClusterCandidate candidate) (package private) voidgetNearestNeighbourCandidate_(int xyindex, Point2D pointOfInterest, int bucket_ptr, Clusterer.ClusterCandidate candidate) (package private) static inthashFunction_(int xi, int yi) (package private) static booleanisClusterCandidate_(double x_1, double y1, double x2, double y2, double sqr_tolerance) (package private) booleanmergeClusters_(int vertex1, int vertex2, boolean update_hash) (package private) static booleanmergeVertices(Point pt_1, Point pt_2, double w_1, int rank_1, double w_2, int rank_2, Point pt_res, double[] w_res, int[] rank_res) (package private) booleanmergeVertices_(int vert_1, int vert_2) (package private) static booleanmergeVertices2D(Point2D pt_1, Point2D pt_2, double w_1, int rank_1, double w_2, int rank_2, Point2D pt_res, double[] w_res, int[] rank_res)
-
Field Details
-
m_origin
Point2D m_origin -
m_tolerance
double m_tolerance -
m_sqr_tolerance
double m_sqr_tolerance -
m_cell_size
double m_cell_size -
m_inv_cell_size
double m_inv_cell_size -
m_bucket_array
int[] m_bucket_array -
m_bucket_hash
int[] m_bucket_hash -
m_dbg_candidate_check_count
int m_dbg_candidate_check_count -
m_hash_values
int m_hash_values -
m_new_clusters
int m_new_clusters -
m_shape
EditShape m_shape -
m_clusters
IndexMultiList m_clusters -
m_hash_function
Clusterer.ClusterHashFunction m_hash_function -
m_hash_table
IndexHashTable m_hash_table
-
-
Constructor Details
-
Clusterer
Clusterer()
-
-
Method Details
-
executeNonReciprocal
-
isClusterCandidate_
static boolean isClusterCandidate_(double x_1, double y1, double x2, double y2, double sqr_tolerance) -
hashFunction_
static int hashFunction_(int xi, int yi) -
getNearestNeighbourCandidate_
void getNearestNeighbourCandidate_(int xyindex, Point2D pointOfInterest, int bucket_ptr, Clusterer.ClusterCandidate candidate) -
findClusterCandidate_
-
collectClusterCandidates_
-
collectNearestNeighbourCandidates_
void collectNearestNeighbourCandidates_(int xyindex, int hash, Point2D pointOfInterest, int bucket_ptr, AttributeStreamOfInt32 candidates) -
mergeClusters_
boolean mergeClusters_(int vertex1, int vertex2, boolean update_hash) -
mergeVertices
-
mergeVertices2D
-
mergeVertices_
boolean mergeVertices_(int vert_1, int vert_2) -
clusterNonReciprocal_
boolean clusterNonReciprocal_() -
applyClusterPositions_
void applyClusterPositions_()
-