KekLib.PolygonGeometry#
PolygonGeometry.py
borrowed from https://stackoverflow.com/questions/68104969/offset-a-parallel-line-to-a-given-line-python/68109283
- makeOffsetPoly(oldX, oldY, offset, outer_ccw=1)#
there seems to be a bug when outer_ccw = -1 for inner offset use a negetive offset instead
- normalizeVec(x, y)#