algorithm - Constructing a polygon (hexagon) given length of one side, 2 points and the perimeter? -
i have general question on algorithm use construct irregular polygon.
i have following scenario: have start , end position ship, know distance between 2 position (say 40km). using info, calculate remaining vertices of polygon includes 1 side, while other sides should equal in length , sum 200km (as matter of fact, user supplied length). therefore know perimeter of resulting polygon , 2 vertices make 1 of sides.
in short, how other 4 vertices each side besides calculated same size (and perimeter of hexagon adds 200 + initial side)?
thanks in advance!
Comments
Post a Comment