Limbo
|
#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::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) |
template<typename Iterator > | |
void | set (Iterator first, Iterator last) |
set path More... | |
GdsPolygon | toPolygon () const |
convert from path to polygon description More... | |
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 More... | |
GdsObject & | operator= (GdsObject const &rhs) |
assignment More... | |
virtual | ~GdsObject () |
destructor More... | |
Protected Attributes | |
int | m_pathtype |
path type | |
coordinate_type | m_width |
path width | |
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 230 of file GdsObjects.h.
GdsParser::GdsDB::GdsPath::GdsPath | ( | GdsPath const & | rhs | ) |
copy constructor
rhs | an object |
assignment
rhs | an object |
|
inline |
Definition at line 251 of file GdsObjects.h.
|
inline |
set path
Iterator | iterator to points |
first,last | begin and end iterator to points |
Definition at line 264 of file GdsObjects.h.
|
inline |
p | path type |
Definition at line 253 of file GdsObjects.h.
|
inline |
w | width |
Definition at line 258 of file GdsObjects.h.
GdsPolygon GdsParser::GdsDB::GdsPath::toPolygon | ( | ) | const |
convert from path to polygon description
|
inline |
Definition at line 256 of file GdsObjects.h.