hypersphere

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: 1

Documentation

Overview

Package hypersphere is a 2D ball embedded in 2D ambient space, i.e. a circle on the XY-plane.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Within added in v0.8.0

func Within(c C, d C) bool

func WithinEpsilon added in v0.10.0

func WithinEpsilon(c C, d C, e epsilon.E) bool

Types

type C

type C hypersphere.C

func New

func New(p v2d.V, r float64) *C

func (C) In

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

func (C) P

func (c C) P() v2d.V

func (C) R

func (c C) R() float64

Jump to

Keyboard shortcuts

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