mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0028214: Make the class GeomPlate_BuildPlateSurface accept Adaptor3d_HCurve instead of Adaptor3d_HCurveOnSurface
Now, GeomPlate_BuildPlateSurface accepts base class Adaptor3d_HCurve and of course array of Adaptor3d_HCurve. Classes GeomPlate_Array1OfHCurveOnSurface and GeomPlate_HArray1OfHCurveOnSurface have been renamed to GeomPlate_Array1OfHCurve and GeomPlate_HArray1OfHCurve correspondingly. Documentation has been updated. Correction in documentation.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
GeomPlate_Aij.cxx
|
||||
GeomPlate_Aij.hxx
|
||||
GeomPlate_Array1OfHCurveOnSurface.hxx
|
||||
GeomPlate_Array1OfHCurve.hxx
|
||||
GeomPlate_Array1OfSequenceOfReal.hxx
|
||||
GeomPlate_BuildAveragePlane.cxx
|
||||
GeomPlate_BuildAveragePlane.hxx
|
||||
@@ -8,7 +8,7 @@ GeomPlate_BuildPlateSurface.cxx
|
||||
GeomPlate_BuildPlateSurface.hxx
|
||||
GeomPlate_CurveConstraint.cxx
|
||||
GeomPlate_CurveConstraint.hxx
|
||||
GeomPlate_HArray1OfHCurveOnSurface.hxx
|
||||
GeomPlate_HArray1OfHCurve.hxx
|
||||
GeomPlate_HArray1OfSequenceOfReal.hxx
|
||||
GeomPlate_HSequenceOfCurveConstraint.hxx
|
||||
GeomPlate_HSequenceOfPointConstraint.hxx
|
||||
|
@@ -14,13 +14,13 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef GeomPlate_Array1OfHCurveOnSurface_HeaderFile
|
||||
#define GeomPlate_Array1OfHCurveOnSurface_HeaderFile
|
||||
#ifndef GeomPlate_Array1OfHCurve_HeaderFile
|
||||
#define GeomPlate_Array1OfHCurve_HeaderFile
|
||||
|
||||
#include <Adaptor3d_HCurveOnSurface.hxx>
|
||||
#include <Adaptor3d_HCurve.hxx>
|
||||
#include <NCollection_Array1.hxx>
|
||||
|
||||
typedef NCollection_Array1<Handle(Adaptor3d_HCurveOnSurface)> GeomPlate_Array1OfHCurveOnSurface;
|
||||
typedef NCollection_Array1<Handle(Adaptor3d_HCurve)> GeomPlate_Array1OfHCurve;
|
||||
|
||||
|
||||
#endif
|
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <Adaptor2d_HCurve2d.hxx>
|
||||
#include <Adaptor3d_HCurve.hxx>
|
||||
#include <Adaptor3d_CurveOnSurface.hxx>
|
||||
#include <Approx_CurveOnSurface.hxx>
|
||||
#include <Extrema_ExtPS.hxx>
|
||||
#include <Extrema_POnSurf.hxx>
|
||||
@@ -109,7 +110,7 @@ static Standard_Integer Affich=0;
|
||||
//---------------------------------------------------------
|
||||
GeomPlate_BuildPlateSurface::GeomPlate_BuildPlateSurface (
|
||||
const Handle(TColStd_HArray1OfInteger)& NPoints,
|
||||
const Handle(GeomPlate_HArray1OfHCurveOnSurface)& TabCurve,
|
||||
const Handle(GeomPlate_HArray1OfHCurve)& TabCurve,
|
||||
const Handle(TColStd_HArray1OfInteger)& Tang,
|
||||
const Standard_Integer Degree,
|
||||
const Standard_Integer NbIter,
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <Standard_Real.hxx>
|
||||
#include <Extrema_ExtPS.hxx>
|
||||
#include <GeomPlate_HArray1OfHCurveOnSurface.hxx>
|
||||
#include <GeomPlate_HArray1OfHCurve.hxx>
|
||||
#include <TColgp_SequenceOfXY.hxx>
|
||||
#include <TColgp_SequenceOfXYZ.hxx>
|
||||
#include <TColGeom2d_HArray1OfCurve.hxx>
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
//! Tol3d is used to test if two identical points in the 2d space are identical in 3d space
|
||||
//! TolAng is used to compare the angle between normal of two identical points in the 2d space
|
||||
//! Raises ConstructionError;
|
||||
Standard_EXPORT GeomPlate_BuildPlateSurface(const Handle(TColStd_HArray1OfInteger)& NPoints, const Handle(GeomPlate_HArray1OfHCurveOnSurface)& TabCurve, const Handle(TColStd_HArray1OfInteger)& Tang, const Standard_Integer Degree, const Standard_Integer NbIter = 3, const Standard_Real Tol2d = 0.00001, const Standard_Real Tol3d = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1, const Standard_Boolean Anisotropie = Standard_False);
|
||||
Standard_EXPORT GeomPlate_BuildPlateSurface(const Handle(TColStd_HArray1OfInteger)& NPoints, const Handle(GeomPlate_HArray1OfHCurve)& TabCurve, const Handle(TColStd_HArray1OfInteger)& Tang, const Standard_Integer Degree, const Standard_Integer NbIter = 3, const Standard_Real Tol2d = 0.00001, const Standard_Real Tol3d = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1, const Standard_Boolean Anisotropie = Standard_False);
|
||||
|
||||
Standard_EXPORT GeomPlate_BuildPlateSurface(const Handle(Geom_Surface)& Surf, const Standard_Integer Degree = 3, const Standard_Integer NbPtsOnCur = 10, const Standard_Integer NbIter = 3, const Standard_Real Tol2d = 0.00001, const Standard_Real Tol3d = 0.0001, const Standard_Real TolAng = 0.01, const Standard_Real TolCurv = 0.1, const Standard_Boolean Anisotropie = Standard_False);
|
||||
|
||||
|
@@ -14,14 +14,14 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef GeomPlate_HArray1OfHCurveOnSurface_HeaderFile
|
||||
#define GeomPlate_HArray1OfHCurveOnSurface_HeaderFile
|
||||
#ifndef GeomPlate_HArray1OfHCurve_HeaderFile
|
||||
#define GeomPlate_HArray1OfHCurve_HeaderFile
|
||||
|
||||
#include <Adaptor3d_HCurveOnSurface.hxx>
|
||||
#include <GeomPlate_Array1OfHCurveOnSurface.hxx>
|
||||
#include <Adaptor3d_HCurve.hxx>
|
||||
#include <GeomPlate_Array1OfHCurve.hxx>
|
||||
#include <NCollection_DefineHArray1.hxx>
|
||||
|
||||
DEFINE_HARRAY1(GeomPlate_HArray1OfHCurveOnSurface, GeomPlate_Array1OfHCurveOnSurface)
|
||||
DEFINE_HARRAY1(GeomPlate_HArray1OfHCurve, GeomPlate_Array1OfHCurve)
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user