CGAL::convert_straight_skeleton_2

Definition

The function convert_straight_skeleton_2 converts a straight skeleton instantiated using certain traits into another straight skeleton instantiated using a different traits.

#include <CGAL/Straight_skeleton_converter_2.h>

boost::shared_ptr<Target_skeleton, Source_skeleton, Items_converter>
convert_straight_skeleton_2 ( Source_skeleton s, Items_converted ic = Items_converter())
returns a new straight skeleton data structure with the same combinatorial and geometric data as s using the items converter ic to convert the geometric embedding to the types of the target skeleton.

The first template parameter is the type of the target straight skeleton. This template parameter is not bound to a function argument so it must be explicitly specified.

See Also

StraightSkeletonItemsConverter_2
Straight_skeleton_items_converter_2<SrcSs,TgtSs,NTConverter>
Straight_skeleton_converter_2<SrcSs,TgtSs,ItemsConverter>