Concept

StraightSkeletonItemsConverter_2

Definition

The concept StraightSkeletonItemsConverter_2 describes the requirements for items converter passed as the third template argument to the class Straight_skeleton_converter_2<SrcSs,TgtSs,ItemsConverter>. It converts the HDS items from one type of straight skeleton to another

Types

StraightSkeletonItemsConverter_2::Source_vertex_const_handle
A constant handle to a model of the StraightSkeletonVertex_2 concept used to represent the vertices of the straight skeleton of the source type.

StraightSkeletonItemsConverter_2::Source_halfedge_const_handle
A constant handle to model of the StraightSkeletonHalfedge_2 concept used to represent the halfedges of the straight skeleton of the source type.

StraightSkeletonItemsConverter_2::Source_face_const_handle
A constant handle to model of the StraightSkeletonFace_2 concept used to represent the faces of the straight skeleton of the source type.

StraightSkeletonItemsConverter_2::Tarvet_vertex
A model of the StraightSkeletonVertex_2 concept used to represent the vertices of the straight skeleton of the target type.

StraightSkeletonItemsConverter_2::Target_halfedge
A model of the StraightSkeletonHalfedge_2 concept used to represent the halfedges of the straight skeleton of the target type.

StraightSkeletonItemsConverter_2::Target_face
Any model of the StraightSkeletonFace_2 concept used to represent the faces of the straight skeleton of the target type.

Operations

Target_vertex conv.operator() ( Source_vertex_const_handle v) const
returns a new vertex with the same data as v converted to the corresponding target types.
Target_halfedge conv.operator() ( Source_halfedge_const_handle h) const
returns a new halfedge with the same data as h converted to the corresponding target types.
Target_face conv.operator() ( Source_face_const_handle f) const
returns a new face with the same data as f converted to the corresponding target types.

Has Models

CGAL::Straight_skeleton_items_converter_2<TgtSs,SrcSs,NTConverter>

See Also

CGAL::Straight_skeleton_converter_2<SrcSs,TgtSs,ItemsCvt>