KiCad PCB EDA Suite
class_zone.cpp File Reference

Implementation of class to handle copper zones. More...

#include <fctsys.h>
#include <wxstruct.h>
#include <trigo.h>
#include <class_pcb_screen.h>
#include <class_drawpanel.h>
#include <kicad_string.h>
#include <colors_selection.h>
#include <richio.h>
#include <macros.h>
#include <wxBasePcbFrame.h>
#include <msgpanel.h>
#include <bitmaps.h>
#include <class_board.h>
#include <class_zone.h>
#include <pcbnew.h>
#include <zones.h>
#include <math_for_graphics.h>
#include <polygon_test_point_inside.h>

Go to the source code of this file.

Macros

#define MAX_DIST_IN_MM   0.25
 
#define MAXPTS   200
 

Functions

bool sortEndsByDescendingX (const VECTOR2I &ref, const VECTOR2I &tst)
 

Detailed Description

Implementation of class to handle copper zones.

Definition in file class_zone.cpp.

Macro Definition Documentation

#define MAX_DIST_IN_MM   0.25
#define MAXPTS   200

Referenced by ZONE_CONTAINER::Hatch().

Function Documentation

bool sortEndsByDescendingX ( const VECTOR2I ref,
const VECTOR2I tst 
)

Definition at line 944 of file class_zone.cpp.

References VECTOR2< T >::x.

Referenced by ZONE_CONTAINER::Hatch().

945 {
946  return tst.x < ref.x;
947 }