geom

package
v0.0.0-...-160f2ba Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Brokendist = -99
)

Variables

This section is empty.

Functions

func XyzAngle

func XyzAngle(a, b, c cmmn.Xyz) (float32, error)

Xyzangle takes three points and returns the angle between them

func XyzDhdrl

func XyzDhdrl(ii, jj, kk, ll cmmn.Xyz) float32

XyzDhdrl takes four points and returns the dihedral angle

func XyzDist

func XyzDist(x1, x2 cmmn.Xyz) (float32, error)

xyzdist gets the distance between two points, but if it is bigger than Brokendist or smaller than mindist, it returns an error.

Types

type Error

type Error string

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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