3D ARROW
CALL SEQUENCE
void tarrow3 (strid, pointo, pointe, typsta, typend, height, width)
INPUT PARAMETERS
Pint strid;
Ppoint3 *pointo;
Ppoint3 *pointe;
Tarrow_type typsta,typend;
Pfloat height;
Pfloat width;
ARGUMENTS
- strid
- Identifier of the arrow structure.
- pointo
- Starting point.
- pointe
- Endpoint.
- typsta
- Type of pattern at starting point:
- TARROW_NO_PATTERN
- No pattern at starting point.
- TARROW_TRIANGLE_DIRECT
- Triangle pointing to starting point.
- TARROW_TRIANGLE_INDIRECT
- Triangle pointing to the endpoint.
- TARROW_RECTANGLE
- Rectangle.
- typend
- Type of pattern at endpoint:
- TARROW_NO_PATTERN
- No pattern at endpoint.
- TARROW_TRIANGLE_DIRECT
- Triangle pointing to the endpoint.
- TARROW_TRIANGLE_INDIRECT
- Triangle pointing to starting point.
- TARROW_RECTANGLE
- Rectangle.
- width
Pattern width (see figure below). This width is given in the
standardized space [0-1] × [0-1] × [0-1], defined by the function
tdomain3.
- height
Pattern height (see figure below). This height is given in the
standardized space [0-1] × [0-1] × [0-1], defined by the function
tdomain3.
EFFECT
This function generates (or inserts in an open structure) a line with an arrow
pattern at one or both ends.
The PHIGS primitive fill area set 3 is used to build the triangle. The
PHIGURE graphic attribute functions concerned are therefore tset_int_style,
tset_int_style_ind, tset_int_colr_ind, tset_edge_flag, tset_edgetype,
tset_edgewidth and tset_edge_colr_ind.
The PHIGS primitive polyline 3 is used to create the vector line. The
PHIGURE graphic attribute functions concerned are therefore
tset_linetype,tset_linewidth and tset_line_colr_ind.
Organization of the structure :
LABEL -1
Polyline of the arrow line
LABEL -2
Fill area set of the pattern at the starting point
LABEL -3
Fill area set of the pattern at the endpoint


