location

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: BSD-2-Clause Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int

Type enumerates the different topological locations which can occur in a {@link Geometry}. The constants are also used as the row and column indices of DE-9IM {@link IntersectionMatrix}es.

const (
	// Interior is the location value for the interior of a geometry.
	// Also, DE-9IM row index of the interior of the first geometry and column index of
	// the interior of the second geometry.
	Interior Type = iota
	// Boundary is the location value for the boundary of a geometry.
	// Also, DE-9IM row index of the boundary of the first geometry and column index of
	// the boundary of the second geometry.
	Boundary
	// Exterior is the location value for the exterior of a geometry.
	// Also, DE-9IM row index of the exterior of the first geometry and column index of
	// the exterior of the second geometry.
	Exterior
	// None is used for uninitialized location values.
	None
)

func (Type) String

func (t Type) String() string

func (Type) Symbol

func (t Type) Symbol() rune

Symbol converts the location value to a location symbol, for example, Exterior => 'e' locationValue Returns either 'e', 'b', 'i' or '-'

Jump to

Keyboard shortcuts

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