A port of jasonlong's GeoPattern to .NET as a Portable Class Library