package
0.1.0
Repository: https://github.com/go-spatial/geom.git
Documentation: pkg.go.dev

# Functions

BitToleranceFor returns the BitToleranceFor the given tolerance.
CollectionerEqual will check if the two collections are equal based on length then if each geometry inside is equal.
DefaultCompare returns the current default compare.
Extent will check to see if the Extents's are the same.
FindMinIdx given a slice will return the min index accourding to the Less function.
FindMinPointIdx given a slice of points, it will return the index to the smallest point according to XYLessPoint.
Float compares two floats to see if they are within 0.00001 from each other.
Float64 compares two floats to see if they are within the given tolerance.
Float64Slice compares two sets of float64 slices within the given tolerance.
FloatSlice compare two sets of float slices.
GeometryEqual checks if the two geometries are of the same type and then calls the type method to check if they are equal.
GeomExtent will check to see if geom.BoundingBox's are the same.
GeomPointEqual returns weather both points have the same value for x,y.
LineStringEqual given two LineStrings it will check to see if the line strings have the same points in the same order.
LineStringerEqual will check to see if the two linestrings passed to it are equal, if there lengths are both the same, and the sequence of points are in the same order.
MultiLineEqual will return if the two multilines are equal.
MultiLineStringerEqual will check to see if the 2 MultiLineStrings pass to it are equal.
MultiPointEqual will check to see see if the given slices are the same.
MultiPointerEqual will check to see if the provided multipoints have the same points.
MultiPolygonerEqual will check to see if the given multipolygoners are the same, by check each of the constitute polygons to see if they match.
New returns a new Compare object for the tolerance level, with a computed BitTolerance value.
NewForNumPrecision will return a comparator with the given number of precision digits.
PointEqual returns weather both points have the same value for x,y.
PointerEqual will check to see if the x and y of both points are the same.
PointerLess returns weather p1 is < p2 by first comparing the X values, and if they are the same the Y values.
PointLess returns weather p1 is < p2 by first comparing the X values, and if they are the same the Y values.
PolygonEqual will return weather the two polygons are the same.
PolygonerEqual will check to see if the Polygoners are the same, by checking if the linearRings are equal.
RotateToIdx modifies the ln to be rotated by idx.
RotateToLeftMostPoint will rotate the points in the linestring so that the smallest point (as defined by XYLessPoint) is the first point in the linestring.
SetDefault will set the default for the package.
Tolerances returns the default tolerance values.
XYLessPoint compares the x then y points to see if pt1 is less than pt2.

# Constants

HiPrecision is a high precision for comparator.

# Variables

BitTolerance is only here for compability reasons.
HiCMP is a high precision comparator.
Tolerance is only here for compability reasons.

# Structs

Compare holds the tolerances for the comparison functions.

# Interfaces

Lesser used to check if the object is less than.

# Type aliases