Skip to main content

Prime Mesh Python client library 2025 R2 SP01

ZoneType

Last update: 16.10.2025

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

ZoneType decides the type of zone.

Methods

Name Description
ZoneType.conjugate Returns self, the complex conjugate of any int.
ZoneType.bit_length(/) Number of bits necessary to represent self in binary.
ZoneType.bit_count(/) Number of ones in the binary representation of the absolute value of self.
ZoneType.to_bytes(/[, length, byteorder, signed]) Return an array of bytes representing an integer.
ZoneType.from_bytes(/, bytes[, byteorder, ...]) Return the integer represented by the given array of bytes.
ZoneType.as_integer_ratio(/) Return a pair of integers, whose ratio is equal to the original int.
ZoneType.is_integer(/) Returns True.

Attributes

Name Description
ZoneType.real the real part of a complex number
ZoneType.imag the imaginary part of a complex number
ZoneType.numerator the numerator of a rational number in lowest terms
ZoneType.denominator the denominator of a rational number in lowest terms
ZoneType.EDGE Denotes the zone is edge zone.
ZoneType.FACE Denotes the zone is face zone.
ZoneType.VOLUME Denotes the zone is volume zone.

Connect with Ansys