|
Limbo 3.5.4
|
#include <GdsObjects.h>
Public Types | |
| typedef GdsShape | base_type |
| base type | |
| typedef bg::model::linestring< GdsShape::point_type > | base_ext_type |
| use a linestring to describe path | |
| 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 | |
| GdsPath () | |
| default constructor | |
| GdsPath (GdsPath const &rhs) | |
| GdsPath & | operator= (GdsPath const &rhs) |
| ~GdsPath () | |
| destructor | |
| int | pathtype () const |
| void | setPathtype (int p) |
| coordinate_type | width () const |
| void | setWidth (coordinate_type w) |
| coordinate_type | bgnExtn () const |
| void | setBgnExtn (coordinate_type e) |
| coordinate_type | endExtn () const |
| void | setEndExtn (coordinate_type e) |
| template<typename Iterator> | |
| void | set (Iterator first, Iterator last) |
| set path | |
| GdsPolygon | toPolygon () const |
| convert from path to polygon description | |
| 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 | |
Protected Attributes | |
| int | m_pathtype |
| path type | |
| coordinate_type | m_width |
| path width | |
| coordinate_type | m_bgnextn |
| begin point extension | |
| coordinate_type | m_endextn |
| end point extension | |
| Protected Attributes inherited from GdsParser::GdsDB::GdsShape | |
| int | m_layer |
| layer | |
| int | m_datatype |
| data type | |
Series of geometric objects that form a path or a collection of parallel
paths.
Parameters
-------—
width : number
The width of each path.
initial_point : array-like[2]
Starting position of the path.
number_of_paths : positive integer
Number of parallel paths to create simultaneously.
distance : number
Distance between the centers of adjacent paths.
Attributes
-------—
x : number
Current position of the path in the x direction.
y : number
Current position of the path in the y direction.
w : number
Half*-width of each path.
n : integer
Number of parallel paths.
direction : {'+x', '-x', '+y', '-y'} or number
Direction or angle (in radians) the path points to.
distance : number
Distance between the centers of adjacent paths.
length : number
Length of the central path axis. If only one path is created, this
is the real length of the path.
Definition at line 232 of file GdsObjects.h.
| typedef bg::model::linestring<GdsShape::point_type> GdsParser::GdsDB::GdsPath::base_ext_type |
use a linestring to describe path
Definition at line 238 of file GdsObjects.h.
base type
Definition at line 236 of file GdsObjects.h.
| GdsParser::GdsDB::GdsPath::GdsPath | ( | GdsPath const & | rhs | ) |
copy constructor
| rhs | an object |
|
inline |
Definition at line 263 of file GdsObjects.h.
|
inline |
Definition at line 268 of file GdsObjects.h.
assignment
| rhs | an object |
|
inline |
Definition at line 253 of file GdsObjects.h.
|
inline |
set path
| Iterator | iterator to points |
| first,last | begin and end iterator to points |
Definition at line 276 of file GdsObjects.h.
|
inline |
| e | extension |
Definition at line 265 of file GdsObjects.h.
|
inline |
| e | extension |
Definition at line 270 of file GdsObjects.h.
|
inline |
| p | path type |
Definition at line 255 of file GdsObjects.h.
|
inline |
| w | width |
Definition at line 260 of file GdsObjects.h.
| GdsPolygon GdsParser::GdsDB::GdsPath::toPolygon | ( | ) | const |
convert from path to polygon description
|
inline |
Definition at line 258 of file GdsObjects.h.
|
protected |
begin point extension
Definition at line 284 of file GdsObjects.h.
|
protected |
end point extension
Definition at line 285 of file GdsObjects.h.
|
protected |
path type
Definition at line 282 of file GdsObjects.h.
|
protected |
path width
Definition at line 283 of file GdsObjects.h.