Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/angle
Angle
Class Angle
Hierarchy
Angle
DegAngle
RadAngle
GradAngle
TurnAngle
Implements
HashCode
Debug
Index
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
Methods
Abstract
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
deg
deg
(
)
:
DegAngle
Returns
DegAngle
Abstract
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
Abstract
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
grad
grad
(
)
:
GradAngle
Returns
GradAngle
Abstract
grad
Value
grad
Value
(
)
:
number
Returns
number
Abstract
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
Abstract
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
Abstract
to
String
to
String
(
)
:
string
Returns
string
to
Value
to
Value
(
units
:
AngleUnits
)
:
number
Parameters
units:
AngleUnits
Returns
number
turn
turn
(
)
:
TurnAngle
Returns
TurnAngle
Abstract
turn
Value
turn
Value
(
)
:
number
Returns
number
Abstract
units
units
(
)
:
AngleUnits
Returns
AngleUnits
Abstract
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
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
Deg
Angle
Grad
Angle
Rad
Angle
Turn
Angle
Angle
Units
Any
Angle