[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

SET PATTERN REFERENCE POINT AND VECTORS (PHOP,*,STOP,*)

Purpose

Use Set Pattern Reference Point and Vectors to insert a Set Pattern Reference Point and Vectors structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Pattern Reference Point and Vectors structure element, depending on the current edit mode.

This structure element specifies a three-dimensional pattern reference point and pattern reference vectors. At structure traversal time, the graPHIGS API uses this pattern reference point and pattern reference vectors to display fill area and fill area set primitives when the currently selected interior style is set to PATTERN (Set Interior Style). If one of the pattern reference vectors is zero in length or the vectors are parallel, then the graPHIGS API ignores this structure element.

The traversal default value for pattern reference point is (0,0,0). The traversal default values for pattern reference vectors are (1,0,0) and (0,1,0).

Note:

The graPHIGS API currently ignores this structure element at structure traversal time.

Language Bindings

C

pset_pat_ref_point_vecs (pat_ref_point, pat_ref_vec)

Input Parameters

const Ppoint3 *pat_ref_point
Pattern reference point in MC.

const Pvec3 pat_ref_vec[2]
Reference vectors in MC (1=x-axis, 2=y-axis).

FORTRAN

PSPRPV (rfx, rfy, rfz, rfvx, rfvy, rfvz)

Input Parameters

real rfx
x coordinate of the pattern reference point in MC.

real rfy
y coordinate of the pattern reference point in MC.

real rfz
z coordinate of the pattern reference point in MC.

real pfvx(2)
x coordinates of the pattern reference vectors in MC.

real pfvy(2)
y coordinates of the pattern reference vectors in MC.

real rfvz(2)
z coordinates of the pattern reference vectors in MC.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • Set Pattern Reference Point

  • Set Pattern Size


  • [ Previous | Next | Contents | Glossary | Home | Search ]