KiCad PCB EDA Suite
cell.h File Reference

Go to the source code of this file.

Macros

#define HOLE   0x01 /* a conducting hole or obstacle */
 
#define CELL_is_MODULE   0x02 /* auto placement occupied by a module */
 
#define CELL_is_EDGE   0x20 /* Area and auto-placement: limiting cell contour (Board, Zone) */
 
#define CELL_is_FRIEND   0x40 /* Area and auto-placement: cell part of the net */
 
#define CELL_is_ZONE   0x80 /* Area and auto-placement: cell available */
 
#define OCCUPE   1 /* Autorouting: obstacle tracks and vias. */
 
#define VIA_IMPOSSIBLE   2 /* Autorouting: obstacle for vias. */
 
#define CURRENT_PAD   4
 
#define HOLE_NORTH   0x00000002L /* upward */
 
#define HOLE_NORTHEAST   0x00000004L /* upward and right */
 
#define HOLE_EAST   0x00000008L /* to the right */
 
#define HOLE_SOUTHEAST   0x00000010L /* downward and right */
 
#define HOLE_SOUTH   0x00000020L /* downward */
 
#define HOLE_SOUTHWEST   0x00000040L /* downward and left */
 
#define HOLE_WEST   0x00000080L /* to the left */
 
#define HOLE_NORTHWEST   0x00000100L /* upward and left */
 
#define LINE_HORIZONTAL   0x00000002L /* left-to-right line */
 
#define LINE_VERTICAL   0x00000004L /* top-to-bottom line */
 
#define CORNER_NORTHEAST   0x00000008L /* upper right corner */
 
#define CORNER_SOUTHEAST   0x00000010L /* lower right corner */
 
#define CORNER_SOUTHWEST   0x00000020L /* lower left corner */
 
#define CORNER_NORTHWEST   0x00000040L /* upper left corner */
 
#define DIAG_NEtoSW   0x00000080L /* northeast to southwest */
 
#define DIAG_SEtoNW   0x00000100L /* southeast to northwest */
 
#define BENT_NtoSE   0x00000200L /* north to southeast */
 
#define BENT_NtoSW   0x00000400L /* north to southwest */
 
#define BENT_EtoSW   0x00000800L /* east to southwest */
 
#define BENT_EtoNW   0x00001000L /* east to northwest */
 
#define BENT_StoNW   0x00002000L /* south to northwest */
 
#define BENT_StoNE   0x00004000L /* south to northeast */
 
#define BENT_WtoNE   0x00008000L /* west to northeast */
 
#define BENT_WtoSE   0x00010000L /* west to southeast */
 
#define ANGLE_NEtoSE   0x00020000L /* northeast to southeast */
 
#define ANGLE_SEtoSW   0x00040000L /* southeast to southwest */
 
#define ANGLE_SWtoNW   0x00080000L /* southwest to northwest */
 
#define ANGLE_NWtoNE   0x00100000L /* northwest to northeast */
 
#define SHARP_NtoNE   0x00200000L /* north to northeast */
 
#define SHARP_EtoNE   0x00400000L /* east to northeast */
 
#define SHARP_EtoSE   0x00800000L /* east to southeast */
 
#define SHARP_StoSE   0x01000000L /* south to southeast */
 
#define SHARP_StoSW   0x02000000L /* south to southwest */
 
#define SHARP_WtoSW   0x04000000L /* west to southwest */
 
#define SHARP_WtoNW   0x08000000L /* west to northwest */
 
#define SHARP_NtoNW   0x10000000L /* north to northwest */
 
#define FROM_NOWHERE   0
 
#define FROM_NORTH   1
 
#define FROM_NORTHEAST   2
 
#define FROM_EAST   3
 
#define FROM_SOUTHEAST   4
 
#define FROM_SOUTH   5
 
#define FROM_SOUTHWEST   6
 
#define FROM_WEST   7
 
#define FROM_NORTHWEST   8
 
#define FROM_OTHERSIDE   9
 

Macro Definition Documentation

#define ANGLE_NEtoSE   0x00020000L /* northeast to southeast */

Definition at line 87 of file cell.h.

#define ANGLE_NWtoNE   0x00100000L /* northwest to northeast */

Definition at line 90 of file cell.h.

#define ANGLE_SEtoSW   0x00040000L /* southeast to southwest */

Definition at line 88 of file cell.h.

#define ANGLE_SWtoNW   0x00080000L /* southwest to northwest */

Definition at line 89 of file cell.h.

#define BENT_EtoNW   0x00001000L /* east to northwest */

Definition at line 80 of file cell.h.

#define BENT_EtoSW   0x00000800L /* east to southwest */

Definition at line 79 of file cell.h.

#define BENT_NtoSE   0x00000200L /* north to southeast */

Definition at line 77 of file cell.h.

#define BENT_NtoSW   0x00000400L /* north to southwest */

Definition at line 78 of file cell.h.

#define BENT_StoNE   0x00004000L /* south to northeast */

Definition at line 82 of file cell.h.

#define BENT_StoNW   0x00002000L /* south to northwest */

Definition at line 81 of file cell.h.

#define BENT_WtoNE   0x00008000L /* west to northeast */

Definition at line 83 of file cell.h.

#define BENT_WtoSE   0x00010000L /* west to southeast */

