- #1
sotnet
- 3
- 0
Guys,
Any ideas on how to calculate distance between two points in Polar coordinate system without converting their coordinates to Cartesian?
Ps. I know that if I converted from Polar (r, t) to Cartesian (x, y) by x = r.cos(t), y = r.sin(t), then the distance between two points would be d = sqrt((x1 - x2)^2 + (y1 - y2)^2).Thanks,
Steve
Any ideas on how to calculate distance between two points in Polar coordinate system without converting their coordinates to Cartesian?
Ps. I know that if I converted from Polar (r, t) to Cartesian (x, y) by x = r.cos(t), y = r.sin(t), then the distance between two points would be d = sqrt((x1 - x2)^2 + (y1 - y2)^2).Thanks,
Steve