DiagonalAngle class

A class that represents an angle for diagonal cuts.

DiagonalAngle encapsulates angle values and provides convenient constructors for creating angles in both radians and degrees. It also implements proper equality comparison for angle values.

Constructors

DiagonalAngle.deg({double angle = 0})
Creates a DiagonalAngle from a degree value.
DiagonalAngle.radians({double angle = 0})
Creates a DiagonalAngle from a radian value.
const

Properties

angleRadians double
The angle value stored in radians.
final
hashCode int
Returns the hash code for this angle.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
Determines whether this angle is equal to another object.
override