\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.2 - 3D Envelopes
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

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_data (const Surface_data &data)
 sets the data field.