Skip to content

Main content

Circular Arc Distance Winding Choice Tool

Compute circular arc distance winding choice from explicit bounded inputs.

Loading tool…

Description

Return circular travel length under an explicit winding choice.

Spherical geometry distinguishes central angle, surface arc and straight chord. They coincide only in a small-angle limit, and a sphere-radius sensitivity differs from a geodesic calculation on an ellipsoid.

Return circular travel length under an explicit winding choice.

When to use this tool

Use Circular Arc Distance Winding Choice when checking a stated spherical arc, chord or radius relationship.

How to use the tool and how it works

  1. Enter fromRadians, toRadians, radius, winding. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read signedAngle, length. Use the output convention below.

Return circular travel length under an explicit winding choice. Require radius >= 0 and whole winding in [-1000000,1000000]; signedAngle = toRadians-fromRadians+2*pi*winding and length = radius*abs(signedAngle).1

Input fieldMeaning and unitsAccepted input
fromRadiansFrom RadiansRequired. Finite number.
toRadiansTo RadiansRequired. Finite number.
radiusRadiusRequired. Finite number.
windingSupplied whole winding count; angles are retained without automatic shortest-path normalization.Required. Safe integer; minimum -1000000; maximum 1000000.
Output fieldInterpretationReturned shape
signedAngleSigned AngleRequired. Finite number.
lengthLengthRequired. Finite number.
json
{
  "input": {
    "fromRadians": 0,
    "toRadians": 3.141592653589793,
    "radius": 2,
    "winding": 0
  },
  "output": {
    "signedAngle": 3.141592653589793,
    "length": 6.283185307179586
  }
}

Limitations and assumptions

  • Angles are not automatically normalized; winding selects a path rather than the shortest route.
  • 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

Use endpoint coordinates and an appropriate spherical or ellipsoidal geodesic model for real geographic distance.

References

  1. Calculation and input contract: distance/circular-arc-distance-winding-choice — tool.io

Similar or alternative tools