package
0.21.2
Repository: https://github.com/go-spatial/tegola.git
Documentation: pkg.go.dev

# Packages

Package webmercator does the translation to and from WebMercator and WGS84 Gotten from: http://wiki.openstreetmap.org/wiki/Mercator#C.23 */.

# Functions

AreaOfPolygon will calculate the Area of a polygon using the surveyor's formula (https://en.wikipedia.org/wiki/Shoelace_formula).
Contains takes a subject (made up of point pairs) and a pt, and returns weather the pt is contained by the subject.
DistOfLine will calculate the Manhattan distance of a line.
DoesIntersect does a quick intersect check using the saddle method.
Powers of 2.
FindIntersects call the provided function with the indexs of the lines from the segments slice that intersect with each other.
FindIntersects call the provided function with the indexs of the lines from the segments slice that intersect with each other.
FindPolygonIntersects calls the provided function with the indexes of the lines from the segments slice that intersect with each other.
Intersect find the intersection point (x,y) between two lines if there is one.
Minimum of uints.
Code adapted from http://geomalgorithms.com/a09-_intersect-3.html#simple_Polygon().
NewLineWith2Float64 is a transistional function till I have had a change to move over the geom package and covert the maths functions to use it or they have migrated over to it.
Will create a new Triangle and sort the points.k.

# Constants

# Structs

# Interfaces

# Type aliases

label is the he label for the triangle.
Ring defines a set of points that are all connected.
WindingOrder the direction the line strings.