package
4.1.1
Repository: https://github.com/oakmound/oak.git
Documentation: pkg.go.dev

# Functions

AndIn will combine multiple In functions into one, where if any of the shapes are false the result is false.
BezierCurve will form a Bezier on the given coordinates, expected in (x,y) pairs.
Condense finds a set of rectangles that covers the shape.
GetBorderHoles finds sets of points which are not In this shape that are adjacent in addition to the space around the shape (ie points that border the shape).
GetHoles finds sets of points which are not In this shape that are adjacent.
InToRect converts an In function into a Rect function.
NewPoints creates a Points shape from any number of intgeom Points.
NewStrictRect returns a StrictRect with the given strict dimensions, all values set to false.
NotIn returns the opposite of a given In function for any query.
OrIn will combine multiple In functions into one, where if any of the shapes are true the result is true.
ToOutline returns the set of points along the input shape's outline, if one exists.
ToOutline4 returns the set of points along the input shape's outline, if one exists, but will move only up, left, right, or down to form this outline.
XRange is an example In utility which returns values within a given relative range (where 0 = 0 and 1 = size).

# Variables

Checkered has a shape like the following: t .
Circle has a shape like the following: .
Diamond has a shape like the following: .
Heart has an shape like the following: .
Rectangle will return true for any [x][y] in w, h.
Square will return true for any [x][y].

# Structs

A BezierNode ties together and find points between two other Beziers.

# Interfaces

A Bezier has a function indicating how far along a curve something is given some float64 progress between 0 and 1.
A Shape represents a rectangle of width/height size where for each x,y coordinate, either that value lies inside the shape or outside of the shape, represented by true or false.

# Type aliases

A BezierPoint covers cases where only 1 point is supplied, and serve as roots.
Eq represents a basic equation-- a mapping of x values to y values.
In functions return whether the given coordinate lies in a shape.
A JustIn lets an In function serve as a shape by automatically wrapping it in assistant functions for other utilites.
Points is a shape defined by a set of points.
A Rect is a function that returns a 2d boolean array of booleans for a given size, where true represents that the bounded shape contains the point [x][y].
A StrictRect is a shape that ignores input width and height given to it.