Inheritance diagram for oaPathSeg:
Public Methods | |
oaRoute * | getRoute () const |
void | getPoints (oaPoint &beginPoint, oaPoint &endPoint) const |
void | getStyle (oaSegStyle &style) const |
oaRouteTopology | getRouteTopology () const |
void | getBoundary (oaPointArray &boundary) const |
oaBoolean | isOrthogonal () const |
oaBoolean | hasRoute () const |
void | setPoints (const oaPoint &beginPoint, const oaPoint &endPoint) |
void | setStyle (const oaSegStyle &style) |
void | setRouteTopology (const oaRouteTopology &topology) |
Static Public Methods | |
oaPathSeg * | create (oaBlock *block, oaLayerNum layerNum, oaPurposeNum purposeNum, const oaPoint &beginPoint, const oaPoint &endPoint, const oaSegStyle &style) |
void | genBoundary (const oaPoint &beginPoint, const oaPoint &endPoint, const oaSegStyle &style, oaPointArray &boundary) |
|
This function creates an oaPathSeg object with the given attributes. The specified begin and end points are checked to verify that the segment will be horizontal, vertical, or diagonal and that the length of the segment will be greater than zero.
|
|
This function fills out boundary with the boundary polygon of a virtual pathSeg that could be realized with the specified attributes without having to create an actual pathSeg object.
|
|
This function constructs a boundary with the polygonal outline of the pathSeg. This function is useful for overlap checks with the pathSeg, and to render what the pathSeg looks like.
|
|
This function gets the begin and end points of an oaPathSeg object. The two points specify the centerline of the oaPathSeg.
|
|
This function returns a pointer to the route to which this pathSeg may belong. A NULL is returned if this pathSeg is not part of a route. |
|
This function returns the current routing topology of this pathSeg. |
|
This function populates 'style' with the segStyle of this pathSeg.
|
|
This function returns true if this pathSeg is part of a route; otherwise it returns false. |
|
This function returns a boolean value that indicates if the points for the oaPathSeg are orthogonal. |
|
This function sets the beginning and ending points of the oaPathSeg to the specified points. The two points are checked to verify that the length of the segment is greater than zero and that the oaPathSeg remains horizontal, vertical, or diagonal.
|
|
This function sets the routeTopology of this pathSeg to the specified topology.
|
|
This function sets the segStyle of this pathSeg to the specified value. This style will determine the size and shape of the extension at each end of the segment (see oaSegStyle).
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.