Horizon
Loading...
Searching...
No Matches
horizon::Shape Class Reference

For commonly used Pad shapes. More...

#include <shape.hpp>

Public Types

enum class  Form { CIRCLE , RECTANGLE , OBROUND }

Public Member Functions

 Shape (const UUID &uu, const json &j)
 Shape (const UUID &uu)
Polygon to_polygon () const
std::pair< Coordi, Coordi > get_bbox () const
UUID get_uuid () const
json serialize () const

Public Attributes

UUID uuid
Placement placement
int layer = 0
std::string parameter_class
Form form = Form::CIRCLE
std::vector< int64_t > params

Detailed Description

For commonly used Pad shapes.


The documentation for this class was generated from the following files: