Package com.esri.core.geometry
Class Envelope2DIntersectorImpl
- java.lang.Object
-
- com.esri.core.geometry.Envelope2DIntersectorImpl
-
class Envelope2DIntersectorImpl extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Envelope2DIntersectorImpl.EndPointsComparer
private static class
Envelope2DIntersectorImpl.Envelope2DBucketSortHelper
private static interface
Envelope2DIntersectorImpl.State
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Envelope2DIntersectorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addBlueEnvelope(int element, Envelope2D blue_envelope)
(package private) void
addEnvelope(int element, Envelope2D envelope)
(package private) void
addRedEnvelope(int element, Envelope2D red_envelope)
(package private) void
endBlueConstruction()
(package private) void
endConstruction()
(package private) void
endRedConstruction()
private double
getAdjustedValue_(int e, boolean b_red)
(package private) int
getBlueElement(int handle_b)
(package private) Envelope2D
getBlueEnvelope(int handle_b)
(package private) int
getElement(int handle)
(package private) Envelope2D
getEnvelope(int handle)
(package private) int
getHandleA()
(package private) int
getHandleB()
(package private) int
getRedElement(int handle_a)
(package private) Envelope2D
getRedEnvelope(int handle_a)
private boolean
initialize_()
private boolean
initializeBlue_()
private boolean
initializeRed_()
private boolean
initializeRedBlue_()
private static boolean
isBottom_(int y_end_point_handle)
private static boolean
isTop_(int y_end_point_handle)
private boolean
iterate_()
private boolean
iterateBlue_()
private boolean
iterateBruteForce_()
private boolean
iterateRed_()
private boolean
iterateRedBlueBruteForce_()
(package private) boolean
next()
private void
reset_()
private boolean
resetBlue_()
private boolean
resetRed_()
(package private) void
setTolerance(double tolerance)
private void
sortYEndIndices_(AttributeStreamOfInt32 end_indices, int begin_, int end_, boolean b_red)
private void
sortYEndIndicesHelper_(AttributeStreamOfInt32 end_indices, int begin_, int end_, boolean b_red)
(package private) void
startBlueConstruction()
(package private) void
startConstruction()
(package private) void
startRedConstruction()
private boolean
sweep_()
private boolean
sweepBlue_()
private boolean
sweepBruteForce_()
private boolean
sweepRed_()
private boolean
sweepRedBlue_()
private boolean
sweepRedBlueBruteForce_()
-
-
-
Field Detail
-
m_tolerance
private double m_tolerance
-
m_sweep_index_red
private int m_sweep_index_red
-
m_sweep_index_blue
private int m_sweep_index_blue
-
m_envelope_handle_a
private int m_envelope_handle_a
-
m_envelope_handle_b
private int m_envelope_handle_b
-
m_interval_tree_red
private IntervalTreeImpl m_interval_tree_red
-
m_interval_tree_blue
private IntervalTreeImpl m_interval_tree_blue
-
m_iterator_red
private IntervalTreeImpl.IntervalTreeIteratorImpl m_iterator_red
-
m_iterator_blue
private IntervalTreeImpl.IntervalTreeIteratorImpl m_iterator_blue
-
m_envelope_helper
private Envelope2D m_envelope_helper
-
m_envelopes_red
private java.util.ArrayList<Envelope2D> m_envelopes_red
-
m_envelopes_blue
private java.util.ArrayList<Envelope2D> m_envelopes_blue
-
m_elements_red
private AttributeStreamOfInt32 m_elements_red
-
m_elements_blue
private AttributeStreamOfInt32 m_elements_blue
-
m_sorted_end_indices_red
private AttributeStreamOfInt32 m_sorted_end_indices_red
-
m_sorted_end_indices_blue
private AttributeStreamOfInt32 m_sorted_end_indices_blue
-
m_queued_list_red
private int m_queued_list_red
-
m_queued_list_blue
private int m_queued_list_blue
-
m_queued_envelopes
private IndexMultiDCList m_queued_envelopes
-
m_queued_indices_red
private AttributeStreamOfInt32 m_queued_indices_red
-
m_queued_indices_blue
private AttributeStreamOfInt32 m_queued_indices_blue
-
m_b_add_red
private boolean m_b_add_red
-
m_b_add_blue
private boolean m_b_add_blue
-
m_b_add_red_red
private boolean m_b_add_red_red
-
m_b_done
private boolean m_b_done
-
m_function
private int m_function
-
m_bucket_sort
private BucketSort m_bucket_sort
-
-
Method Detail
-
startConstruction
void startConstruction()
-
addEnvelope
void addEnvelope(int element, Envelope2D envelope)
-
endConstruction
void endConstruction()
-
startRedConstruction
void startRedConstruction()
-
addRedEnvelope
void addRedEnvelope(int element, Envelope2D red_envelope)
-
endRedConstruction
void endRedConstruction()
-
startBlueConstruction
void startBlueConstruction()
-
addBlueEnvelope
void addBlueEnvelope(int element, Envelope2D blue_envelope)
-
endBlueConstruction
void endBlueConstruction()
-
next
boolean next()
-
getHandleA
int getHandleA()
-
getHandleB
int getHandleB()
-
setTolerance
void setTolerance(double tolerance)
-
getEnvelope
Envelope2D getEnvelope(int handle)
-
getElement
int getElement(int handle)
-
getRedEnvelope
Envelope2D getRedEnvelope(int handle_a)
-
getBlueEnvelope
Envelope2D getBlueEnvelope(int handle_b)
-
getRedElement
int getRedElement(int handle_a)
-
getBlueElement
int getBlueElement(int handle_b)
-
isTop_
private static boolean isTop_(int y_end_point_handle)
-
isBottom_
private static boolean isBottom_(int y_end_point_handle)
-
reset_
private void reset_()
-
initialize_
private boolean initialize_()
-
initializeRed_
private boolean initializeRed_()
-
initializeBlue_
private boolean initializeBlue_()
-
initializeRedBlue_
private boolean initializeRedBlue_()
-
sweep_
private boolean sweep_()
-
sweepBruteForce_
private boolean sweepBruteForce_()
-
sweepRedBlueBruteForce_
private boolean sweepRedBlueBruteForce_()
-
sweepRedBlue_
private boolean sweepRedBlue_()
-
sweepRed_
private boolean sweepRed_()
-
sweepBlue_
private boolean sweepBlue_()
-
iterate_
private boolean iterate_()
-
iterateRed_
private boolean iterateRed_()
-
iterateBlue_
private boolean iterateBlue_()
-
iterateBruteForce_
private boolean iterateBruteForce_()
-
iterateRedBlueBruteForce_
private boolean iterateRedBlueBruteForce_()
-
resetRed_
private boolean resetRed_()
-
resetBlue_
private boolean resetBlue_()
-
sortYEndIndices_
private void sortYEndIndices_(AttributeStreamOfInt32 end_indices, int begin_, int end_, boolean b_red)
-
sortYEndIndicesHelper_
private void sortYEndIndicesHelper_(AttributeStreamOfInt32 end_indices, int begin_, int end_, boolean b_red)
-
getAdjustedValue_
private double getAdjustedValue_(int e, boolean b_red)
-
-