KiCad PCB EDA Suite
Loading...
Searching...
No Matches
shape.h File Reference
#include <sstream>
#include <vector>
#include <geometry/seg.h>
#include <geometry/eda_angle.h>
#include <geometry/geometry_utils.h>
#include <math/vector2d.h>
#include <math/box2.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  SHAPE_BASE
 
class  SHAPE
 An abstract shape on 2D plane. More...
 
class  SHAPE_LINE_CHAIN_BASE
 

Enumerations

enum  SHAPE_TYPE {
  SH_RECT = 0 , SH_SEGMENT , SH_LINE_CHAIN , SH_CIRCLE ,
  SH_SIMPLE , SH_POLY_SET , SH_COMPOUND , SH_ARC ,
  SH_NULL , SH_POLY_SET_TRIANGLE
}
 Lists all supported shapes. More...
 

Functions

static wxString SHAPE_TYPE_asString (SHAPE_TYPE a)
 

Enumeration Type Documentation

◆ SHAPE_TYPE

enum SHAPE_TYPE

Lists all supported shapes.

Enumerator
SH_RECT 

axis-aligned rectangle

SH_SEGMENT 

line segment

SH_LINE_CHAIN 

line chain (polyline)

SH_CIRCLE 

circle

SH_SIMPLE 

simple polygon

SH_POLY_SET 

set of polygons (with holes, etc.)

SH_COMPOUND 

compound shape, consisting of multiple simple shapes

SH_ARC 

circular arc

SH_NULL 

empty shape (no shape...),

SH_POLY_SET_TRIANGLE 

a single triangle belonging to a POLY_SET triangulation

Definition at line 45 of file shape.h.

Function Documentation

◆ SHAPE_TYPE_asString()