Skip to main content

Prime Mesh Python client library 2025 R2

ScopeEvaluationType

Last update: 10.09.2025

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

ScopeDefinition uses evaluation type to evaluate the scope.

Methods

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

Attributes

Name Description
ScopeEvaluationType.real the real part of a complex number
ScopeEvaluationType.imag the imaginary part of a complex number
ScopeEvaluationType.numerator the numerator of a rational number in lowest terms
ScopeEvaluationType.denominator the denominator of a rational number in lowest terms
ScopeEvaluationType.LABELS Use labels to evaluate the scope.
ScopeEvaluationType.ZONES Use zones to evaluate the scope.

Connect with Ansys