Skip to main content

Prime Mesh Python client library 2025 R2

IntersectionMask

Last update: 10.09.2025

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

Scaffold parameters use intersection mask to define nature of intersection computation.

Methods

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

Attributes

Name Description
IntersectionMask.real the real part of a complex number
IntersectionMask.imag the imaginary part of a complex number
IntersectionMask.numerator the numerator of a rational number in lowest terms
IntersectionMask.denominator the denominator of a rational number in lowest terms
IntersectionMask.EDGEEDGE Performs edge to edge intersection.
IntersectionMask.FACEFACE Performs face to face intersection.
IntersectionMask.FACEFACEANDEDGEEDGE Perform face to face and edge to edge intersections.

Connect with Ansys