BFLEdge Class Reference

#include <BFLEdge.h>

List of all members.

Public Member Functions

 BFLEdge (Int_t Edge)
 BFLEdge (Int_t Edge, Int_t RightPolygon, Int_t LeftPolygon, Int_t StartVtx, Int_t EndVtx, Int_t CwPred, Int_t CcwPred, Int_t CwSucc, Int_t CcwSucc)
virtual ~BFLEdge ()
virtual Int_t GetEdgeID (void) const
virtual Int_t GetRightPolyg (void) const
virtual Int_t GetLeftPolyg (void) const
virtual Int_t GetStartVtx (void) const
virtual Int_t GetEndVtx (void) const
virtual Int_t GetCwPredecessor (void) const
virtual Int_t GetCcwPredecessor (void) const
virtual Int_t GetCwSuccessor (void) const
virtual Int_t GetCcwSuccessor (void) const
virtual void SetEdge (Int_t edge)
virtual void SetRightPolyg (Int_t rpolyg)
virtual void SetLeftPolyg (Int_t lpolyg)
virtual void SetStartVtx (Int_t svtx)
virtual void SetEndVtx (Int_t evtx)
virtual void SetCwPredecessor (Int_t cwp)
virtual void SetCcwPredecessor (Int_t ccwp)
virtual void SetCwSuccessor (Int_t cws)
virtual void SetCcwSuccessor (Int_t ccws)
void Print (Option_t *="") const
Bool_t IsEqual (const TObject *obj) const
Bool_t IsSortable () const
Int_t Compare (const TObject *obj) const

Private Attributes

Int_t fEdgeID
Int_t fRightPolygon
Int_t fLeftPolygon
Int_t fStartVtx
Int_t fEndVtx
Int_t fCwPredecessor
Int_t fCcwPredecessor
Int_t fCwSuccessor
Int_t fCcwSuccessor

Detailed Description

Definition at line 4 of file BFLEdge.h.


Constructor & Destructor Documentation

BFLEdge::BFLEdge ( Int_t  Edge  )  [inline]

Definition at line 7 of file BFLEdge.h.

00007 :fEdgeID(Edge) { /*cout << "EDGE CREATED" << endl;*/ }

BFLEdge::BFLEdge ( Int_t  Edge,
Int_t  RightPolygon,
Int_t  LeftPolygon,
Int_t  StartVtx,
Int_t  EndVtx,
Int_t  CwPred,
Int_t  CcwPred,
Int_t  CwSucc,
Int_t  CcwSucc 
) [inline]

Definition at line 8 of file BFLEdge.h.

00010                                    :
00011          fEdgeID(Edge), fRightPolygon(RightPolygon), 
00012          fLeftPolygon(LeftPolygon),fStartVtx(StartVtx), fEndVtx(EndVtx), 
00013          fCwPredecessor(CwPred), fCcwPredecessor(CcwPred),
00014          fCwSuccessor(CwSucc), fCcwSuccessor(CcwSucc) { /*cout << endl;*/ }   
  virtual ~BFLEdge() { /*cout << " EDGE DELETED" <<  endl;*/ }

virtual BFLEdge::~BFLEdge (  )  [inline, virtual]

Definition at line 15 of file BFLEdge.h.

00015 { /*cout << " EDGE DELETED" <<  endl;*/ }


Member Function Documentation

Int_t BFLEdge::Compare ( const TObject *  obj  )  const [inline]

Definition at line 55 of file BFLEdge.h.

References fEdgeID, and GetEdgeID().

00055                                            {
00056      if ( fEdgeID == ((BFLEdge *)obj)->GetEdgeID() )
00057         return 0;
00058      else if (fEdgeID < ((BFLEdge *)obj)->GetEdgeID() )
00059         return -1;
00060      else
00061         return 1; 
00062    }

virtual Int_t BFLEdge::GetCcwPredecessor ( void   )  const [inline, virtual]

Definition at line 23 of file BFLEdge.h.

References fCcwPredecessor.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00023 {return fCcwPredecessor;}

virtual Int_t BFLEdge::GetCcwSuccessor ( void   )  const [inline, virtual]

Definition at line 25 of file BFLEdge.h.

References fCcwSuccessor.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00025 {return fCcwSuccessor;}

virtual Int_t BFLEdge::GetCwPredecessor ( void   )  const [inline, virtual]

Definition at line 22 of file BFLEdge.h.

References fCwPredecessor.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00022 {return fCwPredecessor;}

virtual Int_t BFLEdge::GetCwSuccessor ( void   )  const [inline, virtual]

Definition at line 24 of file BFLEdge.h.

References fCwSuccessor.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00024 {return fCwSuccessor;}

virtual Int_t BFLEdge::GetEdgeID ( void   )  const [inline, virtual]

Definition at line 17 of file BFLEdge.h.

References fEdgeID.

Referenced by Compare(), BFLVoronoiMaker::MergeDataStructures(), BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00017 {return fEdgeID;}

virtual Int_t BFLEdge::GetEndVtx ( void   )  const [inline, virtual]

Definition at line 21 of file BFLEdge.h.

References fEndVtx.

Referenced by BFLWingedEdge::Plot(), BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00021 {return fEndVtx;}

virtual Int_t BFLEdge::GetLeftPolyg ( void   )  const [inline, virtual]

Definition at line 19 of file BFLEdge.h.

References fLeftPolygon.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00019 {return fLeftPolygon;}

virtual Int_t BFLEdge::GetRightPolyg ( void   )  const [inline, virtual]

Definition at line 18 of file BFLEdge.h.

References fRightPolygon.

Referenced by BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00018 {return fRightPolygon;}

