pos

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Lines   []string  `json:"lines"`
	Site    string    `json:"site"`
	Frame   string    `json:"frame"`
	Center  string    `json:"center"`
	RefX    float64   `json:"ref_x"`
	RefY    float64   `json:"ref_y"`
	RefZ    float64   `json:"ref_z"`
	Release time.Time `json:"release"`
}

type Scanner

type Scanner struct {
	*bufio.Scanner
	Header Header `json:"header"`
}

func NewScanner

func NewScanner(r io.Reader) (scanner Scanner, err error)

func (Scanner) NextEpoch

func (scanner Scanner) NextEpoch() (epoch position.GAGEPosition, err error)

func (Scanner) ScanHeader

func (scanner Scanner) ScanHeader() (header Header, err error)

Jump to

Keyboard shortcuts

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