#include <BFLNode.h>
Public Member Functions | |
| BFLNode () | |
| BFLNode (Float_t fx, Float_t fy) | |
| BFLNode (Int_t nid, Float_t fx, Float_t fy) | |
| ~BFLNode () | |
| virtual void | SetNodeID (Int_t nid) |
| virtual void | SetX (Float_t x) |
| virtual void | SetY (Float_t y) |
| virtual void | SetXY (TVector2 &Rxy) |
| virtual Int_t | GetNodeID (void) const |
| virtual Float_t | GetX (void) const |
| virtual Float_t | GetY (void) const |
| TVector2 * | GetXY (void) const |
| void | Print (Option_t *option="") const |
| virtual Bool_t | IsSortable () const |
| virtual Bool_t | IsEqual (const TObject *node) const |
| virtual Int_t | Compare (const TObject *node) const |
Private Attributes | |
| Int_t | fNodeID |
| Float_t | fx |
| Float_t | fy |
|
|
Definition at line 17 of file BFLNode.h. 00017 { }
|
|
||||||||||||
|
Definition at line 26 of file BFLNode.cxx.
|
|
||||||||||||||||
|
Definition at line 19 of file BFLNode.cxx.
|
|
|
Definition at line 33 of file BFLNode.cxx. 00034 {
00035 // cout << " node deleted "<< endl;
00036 }
|
|
|
Definition at line 56 of file BFLNode.cxx. 00057 {
00058 if( fx < ((BFLNode *)node)->GetX() ) {
00059 return -1;
00060 } else if( fx > ((BFLNode *)node)->GetX() ) {
00061 return 1;
00062 } else {
00063 if( fy < ((BFLNode *)node)->GetY() ) {
00064 return -1;
00065 } else if( fy > ((BFLNode *)node)->GetY() ) {
00066 return 1;
00067 } else {
00068 return 0;
00069 }
00070 }
00071 }
|
|
|
Definition at line 25 of file BFLNode.h. Referenced by BFLInterpolation::NNInterpolation(), and BFLWingedEdge::SaveNodalSet(). 00025 { return fNodeID; }
|
|
|
Definition at line 26 of file BFLNode.h. Referenced by BFLInterpolation::CellArea(), BFLVorOperator::Clockwise(), BFLVorOperator::DistanceFrom(), BFLVorOperator::FindNewVtx(), BFLWingedEdge::GetX(), BFLVorOperator::IsInTheCircle(), BFLVoronoiMaker::Make(), BFLInterpolation::NNInterpolation(), BFLInterpolation::PlanarInterpolation(), BFLWingedEdge::SaveNodalSet(), and BFLVorOperator::VtxPosition(). 00026 { return fx; }
|
|
|
Definition at line 38 of file BFLNode.cxx. 00039 {
00040 return(new TVector2(fx,fy));
00041 }
|
|
|
Definition at line 27 of file BFLNode.h. Referenced by BFLInterpolation::CellArea(), BFLVorOperator::Clockwise(), BFLVorOperator::DistanceFrom(), BFLVorOperator::FindNewVtx(), BFLWingedEdge::GetY(), BFLVorOperator::IsInTheCircle(), BFLVoronoiMaker::Make(), BFLInterpolation::NNInterpolation(), BFLInterpolation::PlanarInterpolation(), BFLWingedEdge::SaveNodalSet(), and BFLVorOperator::VtxPosition(). 00027 { return fy; }
|
|
|
Definition at line 31 of file BFLNode.h. 00031 {
00032 return( fx == ((BFLNode *)node)->GetX() &&
00033 fy == ((BFLNode *)node)->GetY() );
00034 }
|
|
|
Definition at line 30 of file BFLNode.h. 00030 { return kTRUE; }
|
|
|
Definition at line 49 of file BFLNode.cxx. References fNodeID, fx, and fy. 00050 {
00051 cout << endl;
00052 cout << "node " << fNodeID
00053 << " is at (" << fx << "," << fy << ") " << endl;
00054 }
|
|
|
Definition at line 21 of file BFLNode.h. References fNodeID. 00021 { fNodeID = nid; }
|
|
|
Definition at line 22 of file BFLNode.h. References fx. Referenced by SetXY(). 00022 { fx = x; }
|
|
|
Definition at line 43 of file BFLNode.cxx. References SetX(), and SetY().
|
|
|
Definition at line 23 of file BFLNode.h. References fy. Referenced by SetXY(). 00023 { fy = y; }
|
|
|
Definition at line 38 of file BFLNode.h. Referenced by Print(), and SetNodeID(). |
|
|
Definition at line 39 of file BFLNode.h. Referenced by Compare(), GetXY(), IsEqual(), Print(), and SetX(). |
|
|
Definition at line 40 of file BFLNode.h. Referenced by Compare(), GetXY(), IsEqual(), Print(), and SetY(). |
1.3.9.1