mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0025701: Problem with the symmetry of fillet on two perpendicular cylinders
Test case for issue CR25701
This commit is contained in:
@@ -26,9 +26,11 @@ uses
|
||||
Elips from gp,
|
||||
Hypr from gp,
|
||||
Parab from gp,
|
||||
Ax1 from gp,
|
||||
BezierCurve from Geom,
|
||||
BSplineCurve from Geom,
|
||||
Array1OfReal from TColStd,
|
||||
SequenceOfAx1 from TColgp,
|
||||
SurfData from ChFiDS,
|
||||
Shape from GeomAbs,
|
||||
CurveType from GeomAbs,
|
||||
@@ -116,9 +118,17 @@ is
|
||||
|
||||
LastPointAndTgt(me; P : out Pnt from gp; T : out Vec from gp);
|
||||
|
||||
NbVertices(me) returns Integer from Standard;
|
||||
|
||||
VertexWithTangent(me; Index : Integer from Standard)
|
||||
returns Ax1 from gp;
|
||||
---C++: return const &
|
||||
|
||||
SetFirstPointAndTgt(me : in out; P : Pnt from gp; T : Vec from gp);
|
||||
|
||||
SetLastPointAndTgt(me : in out; P : Pnt from gp; T : Vec from gp);
|
||||
|
||||
AddVertexWithTangent(me : in out; anAx1 : Ax1 from gp);
|
||||
|
||||
SetCurve(me : in out; C : Curve from Geom);
|
||||
|
||||
@@ -187,6 +197,7 @@ ptfirst : Pnt from gp;
|
||||
ptlast : Pnt from gp;
|
||||
tgfirst : Vec from gp;
|
||||
tglast : Vec from gp;
|
||||
VerticesWithTangents : SequenceOfAx1 from TColgp;
|
||||
|
||||
previous : SurfData from ChFiDS;
|
||||
next : SurfData from ChFiDS;
|
||||
|
@@ -311,6 +311,16 @@ void ChFiDS_ElSpine::SetLastPointAndTgt(const gp_Pnt& P,
|
||||
tglast = T;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : AddVertexWithTangent
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
void ChFiDS_ElSpine::AddVertexWithTangent(const gp_Ax1& anAx1)
|
||||
{
|
||||
VerticesWithTangents.Append(anAx1);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : FirstPointAndTgt
|
||||
//purpose :
|
||||
@@ -335,6 +345,26 @@ void ChFiDS_ElSpine::LastPointAndTgt(gp_Pnt& P,
|
||||
T = tglast;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : NbVertices
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer ChFiDS_ElSpine::NbVertices() const
|
||||
{
|
||||
return VerticesWithTangents.Length();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : VertexWithTangent
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
const gp_Ax1& ChFiDS_ElSpine::VertexWithTangent(const Standard_Integer Index) const
|
||||
{
|
||||
return VerticesWithTangents(Index);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SetCurve
|
||||
//purpose :
|
||||
|
Reference in New Issue
Block a user