Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • liangb30/cas-741-boliang
  • pignierb/cas741
  • jimoha1/cas741
  • huoy8/cas741
  • grandhia/cas741
  • chenq84/cas741
  • yex33/cas741
  • xuey45/cas741
  • garcilau/cas-741-uriel-garcilazo-msa
  • schankuc2/cas741
  • ahmady3/cas741
  • saadh/cas741
  • singhk56/cas741
  • lin523/cas741
  • fangz58/cas741
  • tranp30/cas741
  • ceranich/cas741
  • norouf1/cas741
  • mirzam48/cas741
  • djavahet/cas741
  • hossaa27/cas741
  • yiding_el/cas-741-upate-name
  • sayadia/cas741
  • elmasn2/cas741
  • cheemf8/cas741
  • cheny997/cas741
  • ma209/cas741
  • mousas26/cas741
  • liuy363/cas741
  • wongk124/cas741
  • dua11/cas741
  • zhoug28/cas741
  • courses/cas-741-tst
  • liy443/cas-741-fork-csv
  • sochania/cas741
  • liy443/cas-741-update-csv-old
  • mahdipoa/cas741
  • wangz892/cas741
  • wangn14/cas741
  • defourej/cas741
  • zhaox183/cas741
  • smiths/cas741
42 results
Show changes
Showing
with 89109 additions and 0 deletions
File added
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*****************************************************************************/
/* PMGT */
/* */
/* January, 2007 */
/* */
/* Copyright 2007 */
/* Wen Yu */
/* Department of Computing and Software */
/* McMaster University */
/* yuw4@mcmaster.ca */
/* */
/* This program may be freely redistributed under the condition that the */
/* copyright notices are not removed. You may distribute modified versions*/
/* of this code UNDER THE CONDITION THAT THIS CODE AND ANY MODIFICATIONS */
/* MADE TO IT IN THE SAME FILE REMAIN UNDER COPYRIGHT OF THE ORIGINAL */
/* AUTHOR, BOTH SOURCE AND OBJECT CODE ARE MADE FREELY AVAILABLE WITHOUT */
/* CHARGE, AND CLEAR NOTICE IS GIVEN OF THE MODIFICATIONS. */
/* */
/* This is the serial version of PMGT */
/* This file includes classes for the cell module. */
/*****************************************************************************/
#ifndef CELL
#define CELL
#endif
#ifndef VERTEX
#include "Vertex.h"
#endif
#ifndef EDGE
#include "Edge.h"
#endif
namespace PMGT{
//namespace Cell{
//using namespace Vertex;
//using namespace Edge;
class Cell{
public:
Cell(int cId=-1, int LhId = -1, MFLAG mFlag=UNCHANGE, bool del=false){
cId_ = cId;
LhId_ = LhId;
mFlag_ = mFlag;
del_ = del;
}
inline int cId(){ return cId_;}
inline MFLAG mFlag(){ return mFlag_; }
inline int LhId(){ return LhId_; }
inline bool del(){ return del_; }
inline void setCId(int cId){ cId_ = cId; }
inline void setMflag(MFLAG flag){ mFlag_ = flag; }
inline void setLhId(int LhId){ LhId_ = LhId; }
inline void setDel(bool del) { del_ = del; }
inline void ccopy(Cell& other){
cId_ = other.cId_;
LhId_ = other.LhId_;
mFlag_ = other.mFlag_;
del_ = other.del_;
}
private:
int cId_; //id
int LhId_; //longest halfedge
MFLAG mFlag_; //flag for modification
bool del_; // a flag to indicate if the cell
// is marked to be deleted
}; // end of class Cell
//} // end of namespace Cell
} // end of namespace PMGT
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.