KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DISABLE_ARC_RADIUS_CORRECTION Class Reference

When creating polygons to create a clearance polygonal area, the polygon must be same or bigger than the original shape. More...

#include <geometry_utils.h>

Public Member Functions

 DISABLE_ARC_RADIUS_CORRECTION ()
 
 ~DISABLE_ARC_RADIUS_CORRECTION ()
 

Detailed Description

When creating polygons to create a clearance polygonal area, the polygon must be same or bigger than the original shape.

Polygons are bigger if the original shape has arcs (round rectangles, ovals, circles...). However, when building the solder mask layer modifying the shapes when converting them to polygons is not acceptable (the modification can break calculations). So one can disable the shape expansion within a particular scope by allocating a DISABLE_ARC_CORRECTION.

Definition at line 75 of file geometry_utils.h.

Constructor & Destructor Documentation

◆ DISABLE_ARC_RADIUS_CORRECTION()

DISABLE_ARC_RADIUS_CORRECTION::DISABLE_ARC_RADIUS_CORRECTION ( )

Definition at line 96 of file geometry_utils.cpp.

References s_disable_arc_correction.

◆ ~DISABLE_ARC_RADIUS_CORRECTION()

DISABLE_ARC_RADIUS_CORRECTION::~DISABLE_ARC_RADIUS_CORRECTION ( )

Definition at line 101 of file geometry_utils.cpp.

References s_disable_arc_correction.


The documentation for this class was generated from the following files: