geometria

package
v0.0.0-...-f1f0b8b Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Catetos

func Catetos(pontoA, pontoB Ponto) (cx, cy float64)

Catetos pega os modulos dos catetos do triangulo formado por 2 pontos

func Distancia

func Distancia(pontoA, pontoB Ponto) float64

Distancia linear entre 2 pontos

Types

type Ponto

type Ponto struct {
	X float64
	Y float64
}

Ponto representa uma coordenada no plano cartesiano

Jump to

Keyboard shortcuts

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