 |
PK_BCURVE_extend_r_t |
|
struct PK_BCURVE_extend_r_s
{
PK_BCURVE_extend_status_t status;
PK_BCURVE_t res_bcurve;
int n_values;
double *values;
};
typedef struct PK_BCURVE_extend_r_s PK_BCURVE_extend_r_t;
This structure is used to return the status of the bcurve extension.
Used in:
PK_BCURVE_extend
PK_BCURVE_extend_r_f
When a call to PK_BCURVE_extend returns a value of PK_ERROR_no_errors, then
the actual status of the operation is given by the 'status' field.
Description of fields:
'status' This field indicates the result of the extend operation.
Possible values are:
PK_BCURVE_extend_ok_c: Indicates that the bcurve
was successfully extended as
requested.
PK_BCURVE_extend_unextended_c: Indicates that the bcurve
has remained unchanged as
the existing bcurve is long
enough.
PK_BCURVE_extend_partial_c: Indicates that the bcurve
was extended, but not by the
full amount requested.
PK_BCURVE_extend_failure_c: Indicates that the
extension algorithm failed.
'res_bcurve' The resultant extended bcurve. The original bcurve will be
extended if possible, but a copy of the bcurve may have to be
extended instead, if the original bcurve has geometric owners.
'n_values' This field is unused.
'values' This field is unused.
Any space allocated by Parasolid within this structure may be freed by
calling PK_BCURVE_extend_r_f.