learning

package
v0.0.0-...-0f5fa8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LineTest

func LineTest(m1, m2, p Point) int

func SeparableStraight

func SeparableStraight(ps1, ps2 []Point) bool

Обчислює чи можна провести пряму яка однозначно розділить (відокремить) дві множини точок.

Types

type Point

type Point struct {
	X int
	Y int
}

func ConvexPolygon

func ConvexPolygon(ps []Point) []Point

Обчислює випуклий багатокутник для множини точок.

func Pt

func Pt(x, y int) Point

type Rect

type Rect struct {
	Min Point
	Max Point
}

Rectangle

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL