Description
Reduce angleDegrees and zeroDegrees modulo 360 before subtracting, then normalize their difference into [0, 360).
Circular quantities repeat after a full turn. A normalized angle or signed shortest difference needs a chosen zero, direction, unit, and half-turn tie convention.
Reduce angleDegrees and zeroDegrees modulo 360 before subtracting, then normalize their difference into [0, 360).
When to use this tool
Use Angle Phase Zero Reference when you need one circular-coordinate component under an explicit normalization convention.
How to use the tool and how it works
- Enter angleDegrees, zeroDegrees. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read phaseDegrees. Use the output convention below.
Reduce angleDegrees and zeroDegrees modulo 360 before subtracting, then normalize their difference into [0, 360).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| angleDegrees | Angle Degrees | Required. Finite number. |
| zeroDegrees | Zero Degrees | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| phaseDegrees | Phase Degrees | Required. Finite number. |
{
"input": {
"angleDegrees": 15,
"zeroDegrees": 350
},
"output": {
"phaseDegrees": 25
}
} Limitations and assumptions
- This is a phase relative to a supplied zero; no axis direction, geographic bearing, astronomical correction, or angular uncertainty is inferred.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Verify the direction and angular units before combining this result with navigation or geometric calculations.
References
Similar or alternative tools
- Nautical Course Circular Difference
Normalize second minus first to [-180, 180) for signedDifferenceDegrees.
- Fabric Repeat Panel Phase
Compute panelStart minus referenceStart modulo positive repeatLength for phase.