Class org.as2lib.data.type.Radian

Implemented Interfaces

Angle

Description

Radian represents a angle in radian.

Field Index

Inherited from Number

MAX_VALUE, MIN_VALUE, NaN, NEGATIVE_INFINITY, POSITIVE_INFINITY

Method Index

new Radian()
toDegree(), toRadian(), toString(), valueOf()

Constructor Detail

Radian

public function Radian(radian:Number)

Constructs a new Radian instance.

Parameters

radianthe angle in radian

Method Detail

valueOf

public function valueOf(Void):Number

Returns the angle in radian as number.

Return

the angle in radian as number

toRadian

public function toRadian(Void):Number

Returns the angle in radian.

Return

the angle in radian

Specified By

toRadian() in org.as2lib.data.type.Angle

toDegree

public function toDegree(Void):Number

Returns the angle in degree.

Return

the angle in degree

Specified By

toDegree() in org.as2lib.data.type.Angle

toString

public function toString():String

Returns the string representation of this instance.

The string representation is obtained via the stringifier returned by the Config.getObjectStringifier method.

Return

the string representation of this instance