> ## 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.

# BOIType

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

BOI type for BOI creation.

### Methods

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

### Attributes

| Name | Description |
| - | - |
| [`BOIType.real`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.real) | the real part of a complex number |
| [`BOIType.imag`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.imag) | the imaginary part of a complex number |
| [`BOIType.numerator`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.numerator) | the numerator of a rational number in lowest terms |
| [`BOIType.denominator`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.denominator) | the denominator of a rational number in lowest terms |
| [`BOIType.OFFSETBOX`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.OFFSETBOX) | Box BOI type for BOI creation. |
| [`BOIType.OFFSETSURFACE`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp01/api/_autosummary/ansys.meshing.prime.BOIType.OFFSETSURFACE) | Surface BOI type for BOI creation. |