Definition at line 84 of file cell.h.

#define CELL_is_EDGE   0x20 /* Area and auto-placement: limiting cell contour (Board, Zone) */
#define CELL_is_FRIEND   0x40 /* Area and auto-placement: cell part of the net */

Definition at line 43 of file cell.h.

#define CELL_is_MODULE   0x02 /* auto placement occupied by a module */

Definition at line 41 of file cell.h.

Referenced by drawPlacementRoutingMatrix(), genModuleOnRoutingMatrix(), and TstRectangle().

#define CELL_is_ZONE   0x80 /* Area and auto-placement: cell available */
#define CORNER_NORTHEAST   0x00000008L /* upper right corner */

Definition at line 67 of file cell.h.

#define CORNER_NORTHWEST   0x00000040L /* upper left corner */

Definition at line 70 of file cell.h.

#define CORNER_SOUTHEAST   0x00000010L /* lower right corner */

Definition at line 68 of file cell.h.

#define CORNER_SOUTHWEST   0x00000020L /* lower left corner */

Definition at line 69 of file cell.h.

#define CURRENT_PAD   4

Definition at line 49 of file cell.h.

Referenced by Autoroute_One_Track().

#define DIAG_NEtoSW   0x00000080L /* northeast to southwest */

Definition at line 73 of file cell.h.

#define DIAG_SEtoNW   0x00000100L /* southeast to northwest */

Definition at line 74 of file cell.h.

#define FROM_EAST   3

Definition at line 106 of file cell.h.

Referenced by Retrace().

#define FROM_NORTH   1

Definition at line 104 of file cell.h.

Referenced by Retrace().

#define FROM_NORTHEAST   2

Definition at line 105 of file cell.h.

Referenced by Retrace().

#define FROM_NORTHWEST   8

Definition at line 111 of file cell.h.

Referenced by Retrace().

#define FROM_NOWHERE   0

Definition at line 103 of file cell.h.

Referenced by Autoroute_One_Track().

#define FROM_OTHERSIDE   9

Definition at line 112 of file cell.h.

Referenced by Autoroute_One_Track(), MATRIX_ROUTING_HEAD::CalcDist(), and Retrace().

#define FROM_SOUTH   5

Definition at line 108 of file cell.h.

Referenced by Retrace().

#define FROM_SOUTHEAST   4

Definition at line 107 of file cell.h.

Referenced by Retrace().

#define FROM_SOUTHWEST   6

Definition at line 109 of file cell.h.

Referenced by Retrace().

#define FROM_WEST   7

Definition at line 110 of file cell.h.

Referenced by Retrace().

#define HOLE   0x01 /* a conducting hole or obstacle */
#define HOLE_EAST   0x00000008L /* to the right */

Definition at line 55 of file cell.h.

Referenced by Retrace().

#define HOLE_NORTH   0x00000002L /* upward */

Definition at line 53 of file cell.h.

Referenced by Retrace().

#define HOLE_NORTHEAST   0x00000004L /* upward and right */

Definition at line 54 of file cell.h.

Referenced by Retrace().

#define HOLE_NORTHWEST   0x00000100L /* upward and left */

Definition at line 60 of file cell.h.

Referenced by Retrace().

#define HOLE_SOUTH   0x00000020L /* downward */

Definition at line 57 of file cell.h.

Referenced by Retrace().

#define HOLE_SOUTHEAST   0x00000010L /* downward and right */

Definition at line 56 of file cell.h.

Referenced by Retrace().

#define HOLE_SOUTHWEST   0x00000040L /* downward and left */

Definition at line 58 of file cell.h.

Referenced by Retrace().

#define HOLE_WEST   0x00000080L /* to the left */

Definition at line 59 of file cell.h.

Referenced by Retrace().

#define LINE_HORIZONTAL   0x00000002L /* left-to-right line */

Definition at line 63 of file cell.h.

#define LINE_VERTICAL   0x00000004L /* top-to-bottom line */

Definition at line 64 of file cell.h.

#define OCCUPE   1 /* Autorouting: obstacle tracks and vias. */

Definition at line 47 of file cell.h.

#define SHARP_EtoNE   0x00400000L /* east to northeast */

Definition at line 94 of file cell.h.

#define SHARP_EtoSE   0x00800000L /* east to southeast */

Definition at line 95 of file cell.h.

#define SHARP_NtoNE   0x00200000L /* north to northeast */

Definition at line 93 of file cell.h.

#define SHARP_NtoNW   0x10000000L /* north to northwest */

Definition at line 100 of file cell.h.

#define SHARP_StoSE   0x01000000L /* south to southeast */

Definition at line 96 of file cell.h.

#define SHARP_StoSW   0x02000000L /* south to southwest */

Definition at line 97 of file cell.h.

#define SHARP_WtoNW   0x08000000L /* west to northwest */

Definition at line 99 of file cell.h.

#define SHARP_WtoSW   0x04000000L /* west to southwest */

Definition at line 98 of file cell.h.

#define VIA_IMPOSSIBLE   2 /* Autorouting: obstacle for vias. */

Definition at line 48 of file cell.h.

Referenced by AddNewTrace(), DisplayRoutingMatrix(), PlaceCells(), and TraceSegmentPcb().