Equivalent PK functions: |
PK_BCURVE_find_g1_discontinuity PK_BSURF_find_g1_discontinuity |
ENDIPE ( geom, disc, ndisc, uorv, param, ifail ) ================================================ Enquire discontinuities on a B-curve or B-surface Receives: KI_tag_geometry *geom --- free form geometry KI_cod_padi *disc --- discontinuities to return Returns: KI_int_nitems *ndisc --- number of discontinuities found <KI_tag_list_int> *uorv --- list of discontinuity types <KI_tag_list_dbl> *param --- list of parameters KI_cod_error *ifail --- failure code Specific errors: KI_wrong_entity 'geom' is not a B-curve or B-surface Description: This function will return the discontinuities of a B-curve or B-surface. If a surface is received, each element in `uorv' will contain either PAPRUP or PAPRVP, depending on whether the corresponding parameter in `param' is the parameter of a discontinuity in the constant `u' direction or the constant `v' direction. If a curve is supplied `uorv' will be null. The `disc' argument indicates the level of discontinuities that are to be returned. At present the function only returns G1 discontinuities. The parameters will be returned in increasing parameter order in `param'. For surfaces, the parameters in the `u' direction will be returned before the parameters in the `v' direction. If there are no discontinuities on the geometry then `ndisc' will be zero and both `uorv' and `param' will be null.