Download Device Specifics Reference Manual for DEC GKS and DEC PHIGS

Transcript
–106 Arc: Center, and Two Points on Arc
–106 Arc: Center, and Two Points on Arc
Supporting Workstations: All DEC GKS workstations
This GDP forms a circular arc using the center point, the second point as a
starting point of the arc, and the third point as one of the following
components:
•
The second point, located on the arc
•
The second point of a ray (the first point is the center point), whose
intersection with the circular path of the arc determines the second point
of the arc
GDP Function Arguments:
Argument
Required Value
n_points
pts_array
gdp_id
data_rec
3
center point, and the beginning and end points of the arc
–106
number of integers (1)
number of reals (0)
number of strings (0)
address of integer array (arc_type)
address of real array (NULL)
address of string lengths array (NULL)
address of string pointer array (NULL)
number of pointers (0)
address of generic pointer array (NULL)
number of longs (0)
address of long array (NULL)
sizeof (Ggdprec)
data_rec_len
The integer array contains the following element:
Component
Description
arc_type
The arc type
The element arc_type can be any of the following values:
Value
Description
1
2
3
Form an arc.
Connect both ends of the arc to its center.
Connect the beginning and end points of the arc.
GDPs C–13