|
From: | Sachin Kumar Singh |
Subject: | [task #15578] Function to find if polygon vertices are sorted anti-clockwise |
Date: | Thu, 26 Mar 2020 14:12:19 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0 |
Follow-up Comment #12, task #15578 (project gnuastro): The required changes are made and pushed here <https://github.com/sachinkumarsingh092/gnuastro/tree/task-is-sorted>. The document is not changed yet. About comment #7, yes, I'd seen that wiki page prior to the elements 84's article. The orientation matrix as shown in the wiki is just twice the matrix used in calculating the area of a polygon by the shoelace formula <https://en.wikipedia.org/wiki/Shoelace_formula>. And indeed this is what the 84's article was all about, checking the area of the polygon to find the orientation. Hence both these are fundamentally similar. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/task/?15578> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |