constraint

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package constraint implements a 2D linear constraint embedded in 2D ambient space.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C constraint.C

C defines an N-dimensional linear constraint of the (standard) form embedded in N-dimensional ambient space.

A • X <= B

func New

func New(p v2d.V, n v2d.V) *C

func (C) A

func (c C) A() []float64

func (C) B

func (c C) B() float64

func (C) In

func (c C) In(v v2d.V) bool

Jump to

Keyboard shortcuts

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