multiintervals

package
v0.0.0-...-8c8181f Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntervalPart

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

func (*IntervalPart) Intersects

func (p *IntervalPart) Intersects(other *IntervalPart) bool

type MultiInterval

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

func New

func New(boundaries ...int) *MultiInterval

func (*MultiInterval) GetEnd

func (i *MultiInterval) GetEnd(part int) int

func (*MultiInterval) GetGlobalEnd

func (i *MultiInterval) GetGlobalEnd() int

func (*MultiInterval) GetGlobalStart

func (i *MultiInterval) GetGlobalStart() int

func (*MultiInterval) GetNumParts

func (i *MultiInterval) GetNumParts() int

func (*MultiInterval) GetPart

func (i *MultiInterval) GetPart(part int) *IntervalPart

func (*MultiInterval) GetStart

func (i *MultiInterval) GetStart(part int) int

func (*MultiInterval) Intersects

func (i *MultiInterval) Intersects(other *MultiInterval) bool

func (*MultiInterval) Join

func (i *MultiInterval) Join(other *MultiInterval) *MultiInterval

Jump to

Keyboard shortcuts

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