spatial

package module
v0.0.0-...-659ce9b Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dimension

type Dimension int

type Spatial1D

type Spatial1D interface {
	AddRange(r Range, v interface{}) error
	Contains(x float64) Enum
	ContainsRange(min, max float64) Enum
	WithinRange(min, max float64) Enum
}

func New1D

func New1D(t Type) Spatial1D

type Spatial2D

type Spatial2D interface {
	AddRange(x, y Range, v interface{}) error
	Contains(x, y float64) Enum
	ContainsRange(x, y Range) Enum
	WithinRange(x, y Range) Enum
}

func New2D

func New2D(t Type) Spatial2D

type Spatial3D

type Spatial3D interface {
	AddRange(x, y, z Range, v interface{}) error
	Contains(x, y, z float64) Enum
	ContainsRange(x, y, z Range) Enum
	WithinRange(x, y, z Range) Enum
}

func New3D

func New3D(t Type) Spatial3D

type Type

type Type int
const (
	KVType Type = iota
	AnyType
)

Directories

Path Synopsis
osm
openstreetmap implementation
openstreetmap implementation
examples/osmcli command

Jump to

Keyboard shortcuts

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