orbits

package
v0.0.0-...-a31fb98 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coords

type Coords struct {
	X int64
	Y int64
}

type ImageOrbit

type ImageOrbit struct {
	Distances   map[Coords]float64
	Translation float64
	Factor      float64
	Width       int
	Height      int
}

func CreateImageOrbit

func CreateImageOrbit(params params.ImageParams, path string, maxvalue float64) (ImageOrbit, error)

func (ImageOrbit) GetOrbitFastValue

func (im ImageOrbit) GetOrbitFastValue(z complex128) float64

func (ImageOrbit) GetOrbitValue

func (im ImageOrbit) GetOrbitValue(v float64) float64

type LineOrbit

type LineOrbit struct {
	A           float64
	B           float64
	C           float64
	Sqrtab      float64
	Translation float64
	Factor      float64
}

func CreateLineOrbit

func CreateLineOrbit(a float64, b float64, c float64, maxvalue float64) LineOrbit

func (LineOrbit) GetOrbitFastValue

func (l LineOrbit) GetOrbitFastValue(z complex128) float64

func (LineOrbit) GetOrbitValue

func (l LineOrbit) GetOrbitValue(v float64) float64

type PointOrbit

type PointOrbit struct {
	X           float64
	Y           float64
	Translation float64
	Factor      float64
}

func CreatePointOrbit

func CreatePointOrbit(x float64, y float64, maxvalue float64) PointOrbit

func (PointOrbit) GetOrbitFastValue

func (p PointOrbit) GetOrbitFastValue(z complex128) float64

func (PointOrbit) GetOrbitValue

func (p PointOrbit) GetOrbitValue(v float64) float64

Jump to

Keyboard shortcuts

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