I'm having trouble finding a good way to test for 2 pentagrams being diametric.
The pentagrams share two lines and an endpoint, so it looks like they're attached.
I want to test if they're diametric or if they overlap.
I thought it would be easy. I get the coordinates of the common endpoint, I take the coordinates of the center of each pentagon and make sure one is above it, one below it and makes sure the same is true for left and right. Good? No, sorry. Two stars can be diametric and have both centers of their pentagons on one side of the common endpoint. That's because the star arms can be long and skewed, which puts the center of the pentagon at different places.
Anybody have any clue how else I could test this??
Any help is appreciated. Thanks.