algorithm

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Overview

Package algorithm defines Specifies Computational Geometric and algorithm err. Specifies and implements various fundamental Computational Geometric algorithms.

Index

Constants

This section is empty.

Variables

View Source
var ErrComputeOffsetZero = fmt.Errorf("Cannot compute offset from zero-length line segment")

ErrComputeOffsetZero ...

View Source
var ErrNilSteric = fmt.Errorf("Steric is nil")

ErrNilSteric ...

View Source
var ErrNotInSlice = fmt.Errorf("Steric not in slice")

ErrNotInSlice ...

View Source
var ErrNotMatchType = fmt.Errorf("Operation does not support not match type arguments")

ErrNotMatchType ...

View Source
var ErrNotSupportCollection = fmt.Errorf("Operation does not support StericCollection arguments")

ErrNotSupportCollection ...

View Source
var ErrQuadrant = fmt.Errorf("Cannot compute the quadrant for point")

ErrQuadrant ...

View Source
var ErrWrongExponent = fmt.Errorf("Exponent out of bounds")

ErrWrongExponent ...

View Source
var ErrWrongFractionRange = fmt.Errorf("Fraction is not in range (0.0 - 1.0]")

ErrWrongFractionRange ...

View Source
var ErrWrongTolerance = fmt.Errorf("Tolerance must be non-negative")

ErrWrongTolerance ...

View Source
var ErrWrongUsageFunc = fmt.Errorf("Wrong usage function")

ErrWrongUsageFunc ...

Functions

func ErrUnknownType

func ErrUnknownType(obj ...interface{}) error

ErrUnknownType ...

func Error

func Error(str string, obj ...interface{}) error

Error create new error by object.

func ErrorDimension

func ErrorDimension(obj ...interface{}) error

ErrorDimension create new ErrorDimension by object.

func ErrorShouldBeLength9

func ErrorShouldBeLength9(obj ...interface{}) error

ErrorShouldBeLength9 create new ErrorshouldBeLength9 by object.

func ErrorUnknownDimension

func ErrorUnknownDimension(obj ...interface{}) error

ErrorUnknownDimension create new ErrorUnknownDimension by object.

Types

This section is empty.

Directories

Path Synopsis
Package buffer define geomtry matrix conversion.
Package buffer define geomtry matrix conversion.
simplify
Package simplify define Douglas Peucker and Topology Preserving simplify.
Package simplify define Douglas Peucker and Topology Preserving simplify.
angle
Package angle define angel calculation function.
Package angle define angel calculation function.
bytevalues
Package bytevalues ead and write primitive datatypes from/to byte
Package bytevalues ead and write primitive datatypes from/to byte
Package filter Define data filter function.
Package filter Define data filter function.
Package matrix Define spatial matrix base.
Package matrix Define spatial matrix base.
Package measure Define spatial measurement function.
Package measure Define spatial measurement function.
Package operation define valid func for geometries.
Package operation define valid func for geometries.
chain
Package chain Define Monotone Chains,it is a way of partitioning the segments of a linestring to allow for fast searching of intersections.
Package chain Define Monotone Chains,it is a way of partitioning the segments of a linestring to allow for fast searching of intersections.
sweepline
Package sweepline Contains struct which implement a sweepline algorithm for scanning geometric data structures.
Package sweepline Contains struct which implement a sweepline algorithm for scanning geometric data structures.

Jump to

Keyboard shortcuts

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