 |
PK_CURVE_ask_part |
|
PK_ERROR_code_t PK_CURVE_ask_part
(
--- received arguments ---
PK_CURVE_t curve, --- a curve
--- returned arguments ---
PK_PART_t *const part --- owning part (possibly PK_ENTITY_null)
)
This function returns the part which owns the given curve, if there is one,
otherwise PK_ENTITY_null.
The part will be returned if the curve is used directly or indirectly
anywhere in its definition:
either by being attached directly to a fin or edge,
or as construction geometry connected to the part,
or by being referenced in the definition of other geometry in the part.