 |
PK_OFFSET_create |
|
PK_ERROR_code_t PK_OFFSET_create
(
--- received arguments ---
const PK_OFFSET_sf_t *offset_sf, --- offset surf standard form
--- returned arguments ---
PK_OFFSET_t *const offset --- offset surf
)
The function creates an offset surface from the given standard form. See
documentation for PK_OFFSET_sf_t.
Specific Errors:
PK_ERROR_cant_offset underlying surface cannot be offset
PK_ERROR_distance_too_small 'offset_distance' is close to zero
PK_ERROR_su_self_intersect offset surface would be self intersecting
This function will construct an offset surface. It accepts a PK_OFFSET_sf_t
and returns a PK_OFFSET_t.
Currently, this function supports the following underlying surface types:
PK_BSURF_t, PK_SWEPT_t and PK_SPUN_t.
This function does not support offset distances of zero length.
See, also, documentation for PK_SURF_offset.