| 
    KiCad PCB EDA Suite
    
   | 
 
Go to the source code of this file.
Functions | |
| void | ConnectBoardShapes (std::vector< PCB_SHAPE * > &aShapeList, int aChainingEpsilon) | 
| Connects shapes to each other, making continious contours (adjacent shapes will have a common vertex) aChainingEpsilon is the max distance between vertices of different shapes to connect.   | |
| void ConnectBoardShapes | ( | std::vector< PCB_SHAPE * > & | aShapeList, | 
| int | aChainingEpsilon ) | 
Connects shapes to each other, making continious contours (adjacent shapes will have a common vertex) aChainingEpsilon is the max distance between vertices of different shapes to connect.
Modifies original shapes
Definition at line 125 of file fix_board_shape.cpp.
References SEG::A, SEG::Angle(), ANGLE_45, ARC, arcPts(), SEG::B, BEZIER, closer_to_first(), delta, findNext(), EDA_SHAPE::GetArcMid(), EDA_SHAPE::GetBezierC1(), EDA_SHAPE::GetBezierC2(), EDA_SHAPE::GetEnd(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), SEG::IntersectLines(), SEG::Intersects(), SEGMENT, EDA_SHAPE::SetArcGeometry(), EDA_SHAPE::SetBezierC1(), EDA_SHAPE::SetBezierC2(), EDA_SHAPE::SetEnd(), EDA_ITEM::SetFlags(), EDA_SHAPE::SetStart(), and SKIP_STRUCT.
Referenced by GRAPHICS_CLEANER::fixBoardOutlines(), EDIT_TOOL::HealShapes(), PCB_IO_EASYEDA_PARSER::ParseBoard(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_EASYEDA_PARSER::ParseFootprint(), PCB_IO_EASYEDAPRO_PARSER::ParseFootprint(), and DRAWING_TOOL::PlaceImportedGraphics().