Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DCARC2(3g)  —  Subroutines

Name

DCARC2 − Specifies the 2D, shorthand form of the circular arc primitive. 

Operating States: PHOP, ∗, STOP, ∗
Digital PHIGS extension function
Creates a structure element

Syntax

DCARC2 (PX, PY, RADIUS, SANGLE, EANGLE)

Argument        Data Type     Access   Description
---------------------------------------------------------------------------
PX, PY          Real          Read     Center of the circle, in modeling
                                       coordinates
RADIUS          Real          Read     Radius of the circle, in modeling
                                       coordinates
SANGLE          Real          Read     Starting angle for drawing the arc,
                                       in radians
EANGLE          Real          Read     Ending angle for drawing the arc, in
                                       radians
---------------------------------------------------------------------------

Description

DCARC2 specifies the two-dimensional (x and y), shorthand form of the circular arc primitive.  The circular arc has an assumed z-coordinate equal to 0. The local coordinate system is the xy-plane as defined in the modeling coordinate system. 

Depending on the edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new circular arc element. 

Digital PHIGS generates a circular arc from the start angle to the end angle in a counterclockwise direction. Digital PHIGS binds the current values of the polyline primitive as defined in the PHIGS traversal state list to the primitive, and renders it according to the current curve approximation criteria. 

During structure traversal, Digital PHIGS displays a dot at the center of the circular arc if the radius of the arc is less than or equal to 0. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

Digital PHIGS Version 3.1 does not support this function.

See Also

PADS
PQPLF
PRES
PSDCI
PSHRID
PSIASF
PSLN
PSLWSC
PSPKID
PSPLC
PSPLCI
PSPLI
PSPLSM
PSVWI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026