hyperrectangle

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(r R, s R) bool

func Disjoint

func Disjoint(r R, s R) bool

func SA

func SA(r R) float64

func V

func V(r R) float64

func Within

func Within(g R, h R) bool

func WithinEpsilon

func WithinEpsilon(g R, h R, e epsilon.E) bool

Types

type M

type M hyperrectangle.M

func (M) Copy

func (r M) Copy(s R)

func (M) Intersect

func (r M) Intersect(s R) bool

func (M) Max

func (r M) Max() vector.M

func (M) Min

func (r M) Min() vector.M

func (M) R

func (r M) R() R

func (M) Scale

func (r M) Scale(c float64)

func (M) Union

func (r M) Union(s R)

func (M) Zero

func (r M) Zero()

type R

type R hyperrectangle.R

func Intersect

func Intersect(r R, s R) (R, bool)

func New

func New(min vector.V, max vector.V) *R

func Scale

func Scale(r R, c float64) R

func Union

func Union(r R, s R) R

func (R) D

func (r R) D() vector.V

func (R) In

func (r R) In(v vector.V) bool

func (R) M

func (r R) M() M

func (R) Max

func (r R) Max() vector.V

func (R) Min

func (r R) Min() vector.V

Jump to

Keyboard shortcuts

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