lundi 2 mars 2015

interior angles of irregular polygon with angles > 180


I'm trying to calculate the values shown in the picture in red i.e. the interior angles.


I've got an array of the points where lines intersect and have tried using the dot-product but it only returns the smallest angles. I need the full range of internal angles (0-359) but can't seem to find much that meets this criteria.


arrow




Aucun commentaire:

Enregistrer un commentaire