|
Limbo 3.5.4
|
#include <GdsObjects.h>
Public Types | |
| typedef GdsObject | base_type |
| base type | |
| typedef std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > | object_entry_type |
| use pair of GDSII record and GDSII object to describe each object entry | |
| 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 | |
| GdsCell () | |
| default constructor | |
| GdsCell (GdsCell const &rhs) | |
| GdsCell & | operator= (GdsCell const &rhs) |
| ~GdsCell () | |
| destructor | |
| void | addPolygon (int layer, int datatype, std::vector< point_type > const &vPoint) |
| void | addPath (int layer, int datatype, int pathtype, int width, int bgnextn, int endextn, std::vector< point_type > const &vPoint) |
| void | addText (int layer, int datatype, int texttype, std::string const &str, point_type const &position, int width, int presentation, double angle, double magnification, int strans) |
| void | addCellReference (std::string const &sname, point_type const &position, double angle, double magnification, int strans) |
| void | addCellArray (std::string const &sname, int columns, int rows, int spacing[2], std::vector< point_type > const &vPosition, double angle, double magnification, int strans) |
| std::string const & | name () const |
| void | setName (std::string const &n) |
| std::vector< std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > > const & | objects () const |
| std::vector< std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject * > > & | objects () |
| 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 Member Functions | |
| void | copy (GdsCell const &rhs) |
| void | destroy () |
| destroy objects in m_vObject | |
Protected Attributes | |
| std::string | m_name |
| cell name | |
| std::vector< object_entry_type > | m_vObject |
| gdsii objects with types | |
Collection of elements, both geometric objects and references to other
cells.
Parameters
-------—
name : string
The name of the cell.
exclude_from_global : bool
If True, the cell will not be included in the global list of
cells maintained by gdspy.
Definition at line 567 of file GdsObjects.h.
base type
Definition at line 571 of file GdsObjects.h.
| typedef std::pair< ::GdsParser::GdsRecords::EnumType, GdsObject*> GdsParser::GdsDB::GdsCell::object_entry_type |
use pair of GDSII record and GDSII object to describe each object entry
Definition at line 573 of file GdsObjects.h.
| GdsParser::GdsDB::GdsCell::GdsCell | ( | GdsCell const & | rhs | ) |
copy constructor
| rhs | an object |
| void GdsParser::GdsDB::GdsCell::addCellArray | ( | std::string const & | sname, |
| int | columns, | ||
| int | rows, | ||
| int | spacing[2], | ||
| std::vector< point_type > const & | vPosition, | ||
| double | angle, | ||
| double | magnification, | ||
| int | strans ) |
| sname | reference cell name |
| columns | number of columns |
| rows | number of rows |
| spacing | array[2] of spacing |
| vPosition | array of positions |
| angle | angle |
| magnification | magnification |
| strans | strans |
| void GdsParser::GdsDB::GdsCell::addCellReference | ( | std::string const & | sname, |
| point_type const & | position, | ||
| double | angle, | ||
| double | magnification, | ||
| int | strans ) |
| sname | reference cell name |
| position | offset position |
| angle | angle |
| magnification | magnification |
| strans | strans |
| void GdsParser::GdsDB::GdsCell::addPath | ( | int | layer, |
| int | datatype, | ||
| int | pathtype, | ||
| int | width, | ||
| int | bgnextn, | ||
| int | endextn, | ||
| std::vector< point_type > const & | vPoint ) |
| layer | layer |
| datatype | data type |
| pathtype | path type |
| width | path width |
| bgnextn | begin point extension |
| endextn | end point extension |
| vPoint | array of points |
| void GdsParser::GdsDB::GdsCell::addPolygon | ( | int | layer, |
| int | datatype, | ||
| std::vector< point_type > const & | vPoint ) |
| layer | layer |
| datatype | data type |
| vPoint | array of points |
| void GdsParser::GdsDB::GdsCell::addText | ( | int | layer, |
| int | datatype, | ||
| int | texttype, | ||
| std::string const & | str, | ||
| point_type const & | position, | ||
| int | width, | ||
| int | presentation, | ||
| double | angle, | ||
| double | magnification, | ||
| int | strans ) |
| layer | layer |
| datatype | data type |
| texttype | text type |
| str | text string |
| position | position |
| width | width |
| presentation | presentation |
| angle | angle |
| magnification | magnification |
| strans | strans |
|
protected |
copy
| rhs | a GdsCell object |
|
inline |
Definition at line 627 of file GdsObjects.h.
|
inline |
Definition at line 634 of file GdsObjects.h.
|
inline |
Definition at line 632 of file GdsObjects.h.
assignment
| rhs | an object |
|
inline |
| n | name of cell |
Definition at line 629 of file GdsObjects.h.
|
protected |
cell name
Definition at line 642 of file GdsObjects.h.
|
protected |
gdsii objects with types
Definition at line 643 of file GdsObjects.h.