|
Limbo 3.5.4
|
#include <GdsObjects.h>
Public Types | |
| 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 | |
| GdsCellArray () | |
| default constructor | |
| GdsCellArray (GdsCellArray const &rhs) | |
| GdsCellArray & | operator= (GdsCellArray const &rhs) |
| ~GdsCellArray () | |
| destructor | |
| std::string const & | refCell () const |
| void | setRefCell (std::string const &r) |
| int | columns () const |
| void | setColumns (int c) |
| int | rows () const |
| void | setRows (int r) |
| coordinate_type | spacing (unsigned int idx) const |
| void | setSpacing (unsigned int idx, coordinate_type s) |
| std::vector< point_type > const & | positions () const |
| std::vector< point_type > & | positions () |
| double | angle () const |
| void | setAngle (double a) |
| double | magnification () const |
| void | setMagnification (double m) |
| int | strans () const |
| void | setStrans (int s) |
| 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 | |
Protected Attributes | |
| std::string | m_refCell |
| reference cell | |
| int | m_columns |
| number of columns | |
| int | m_rows |
| number of rows | |
| coordinate_type | m_spacing [2] |
| spacing of x and y | |
| std::vector< point_type > | m_vPosition |
| array of positions | |
| double | m_angle |
| angle | |
| double | m_magnification |
| magnification | |
| int | m_strans |
| strans | |
Multiple references to an existing cell in an array format.
Parameters
-------—
ref_cell : Cell or string
The referenced cell or its name.
columns : positive integer
Number of columns in the array.
rows : positive integer
Number of columns in the array.
spacing : array-like[2]
distances between adjacent columns and adjacent rows.
origin (replaced with position) : array-like[2]
Position where the cell is inserted.
angle : number
Angle of rotation of the reference (in degrees).
magnification : number
Magnification factor for the reference.
x_reflection (replaced by strans) : bool
If True, the reference is reflected parallel to the x direction
before being rotated.
Definition at line 485 of file GdsObjects.h.
base type
Definition at line 489 of file GdsObjects.h.
| GdsParser::GdsDB::GdsCellArray::GdsCellArray | ( | GdsCellArray const & | rhs | ) |
copy constructor
| rhs | an object |
|
inline |
Definition at line 531 of file GdsObjects.h.
|
inline |
Definition at line 509 of file GdsObjects.h.
|
inline |
Definition at line 536 of file GdsObjects.h.
| GdsCellArray & GdsParser::GdsDB::GdsCellArray::operator= | ( | GdsCellArray const & | rhs | ) |
assignment
| rhs | an object |
|
inline |
Definition at line 528 of file GdsObjects.h.
|
inline |
Definition at line 526 of file GdsObjects.h.
|
inline |
Definition at line 504 of file GdsObjects.h.
|
inline |
Definition at line 514 of file GdsObjects.h.
|
inline |
| a | angle |
Definition at line 533 of file GdsObjects.h.
|
inline |
| c | number of columns |
Definition at line 511 of file GdsObjects.h.
|
inline |
| m | magnification |
Definition at line 538 of file GdsObjects.h.
|
inline |
| r | reference cell |
Definition at line 506 of file GdsObjects.h.
|
inline |
| r | number of rows |
Definition at line 516 of file GdsObjects.h.
|
inline |
| idx | x or y |
| s | spacing |
Definition at line 523 of file GdsObjects.h.
|
inline |
| s | strans |
Definition at line 543 of file GdsObjects.h.
|
inline |
|
inline |
Definition at line 541 of file GdsObjects.h.
|
protected |
angle
Definition at line 550 of file GdsObjects.h.
|
protected |
number of columns
Definition at line 546 of file GdsObjects.h.
|
protected |
magnification
Definition at line 551 of file GdsObjects.h.
|
protected |
reference cell
Definition at line 545 of file GdsObjects.h.
|
protected |
number of rows
Definition at line 547 of file GdsObjects.h.
|
protected |
spacing of x and y
Definition at line 548 of file GdsObjects.h.
|
protected |
strans
Definition at line 552 of file GdsObjects.h.
|
protected |
array of positions
Definition at line 549 of file GdsObjects.h.