intersection_type#

EdbPolygon.intersection_type(primitive)[source]#

Get intersection type between actual primitive and another primitive or polygon data.

Parameters:
primitivepyaeedt.edb_core.edb_data.primitives_data.EDBPrimitives or PolygonData
Returns:
int

Intersection type: 0 - objects do not intersect, 1 - this object fully inside other (no common contour points), 2 - other object fully inside this, 3 - common contour points, 4 - undefined intersection.