Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/math
TurnAngle
Class TurnAngle
Hierarchy
Angle
TurnAngle
Index
Constructors
constructor
Properties
value
Accessors
units
Methods
combine
compare
To
debug
deg
deg
Value
divide
equals
equivalent
To
grad
grad
Value
hash
Code
interpolate
To
is
Defined
minus
negative
norm
plus
rad
rad
Value
times
to
to
Css
Value
to
String
to
Value
turn
turn
Value
create
deg
form
from
Any
from
Css
Value
from
Value
grad
is
Any
parse
rad
turn
zero
Constructors
constructor
new
Turn
Angle
(
value
:
number
)
:
TurnAngle
Parameters
value:
number
Returns
TurnAngle
Properties
Readonly
value
value
:
number
Accessors
units
get
units
(
)
:
AngleUnits
Returns
AngleUnits
Methods
combine
combine
(
that
:
AnyAngle
, scalar
?:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
that:
AnyAngle
Optional
scalar:
number
Optional
units:
AngleUnits
Returns
Angle
compare
To
compare
To
(
that
:
unknown
)
:
number
Parameters
that:
unknown
Returns
number
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
deg
deg
(
)
:
DegAngle
Returns
DegAngle
deg
Value
deg
Value
(
)
:
number
Returns
number
divide
divide
(
scalar
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
scalar:
number
Optional
units:
AngleUnits
Returns
Angle
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
grad
grad
(
)
:
GradAngle
Returns
GradAngle
grad
Value
grad
Value
(
)
:
number
Returns
number
hash
Code
hash
Code
(
)
:
number
Returns
number
interpolate
To
interpolate
To
(
that
:
Angle
)
:
Interpolator
<
Angle
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
Angle
>
Parameters
that:
Angle
Returns
Interpolator
<
Angle
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
Angle
>
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
that:
AnyAngle
Optional
units:
AngleUnits
Returns
Angle
negative
negative
(
units
?:
AngleUnits
)
:
Angle
Parameters
Optional
units:
AngleUnits
Returns
Angle
norm
norm
(
total
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
total:
AnyAngle
Optional
units:
AngleUnits
Returns
Angle
plus
plus
(
that
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
that:
AnyAngle
Optional
units:
AngleUnits
Returns
Angle
rad
rad
(
)
:
RadAngle
Returns
RadAngle
rad
Value
rad
Value
(
)
:
number
Returns
number
times
times
(
scalar
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
scalar:
number
Optional
units:
AngleUnits
Returns
Angle
to
to
(
units
:
AngleUnits
)
:
Angle
Parameters
units:
AngleUnits
Returns
Angle
to
Css
Value
to
Css
Value
(
)
:
null
|
CSSUnitValue
Returns
null
|
CSSUnitValue
to
String
to
String
(
)
:
string
Returns
string
to
Value
to
Value
(
)
:
Value
to
Value
(
units
:
AngleUnits
)
:
number
Returns
Value
Parameters
units:
AngleUnits
Returns
number
turn
turn
(
)
:
TurnAngle
Returns
TurnAngle
turn
Value
turn
Value
(
)
:
number
Returns
number
Static
create
create
(
value
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
value:
number
Optional
units:
AngleUnits
Returns
Angle
Static
deg
deg
(
value
:
number
)
:
DegAngle
Parameters
value:
number
Returns
DegAngle
Static
form
form
(
)
:
Form
<
Angle
,
AnyAngle
>
Returns
Form
<
Angle
,
AnyAngle
>
Static
from
Any
from
Any
(
value
:
AnyAngle
, defaultUnits
?:
AngleUnits
)
:
Angle
Parameters
value:
AnyAngle
Optional
defaultUnits:
AngleUnits
Returns
Angle
Static
from
Css
Value
from
Css
Value
(
value
:
CSSStyleValue
)
:
Angle
Parameters
value:
CSSStyleValue
Returns
Angle
Static
from
Value
from
Value
(
value
:
Value
)
:
null
|
Angle
Parameters
value:
Value
Returns
null
|
Angle
Static
grad
grad
(
value
:
number
)
:
GradAngle
Parameters
value:
number
Returns
GradAngle
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyAngle
Parameters
value:
unknown
Returns
value
is
AnyAngle
Static
parse
parse
(
string
:
string
, defaultUnits
?:
AngleUnits
)
:
Angle
Parameters
string:
string
Optional
defaultUnits:
AngleUnits
Returns
Angle
Static
rad
rad
(
value
:
number
)
:
RadAngle
Parameters
value:
number
Returns
RadAngle
Static
turn
turn
(
value
:
number
)
:
TurnAngle
Parameters
value:
number
Returns
TurnAngle
Static
zero
zero
(
)
:
TurnAngle
Returns
TurnAngle
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
Turn
Angle
constructor
value
units
combine
compare
To
debug
deg
deg
Value
divide
equals
equivalent
To
grad
grad
Value
hash
Code
interpolate
To
is
Defined
minus
negative
norm
plus
rad
rad
Value
times
to
to
Css
Value
to
String
to
Value
turn
turn
Value
create
deg
form
from
Any
from
Css
Value
from
Value
grad
is
Any
parse
rad
turn
zero
Generated using
TypeDoc