ggeometry

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AngleAB

func AngleAB(a, b, c float64) float64

get angle degree of angle built by a & b in triangle (a, b, c)

func AngleToRadian

func AngleToRadian(x float64) float64

func RadianToAngle

func RadianToAngle(x float64) float64

func SlopeToAngle

func SlopeToAngle(x, y float64) float64

TODO: test required [0,0]和[x,y]这两个点的连线的夹角

func SlopeToRadian

func SlopeToRadian(x, y float64) float64

斜率到弧度 [0,0]和[x,y]这两个点的连线的弧度

Types

This section is empty.

Jump to

Keyboard shortcuts

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