Horizon
Public Types | Public Member Functions | Public Attributes | List of all members
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, Coordiget_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: