cell_system::CellSystemCell Class Reference

Content of a vertex for the 2D cell system. More...

#include <algorithms/cellsystem.h>

List of all members.

Public Member Functions

bool serialize (storage::VVEStorage &)
 Serialization method.

Public Attributes

double area
 Area of the cell.
label_t label
 Label of the cell.
Point3d pos
 Position of the vertex.

Detailed Description

Content of a vertex for the 2D cell system.

Definition at line 311 of file cellsystem.h.


Member Function Documentation

bool cell_system::CellSystemCell::serialize ( storage::VVEStorage store  ) 

Serialization method.

Definition at line 11 of file cellsystem.cpp.

References area, storage::VVEStorage::field(), label, and pos.

00012   {
00013     if(!store.field("Area", area))
00014     {
00015       area = 0;
00016       cerr << "Warning, reading cell with invalid area" << endl;
00017     }
00018     if(!store.field("Position", pos))
00019       return false;
00020     if(!store.field("Label", label))
00021       return false;
00022     return true;
00023   }


Member Data Documentation

Area of the cell.

Definition at line 316 of file cellsystem.h.

Referenced by serialize().

Label of the cell.

Definition at line 324 of file cellsystem.h.

Referenced by serialize().

Position of the vertex.

Definition at line 320 of file cellsystem.h.

Referenced by serialize().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:38:07 2013 for VVE by  doxygen 1.6.3