I want to calculate the distance between points and lines in ArcGIS. I need to use the parameter of gravitation direction. I need to compute the direction from the center of the forest plot to the nearest road, but it is important for me to give weight on the direction of gravitation.