Description
Require a valid zero-based axis and negate only that coordinate.
A vector has ordered coordinates. Its length and direction are different properties: scaling changes length, while normalization retains direction when the vector is nonzero. Coordinate order and the chosen axes determine the interpretation.
Require a valid zero-based axis and negate only that coordinate.
When to use this tool
Use Vector Axis Reflection when you need a small coordinate transformation or a direction calculation under an explicit axis convention.
How to use the tool and how it works
- Enter coordinates, axis. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read reflected. Use the output convention below.
Require a valid zero-based axis and negate only that coordinate.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| coordinates | Coordinates | Required. Array of finite number; maximum items 256. |
| axis | Axis | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| reflected | Reflected | Required. Array of finite number; maximum items 256. |
{
"input": {
"coordinates": [
2,
-3,
4
],
"axis": 1
},
"output": {
"reflected": [
2,
3,
4
]
}
} Limitations and assumptions
- Reflection is about the coordinate origin on that axis; no arbitrary plane or global frame transform is performed.
- 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
Verify the coordinate system and use a complete transformation matrix when several transformations must be composed.
References
Similar or alternative tools
- Vector Coordinate Axis Permutation
Select coordinates in permutation order.
- Vector Unit Direction Zero Policy
Scale coordinates by their largest absolute magnitude and normalize the scaled vector with a Euclidean norm.