Skip to content

Main content

Periodic Point Antipode Tie Tool

Calculate periodic point antipode tie from explicit caller-supplied inputs.

Loading tool…

Description

Return shortest periodic point separation and exact antipodal status.

A periodic coordinate identifies values separated by a whole cycle. Minimum-image gaps require a wrapping interval and an explicit half-cycle tie convention; signed direction and unsigned separation answer different questions.

Return shortest periodic point separation and exact antipodal status.

When to use this tool

Use Periodic Point Antipode Tie when checking one explicit periodic-coordinate or gap convention.

How to use the tool and how it works

  1. Enter first, second, period. 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 distance, antipodal. Inspect antipodal before interpreting the associated values.

Return shortest periodic point separation and exact antipodal status. Require period > 0; wrap second-first and take min(remainder,period-remainder). Reduce coordinates separately if direct subtraction overflows.1

Input fieldMeaning and unitsAccepted input
firstFirstRequired. Finite number.
secondSecondRequired. Finite number.
periodPeriodRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
distanceDistanceRequired. Finite number.
antipodalAntipodalRequired. Boolean.
json
{
  "input": {
    "first": 0,
    "second": 5,
    "period": 10
  },
  "output": {
    "distance": 5,
    "antipodal": true
  }
}

Limitations and assumptions

  • Half-cycle detection uses exact equality without tolerance; the period's unit must match coordinates.
  • 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 a complete periodic geometry model when multiple axes, seam-crossing intervals or path winding matter.

References

  1. Calculation and input contract: distance/periodic-point-antipode-tie — tool.io

Similar or alternative tools