long function ( ) { long loc0 = 0 ; for ( int loc1 = 1 ; loc1 < this . waypoints . size ( ) ; loc1 ++ ) { Location loc2 = this . waypoints . get ( loc1 - 1 ) . getLocation ( ) ; Location loc3 = this . waypoints . get ( loc1 ) . getLocation ( ) ; loc0 += loc2 . get3DDistance ( loc3 ) ; } return loc0 ; }
getter for path `` true '' considering 3 dimensions length in meters , i.e the sum of each segment 3d length . concode_field_sep List<TimestampedLocation> waypoints concode_field_sep void removeWaypoint concode_elem_sep TimestampedLocation getStart concode_elem_sep long getDuration concode_elem_sep long getOverGroundLength concode_elem_sep double getOverGroundAverageSpeed concode_elem_sep int getPathWaypointsCount concode_elem_sep TimestampedLocation getFinish concode_elem_sep void addWaypoint concode_elem_sep TimestampedLocation getWaypoint concode_elem_sep double getTrueAverageSpeed