cyjax.affine_to_hom#
- cyjax.affine_to_hom(affine, patch)#
Convert affine coordinates to homogeneous coordinates.
- Parameters:
affine (
Union[Array,ndarray,bool_,number]) – Affine coordinates.patch (
int) – Affine patch the coordinates are given in.
- Return type:
Union[Array,ndarray,bool_,number]- Returns:
Corresponding homogeneous coordinates.