math

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalDistancePoints

func CalDistancePoints(pos1 Point, pos2 Point) string

func IsValidTriangle

func IsValidTriangle(a, b, c int) bool

Types

type Point

type Point struct {
	X, Y float64
}

func CalIntersectionPoint

func CalIntersectionPoint(a, b, c, d Point) (bool, Point)

type Segment

type Segment struct {
	A, B Point
}

Jump to

Keyboard shortcuts

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