mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026595: Lost some comments in OCCT-code after cdl elimination
Recovered comments for instance classes from CDL generic classes.
This commit is contained in:
@@ -47,32 +47,68 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Initializes the local properties of the curve <C>
|
||||
//! The current point and the derivatives are
|
||||
//! computed at the same time, which allows an
|
||||
//! optimization of the computation time.
|
||||
//! <N> indicates the maximum number of derivations to
|
||||
//! be done (0, 1, 2 or 3). For example, to compute
|
||||
//! only the tangent, N should be equal to 1.
|
||||
//! <Resolution> is the linear tolerance (it is used to test
|
||||
//! if a vector is null).
|
||||
Standard_EXPORT Geom2dLProp_CLProps2d(const Handle(Geom2d_Curve)& C, const Standard_Integer N, const Standard_Real Resolution);
|
||||
|
||||
//! Same as previous constructor but here the parameter is
|
||||
//! set to the value <U>.
|
||||
//! All the computations done will be related to <C> and <U>.
|
||||
Standard_EXPORT Geom2dLProp_CLProps2d(const Handle(Geom2d_Curve)& C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution);
|
||||
|
||||
//! Same as previous constructor but here the parameter is
|
||||
//! set to the value <U> and the curve is set
|
||||
//! with SetCurve.
|
||||
//! the curve can have a empty constructor
|
||||
//! All the computations done will be related to <C> and <U>
|
||||
//! when the functions "set" will be done.
|
||||
Standard_EXPORT Geom2dLProp_CLProps2d(const Standard_Integer N, const Standard_Real Resolution);
|
||||
|
||||
//! Initializes the local properties of the curve
|
||||
//! for the parameter value <U>.
|
||||
Standard_EXPORT void SetParameter (const Standard_Real U);
|
||||
|
||||
//! Initializes the local properties of the curve
|
||||
//! for the new curve.
|
||||
Standard_EXPORT void SetCurve (const Handle(Geom2d_Curve)& C);
|
||||
|
||||
//! Returns the Point.
|
||||
Standard_EXPORT const gp_Pnt2d& Value() const;
|
||||
|
||||
//! Returns the first derivative.
|
||||
//! The derivative is computed if it has not been yet.
|
||||
Standard_EXPORT const gp_Vec2d& D1();
|
||||
|
||||
//! Returns the second derivative.
|
||||
//! The derivative is computed if it has not been yet.
|
||||
Standard_EXPORT const gp_Vec2d& D2();
|
||||
|
||||
//! Returns the third derivative.
|
||||
//! The derivative is computed if it has not been yet.
|
||||
Standard_EXPORT const gp_Vec2d& D3();
|
||||
|
||||
//! Returns True if the tangent is defined.
|
||||
//! For example, the tangent is not defined if the
|
||||
//! three first derivatives are all null.
|
||||
Standard_EXPORT Standard_Boolean IsTangentDefined();
|
||||
|
||||
//! output the tangent direction <D>
|
||||
Standard_EXPORT void Tangent (gp_Dir2d& D);
|
||||
|
||||
//! Returns the curvature.
|
||||
Standard_EXPORT Standard_Real Curvature();
|
||||
|
||||
//! Returns the normal direction <N>.
|
||||
Standard_EXPORT void Normal (gp_Dir2d& N);
|
||||
|
||||
//! Returns the centre of curvature <P>.
|
||||
Standard_EXPORT void CentreOfCurvature (gp_Pnt2d& P);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user