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.
Click to show internal directories.
Click to hide internal directories.