Angle
class Angle
A geometric angle whose value you access in either radians or degrees.
-
A numeric value representing the degree of the angle in degrees.
Declaration
var degrees: Double { get } -
A numeric value representing the degree of the angle in radians
Declaration
var radians: Double { get } -
The object’s description
Declaration
var description: String { get } -
Compares two values for equality.
The
equalsfunction is invoked using infix notation as in the following code snippet:lhs == rhs.Declaration
func equals(_ lhs: Angle) -> BoolParameters
lhsA value.
rhsAnother value.
Return Value
trueif thelhsandrhsare equal,falseotherwise.