Skip to content

Instantly share code, notes, and snippets.

View jd-au's full-sized avatar

James Dempsey jd-au

  • CSIRO
  • Canberra, Australia
View GitHub Profile
@jd-au
jd-au / poly_winding.py
Last active July 25, 2018 14:58
Determine if sky polygon winding direction is clockwise or counter clockwise
# %matplotlib inline
from __future__ import print_function, division
import logging
import numpy as np
import matplotlib.pyplot as plt
def polygon_to_points(polygon):