BOIType
Last update: 17.07.2025class 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 |
Returns self, the complex conjugate of any int. |
BOIType.bit_length(/) |
Number of bits necessary to represent self in binary. |
BOIType.bit_count(/) |
Number of ones in the binary representation of the absolute value of self. |
BOIType.to_bytes(/[, length, byteorder, signed]) |
Return an array of bytes representing an integer. |
BOIType.from_bytes(/, bytes[, byteorder, signed]) |
Return the integer represented by the given array of bytes. |
BOIType.as_integer_ratio(/) |
Return a pair of integers, whose ratio is equal to the original int. |
BOIType.is_integer(/) |
Returns True. |
Attributes
| Name | Description |
|---|---|
BOIType.real |
the real part of a complex number |
BOIType.imag |
the imaginary part of a complex number |
BOIType.numerator |
the numerator of a rational number in lowest terms |
BOIType.denominator |
the denominator of a rational number in lowest terms |
BOIType.OFFSETBOX |
Box BOI type for BOI creation. |
BOIType.OFFSETSURFACE |
Surface BOI type for BOI creation. |