de_add_arc()

Adds a clockwise or counterclockwise, circular arc to a polygon or polyline in user units in the current representation. Before using an arc, you must define the starting point of a polygon or polyline. Returns: none.

See also: de_add_arc1() , de_add_arc2(), de_add_arc3(), de_add_arc4().

Syntax:

de_add_arc(x,y, angle);

where

x,y is the center point of the arc; this becomes a vertex in the polygon or polyline.

angle is the sweep angle of the arc, where:

  • negative = clockwise
  • positive = counterclockwise

Example:

The example creates a polygon with a clockwise and counterclockwise arc.

de_add_polygon();
de_add_point(3.25,4.75);
de_add_point(4.125,5.625);
de_add_point(5.25,4.75);
de_add_point(6.25,4.75);
de_add_arc(7.125,4.75,180.0);
de_add_point(8.75,4.75);
de_add_point(8.75,3.875);
de_add_arc(8.75,3.125,-180.0);
de_add_point(3.75,3.125);
de_add_point(3.75,3.125);
de_end();

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources