gmt

package
v0.0.0-...-e537141 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dim

type Dim int

ENUM(

Xmin
Xmax
Ymin
Ymax
Zmin
Zmax
Xinc
Yinc

)

const (
	// DimXmin is a Dim of type Xmin.
	DimXmin Dim = iota
	// DimXmax is a Dim of type Xmax.
	DimXmax
	// DimYmin is a Dim of type Ymin.
	DimYmin
	// DimYmax is a Dim of type Ymax.
	DimYmax
	// DimZmin is a Dim of type Zmin.
	DimZmin
	// DimZmax is a Dim of type Zmax.
	DimZmax
	// DimXinc is a Dim of type Xinc.
	DimXinc
	// DimYinc is a Dim of type Yinc.
	DimYinc
)

func ParseDim

func ParseDim(name string) (Dim, error)

ParseDim attempts to convert a string to a Dim.

func (Dim) MarshalText

func (x Dim) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (Dim) String

func (x Dim) String() string

String implements the Stringer interface.

func (*Dim) UnmarshalText

func (x *Dim) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

type GridHeader

type GridHeader struct{}

type Node

type Node int

ENUM(

NColumns
NRows
Registration

)

const (
	// NodeNColumns is a Node of type NColumns.
	NodeNColumns Node = iota
	// NodeNRows is a Node of type NRows.
	NodeNRows
	// NodeRegistration is a Node of type Registration.
	NodeRegistration
)

func ParseNode

func ParseNode(name string) (Node, error)

ParseNode attempts to convert a string to a Node.

func (Node) MarshalText

func (x Node) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (Node) String

func (x Node) String() string

String implements the Stringer interface.

func (*Node) UnmarshalText

func (x *Node) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

Jump to

Keyboard shortcuts

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