CGAL 6.1 - Linear Cell Complex
Loading...
Searching...
No Matches
CellAttributeWithPoint Class Reference

#include <Concepts/CellAttributeWithPoint.h>

Definition

The concept CellAttributeWithPoint is a refinement of the CellAttribute concept, to represent a cell attribute containing a point.

Refines
CellAttribute
Has models
CGAL::Cell_attribute_with_point<LCC,Info_,Tag,OnMerge,OnSplit>
See also
LinearCellComplexItems

Types

typedef unspecified_type Point
 Type of the used point.
 
typedef CellAttribute::Info Info
 Type of the information, defined in the CellAttribute concept.
 

Creation

 CellAttributeWithPoint ()
 Default constructor.
 
 CellAttributeWithPoint (const Point &apoint)
 Constructor initializing the point of this attribute by the copy constructor Point(apoint).
 
 CellAttributeWithPoint (const Point &apoint, const Info &info)
 Constructor initializing the point of this attribute by the copy constructor Point(apoint) and initializing the information of this attribute by the copy constructor Info(info).
 

Access Member Functions

Pointpoint ()
 Returns the point of this attribute.
 
const Pointpoint () const
 Returns the point of this attribute, when this is const.
 

Member Typedef Documentation

◆ Info

typedef CellAttribute::Info CellAttributeWithPoint::Info

Type of the information, defined in the CellAttribute concept.

◆ Point

typedef unspecified_type CellAttributeWithPoint::Point

Type of the used point.

Constructor & Destructor Documentation

◆ CellAttributeWithPoint() [1/3]

CellAttributeWithPoint::CellAttributeWithPoint ( )

Default constructor.

◆ CellAttributeWithPoint() [2/3]

CellAttributeWithPoint::CellAttributeWithPoint ( const Point apoint)

Constructor initializing the point of this attribute by the copy constructor Point(apoint).

◆ CellAttributeWithPoint() [3/3]

CellAttributeWithPoint::CellAttributeWithPoint ( const Point apoint,
const Info info 
)

Constructor initializing the point of this attribute by the copy constructor Point(apoint) and initializing the information of this attribute by the copy constructor Info(info).

Defined only if Info is different from void.

Member Function Documentation

◆ point() [1/2]

Point & CellAttributeWithPoint::point ( )

Returns the point of this attribute.

◆ point() [2/2]

const Point & CellAttributeWithPoint::point ( ) const

Returns the point of this attribute, when this is const.