Previous Next Up Title Contents Index Functions Index Top Library

GET LOCATOR

pget_loc


CALL SEQUENCE

void pget_loc (view_index, loc_pos)

OUTPUT PARAMETERS

Pint	*view_index,
Ppoint	*loc_pos

ARGUMENTS

view_index,
view index
loc_pos
Locator position

TYPES

typedef struct {
	Pfloat 	x;	/* x coordinate	*/
	Pfloat 	y;	/* y coordinate	*/
} Ppoint;

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

This function restricts the 3D get locator function to 2D, the z value is ignored.

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
259
Ignoring function, the input device class of the current input report does not match the class

SEE ALSO

get locator 3, set locator mode, initialize locator, request locator, sample locator, await event, flush device events, inquire locator device state, inquire default locator device state, locator without interaction (ext)


Previous Next Up Title Contents Index Functions Index Top Library