package
0.0.0-20220831181609-9c88ebf2c706
Repository: https://github.com/adamcolton/geom.git
Documentation: pkg.go.dev
# Functions
PointsInContainer checks the given points against the container.
# Interfaces
Area of a shape, signed area may take procession into account.
BoundingBoxer returns the corners of a bounding box.
Centroid is the center of mass of a shape.
Closest point on the perimeter to given point.
Container checks if a shape contains a point.
ConvexHuller returns a slice of points that form a convex hull that contains the underlying geometric object.
Perimeter length of the shape.
Shape is an interface that is easy to implement for most primitives but allows for complex generic shape functions.
# Type aliases
Intersection takes two Shapes and creates a new Shape that is their intersection.
Subtract defines a shape by subtracting the second shape from the first.
No description provided by the author