geometry

package
v0.0.0-...-50b27ac Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distance

func Distance(p, q Point) float64

traditional function

Types

type Point

type Point struct{ X, Y float64 }

func (Point) Distance

func (p Point) Distance(q Point) float64

same thing, but as a method of the Point type

Jump to

Keyboard shortcuts

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