geometry - Calculate minimum distance between two lines and two arc -
i have 2 problem first how calculate minimum distance between 2 lines. details attaching image here.
in image describe line start , end point. have start , end point both lines not getting idea how calculate minimum distance between 2 lines.
another problem how calculate minimum distance between 2 arc. attaching image here
for arc have start, end , center point have start , end angle.
this link has lot more things - shortest distance between point , line segment
i got above link.
this issue facing now. in scenario how calculate minimum distance between 2 arc?
any idea how solve 2 issue?
distance between 2 intersecting lines 0
otherwise, want calculate endpoint of 1 of line other one. if want calculate distance between point , line :
it length of line segment joins point line , perpendicular line.
for arcs think arcs part of circles, distance between them distance between center points , minus radiuses.
can find more here: calculate minimum distance between 2 given circular arcs
example
Comments
Post a Comment