Description
Form [cos/a, sin/b] and normalize it for the outward normal.
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.
Form [cos/a, sin/b] and normalize it for the outward normal.
When to use this tool
Use Ellipse Parametric Normal Unit Vector when you need a local conic-curve parameter or derivative calculation.
How to use the tool and how it works
- Enter a, b, cosParameter, sinParameter. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read normal. Use the output convention below.
Require positive semiaxes and cosParameter²+sinParameter² within strict 1e-12 of one. Form [cos/a, sin/b] and normalize it for the outward normal.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| a | A | Required. Finite number; strictly above 0. |
| b | B | Required. Finite number; strictly above 0. |
| cosParameter | Cos Parameter | Required. Finite number. |
| sinParameter | Sin Parameter | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| normal | Normal | Required. Array of finite number; maximum items 256. |
{
"input": {
"a": 2,
"b": 1,
"cosParameter": 1,
"sinParameter": 0
},
"output": {
"normal": [
1,
0
]
}
} Limitations and assumptions
- The supplied pair represents an ellipse parameter rather than an arbitrary point direction; axes are aligned and extreme floating-point scales can limit a representable normalization.
- 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
Similar or alternative tools
- Ellipse Normal Tangent Orthogonality Residual
Return tangent [-a sin t, b cos t], normal [cos t/a, sin t/b], and their dot product as residual.
- Geometry: Ellipse Parametric Tangent Direction
Differentiate (a cos t, b sin t), returning the tangent vector and its normalized unitTangent inside result.