INCREMENTAL SPATIAL SEARCH
CALL SEQUENCE
void pincr_spa_search(
const Ppoint *ref_pt, /* search reference point */
Pfloat dist, /* search distance */
const Pelem_ref_list *sp, /* starting path list */
Pclip_ind clip_ind, /* modelling clip indicator */
Pint ceiling, /* search ceiling index */
const Pfilter_list *norm, /* normal filter list */
const Pfilter_list *inv, /* inverted filter list */
Pint length, /* length of application list */
Pint start, /* starting position */
Pint *error_ind, /* (out) error indicator */
Pelem_ref_list *fp, /* (out) found size */
Pint *total_length /* (out) length of list in GPHIGS */
)
TYPES
typedef struct {
Pfloat x; /* x coordinate */
Pfloat y; /* y coordinate */
} Ppoint;
typedef struct {
Pint num_elem_refs; /* no. of element references */
Pelem_ref *elem_refs; /* element references */
} Pelem_ref_list;
typedef enum {
PIND_NO_CLIP,
PIND_CLIP
} Pclip_ind;
typedef struct {
Pint num_filters; /* number of filters */
Pfilter *filters; /* filters */
} Pfilter_list;
typedef struct {
Pint struct_id; /* identifier for structure */
Pint elem_pos; /* position of element in structure */
} Pelem_ref;
typedef struct {
Pint_list incl_set; /* inclusion set */
Pint_list excl_set; /* exclusion set */
} Pfilter;
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Restricts the 3D incremental spatial search function to 2D.
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 203
- Ignoring function, specified starting path not found in CSS
- 204
- Ignoring function, specified search ceiling index out of range
SEE ALSO
open structure, incremental spatial search 3, element search, inquire element
content, inquire element types and size.