 |
PK_SPCURVE_create |
|
PK_ERROR_code_t PK_SPCURVE_create
(
--- received arguments ---
const PK_SPCURVE_sf_t *spcurve_sf, --- spcurve standard form
--- returned arguments ---
PK_SPCURVE_t *const spcurve --- spcurve
)
This function creates an spcurve from the given standard form.
This function does not support facet geometry [NF]
Specific Errors:
PK_ERROR_unsuitable_entity `spcurve_sf->curve' is not a BCURVE or is
not an orphan (MILD)
PK_ERROR_bad_dimension `spcurve_sf->curve' is not 2D (MILD)
PK_ERROR_invalid_geometry `spcurve_sf->curve' would not make a valid
spcurve when embedded in
`spcurve_sf->surf' (MILD)
PK_ERROR_not_in_same_partition `spcurve_sf->curve' and `spcurve_sf->surf'
are in different partitions (MILD)
An spcurve must be G1 continuous and, if periodic, must meet itself with
G1 continuity. When creating an spcurve this requirement will be enforced
unless the appropriate interface parameter is unset. See
PK_SESSION_set_check_continuity.
If `spcurve_sf->surf' is owned by a part, then the 'spcurve' will become
construction geometry of the part.
See documentation for PK_SPCURVE_sf_t.
See also PK_CURVE_embed_in_surf.