Skip to content

Main content

Geometry: Ellipse Parametric Tangent Direction Tool

Evaluate the parameter derivative and oriented unit tangent of x=a*cos(t), y=b*sin(t), with positive axes; parameter is not the polar angle.

Loading tool…

Description

Differentiate (a cos t, b sin t), returning the tangent vector and its normalized unitTangent inside result.

A conic curve has parameters tied to a chosen axis system and parameterization. Parametric angle, polar angle, focus distance, tangent, and normal describe different relationships and cannot be interchanged without their definitions.

Differentiate (a cos t, b sin t), returning the tangent vector and its normalized unitTangent inside result.

When to use this tool

Use Geometry: Ellipse Parametric Tangent Direction when you need a local conic-curve parameter or derivative calculation.

How to use the tool and how it works

  1. Enter semiAxisX, semiAxisY, parameterDegrees. 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 result. Expand result to inspect the returned fields.

Require positive semiAxisX and semiAxisY and parameterDegrees within [-360, 360]. Differentiate (a cos t, b sin t), returning the tangent vector and its normalized unitTangent inside result.1

Input fieldMeaning and unitsAccepted input
semiAxisXSemi Axis XRequired. Finite number.
semiAxisYSemi Axis YRequired. Finite number.
parameterDegreesParameter Degrees Unit: deg.Required. Finite number.
Output fieldInterpretationReturned shape
resultObject containing the calculated members; expand to inspect the fields below.Required. Object.
result.tangentVectorTangent VectorCalculated result member: array.
result.unitTangentUnit TangentCalculated result member: array.
json
{
  "input": {
    "semiAxisX": 2,
    "semiAxisY": 3,
    "parameterDegrees": 0
  },
  "output": {
    "result": {
      "tangentVector": [
        0,
        3
      ],
      "unitTangent": [
        0,
        1
      ]
    }
  }
}

Limitations and assumptions

  • The parameter is an ellipse parameter, not generally the polar bearing of the point; axes are aligned and centered, without arbitrary rotation, point validation, or a supplied curve fit.
  • Outputs are nested inside result. 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 the full conic equation and coordinate transform for rotated or translated curves. Check semiaxis ordering, parameter units, and degeneracy before interpreting a local tangent or focus identity.

References

  1. Calculation and input contract: geometry/ellipse-parametric-tangent-direction — tool.io

Similar or alternative tools