BinOp
org.abh80.nf.core.metrics.AngleUnit.BinOp
Provides arithmetic and comparison operations for AngleUnit instances.
Value parameters
- self
-
the AngleUnit instance
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Multiplies two angle units.
Multiplies two angle units.
Value parameters
- second
-
the other angle unit
Attributes
- Returns
-
the product as an AngleUnit
Adds two angle units.
Adds two angle units.
Value parameters
- second
-
the other angle unit
Attributes
- Returns
-
the sum as an AngleUnit
Subtracts one angle unit from another.
Subtracts one angle unit from another.
Value parameters
- second
-
the other angle unit
Attributes
- Returns
-
the difference as an AngleUnit
Divides one angle unit by another.
Divides one angle unit by another.
Value parameters
- second
-
the other angle unit
Attributes
- Returns
-
the quotient as an AngleUnit
Compares two angle units for approximate equality.
Compares two angle units for approximate equality.
Value parameters
- epsilon
-
the tolerance for comparison
- second
-
the other angle unit
Attributes
- Returns
-
true if the difference is less than epsilon, false otherwise
In this article