algorithm

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 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 ErrBoundBeNil = fmt.Errorf("boundary should be nil")

ErrBoundBeNil ...

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 ErrNotGraph = fmt.Errorf("Operation does not support not match type ,please try CreateGraph")

ErrNotGraph ...

View Source
var ErrNotGraphCollection = fmt.Errorf("Operation does not support not match type ,please try CreateGraphCollection")

ErrNotGraphCollection ...

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 ErrWrongLink = fmt.Errorf("Cannot link lines")

ErrWrongLink ...

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.
Package calc methods and parameters be realized ouble precision calculation.
Package calc methods and parameters be realized ouble precision calculation.
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 graph the graph to describe the hierarchical relationship between geometric objects.
package graph the graph to describe the hierarchical relationship between geometric objects.
clipping
Package clipping the spatial geometric operation and reconstruction between entities is realized.
Package clipping the spatial geometric operation and reconstruction between entities is realized.
de9im
package de9im the criteria for judging the various topological relations between points, line and surface entities in DE-9IM model are given.
package de9im the criteria for judging the various topological relations between points, line and surface entities in DE-9IM model are given.
dissovle
Package dissovle Slice a geometric polygon.
Package dissovle Slice a geometric polygon.
graphtests
package graphtests is include test datas.
package graphtests is include test datas.
Package matrix Define spatial matrix base.
Package matrix Define spatial matrix base.
envelope
Package envelope Defines a rectangular region of the 2D coordinate plane.
Package envelope Defines a rectangular region of the 2D coordinate plane.
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.
Package overlay the spatial geometric operation and reconstruction between entities is realized.
Package overlay the spatial geometric operation and reconstruction between entities is realized.
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.
snap
Package snap Snaps the vertices and segments of a Geometry's vertices to another Geometry's vertices.
Package snap Snaps the vertices and segments of a Geometry's vertices to another Geometry's vertices.
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.
Package relate the criteria for judging the various topological relations between points, line and surface entities in DE-9IM model are given.
Package relate the criteria for judging the various topological relations between points, line and surface entities in DE-9IM model are given.
Package sharedpaths Computer returns a collection containing paths shared by the two input geometries.
Package sharedpaths Computer returns a collection containing paths shared by the two input geometries.
Package subdivision a topological subdivision to support creating triangulations and Voronoi diagrams.
Package subdivision a topological subdivision to support creating triangulations and Voronoi diagrams.
quadedge
Package quadedge a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.
Package quadedge a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.

Jump to

Keyboard shortcuts

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