typedef int PK_offset_method_t;
Sometimes, an offset surface can contain self-intersections.
This datatype specifies the method that is used to remove the
self-intersections.
If an offset surface contains no self-intersections, the result is a
single accurate offset surface regardless of the method you use.
If an offset surface contains self-intersections, it is split along
constant parameter lines into regions that contain self-intersections,
and regions that contain only accurate surfaces. You can then replace
the self-intersecting regions by either:
* Using intersecting neighbouring accurate offset surfaces
* Generating new approximate offset surfaces.
The first of these successfully removes self-intersections, but may
leave sharp edges in the final offset surface. The second produces a
smoother surface, but parts of the final offset surface will no longer
be accurately offset from the original surface.
It has two values :
PK_offset_method_accurate_c (Default) Self-intersections are
replaced by intersecting
neighbouring accurate offset
surfaces.
PK_offset_method_approximate_c Self-intersections are replaced by
generating approximate offset
surfaces that are attached to the
neighbouring accurate regions
within the given offset tolerance.
If an approximate offset surface
cannot be generated, the accurate
method is used.