CGAL 6.0 - 3D Envelopes
Loading...
Searching...
No Matches
CGAL::Env_surface_data_traits_3< Traits, XyData, SData, Cnv >::Surface_3 Class Reference

#include <CGAL/Env_surface_data_traits_3.h>

Inherits from

Base_surface_3.

Definition

template<typename Traits, typename XyData, typename SData, typename Cnv>
class CGAL::Env_surface_data_traits_3< Traits, XyData, SData, Cnv >::Surface_3

The Surface_3 class nested within the surface-data traits extends the Base_traits_3::Surface_3 type with an extra data field.

Creation

 Surface_3 ()
 default constructor.
 
 Surface_3 (const Base_surface_3 &base)
 constructs surface from the given base surface with uninitialized data field.
 
 Surface_3 (const Base_surface_3 &base, const Surface_data &data)
 constructs surface from the given base surface with an attached data field.
 

Access Functions

const Surface_datadata () const
 returns the data field (a non-const version, which returns a reference to the data object, is also available).
 
void set_env_data (const Surface_data &data)
 sets the data field.