aerocaps.geom.transformation.transform_points_into_coordinate_system#
- transform_points_into_coordinate_system(points_in_current_csys: ndarray, current_csys: List[Vector3D], primed_csys: List[Vector3D]) ndarray[source]#
Transforms a set of points from one coordinate system into another.
- Parameters:
points_in_current_csys (np.ndarray) – Array of points, \(N \times 3\)
current_csys (List[Vector3D]) – List of vector objects describing the coordinate system the points currently reside in. Should be in the order \((i,j,k)\). The vectors are normalized automatically by the code.
primed_csys (List[Vector3D]) – List of vector objects describing the coordinate system into which the points should be transformed. Should be in the order \((i,j,k)\). The vectors are normalized automatically by the code.
- Returns:
Transformed points
- Return type:
np.ndarray