dbCreateCurvedPath
dbCreateCurvedPath(
d_cellViewId
txl_layerPurpose
l_curvedPoints
x_width
)
=> d_curvedPathId
Description
(Virtuoso MultiTech Framework) Creates a curved path that has a straight centerline and round edges at all segments.
Arguments
|
d_cellViewId
|
Database ID of a cellview.
|
|
txl_layerPurpose
|
Name, number, or a list of layers or layer-purpose pairs.
|
|
l_curvedPoints
|
list(boundary [l_holes])
List of one boundary and zero or more holes forming a complex closed curve. Each boundary or hole is represented by a dbClosedCurve, which is a list of vertexes. In a vertex, pairs of adjacent vertexes represent edges, which can be straight or circular:
-
A straight edge is indicated by two end points without an arc qualifier on the beginning edge.
-
A circular edge may be indicated by explicitly specifying the center or implicitly specifying the center. The explicit specification requires the center to be on the DBU grid. The implicit specification does not require the center to be on the DBU grid.
The points list can be a mix of explicit center-based or implicit angle-based specifications. Each element in the list describes a vertex on the curved shape.
|
|
|
L_curvedPoints := (elem)*
elem := {<x:float> <y:float> ([("arc" | "arcByCenter") ("cw" | "ccw")] | ["arcByAngle" <angle:float>])}
Here, keywords for explicit specification are "arc" and "arcByCenter" followed by "cw"(clockwise), or "ccw" (counter clockwise), to specify the direction. Keywords for implicit specification, where you do not define the center explicitly, are "arcCentralAngle" and "arcByAngle". In implicit specification, to specify a clockwise arc, specify a negative value for the angle specification.
|
|
x_width
|
Width of the curved path.
|
Value Returned
|
d_curvedPathId
|
Database ID of the curved path that is created.
|
Example
A curved path is created based on the specified list of points and layer-purpose as "DIE_PAD" "drawing".
dbCreateCurvedPath( cv '("BD4" "drawing")
'(
(0 0)
(100 100)
(200 100)
)
20
)
The created path has three center line points, resulting in two segments and the width of the path is 20.
Related Topics
License Requirements of Virtuoso RF Solution
dbCreateMultipleCurvedPolygons
Database Access Function Argument Types
Return to top