 |
PK_CURVE_make_wire_body |
|
PK_ERROR_code_t PK_CURVE_make_wire_body
(
--- received arguments ---
PK_CURVE_t curve, --- curve
PK_INTERVAL_t range, --- extent of curve
--- returned arguments ---
PK_BODY_t *const body --- wire body returned
)
This function creates a wire body from a curve.
NOTE: This function is deprecated and has been superseded by
PK_CURVE_make_wire_body_2.
Specific Errors:
PK_ERROR_invalid_geometry geometry fails to pass checks
PK_ERROR_bad_shared_dep dependent of entity would be illegally
shared
PK_ERROR_non_manifold resulting body would be non-manifold
PK_ERROR_bad_parameter parametric limit not valid on curve
PK_ERROR_cant_extract_geom failed to extract geometry
The part of the curve required must be defined by the parametric interval
'range'. The wire may be closed. If the wire body crosses the seam of a closed
curve, then the parameterisation of the curve must be periodic.
If the 'curve' is an orphan, then it will be used as the geometry of the
body, otherwise a copy of it will be used as the geometry of the body.