Limbo
|
#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::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 More... | |
GdsObject & | operator= (GdsObject const &rhs) |
assignment More... | |
virtual | ~GdsObject () |
destructor More... | |
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 471 of file GdsObjects.h.
GdsParser::GdsDB::GdsCellArray::GdsCellArray | ( | GdsCellArray const & | rhs | ) |
copy constructor
rhs | an object |
|
inline |
Definition at line 517 of file GdsObjects.h.
|
inline |
Definition at line 495 of file GdsObjects.h.
|
inline |
Definition at line 522 of file GdsObjects.h.
GdsCellArray& GdsParser::GdsDB::GdsCellArray::operator= | ( | GdsCellArray const & | rhs | ) |
assignment
rhs | an object |
|
inline |
Definition at line 512 of file GdsObjects.h.
|
inline |
Definition at line 514 of file GdsObjects.h.
|
inline |
Definition at line 490 of file GdsObjects.h.
|
inline |
Definition at line 500 of file GdsObjects.h.
|
inline |
a | angle |
Definition at line 519 of file GdsObjects.h.
|
inline |
c | number of columns |
Definition at line 497 of file GdsObjects.h.
|
inline |
m | magnification |
Definition at line 524 of file GdsObjects.h.
|
inline |
r | reference cell |
Definition at line 492 of file GdsObjects.h.
|
inline |
r | number of rows |
Definition at line 502 of file GdsObjects.h.
|
inline |
idx | x or y |
s | spacing |
Definition at line 509 of file GdsObjects.h.
|
inline |
s | strans |
Definition at line 529 of file GdsObjects.h.
|
inline |
|
inline |
Definition at line 527 of file GdsObjects.h.