mirror_vector_vector
- compas.geometry.mirror_vector_vector(v1, v2)[source]
Mirrors vector about vector.
- Parameters:
- v1[float, float, float] |
compas.geometry.Vector
The vector.
- v2[float, float, float] |
compas.geometry.Vector
The normalized vector as mirror axis
- v1[float, float, float] |
- Returns:
- [float, float, float]
The mirrored vector.
Notes
For more info, see [1].
References
[1]Math Stack Exchange. How to get a reflection vector? Available at: https://math.stackexchange.com/questions/13261/how-to-get-a-reflection-vector.