 |
PK_CURVE_find_self_int |
|
PK_ERROR_code_t PK_CURVE_find_self_int
(
--- received arguments ---
PK_CURVE_t curve, --- curve to be checked
const PK_CURVE_find_self_int_o_t *options, --- options structure
--- returned arguments ---
PK_CURVE_self_ints_t *const results --- results
)
This function finds self-intersections in the given curve.
Specific Errors:
PK_ERROR_invalid_geometry The curve has invalidities other than
self-intersections (PK_ERROR_mild)
PK_ERROR_find_self_int_failed Failure (PK_ERROR_serious)
This function finds regions of self-intersection on a curve, and returns
information about the regions found, if any.
Each self-intersection on the curve occupies a physical region in three-space,
and is made up of two or more parametric regions which intersect each other.
Note that self-intersections on a curve will always be of 'type'
PK_self_int_type_general_c.