|
Limbo 3.5.4
|
#include <GdsObjects.h>
Public Types | |
| typedef GdsShape | base_type |
| base type | |
| typedef gtl::rectangle_data< int > | base_ext_type |
| rectangle type | |
| Public Types inherited from GdsParser::GdsDB::GdsShape | |
| typedef GdsObject | base_type |
| base type | |
| Public Types inherited from GdsParser::GdsDB::GdsObject | |
| typedef int | coordinate_type |
| coordinate types | |
| typedef gtl::point_data< coordinate_type > | point_type |
| typedef gtl::point_data< double > | float_point_type |
| float point type to avoid numerical issue | |
| typedef gtl::interval_data< coordinate_type > | interval_type |
| interval type | |
| typedef gtl::rectangle_data< coordinate_type > | rectangle_type |
| rectangle type | |
| typedef gtl::polygon_data< coordinate_type > | polygon_type |
| polygon type | |
| typedef gtl::polygon_90_set_data< coordinate_type > | polygon_set_type |
| polygon set type | |
Public Member Functions | |
| GdsRectangle () | |
| default constructor | |
| GdsRectangle (GdsRectangle const &rhs) | |
| GdsRectangle & | operator= (GdsRectangle const &rhs) |
| ~GdsRectangle () | |
| destructor | |
| Public Member Functions inherited from GdsParser::GdsDB::GdsShape | |
| GdsShape () | |
| default constructor | |
| GdsShape (GdsShape const &rhs) | |
| GdsShape & | operator= (GdsShape const &rhs) |
| ~GdsShape () | |
| destructor | |
| int | layer () const |
| void | setLayer (int l) |
| int | datatype () const |
| void | setDatatype (int d) |
| Public Member Functions inherited from GdsParser::GdsDB::GdsObject | |
| GdsObject () | |
| default constructor | |
| GdsObject (GdsObject const &rhs) | |
| copy constructor | |
| GdsObject & | operator= (GdsObject const &rhs) |
| assignment | |
| virtual | ~GdsObject () |
| destructor | |
Additional Inherited Members | |
| Protected Attributes inherited from GdsParser::GdsDB::GdsShape | |
| int | m_layer |
| layer | |
| int | m_datatype |
| data type | |
Rectangular geometric object.
Parameters
-------—
point1 : array-like[2]
Coordinates of a corner of the rectangle.
point2 : array-like[2]
Coordinates of the corner of the rectangle opposite to point1.
layer : integer
The GDSII layer number for this element.
datatype : integer
The GDSII datatype for this element (between 0 and 255).
Examples
-----—
rectangle = gdspy.Rectangle((0, 0), (10, 20))
myCell.add(rectangle)
Definition at line 126 of file GdsObjects.h.
| typedef gtl::rectangle_data<int> GdsParser::GdsDB::GdsRectangle::base_ext_type |
rectangle type
Definition at line 132 of file GdsObjects.h.
base type
Definition at line 130 of file GdsObjects.h.
| GdsParser::GdsDB::GdsRectangle::GdsRectangle | ( | GdsRectangle const & | rhs | ) |
copy constructor
| rhs | an object |
| GdsRectangle & GdsParser::GdsDB::GdsRectangle::operator= | ( | GdsRectangle const & | rhs | ) |
assignment
| rhs | an object |