KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_drc_invalid_outline_issue24078.cpp File Reference

Regression test for issue #24078: DRC fails to report a malformed board outline when one of the intersecting Edge.Cuts contours is composed of Bezier curves chained together. More...

Go to the source code of this file.

Classes

struct  DRC_INVALID_OUTLINE_BEZIER_FIXTURE
 

Functions

 BOOST_FIXTURE_TEST_CASE (InvalidOutlineBezierSlotIssue24078, DRC_INVALID_OUTLINE_BEZIER_FIXTURE)
 

Detailed Description

Regression test for issue #24078: DRC fails to report a malformed board outline when one of the intersecting Edge.Cuts contours is composed of Bezier curves chained together.

The board has an outer rectangle, a long rectangular slot, and a small Bezier-bounded slot that crosses the rectangular slot. Before the fix, TestBoardOutlinesGraphicItems only assembled rectangles, circles and polygons into closed contours for the cross-contour intersection test, so the bezier-chain slot was excluded and the overlap went unreported.

Definition in file test_drc_invalid_outline_issue24078.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()