Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculatePolygonArea ¶
func SeparatingAxis ¶
Types ¶
type Point ¶
type Point struct {
X, Y float64
}
func GeneratePoints ¶
Define a function that randomly generates some points
func GeneratePolYgon ¶
Define a function that generates an irregular polygon and returns the vertex coordinates of the polygon
Click to show internal directories.
Click to hide internal directories.