Coding - Method guard iterative update (#674)

- Standardizes comment formatting by replacing detailed comment blocks with a uniform "//=================================================================================================" separator
- Removes redundant "function:" and "purpose:" fields that often contained minimal or no useful information
- Maintains code functionality while improving visual consistency across the codebase
This commit is contained in:
Pasukhin Dmitry
2025-08-15 17:14:53 +01:00
committed by GitHub
parent 02f6fa7be2
commit ae4de70f98
365 changed files with 3229 additions and 9377 deletions

View File

@@ -1229,10 +1229,7 @@ Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre1(Blend_RstRstFunction&
return Standard_False;
}
//=======================================================================
// function : Recadre2
// purpose : Contact lost on Rst2
//=======================================================================
//=================================================================================================
Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre2(Blend_RstRstFunction& Func,
Blend_SurfCurvFuncInv& Finv,

View File

@@ -16,20 +16,14 @@
#include <StdFail_NotDone.hxx>
//=======================================================================
// function : IsDone
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_RstRstLineBuilder::IsDone() const
{
return done;
}
//=======================================================================
// function : Line
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(BRepBlend_Line)& BRepBlend_RstRstLineBuilder::Line() const
{
@@ -40,10 +34,7 @@ inline const Handle(BRepBlend_Line)& BRepBlend_RstRstLineBuilder::Line() const
return line;
}
//=======================================================================
// function : Decroch1Start
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1Start() const
{
@@ -53,10 +44,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1Start() const
return Standard_False;
}
//=======================================================================
// function : Decroch1End
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1End() const
{
@@ -66,10 +54,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1End() const
return Standard_False;
}
//=======================================================================
// function : Decroch2Start
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2Start() const
{
@@ -79,10 +64,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2Start() const
return Standard_False;
}
//=======================================================================
// function : Decroch2End
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2End() const
{

View File

@@ -16,20 +16,14 @@
#include <StdFail_NotDone.hxx>
//=======================================================================
// function : IsDone
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_SurfRstLineBuilder::IsDone() const
{
return done;
}
//=======================================================================
// function : Line
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(BRepBlend_Line)& BRepBlend_SurfRstLineBuilder::Line() const
{
@@ -40,20 +34,14 @@ inline const Handle(BRepBlend_Line)& BRepBlend_SurfRstLineBuilder::Line() const
return line;
}
//=======================================================================
// function : DecrochStart
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_SurfRstLineBuilder::DecrochStart() const
{
return decrochdeb;
}
//=======================================================================
// function : DecrochEnd
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepBlend_SurfRstLineBuilder::DecrochEnd() const
{

View File

@@ -14,80 +14,56 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : IsModified
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepFilletAPI_MakeFillet2d::IsModified(const TopoDS_Edge& E) const
{
return myMakeChFi2d.IsModified(E);
}
//=======================================================================
// function : FilletEdges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopTools_SequenceOfShape& BRepFilletAPI_MakeFillet2d::FilletEdges() const
{
return myMakeChFi2d.FilletEdges();
}
//=======================================================================
// function : NbFillet
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer BRepFilletAPI_MakeFillet2d::NbFillet() const
{
return myMakeChFi2d.NbFillet();
}
//=======================================================================
// function : ChamferEdges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopTools_SequenceOfShape& BRepFilletAPI_MakeFillet2d::ChamferEdges() const
{
return myMakeChFi2d.ChamferEdges();
}
//=======================================================================
// function : NbChamfer
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer BRepFilletAPI_MakeFillet2d::NbChamfer() const
{
return myMakeChFi2d.NbChamfer();
}
//=======================================================================
// function : HasDescendant
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepFilletAPI_MakeFillet2d::HasDescendant(const TopoDS_Edge& E) const
{
return myMakeChFi2d.HasDescendant(E);
}
//=======================================================================
// function : DescendantEdge
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Edge& BRepFilletAPI_MakeFillet2d::DescendantEdge(const TopoDS_Edge& E) const
{
return myMakeChFi2d.DescendantEdge(E);
}
//=======================================================================
// function : Status
// purpose :
//=======================================================================
//=================================================================================================
inline ChFi2d_ConstructionError BRepFilletAPI_MakeFillet2d::Status() const
{

View File

@@ -21,10 +21,7 @@
#include <TopoDS_Wire.hxx>
#include <TopoDS_Face.hxx>
//=======================================================================
// function : Result
// purpose :
//=======================================================================
//=================================================================================================
inline TopoDS_Face ChFi2d_Builder::Result() const
{
@@ -33,80 +30,56 @@ inline TopoDS_Face ChFi2d_Builder::Result() const
return aFace;
}
//=======================================================================
// function : IsModified
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFi2d_Builder::IsModified(const TopoDS_Edge& E) const
{
return history.IsBound(E);
}
//=======================================================================
// function : FilletEdges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopTools_SequenceOfShape& ChFi2d_Builder::FilletEdges() const
{
return fillets;
}
//=======================================================================
// function : ChamferEdges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopTools_SequenceOfShape& ChFi2d_Builder::ChamferEdges() const
{
return chamfers;
}
//=======================================================================
// function : NbFillet
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFi2d_Builder::NbFillet() const
{
return fillets.Length();
}
//=======================================================================
// function : NbChamfer
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFi2d_Builder::NbChamfer() const
{
return chamfers.Length();
}
//=======================================================================
// function : HasDescendant
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFi2d_Builder::HasDescendant(const TopoDS_Edge& E) const
{
return history.IsBound(E);
}
//=======================================================================
// function : DescendantEdge
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Edge& ChFi2d_Builder::DescendantEdge(const TopoDS_Edge& E) const
{
return TopoDS::Edge(history.Find(E));
} // DescendantEdge
//=======================================================================
// function : Status
// purpose :
//=======================================================================
//=================================================================================================
inline ChFi2d_ConstructionError ChFi2d_Builder::Status() const
{

View File

@@ -14,10 +14,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : SetInterference
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_FaceInterference::SetInterference(const Standard_Integer LineIndex,
const TopAbs_Orientation Trans,
@@ -30,110 +27,77 @@ inline void ChFiDS_FaceInterference::SetInterference(const Standard_Integer
pCurveOnSurf = PCurv2;
}
//=======================================================================
// function : SetLineIndex
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_FaceInterference::SetLineIndex(const Standard_Integer I)
{
lineindex = I;
}
//=======================================================================
// function : SetFirstParameter
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_FaceInterference::SetFirstParameter(const Standard_Real U1)
{
firstParam = U1;
}
//=======================================================================
// function : SetLastParameter
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_FaceInterference::SetLastParameter(const Standard_Real U1)
{
lastParam = U1;
}
//=======================================================================
// function : LineIndex
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_FaceInterference::LineIndex() const
{
return lineindex;
}
//=======================================================================
// function : Transition
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_FaceInterference::Transition() const
{
return LineTransition;
}
//=======================================================================
// function : PCurveOnFace
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnFace() const
{
return pCurveOnFace;
}
//=======================================================================
// function : PCurveOnSurf
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnSurf() const
{
return pCurveOnSurf;
}
//=======================================================================
// function : ChangePCurveOnFace
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(Geom2d_Curve)& ChFiDS_FaceInterference::ChangePCurveOnFace()
{
return pCurveOnFace;
}
//=======================================================================
// function : ChangePCurveOnSurf
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(Geom2d_Curve)& ChFiDS_FaceInterference::ChangePCurveOnSurf()
{
return pCurveOnSurf;
}
//=======================================================================
// function : FirstParameter
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Real ChFiDS_FaceInterference::FirstParameter() const
{
return firstParam;
}
//=======================================================================
// function : LastParameter
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Real ChFiDS_FaceInterference::LastParameter() const
{

View File

@@ -16,70 +16,49 @@
#include <TopoDS.hxx>
//=======================================================================
// function : SetTypeOfConcavity
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetTypeOfConcavity(const ChFiDS_TypeOfConcavity theType)
{
myTypeOfConcavity = theType;
}
//=======================================================================
// function : SetFirstStatus
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetFirstStatus(const ChFiDS_State S)
{
firstState = S;
}
//=======================================================================
// function : SetLastStatus
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetLastStatus(const ChFiDS_State S)
{
lastState = S;
}
//=======================================================================
// function : GetTypeOfConcavity
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_TypeOfConcavity ChFiDS_Spine::GetTypeOfConcavity() const
{
return myTypeOfConcavity;
}
//=======================================================================
// function : FirstStatus
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_State ChFiDS_Spine::FirstStatus() const
{
return firstState;
}
//=======================================================================
// function : LastStatus
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_State ChFiDS_Spine::LastStatus() const
{
return lastState;
}
//=======================================================================
// function : SetStatus
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetStatus(const ChFiDS_State S, const Standard_Boolean IsFirst)
{
@@ -89,10 +68,7 @@ inline void ChFiDS_Spine::SetStatus(const ChFiDS_State S, const Standard_Boolean
lastState = S;
}
//=======================================================================
// function : Status
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_State ChFiDS_Spine::Status(const Standard_Boolean IsFirst) const
{
@@ -102,10 +78,7 @@ inline ChFiDS_State ChFiDS_Spine::Status(const Standard_Boolean IsFirst) const
return lastState;
}
//=======================================================================
// function : SetTangencyExtremity
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetTangencyExtremity(const Standard_Boolean IsTangency,
const Standard_Boolean IsFirst)
@@ -116,10 +89,7 @@ inline void ChFiDS_Spine::SetTangencyExtremity(const Standard_Boolean IsTangency
lastistgt = IsTangency;
}
//=======================================================================
// function : IsTangencyExtremity
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFiDS_Spine::IsTangencyExtremity(const Standard_Boolean IsFirst) const
{
@@ -129,89 +99,63 @@ inline Standard_Boolean ChFiDS_Spine::IsTangencyExtremity(const Standard_Boolean
return lastistgt;
}
//=======================================================================
// function : NbEdges
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Spine::NbEdges() const
{
return spine.Length();
}
//=======================================================================
// function : Edges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Edge& ChFiDS_Spine::Edges(const Standard_Integer I) const
{
return TopoDS::Edge(spine.Value(I));
}
//=======================================================================
// function : OffsetEdges
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Edge& ChFiDS_Spine::OffsetEdges(const Standard_Integer I) const
{
return TopoDS::Edge(offsetspine.Value(I));
}
//=======================================================================
// function : SetEdges
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetEdges(const TopoDS_Edge& E)
{
spine.Append(E);
}
//=======================================================================
// function : SetOffsetEdges
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::SetOffsetEdges(const TopoDS_Edge& E)
{
offsetspine.Append(E);
}
//=======================================================================
// function : PutInFirst
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::PutInFirst(const TopoDS_Edge& E)
{
spine.InsertBefore(1, E);
}
//=======================================================================
// function : PutInFirstOffset
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Spine::PutInFirstOffset(const TopoDS_Edge& E)
{
offsetspine.InsertBefore(1, E);
}
//=======================================================================
// function : CurrentIndexOfElementarySpine
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Spine::CurrentIndexOfElementarySpine() const
{
return indexofcurve;
}
//=======================================================================
// function : Mode
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_ChamfMode ChFiDS_Spine::Mode() const
{
@@ -219,10 +163,8 @@ inline ChFiDS_ChamfMode ChFiDS_Spine::Mode() const
return myMode;
}
//=======================================================================
// function : GetTolesp
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Real ChFiDS_Spine::GetTolesp() const
{
return tolesp;

View File

@@ -14,110 +14,77 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : SetOfSurfData
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(ChFiDS_HData)& ChFiDS_Stripe::SetOfSurfData() const
{
return myHdata;
}
//=======================================================================
// function : Spine
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(ChFiDS_Spine)& ChFiDS_Stripe::Spine() const
{
return mySpine;
}
//=======================================================================
// function : OrientationOnFace1
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace1() const
{
return myOr1;
}
//=======================================================================
// function : OrientationOnFace2
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace2() const
{
return myOr2;
}
//=======================================================================
// function : Choix
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::Choix() const
{
return myChoix;
}
//=======================================================================
// function : ChangeSetOfSurfData
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(ChFiDS_HData)& ChFiDS_Stripe::ChangeSetOfSurfData()
{
return myHdata;
}
//=======================================================================
// function : ChangeSpine
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(ChFiDS_Spine)& ChFiDS_Stripe::ChangeSpine()
{
return mySpine;
}
//=======================================================================
// function : OrientationOnFace1
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::OrientationOnFace1(const TopAbs_Orientation Or1)
{
myOr1 = Or1;
}
//=======================================================================
// function : OrientationOnFace2
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::OrientationOnFace2(const TopAbs_Orientation Or2)
{
myOr2 = Or2;
}
//=======================================================================
// function : Choix
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::Choix(const Standard_Integer C)
{
myChoix = C;
}
//=======================================================================
// function : FirstParameters
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::FirstParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
{
@@ -125,10 +92,7 @@ inline void ChFiDS_Stripe::FirstParameters(Standard_Real& Pdeb, Standard_Real& P
Pfin = parfin1;
}
//=======================================================================
// function : lastParameters
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::LastParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
{
@@ -136,10 +100,7 @@ inline void ChFiDS_Stripe::LastParameters(Standard_Real& Pdeb, Standard_Real& Pf
Pfin = parfin2;
}
//=======================================================================
// function : ChangeFirstParameters
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeFirstParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
{
@@ -147,10 +108,7 @@ inline void ChFiDS_Stripe::ChangeFirstParameters(const Standard_Real Pdeb, const
parfin1 = Pfin;
}
//=======================================================================
// function : ChangeLastParameters
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeLastParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
{
@@ -158,200 +116,140 @@ inline void ChFiDS_Stripe::ChangeLastParameters(const Standard_Real Pdeb, const
parfin2 = Pfin;
}
//=======================================================================
// function : FirstCurve
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::FirstCurve() const
{
return indexOfcurve1;
}
//=======================================================================
// function : LastCurve
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::LastCurve() const
{
return indexOfcurve2;
}
//=======================================================================
// function : ChangeFirstCurve
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeFirstCurve(const Standard_Integer Index)
{
indexOfcurve1 = Index;
}
//=======================================================================
// function : ChangeLastCurve
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeLastCurve(const Standard_Integer Index)
{
indexOfcurve2 = Index;
}
//=======================================================================
// function : FirstPCurve
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::FirstPCurve() const
{
return pcrv1;
}
//=======================================================================
// function : LastPCurve
// purpose :
//=======================================================================
//=================================================================================================
inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::LastPCurve() const
{
return pcrv2;
}
//=======================================================================
// function : ChangeFirstPCurve
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeFirstPCurve()
{
return pcrv1;
}
//=======================================================================
// function : ChangeLastPCurve
// purpose :
//=======================================================================
//=================================================================================================
inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeLastPCurve()
{
return pcrv2;
}
//=======================================================================
// function : IndexFirstPointOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS1() const
{
return indexfirstPOnS1;
}
//=======================================================================
// function : IndexLastPointOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS1() const
{
return indexlastPOnS1;
}
//=======================================================================
// function : IndexFirstPointOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS2() const
{
return indexfirstPOnS2;
}
//=======================================================================
// function : IndexLastPointOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS2() const
{
return indexlastPOnS2;
}
//=======================================================================
// function : ChangeIndexFirstPointOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS1(const Standard_Integer Index)
{
indexfirstPOnS1 = Index;
}
//=======================================================================
// function : ChangeIndexLastPointOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeIndexLastPointOnS1(const Standard_Integer Index)
{
indexlastPOnS1 = Index;
}
//=======================================================================
// function : ChangeIndexFirstPointOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS2(const Standard_Integer Index)
{
indexfirstPOnS2 = Index;
}
//=======================================================================
// function : ChangeIndexLastPointOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::ChangeIndexLastPointOnS2(const Standard_Integer Index)
{
indexlastPOnS2 = Index;
}
//=======================================================================
// function : FirstPCurveOrientation
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_Stripe::FirstPCurveOrientation() const
{
return orcurv1;
}
//=======================================================================
// function : LastPCurveOrientation
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_Stripe::LastPCurveOrientation() const
{
return orcurv2;
}
//=======================================================================
// function : FirstPCurveOrientation
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::FirstPCurveOrientation(const TopAbs_Orientation O)
{
orcurv1 = O;
}
//=======================================================================
// function : LastPCurveOrientation
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_Stripe::LastPCurveOrientation(const TopAbs_Orientation O)
{

View File

@@ -14,20 +14,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : Extent
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_StripeMap::Extent() const
{
return mymap.Extent();
}
//=======================================================================
// function : FindKey
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Vertex& ChFiDS_StripeMap::FindKey(const Standard_Integer I) const
{

View File

@@ -14,30 +14,21 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : IndexOfS1
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::IndexOfS1() const
{
return indexOfS1;
}
//=======================================================================
// function : IsOnCurve1
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFiDS_SurfData::IsOnCurve1() const
{
return isoncurv1;
}
//=======================================================================
// function : IndexOfC1
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::IndexOfC1() const
{
@@ -46,10 +37,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC1() const
return indexOfC1;
}
//=======================================================================
// function : SetIndexOfC1
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_SurfData::SetIndexOfC1(const Standard_Integer theIndex)
{
@@ -57,30 +45,21 @@ inline void ChFiDS_SurfData::SetIndexOfC1(const Standard_Integer theIndex)
isoncurv1 = (theIndex != 0);
}
//=======================================================================
// function : IndexOfS2
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::IndexOfS2() const
{
return indexOfS2;
}
//=======================================================================
// function : IsOnCurve2
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFiDS_SurfData::IsOnCurve2() const
{
return isoncurv2;
}
//=======================================================================
// function : IndexOfC2
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::IndexOfC2() const
{
@@ -89,10 +68,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC2() const
return indexOfC2;
}
//=======================================================================
// function : SetIndexOfC2
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_SurfData::SetIndexOfC2(const Standard_Integer theIndex)
{
@@ -100,190 +76,133 @@ inline void ChFiDS_SurfData::SetIndexOfC2(const Standard_Integer theIndex)
isoncurv2 = (theIndex != 0);
}
//=======================================================================
// function : Surf
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::Surf() const
{
return indexOfConge;
}
//=======================================================================
// function : Orientation
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation ChFiDS_SurfData::Orientation() const
{
return orientation;
}
//=======================================================================
// function : InterferenceOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS1() const
{
return intf1;
}
//=======================================================================
// function : InterferenceOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS2() const
{
return intf2;
}
//=======================================================================
// function : VertexFirstOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS1() const
{
return pfirstOnS1;
}
//=======================================================================
// function : VertexLastOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS1() const
{
return plastOnS1;
}
//=======================================================================
// function : VertexFirstOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS2() const
{
return pfirstOnS2;
}
//=======================================================================
// function : VertexLastOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS2() const
{
return plastOnS2;
}
//=======================================================================
// function : ChangeIndexOfS1
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_SurfData::ChangeIndexOfS1(const Standard_Integer Index)
{
indexOfS1 = Index;
}
//=======================================================================
// function : ChangeIndexOfS2
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_SurfData::ChangeIndexOfS2(const Standard_Integer Index)
{
indexOfS2 = Index;
}
//=======================================================================
// function : ChangeSurf
// purpose :
//=======================================================================
//=================================================================================================
inline void ChFiDS_SurfData::ChangeSurf(const Standard_Integer Index)
{
indexOfConge = Index;
}
//=======================================================================
// function : ChangeOrientation
// purpose :
//=======================================================================
//=================================================================================================
inline TopAbs_Orientation& ChFiDS_SurfData::ChangeOrientation()
{
return orientation;
}
//=======================================================================
// function : ChangeInterferenceOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS1()
{
return intf1;
}
//=======================================================================
// function : ChangeInterferenceOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS2()
{
return intf2;
}
//=======================================================================
// function : ChangeVertexFirstOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS1()
{
return pfirstOnS1;
}
//=======================================================================
// function : ChangeVertexLastOnS1
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS1()
{
return plastOnS1;
}
//=======================================================================
// function : ChangeVertexFirstOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS2()
{
return pfirstOnS2;
}
//=======================================================================
// function : ChangeVertexLastOnS2
// purpose :
//=======================================================================
//=================================================================================================
inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS2()
{
return plastOnS2;
}
//=======================================================================
// function : IsOnCurve
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFiDS_SurfData::IsOnCurve(const Standard_Integer OnS) const
{
@@ -292,10 +211,7 @@ inline Standard_Boolean ChFiDS_SurfData::IsOnCurve(const Standard_Integer OnS) c
return isoncurv2;
}
//=======================================================================
// function : IndexOfC
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer ChFiDS_SurfData::IndexOfC(const Standard_Integer OnS) const
{
@@ -310,10 +226,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC(const Standard_Integer OnS) co
return indexOfC2;
}
//=======================================================================
// function : Twist
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean ChFiDS_SurfData::TwistOnS1() const
{