Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:09

0001 // Created on: 1995-12-01
0002 // Created by: EXPRESS->CDL V0.2 Translator
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile
0018 #define _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <StepGeom_BSplineSurface.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <StepGeom_HArray2OfCartesianPoint.hxx>
0026 #include <StepGeom_BSplineSurfaceForm.hxx>
0027 #include <StepData_Logical.hxx>
0028 #include <TColStd_HArray1OfInteger.hxx>
0029 #include <TColStd_HArray1OfReal.hxx>
0030 #include <StepGeom_KnotType.hxx>
0031 #include <TColStd_HArray2OfReal.hxx>
0032 class StepGeom_BSplineSurfaceWithKnots;
0033 class StepGeom_RationalBSplineSurface;
0034 class TCollection_HAsciiString;
0035 
0036 
0037 class StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface;
0038 DEFINE_STANDARD_HANDLE(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface, StepGeom_BSplineSurface)
0039 
0040 
0041 class StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface : public StepGeom_BSplineSurface
0042 {
0043 
0044 public:
0045 
0046   
0047   //! Returns a BSplineSurfaceWithKnotsAndRationalBSplineSurface
0048   Standard_EXPORT StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface();
0049   
0050   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(StepGeom_BSplineSurfaceWithKnots)& aBSplineSurfaceWithKnots, const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
0051   
0052   Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aName, const Standard_Integer aUDegree, const Standard_Integer aVDegree, const Handle(StepGeom_HArray2OfCartesianPoint)& aControlPointsList, const StepGeom_BSplineSurfaceForm aSurfaceForm, const StepData_Logical aUClosed, const StepData_Logical aVClosed, const StepData_Logical aSelfIntersect, const Handle(TColStd_HArray1OfInteger)& aUMultiplicities, const Handle(TColStd_HArray1OfInteger)& aVMultiplicities, const Handle(TColStd_HArray1OfReal)& aUKnots, const Handle(TColStd_HArray1OfReal)& aVKnots, const StepGeom_KnotType aKnotSpec, const Handle(TColStd_HArray2OfReal)& aWeightsData);
0053   
0054   Standard_EXPORT void SetBSplineSurfaceWithKnots (const Handle(StepGeom_BSplineSurfaceWithKnots)& aBSplineSurfaceWithKnots);
0055   
0056   Standard_EXPORT Handle(StepGeom_BSplineSurfaceWithKnots) BSplineSurfaceWithKnots() const;
0057   
0058   Standard_EXPORT void SetRationalBSplineSurface (const Handle(StepGeom_RationalBSplineSurface)& aRationalBSplineSurface);
0059   
0060   Standard_EXPORT Handle(StepGeom_RationalBSplineSurface) RationalBSplineSurface() const;
0061   
0062   Standard_EXPORT void SetUMultiplicities (const Handle(TColStd_HArray1OfInteger)& aUMultiplicities);
0063   
0064   Standard_EXPORT Handle(TColStd_HArray1OfInteger) UMultiplicities() const;
0065   
0066   Standard_EXPORT Standard_Integer UMultiplicitiesValue (const Standard_Integer num) const;
0067   
0068   Standard_EXPORT Standard_Integer NbUMultiplicities() const;
0069   
0070   Standard_EXPORT void SetVMultiplicities (const Handle(TColStd_HArray1OfInteger)& aVMultiplicities);
0071   
0072   Standard_EXPORT Handle(TColStd_HArray1OfInteger) VMultiplicities() const;
0073   
0074   Standard_EXPORT Standard_Integer VMultiplicitiesValue (const Standard_Integer num) const;
0075   
0076   Standard_EXPORT Standard_Integer NbVMultiplicities() const;
0077   
0078   Standard_EXPORT void SetUKnots (const Handle(TColStd_HArray1OfReal)& aUKnots);
0079   
0080   Standard_EXPORT Handle(TColStd_HArray1OfReal) UKnots() const;
0081   
0082   Standard_EXPORT Standard_Real UKnotsValue (const Standard_Integer num) const;
0083   
0084   Standard_EXPORT Standard_Integer NbUKnots() const;
0085   
0086   Standard_EXPORT void SetVKnots (const Handle(TColStd_HArray1OfReal)& aVKnots);
0087   
0088   Standard_EXPORT Handle(TColStd_HArray1OfReal) VKnots() const;
0089   
0090   Standard_EXPORT Standard_Real VKnotsValue (const Standard_Integer num) const;
0091   
0092   Standard_EXPORT Standard_Integer NbVKnots() const;
0093   
0094   Standard_EXPORT void SetKnotSpec (const StepGeom_KnotType aKnotSpec);
0095   
0096   Standard_EXPORT StepGeom_KnotType KnotSpec() const;
0097   
0098   Standard_EXPORT void SetWeightsData (const Handle(TColStd_HArray2OfReal)& aWeightsData);
0099   
0100   Standard_EXPORT Handle(TColStd_HArray2OfReal) WeightsData() const;
0101   
0102   Standard_EXPORT Standard_Real WeightsDataValue (const Standard_Integer num1, const Standard_Integer num2) const;
0103   
0104   Standard_EXPORT Standard_Integer NbWeightsDataI() const;
0105   
0106   Standard_EXPORT Standard_Integer NbWeightsDataJ() const;
0107 
0108 
0109 
0110 
0111   DEFINE_STANDARD_RTTIEXT(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface,StepGeom_BSplineSurface)
0112 
0113 protected:
0114 
0115 
0116 
0117 
0118 private:
0119 
0120 
0121   Handle(StepGeom_BSplineSurfaceWithKnots) bSplineSurfaceWithKnots;
0122   Handle(StepGeom_RationalBSplineSurface) rationalBSplineSurface;
0123 
0124 
0125 };
0126 
0127 
0128 
0129 
0130 
0131 
0132 
0133 #endif // _StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface_HeaderFile