Inheritance diagram for oaPath:
Public Methods | |
oaDist | getWidth () const |
oaUInt4 | getNumPoints () const |
void | getPoints (oaPointArray &points) const |
oaPathStyle | getStyle () const |
oaDist | getBeginExt () const |
oaDist | getEndExt () const |
void | getBoundary (oaPointArray &boundary) const |
oaBoolean | isOrthogonal () const |
void | setWidth (oaDist width) |
void | setPoints (const oaPointArray &points) |
void | setStyle (oaPathStyle style) |
void | setBeginExt (oaDist beginExt) |
void | setEndExt (oaDist endExt) |
oaPolygon * | convertToPolygon () |
Static Public Methods | |
oaPath * | create (oaBlock *block, oaLayerNum layerNum, oaPurposeNum purposeNum, oaDist width, const oaPointArray &points, oaPathStyle style=oacTruncatePathStyle, oaDist beginExt=0, oaDist endExt=0) |
void | genBoundary (const oaPointArray &points, oaDist width, oaPathStyle style, oaDist beginExt, oaDist endExt, oaPointArray &boundary) |
Two coincident and three collinear points are illegal, and an exception is thrown if these combinations are detected. You can use oaPointArray::compress() to remove these combinations. For more information on coincident and collinear points, see oaPointArray::compress()
Paths that have segments whose length is less than half the width of the path might have self-intersecting boundaries. These boundaries might have unexpected geometry.
|
This function converts this path object to a polygon object. The resulting polygon is equivalent to the outline of the path. All path attributes are discarded after the object conversion is complete. Pointers to the path are still valid, but point to the new polygon. |
|
This function creates an oaPath object with the given attributes. The specified pointArray is checked to verify that there are at least two points and no collinear or coincident points. The begin or end extension arguments must be both zero if the style is not variable.
|
|
This function constructs a boundary with the polygonal outline of the path using the specified parameters. This function is useful for determining what a path overlaps before the path is actually created. Another common use is to render the outline of a path before the path is created.
|
|
This function returns the beginning extension of an oaPath in database units. By definition, the extension is zero if the oaPathStyle is anything other than oacVariablePathStyle.
|
|
This function constructs a boundary with the polygonal outline of the path. This function is useful for overlap checks with the path, and to render what the path looks like.
|
|
This function returns the ending extension of an oaPath in database units. By definition, the extension is zero if the oaPathStyle is anything other than oacVariablePathStyle.
|
|
This function returns the number of points in the oaPath, which is the number after the oaPath is compressed by oaPath::create(). |
|
This function gets the point array of an oaPath object. The point array consists of the points along the centerline of the oaPath after the oaPath is compressed by oaPath::create().
|
|
This function returns the style of the oaPath.
|
|
This function returns the width of this oaPath in database units. |
|
This function returns a boolean value that indicates if the point array for the oaPath is orthogonal. |
|
This function sets the beginning extension for an oaPath that has the oacVariablePathStyle.
|
|
This function sets the ending extension for the oaPath to the specified value.
|
|
This function sets the points of the oaPath with the specified point array. The point array is first compressed to remove collinear and coincident points, then is checked to verify that at least two points remain.
|
|
This function sets the oaPathStyle value. |
|
This function sets the width of the oaPath to the specified value.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.