Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Bioblocks1DSection<T>

Class to encapsulate a 1 Dimensional data segment. This is defined as a numerical range with inclusive start, inclusive end, and label associated with it. Additionally, a Section is defined such that [start <= end] - meaning values will be flipped to keep this constraint.

export

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

label

label: T

Protected sectionEnd

sectionEnd: number = 0

Protected sectionStart

sectionStart: number = 0

Accessors

end

  • get end(): number

length

  • get length(): number

start

  • get start(): number

Methods

contains

  • contains(...values: number[]): boolean

isEqual

updateEnd

  • updateEnd(newNum: number): void

updateStart

  • updateStart(newNum: number): void

Generated using TypeDoc