# Corner Finder Specification
Corner Finder Specification defines which in-plane geometry corners are detected before corner snapping or corner refinement is applied.
This object corresponds to tidy3d.CornerFinderSpec (opens new window).
Corner detection is used by the corner_finder controls in layer refinement.
# Medium
medium: Medium type considered by the corner finder.
- Options: Metal/Dielectric/All
- Default: Metal
# Angle Threshold
angle_threshold: Angle threshold used to qualify a vertex as a corner.
- Type: floating-point number
# Distance Threshold
distance_threshold: Optional distance threshold used to disqualify vertices that are too close to neighboring vertices.
- Type: floating-point number
# Concave Resolution
concave_resolution: Number of steps used to determine dl_min for concave features.
- Type: integer
# Convex Resolution
convex_resolution: Number of steps used to determine dl_min for convex features.
- Type: integer
# Mixed Resolution
mixed_resolution: Number of steps used to determine dl_min for mixed concave-convex features.
- Type: integer
NOTE
If a corner resolution field is empty, the corresponding dl_min reduction is not applied.