|
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 | |
| GdsCellReference () | |
| default constructor | |
| GdsCellReference (GdsCellReference const &rhs) | |
| GdsCellReference & | operator= (GdsCellReference const &rhs) |
| ~GdsCellReference () | |
| destructor | |
| std::string const & | refCell () const |
| void | setRefCell (std::string const &r) |
| point_type const & | position () const |
| void | setPosition (point_type const &p) |
| double | angle () const |
| void | setAngle (double a) |
| double | magnification () const |
| void | setMagnification (double m) |
| int | strans () const |
| void | setStrans (int s) |
| GdsCell | extractCellRef (GdsDB const &gdsDB, GdsCell const &srcCell) const |
| 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 |
| string to reference cell | |
| point_type | m_position |
| position | |
| double | m_angle |
| angle | |
| double | m_magnification |
| magnification | |
| int | m_strans |
| strans | |
Simple reference to an existing cell.
Parameters
-------—
ref_cell : Cell or string
The referenced cell or its name.
origin (replaced with position) : array-like[2]
Position where the reference 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 405 of file GdsObjects.h.
base type
Definition at line 409 of file GdsObjects.h.
| GdsParser::GdsDB::GdsCellReference::GdsCellReference | ( | GdsCellReference const & | rhs | ) |
copy constructor
| rhs | an object |
|
inline |
Definition at line 434 of file GdsObjects.h.
| GdsCell GdsParser::GdsDB::GdsCellReference::extractCellRef | ( | GdsDB const & | gdsDB, |
| GdsCell const & | srcCell ) const |
extract cell objects from reference cell
consider rotation and position offset
| gdsDB | database |
| srcCell | source cell |
|
inline |
Definition at line 439 of file GdsObjects.h.
| GdsCellReference & GdsParser::GdsDB::GdsCellReference::operator= | ( | GdsCellReference const & | rhs | ) |
assignment
| rhs | an object |
|
inline |
Definition at line 429 of file GdsObjects.h.
|
inline |
Definition at line 424 of file GdsObjects.h.
|
inline |
| a | angle |
Definition at line 436 of file GdsObjects.h.
|
inline |
| m | magnification |
Definition at line 441 of file GdsObjects.h.
|
inline |
| p | position |
Definition at line 431 of file GdsObjects.h.
|
inline |
| r | set reference cell |
Definition at line 426 of file GdsObjects.h.
|
inline |
| s | strans |
Definition at line 446 of file GdsObjects.h.
|
inline |
Definition at line 444 of file GdsObjects.h.
|
protected |
angle
Definition at line 457 of file GdsObjects.h.
|
protected |
magnification
Definition at line 458 of file GdsObjects.h.
|
protected |
position
Definition at line 456 of file GdsObjects.h.
|
protected |
string to reference cell
Definition at line 455 of file GdsObjects.h.
|
protected |
strans
Definition at line 459 of file GdsObjects.h.