 |
PK_SURF_find_discontinuity |
|
PK_ERROR_code_t PK_SURF_find_discontinuity
(
--- received arguments ---
PK_SURF_t surface, --- query surface
const PK_SURF_find_discontinuity_o_t *options, --- options
--- returned arguments ---
int *const n_params, --- number of discontinuities
double **const params, --- discontinuous parameters
PK_PARAM_direction_t **const direction, --- in U or V direction
PK_continuity_t **const orders --- order and type of each
--- discontinuity
)
This interface function permits a user to query any standard surface type for
either analytic or geometric discontinuities of levels 1 through 3. The query
can be limited to a sub-domain of the parameter space of the surface by
specifying a uv-box.
This function does not support facet geometry [NF]
Specific Errors:
PK_ERROR_bad_uvbox not a valid region of a surface's parameter
space. (MILD)
PK_ERROR_not_implemented called with a surface of class
PK_CLASS_blendsf or PK_CLASS_offset, or
with 'level' set to PK_continuity_g3_c.
(MILD)
In the case that discontinuities are found using the above criteria, an array
of the associated parameters is returned. In one-to-one correspondence with
this array, two additional arrays are returned containing the direction and
type of discontinuity respectively. For each discontinuous parameter only the
most serious, i.e. lowest order, discontinuity of the requested type will be
returned.