calculates the horizontal or slant distance from two x indexes sidescanline #getdata of two sidescanline s. concode_field_sep PlaceHolder placeHolder concode_field_sep LocationType convertImagePointXToLocation concode_elem_sep double calcHeightFrom2XIndexesOfSidescanLine concode_elem_sep SidescanPoint convertImagePointXToSidescanPoint concode_elem_sep double calcSlantDistanceFrom2XIndexesOf2SidescanLines concode_elem_sep int convertSidescanLinePointXToImagePointX concode_elem_sep int convertImagePointXToSidescanLinePointX concode_elem_sep double calcHorizontalDistanceFrom2XIndexesOf2SidescanLines
double function ( int arg0 , SidescanLine arg1 , int arg2 , SidescanLine arg3 , boolean arg4 ) { SidescanPoint loc0 = arg3 . calcPointFromIndex ( arg2 , arg4 ) ; SidescanPoint loc1 = arg1 . calcPointFromIndex ( arg0 , arg4 ) ; double loc2 = loc1 . location . getHorizontalDistanceInMeters ( loc0 . location ) ; return loc2 ; }