51 OVAL(
const SEG& aSeg,
int aWidth );
Class that represents an oval shape (rectangle with semicircular end caps)
int GetLength() const
Get the overall length of the oval from endcap tip to endcap tip.
EDA_ANGLE GetAngle() const
Get the angle of the oval's central segment.
BOX2I BBox(int aClearance) const
Get the bounding box of the oval.
int GetSideLength() const
Get the side length of the oval (=length between the centers of the semicircles)
VECTOR2I GetCenter() const
Get the center point of the oval.
const SEG & GetSegment() const
Get the central segment of the oval.
int GetWidth() const
Get the width of the oval (diameter of the semicircles)
int Length() const
Return the length (this).
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
std::vector< TYPED_POINT2I > GetOvalKeyPoints(const OVAL &aOval, OVAL_KEY_POINT_FLAGS aFlags)
Get a list of interesting points on an oval (rectangle with semicircular end caps)
unsigned int OVAL_KEY_POINT_FLAGS
SHAPE_LINE_CHAIN ConvertToChain(const OVAL &aOval)