X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIntPolyh%2FIntPolyh_Couple.cxx;h=cc4f65ecd3ce9b70597b881fda5d1def6b9da3cc;hb=68b0769935516a289ab3d38d33c5c0e6776d932a;hpb=a9bdd54d1d5c930cb9b8a720a26407ddf31a89a1 diff --git a/src/IntPolyh/IntPolyh_Couple.cxx b/src/IntPolyh/IntPolyh_Couple.cxx index e5cefe0af7..cc4f65ecd3 100644 --- a/src/IntPolyh/IntPolyh_Couple.cxx +++ b/src/IntPolyh/IntPolyh_Couple.cxx @@ -16,26 +16,12 @@ #include - #include -IntPolyh_Couple::IntPolyh_Couple() : t1(-1),t2(-1),ia(0),angle(-2.0) { } - -IntPolyh_Couple::IntPolyh_Couple(const Standard_Integer a,const Standard_Integer b) : t1(a),t2(b),ia(0),angle(-2.0) { } - -Standard_Integer IntPolyh_Couple::FirstValue() const{ return(t1);} -Standard_Integer IntPolyh_Couple::SecondValue() const{ return(t2);} -Standard_Integer IntPolyh_Couple::AnalyseFlagValue() const{ return(ia);} -Standard_Real IntPolyh_Couple::AngleValue() const{ return(angle);} - -void IntPolyh_Couple::SetCoupleValue(const Standard_Integer a,const Standard_Integer b) -{ t1=a; t2=b; } -void IntPolyh_Couple::SetAnalyseFlag(const Standard_Integer iiaa) { ia=iiaa; } -void IntPolyh_Couple::SetAngleValue(const Standard_Real ang) { angle=ang; } -void IntPolyh_Couple::Dump(const Standard_Integer i) const{ - printf("\nCouple(%3d) : %5d %5d %3d %5f\n",i,t1,t2,ia,angle); +//======================================================================= +//function : Dump +//purpose : +//======================================================================= +void IntPolyh_Couple::Dump(const Standard_Integer i) const{ + printf("\nCouple(%3d) : %5d %5d %3d %5f\n", i, myIndex1, myIndex2, myAnalyzed, myAngle); } - - - -