Skip to content

Main content

Ship Frame Port Starboard Sign Tool

Classify an explicit transverse coordinate under its supplied ship-frame sign convention.

Loading tool…

Description

Retain or negate transverseCoordinate to obtain a starboard-positive value.

Port and starboard are vessel-relative directions. A transverse coordinate's sign depends on which side the source convention calls positive.

Retain or negate transverseCoordinate to obtain a starboard-positive value.

When to use this tool

Use Ship Frame Port Starboard Sign when you need to translate a stated vessel transverse sign convention.

How to use the tool and how it works

  1. Enter transverseCoordinate, positiveIsStarboard. 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 side, signedStarboardCoordinate. Use the output convention below.

Retain or negate transverseCoordinate to obtain a starboard-positive value. Label zero centerline and nonzero coordinates using positiveIsStarboard.1

Input fieldMeaning and unitsAccepted input
transverseCoordinateTransverse CoordinateRequired. Finite number.
positiveIsStarboardPositive Is StarboardRequired. Boolean.
Output fieldInterpretationReturned shape
sideSideRequired. Text; maximum UTF-16 length 8192.
signedStarboardCoordinateSigned Starboard CoordinateRequired. Finite number.
json
{
  "input": {
    "transverseCoordinate": 2,
    "positiveIsStarboard": true
  },
  "output": {
    "side": "starboard",
    "signedStarboardCoordinate": 2
  }
}

Limitations and assumptions

  • This is a sign crosswalk rather than a position fix or navigational assessment.
  • 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

Preserve the source coordinate frame and use a full spatial transformation when heading or global position is involved.

References

  1. Calculation and input contract: nautical/ship-frame-port-starboard-sign — tool.io

Similar or alternative tools