sharedpaths

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Overview

Package sharedpaths Computer returns a collection containing paths shared by the two input geometries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SharedPaths

func SharedPaths(g1, g2 matrix.Steric) (forwDir matrix.Collection, backDir matrix.Collection, err error)

SharedPaths create SharedPaths with geom.

Types

type Computer

type Computer struct {
	// contains filtered or unexported fields
}

Computer returns a collection containing paths shared by the two input geometries. Those going in the same direction are in the first element of the collection, those going in the opposite direction are in the second element. The paths themselves are given in the direction of the first geometry.

func (*Computer) SharedPaths

func (s *Computer) SharedPaths() (forwDir matrix.Collection, backDir matrix.Collection, err error)

SharedPaths get SharedPaths returns forwDir,backDir.

Jump to

Keyboard shortcuts

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