d3_contour

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Area added in v1.1.2

func Area(ring [][2]float64) float64

func Collinear added in v1.1.2

func Collinear(a, b, c [2]float64) bool

func Contains added in v1.1.2

func Contains(ring [][2]float64, hole [][2]float64) int

func Contour

func Contour() *contour

func RingContains added in v1.1.2

func RingContains(ring [][2]float64, point [2]float64) int

func SegmentContains added in v1.1.2

func SegmentContains(a, b, c [2]float64) bool

func Within added in v1.1.2

func Within(p, q, r float64) bool

Types

type ContourPolygon

type ContourPolygon struct {
	Type        string           `json:"type"`
	Value       float64          `json:"value"`
	Coordinates [][][][2]float64 `json:"coordinates"`
}

Jump to

Keyboard shortcuts

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