line_position (Row[Index], Col[Index], Row[Length-1], Col[Length-1], RowCenter, ColCenter, Length1, Phi)
distance_pp (Row[Index], Col[Index], Row[Length-1], Col[Length-1], Distance1)
else
line_position (Row[Index], Col[Index], Row[Index+Distance], Col[Index+Distance], RowCenter, ColCenter, Length1, Phi)
distance_pp (Row[Index], Col[Index], Row[Index+Distance], Col[Index+Distance], Distance1)
distance_pp(点到点距离)
distance_pl (点到线距离)
distance_pr (点到区域距离)
distance_ss (线到线的距离)
distance_lr (线到区域距离)