| genre | Vector |
| status | stable |
| author | Horst Hahn |
| package | MeVisLab/Standard |
| dll | MLCoordUtils1 |
| definition | MLCoordUtils1.def |
| see also | SoCalculator, CalculateAngle |
| keywords | vector, calculation, vectoradd, vectorsubtract, vectorproduct |
The module CalculateVectorFromVectors performs calculations on two given vectors.
| Flip to Half-Space: Enum |
| Mode: Enum |
| Normalize: Bool |
| Result: Vector3 |
| Vector 1: Vector3 |
| Vector 2: Vector3 |
Defines the function.
Values:
| Title | Name | Deprecated Name | Description |
|---|---|---|---|
| Add | Add | add (a+b) | Adds the two input vectors. |
| Subtract | Subtract | subtract (a-b) | Subtracts the second vector from the first one. |
| Cross | Cross | cross product (axb) | Computes the cross product of the input vectors. |
| Ortho Project | OrthoProject | Projects the first vector onto a plane orthogonal to the second vector. r = ((b x a) x b) NOTE that the input vectors are not normalized. |
Defines one of six coordinate half-spaces available according to the three coordinate axes x, y, and z.
If a given condition is not met, the vector is inverted, i.e. flipped by multiplying each coordinate with (-1).
Values:
| Title | Name | Deprecated Name |
|---|---|---|
| None | None | none |
| Pos X | PosX | |
| Neg X | NegX | |
| Pos Y | PosY | |
| Neg Y | NegY | |
| Pos Z | PosZ | |
| Neg Z | NegZ |
Sets the first input vector.