private static boolean multiPointEqualsMultiPoint_ ( MultiPoint multipoint_a , MultiPoint multipoint_b , double tolerance , ProgressTracker progress_tracker ) { Envelope2D env_a = new Envelope2D ( ) , env_b = new Envelope2D ( ) ; multipoint_a . queryEnvelope2D ( env_a ) ; multipoint_b . queryEnvelope2D ( env_b ) ; if ( ! envelopeEqualsEnvelope_ ( env_a , env_b , tolerance , progress_tracker ) ) return false ; if ( multiPointExactlyEqualsMultiPoint_ ( multipoint_a , multipoint_b , tolerance , progress_tracker ) ) return true ; return multiPointCoverageMultiPoint_ ( multipoint_a , multipoint_b , tolerance , false , true , false , progress_tracker ) ; }
Returns true if multipoint_a equals multipoint_b .