Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/constraint
ConstraintVariable
Interface ConstraintVariable
Hierarchy
ConstraintSymbol
ConstraintTerm
ConstraintVariable
ViewPropertyConstraint
ViewAnimatorConstraint
StyleAnimatorConstraint
Implemented by
ConstraintBinding
Index
Properties
coefficient
constant
id
name
strength
terms
variable
Methods
add
Constraint
Condition
divide
evaluate
Constraint
Variable
is
Constant
is
Dummy
is
External
is
Invalid
minus
negative
plus
remove
Constraint
Condition
times
update
Constraint
Solution
Properties
Readonly
coefficient
coefficient
:
number
Readonly
constant
constant
:
number
Readonly
id
id
:
number
Readonly
name
name
:
string
Readonly
strength
strength
:
number
Readonly
terms
terms
:
ConstraintMap
<
ConstraintVariable
,
number
>
Readonly
variable
variable
:
null
|
ConstraintVariable
Methods
add
Constraint
Condition
add
Constraint
Condition
(
constraint
:
Constraint
, solver
:
ConstraintSolver
)
:
void
Parameters
constraint:
Constraint
solver:
ConstraintSolver
Returns
void
divide
divide
(
scalar
:
number
)
:
ConstraintExpression
Parameters
scalar:
number
Returns
ConstraintExpression
evaluate
Constraint
Variable
evaluate
Constraint
Variable
(
)
:
void
Returns
void
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
is
Dummy
is
Dummy
(
)
:
boolean
Returns
boolean
is
External
is
External
(
)
:
boolean
Returns
boolean
is
Invalid
is
Invalid
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
AnyConstraintExpression
)
:
ConstraintExpression
Parameters
that:
AnyConstraintExpression
Returns
ConstraintExpression
negative
negative
(
)
:
ConstraintTerm
Returns
ConstraintTerm
plus
plus
(
that
:
AnyConstraintExpression
)
:
ConstraintExpression
Parameters
that:
AnyConstraintExpression
Returns
ConstraintExpression
remove
Constraint
Condition
remove
Constraint
Condition
(
constraint
:
Constraint
, solver
:
ConstraintSolver
)
:
void
Parameters
constraint:
Constraint
solver:
ConstraintSolver
Returns
void
times
times
(
scalar
:
number
)
:
ConstraintExpression
Parameters
scalar:
number
Returns
ConstraintExpression
update
Constraint
Solution
update
Constraint
Solution
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Constraint
Constraint
Binding
Constraint
Constant
Constraint
Dummy
Constraint
Error
Constraint
Group
Constraint
Invalid
Constraint
Map
Constraint
Product
Constraint
Row
Constraint
Slack
Constraint
Solver
Constraint
Sum
Constraint
Expression
Constraint
Key
Constraint
Scope
Constraint
Symbol
Constraint
Term
Constraint
Variable
coefficient
constant
id
name
strength
terms
variable
add
Constraint
Condition
divide
evaluate
Constraint
Variable
is
Constant
is
Dummy
is
External
is
Invalid
minus
negative
plus
remove
Constraint
Condition
times
update
Constraint
Solution
Any
Constraint
Expression
Any
Constraint
Strength
Constraint
Relation
Constraint
Strength
Constraint
Strength
Init
Constraint
Expression
Constraint
Key
Constraint
Strength
Constraint
Symbol
Constraint
Term
Generated using
TypeDoc