KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
class | ROUND_SEGMENT_2D |
Functions | |
bool | Is_segment_a_circle (const SFVEC2F &aStart, const SFVEC2F &aEnd) |
Check if segment start and end is very close to each other. More... | |
Variables | |
static const float | s_min_dot = ( FLT_EPSILON * 4.0f * FLT_EPSILON * 4.0f ) |
Check if segment start and end is very close to each other.
This should used to check if the segment should be converted to a circle instead.
Definition at line 98 of file round_segment_2d.h.
References s_min_dot.
Referenced by BOARD_ADAPTER::addShape(), BOARD_ADAPTER::addText(), BOARD_ADAPTER::buildPadOutlineAsSegments(), BOARD_ADAPTER::createPadWithMargin(), BOARD_ADAPTER::createTrack(), and BOARD_ADAPTER::transformArcToSegments().
|
static |
Definition at line 89 of file round_segment_2d.h.
Referenced by Is_segment_a_circle().