virtual Int_t BFLEdge::GetStartVtx ( void   )  const [inline, virtual]

Definition at line 20 of file BFLEdge.h.

References fStartVtx.

Referenced by BFLWingedEdge::Plot(), BFLWingedEdge::PrintEdges(), and BFLWingedEdge::Save().

00020 {return fStartVtx;}

Bool_t BFLEdge::IsEqual ( const TObject *  obj  )  const [inline]

Definition at line 51 of file BFLEdge.h.

References fEdgeID.

00051                                             { 
00052      return fEdgeID == ((BFLEdge *)obj)->GetEdgeID(); 
00053    }

Bool_t BFLEdge::IsSortable (  )  const [inline]

Definition at line 54 of file BFLEdge.h.

00054 { return kTRUE; }

void BFLEdge::Print ( Option_t *  = ""  )  const [inline]

Definition at line 37 of file BFLEdge.h.

References fCcwPredecessor, fCcwSuccessor, fCwPredecessor, fCwSuccessor, fEdgeID, fEndVtx, fLeftPolygon, fRightPolygon, and fStartVtx.

00037                                                  { 
00038     cout << endl;  
00039     cout << "\n@@@ Edge ID = " << fEdgeID;
00040     cout << "\nRight Polygon................." << fRightPolygon;
00041     cout << "\nLeft Polygon.................." << fLeftPolygon;
00042     cout << "\nStart Vertex.................." << fStartVtx;
00043     cout << "\nEnd Vertex...................." << fEndVtx;
00044     cout << "\nClockwise Predecessor........." << fCwPredecessor;
00045     cout << "\nCounterclockwise Predecessor.." << fCcwPredecessor;
00046     cout << "\nClockwise Successor..........." << fCwSuccessor;
00047     cout << "\nCounterclockwise Successor...." << fCcwSuccessor;
00048     cout << std::flush;
00049   }

virtual void BFLEdge::SetCcwPredecessor ( Int_t  ccwp  )  [inline, virtual]

Definition at line 33 of file BFLEdge.h.

References fCcwPredecessor.

00033 {fCcwPredecessor = ccwp;}

virtual void BFLEdge::SetCcwSuccessor ( Int_t  ccws  )  [inline, virtual]

Definition at line 35 of file BFLEdge.h.

References fCcwSuccessor.

00035 {fCcwSuccessor = ccws;}

virtual void BFLEdge::SetCwPredecessor ( Int_t  cwp  )  [inline, virtual]

Definition at line 32 of file BFLEdge.h.

References fCwPredecessor.

00032 {fCwPredecessor = cwp;}

virtual void BFLEdge::SetCwSuccessor ( Int_t  cws  )  [inline, virtual]

Definition at line 34 of file BFLEdge.h.

References fCwSuccessor.

00034 {fCwSuccessor = cws;}

virtual void BFLEdge::SetEdge ( Int_t  edge  )  [inline, virtual]

Definition at line 27 of file BFLEdge.h.

References fEdgeID.

00027 {fEdgeID = edge;}

virtual void BFLEdge::SetEndVtx ( Int_t  evtx  )  [inline, virtual]

Definition at line 31 of file BFLEdge.h.

References fEndVtx.

00031 {fEndVtx = evtx;}

virtual void BFLEdge::SetLeftPolyg ( Int_t  lpolyg  )  [inline, virtual]

Definition at line 29 of file BFLEdge.h.

References fLeftPolygon.

00029 {fLeftPolygon = lpolyg;}

virtual void BFLEdge::SetRightPolyg ( Int_t  rpolyg  )  [inline, virtual]

Definition at line 28 of file BFLEdge.h.

References fRightPolygon.

00028 {fRightPolygon = rpolyg;}

virtual void BFLEdge::SetStartVtx ( Int_t  svtx  )  [inline, virtual]

Definition at line 30 of file BFLEdge.h.

References fStartVtx.

00030 {fStartVtx = svtx;}


Member Data Documentation

Int_t BFLEdge::fCcwPredecessor [private]

Definition at line 71 of file BFLEdge.h.

Referenced by GetCcwPredecessor(), Print(), and SetCcwPredecessor().

Int_t BFLEdge::fCcwSuccessor [private]

Definition at line 73 of file BFLEdge.h.

Referenced by GetCcwSuccessor(), Print(), and SetCcwSuccessor().

Int_t BFLEdge::fCwPredecessor [private]

Definition at line 70 of file BFLEdge.h.

Referenced by GetCwPredecessor(), Print(), and SetCwPredecessor().

Int_t BFLEdge::fCwSuccessor [private]

Definition at line 72 of file BFLEdge.h.

Referenced by GetCwSuccessor(), Print(), and SetCwSuccessor().

Int_t BFLEdge::fEdgeID [private]

Definition at line 65 of file BFLEdge.h.

Referenced by Compare(), GetEdgeID(), IsEqual(), Print(), and SetEdge().

Int_t BFLEdge::fEndVtx [private]

Definition at line 69 of file BFLEdge.h.

Referenced by GetEndVtx(), Print(), and SetEndVtx().

Int_t BFLEdge::fLeftPolygon [private]

Definition at line 67 of file BFLEdge.h.

Referenced by GetLeftPolyg(), Print(), and SetLeftPolyg().

Int_t BFLEdge::fRightPolygon [private]

Definition at line 66 of file BFLEdge.h.

Referenced by GetRightPolyg(), Print(), and SetRightPolyg().

Int_t BFLEdge::fStartVtx [private]

Definition at line 68 of file BFLEdge.h.

Referenced by GetStartVtx(), Print(), and SetStartVtx().


The documentation for this class was generated from the following file:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1