Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChansAlgorithm ¶
func ChansAlgorithm[E constraints.Signed | constraints.Float](v [][2]E) [][2]E
Returns clockwise ordered convex hull
func GrahamScan ¶
func GrahamScan[E constraints.Signed | constraints.Float](points [][2]E) [][2]E
Graham scan algorithm on 2-dim euclidean space E Returns clockwise ordered convex hull
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.