swarmauri.core.vectors.IVectorTransform module
- class swarmauri.core.vectors.IVectorTransform.IVectorTransform[source]
Bases:
ABC
Interface for performing various transformations on vectors.
- abstract project(plane_normal)[source]
Project a vector onto a plane defined by its normal vector.
- Return type:
- abstract reflect(plane_normal)[source]
Reflect a vector across a plane defined by its normal vector.
- Return type:
- abstract rotate(angle, axis)[source]
Rotate a vector around a given axis by a certain angle.
- Return type: