C
C#11mo ago
iccuwan

❔ Create hexagon polygons from point-list

Hey, everybody. Help me with geometry please, I have a list of coordinates (points), I need to convert them into proper hexagons-polygons with 400 meters long sides. How do I do it?)
5 Replies
Denis
Denis11mo ago
$details
MODiX
MODiX11mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
iccuwan
iccuwan11mo ago
There is a regular hexagon and the coordinates (latitude and longitude) of point A. The length of the side DE is 400 meters. How to find the coordinates (latitude and longitude) of the points BCDEFG
Denis
Denis11mo ago
This is more of a math problem than a programming problem A + 400 on the y axis gives you C A-400 on the y axis gives you F E.g., D is 400 points away from A on the X axis All you have to do is calculate how many points you have to move up on the Y axis You can do that using the pythogaras theorem Or actually no, you just move it up on Y by half the 400, which is 200 Should be enough Unless you introduce rotation
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.