mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030621: Implementation of building U-periodical surfaces.
draw_test_harness.md - description of new options in Draw commands AppDef_BSplineCompute.hxx, BRepApprox_TheComputeLineOfApprox.hxx, GeomInt_TheComputeLineOfWLApprox.hxx, Approx_BSplComputeLine.gxx - implementation of method SetPeriodic(...) and implementation periodic boundary conditions for multiline in order to get periodic multicurve. GeomAPI_PointsToBSplineSurface.hxx, GeomAPI_PointsToBSplineSurface.cxx - adding new parameter for methods Init(...) and Interpolate(...), implementation of building periodic tangents for first and last AppDef_MultiPointConstraint of multiline for U direction of surface. GeometryTest_APICommands.cxx - implementation of new functionality in Draw command surfapp and surfint GeomFill_NSections.cxx Fixing problem with bugs modalg_3 bug606_2
This commit is contained in:
@@ -117,6 +117,12 @@ public:
|
||||
//! changes the first and the last constraint points.
|
||||
Standard_EXPORT void SetConstraints (const AppParCurves_Constraint firstC, const AppParCurves_Constraint lastC);
|
||||
|
||||
//! Sets periodic flag.
|
||||
//! If thePeriodic = Standard_True, algorith tries to build periodic
|
||||
//! multicurve using corresponding C1 boundary condition for first and last multipoints.
|
||||
//! Multiline must be closed.
|
||||
Standard_EXPORT void SetPeriodic(const Standard_Boolean thePeriodic);
|
||||
|
||||
//! returns False if at a moment of the approximation,
|
||||
//! the status NoApproximation has been sent by the user
|
||||
//! when more points were needed.
|
||||
@@ -199,6 +205,7 @@ private:
|
||||
Standard_Integer mycont;
|
||||
Standard_Real mylambda1;
|
||||
Standard_Real mylambda2;
|
||||
Standard_Boolean myPeriodic;
|
||||
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user