de_add_arc4()
Adds an arc using user-defined units.
- To create an arc using simulator units, use the de_draw_arc4() function.
- To create an arc embedded in a polygon or polyline, use the de_add_arc() function.
Returns a handle to the data group shape that was just created.
See also: de_draw_arc4(), de_add_arc().
Syntax:
de_add_arc4(x1, y1, x2, y2, chordLength, direction);
where
x1, y1 is the start point of the arc.
x2, y2 is the center point of the arc.
direction is the direction of arc, where:
- 1 = clockwise
- 0 = counter clockwise
chordLength is the arc angle expressed in terms of circumference.
Example:
// A 180 degree clockwise standalone arc de_add_arc4 (0.0, 0.0, 0.0, 50.0, 157.08, 1); // A 180 degree counter clockwise standalone arc de_add_arc4 (200.0, 0.0, 200.0, 50.0, 157.08, 0); // A 180 degree counterclockwise standalone arc and save data group decl dgHangle = de_add_arc4 (200.0, 0.0, 200.0, 50.0, 157.08, 0);
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()