Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/angle
TurnAngle
Class TurnAngle
Hierarchy
Angle
TurnAngle
Implements
HashCode
Debug
Index
Constructors
constructor
Methods
debug
deg
deg
Value
divide
equals
grad
grad
Value
hash
Code
is
Defined
minus
norm
opposite
plus
rad
rad
Value
times
to
to
String
to
Value
turn
turn
Value
units
value
deg
form
from
from
Any
from
Value
grad
parse
rad
turn
zero
Constructors
constructor
new
Turn
Angle
(
value
:
number
)
:
TurnAngle
Parameters
value:
number
Returns
TurnAngle
Methods
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
deg
deg
(
)
:
DegAngle
Returns
DegAngle
deg
Value
deg
Value
(
)
:
number
Returns
number
divide
divide
(
scalar
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
scalar:
number
Default value
units:
AngleUnits
= this.units()
Returns
Angle
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
grad
grad
(
)
:
GradAngle
Returns
GradAngle
grad
Value
grad
Value
(
)
:
number
Returns
number
hash
Code
hash
Code
(
)
:
number
Returns
number
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
that:
AnyAngle
Default value
units:
AngleUnits
= this.units()
Returns
Angle
norm
norm
(
total
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
total:
AnyAngle
Default value
units:
AngleUnits
= this.units()
Returns
Angle
opposite
opposite
(
units
?:
AngleUnits
)
:
Angle
Parameters
Default value
units:
AngleUnits
= this.units()
Returns
Angle
plus
plus
(
that
:
AnyAngle
, units
?:
AngleUnits
)
:
Angle
Parameters
that:
AnyAngle
Default value
units:
AngleUnits
= this.units()
Returns
Angle
rad
rad
(
)
:
RadAngle
Returns
RadAngle
rad
Value
rad
Value
(
)
:
number
Returns
number
times
times
(
scalar
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
scalar:
number
Default value
units:
AngleUnits
= this.units()
Returns
Angle
to
to
(
units
:
AngleUnits
)
:
Angle
Parameters
units:
AngleUnits
Returns
Angle
to
String
to
String
(
)
:
string
Returns
string
to
Value
to
Value
(
units
:
AngleUnits
)
:
number
Parameters
units:
AngleUnits
Returns
number
turn
turn
(
)
:
TurnAngle
Returns
TurnAngle
turn
Value
turn
Value
(
)
:
number
Returns
number
units
units
(
)
:
AngleUnits
Returns
AngleUnits
value
value
(
)
:
number
Returns
number
Static
deg
deg
(
value
:
number
)
:
DegAngle
Parameters
value:
number
Returns
DegAngle
Static
form
form
(
defaultUnits
?:
AngleUnits
, unit
?:
AnyAngle
)
:
Form
<
Angle
,
AnyAngle
>
Parameters
Optional
defaultUnits:
AngleUnits
Optional
unit:
AnyAngle
Returns
Form
<
Angle
,
AnyAngle
>
Static
from
from
(
value
:
number
, units
?:
AngleUnits
)
:
Angle
Parameters
value:
number
Default value
units:
AngleUnits
= "rad"
Returns
Angle
Static
from
Any
from
Any
(
value
:
AnyAngle
, defaultUnits
?:
AngleUnits
)
:
Angle
Parameters
value:
AnyAngle
Optional
defaultUnits:
AngleUnits
Returns
Angle
Static
from
Value
from
Value
(
value
:
Value
)
:
Angle
|
undefined
Parameters
value:
Value
Returns
Angle
|
undefined
Static
grad
grad
(
value
:
number
)
:
GradAngle
Parameters
value:
number
Returns
GradAngle
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
(
units
?:
AngleUnits
)
:
Angle
Parameters
Default value
units:
AngleUnits
= "rad"
Returns
Angle
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Angle
Deg
Angle
Grad
Angle
Rad
Angle
Turn
Angle
constructor
debug
deg
deg
Value
divide
equals
grad
grad
Value
hash
Code
is
Defined
minus
norm
opposite
plus
rad
rad
Value
times
to
to
String
to
Value
turn
turn
Value
units
value
deg
form
from
from
Any
from
Value
grad
parse
rad
turn
zero
Angle
Units
Any
Angle