geom

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BezierCurve

type BezierCurve interface {
	GetPoints(step float64) []Point
	GetPoint(t float64) Point
}

BezierCurve interface

func NewBezierCurve

func NewBezierCurve(data []Point) BezierCurve

NewBezierCurve creates a new bezier curve.

type Line

type Line struct {
	Start Point
	End   Point
}

Line

type Lines

type Lines struct {
	Data []Point
}

Lines

type Point

type Point struct {
	X float64
	Y float64
}

Point

Jump to

Keyboard shortcuts

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