> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StitchType

### *class* ansys.meshing.prime.StitchType(value, names=None, \*values, module=None, qualname=None, type=None, start=1, boundary=None)

Stitch type depending on nature of surface boundary edges to be stitched.

### Methods

| Name | Description |
| - | - |
| [`StitchType.conjugate`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.conjugate) | Returns self, the complex conjugate of any int. |
| [`StitchType.bit_length`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.bit_length)(/) | Number of bits necessary to represent self in binary. |
| [`StitchType.bit_count`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.bit_count)(/) | Number of ones in the binary representation of the absolute value of self. |
| [`StitchType.to_bytes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.to_bytes)(/\[, length, byteorder, ...]) | Return an array of bytes representing an integer. |
| [`StitchType.from_bytes`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.from_bytes)(/, bytes\[, byteorder, ...]) | Return the integer represented by the given array of bytes. |
| [`StitchType.as_integer_ratio`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.as_integer_ratio)(/) | Return a pair of integers, whose ratio is equal to the original int. |
| [`StitchType.is_integer`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.is_integer)(/) | Returns True. |

### Attributes

| Name | Description |
| - | - |
| [`StitchType.real`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.real) | the real part of a complex number |
| [`StitchType.imag`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.imag) | the imaginary part of a complex number |
| [`StitchType.numerator`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.numerator) | the numerator of a rational number in lowest terms |
| [`StitchType.denominator`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.denominator) | the denominator of a rational number in lowest terms |
| [`StitchType.ALLALL`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.ALLALL) | Stitch surfaces at boundary edges. |
| [`StitchType.FREEFREE`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.StitchType.FREEFREE) | Stitch surfaces at free boundary edges. |
