coordinates

package
v0.0.0-...-0456d50 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coordinates

type Coordinates struct {
	X, Y, Z int
	System  string // suffix for multi-star system, A...Z
	Orbit   int
	Ring    int // orbital ring 0..127 (0 means on surface)
}

func (Coordinates) MarshalJSON

func (c Coordinates) MarshalJSON() ([]byte, error)

MarshalJSON implements the Marshaler interface.

func (Coordinates) String

func (c Coordinates) String() string

func (*Coordinates) UnmarshalJSON

func (c *Coordinates) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the Unmarshaler interface.

type Point

type Point struct {
	X, Y, Z float64
}

Jump to

Keyboard shortcuts

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