Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConstraintBinding

Implements

Index

Constructors

constructor

  • Parameters

    Returns ConstraintBinding

Properties

Readonly conditionCount

conditionCount: number

Readonly constraintFlags

constraintFlags: number

Readonly id

id: number

Readonly name

name: string

Readonly owner

Readonly state

state: number

Readonly strength

strength: number

Static Readonly ConstrainedFlag

ConstrainedFlag: number

Static Readonly ConstrainingFlag

ConstrainingFlag: number

Accessors

coefficient

  • get coefficient(): number
  • Returns number

constant

  • get constant(): number
  • Returns number

terms

variable

Methods

addConstraintCondition

constrain

  • Parameters

    • Optional constrained: boolean

    Returns ConstraintBinding

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

Protected didSetState

  • didSetState(newState: number, oldState: number): void
  • Parameters

    • newState: number
    • oldState: number

    Returns void

didStartConstraining

  • didStartConstraining(): void
  • Returns void

didStopConstraining

  • didStopConstraining(): void
  • Returns void

divide

evaluateConstraintVariable

  • evaluateConstraintVariable(): void

isConstant

  • isConstant(): boolean
  • Returns boolean

isConstrained

  • isConstrained(): boolean
  • Returns boolean

isConstraining

  • isConstraining(): boolean
  • Returns boolean

isDummy

  • isDummy(): boolean
  • Returns boolean

isExternal

  • isExternal(): boolean
  • Returns boolean

isInvalid

  • isInvalid(): boolean
  • Returns boolean

minus

negative

Protected onSetState

  • onSetState(newState: number, oldState: number): void
  • Parameters

    • newState: number
    • oldState: number

    Returns void

onStartConstraining

  • onStartConstraining(): void
  • Returns void

onStopConstraining

  • onStopConstraining(): void
  • Returns void

plus

removeConstraintCondition

setConstraintFlags

  • setConstraintFlags(constraintFlags: number): void
  • Parameters

    • constraintFlags: number

    Returns void

setState

  • setState(newState: number): void
  • Parameters

    • newState: number

    Returns void

startConstraining

  • startConstraining(): void
  • Returns void

stopConstraining

  • stopConstraining(): void
  • Returns void

times

toString

  • toString(): string
  • Returns string

updateConstraintSolution

  • updateConstraintSolution(newState: number): void

updateConstraintVariable

  • updateConstraintVariable(): void
  • Returns void

Protected willSetState

  • willSetState(newState: number, oldState: number): void
  • Parameters

    • newState: number
    • oldState: number

    Returns void

willStartConstraining

  • willStartConstraining(): void
  • Returns void

willStopConstraining

  • willStopConstraining(): void
  • Returns void

Generated using TypeDoc