tidy3d.components.geometry.base.SimplePlaneIntersection#
- class SimplePlaneIntersection[source]#
-
A geometry where intersections with an axis aligned plane may be computed efficiently.
Methods
intersections_tilted_plane(normal, origin, to_2D)Return a list of shapely geometries at the plane specified by normal and origin.
- intersections_tilted_plane(normal, origin, to_2D, cleanup=True, quad_segs=None)[source]#
Return a list of shapely geometries at the plane specified by normal and origin. Checks special cases before relying on the complete computation.
- Parameters:
normal (Coordinate) – Vector defining the normal direction to the plane.
origin (Coordinate) – Vector defining the plane origin.
to_2D (MatrixReal4x4) – Transformation matrix to apply to resulting shapes.
cleanup (bool = True) – If True, removes extremely small features from each polygon’s boundary.
quad_segs (Optional[int] = None) – Number of segments used to discretize circular shapes. If
None, uses high-quality visualization settings.
- Returns:
List of 2D shapes that intersect plane. For more details refer to Shapely’s Documentation.
- Return type:
list[shapely.geometry.base.BaseGeometry]