spatial

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

Package spatial implements spatial data structures.

Spatial data structures are specialized data structures used to efficiently store, organize, and query data that represents objects in space, such as points, lines, polygons, or volumes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point1D

type Point1D[T any] struct {
	X T
}

Point1D represents a point in one-dimensional space.

type Point2D

type Point2D[T any] struct {
	X, Y T
}

Point2D represents a point in two-dimensional space.

type Point3D

type Point3D[T any] struct {
	X, Y, Z T
}

Point3D represents a point in three-dimensional space.

type PointND

type PointND[T any] struct {
	Coordinates []T
}

PointND represents a point in n-dimensional space.

type RangeTree

type RangeTree struct{}

Jump to

Keyboard shortcuts

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