cyjax.index_affine_to_hom#

cyjax.index_affine_to_hom(patch, index)#

Get (global) homogeneous index given affine index in patch.

Parameters:
  • patch (int) – Affine patch, i.e. index of homogeneous coordinate scaled to 1.

  • index (int) – Index in affine coordinate vector.

Return type:

int

Returns:

Corresponding index in homogeneous coordinate vector.