mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026747: Some constructors of gp_Parab2d class contain redundant parameters
1. Useless constructors have been deleted. 2. Value returned by gp_Parab2d::Directrix() method has been corrected to exclude reversing the directrix. 3. Documentation of gp_Parab2d class has been updated (in hxx-file). 4. Upgrade Guide has been updated according to corrections made in this issue. Creation of test cases for this issue.
This commit is contained in:
@@ -51,14 +51,6 @@ GCE2d_MakeParabola::GCE2d_MakeParabola(const gp_Ax22d& Axis ,
|
||||
}
|
||||
}
|
||||
|
||||
GCE2d_MakeParabola::GCE2d_MakeParabola(const gp_Ax22d& Axis ,
|
||||
const gp_Pnt2d& F )
|
||||
{
|
||||
TheError = gce_Done;
|
||||
gp_Parab2d para(Axis,F);
|
||||
TheParabola = new Geom2d_Parabola(para);
|
||||
}
|
||||
|
||||
GCE2d_MakeParabola::GCE2d_MakeParabola(const gp_Ax2d& D ,
|
||||
const gp_Pnt2d& F ,
|
||||
const Standard_Boolean Sense )
|
||||
|
@@ -70,11 +70,6 @@ public:
|
||||
//! Status is "NegativeFocusLength" if Focal < 0.0
|
||||
Standard_EXPORT GCE2d_MakeParabola(const gp_Ax2d& MirrorAxis, const Standard_Real Focal, const Standard_Boolean Sense);
|
||||
|
||||
//! Creates a parabola with the local coordinate system and the focus point.
|
||||
//! The sense of parametrization is given by Sense.
|
||||
Standard_EXPORT GCE2d_MakeParabola(const gp_Ax22d& D, const gp_Pnt2d& F);
|
||||
|
||||
|
||||
//! D is the directrix of the parabola and F the focus point.
|
||||
//! The symmetry axis "XAxis" of the parabola is normal to the
|
||||
//! directrix and pass through the focus point F, but its
|
||||
|
Reference in New Issue
Block a user