Skip to content

Commit 1456ab5

Browse files
committed
updated SWIG files
1 parent d119406 commit 1456ab5

34 files changed

+268
-8483
lines changed

src/SWIG_files/wrapper/AIS.i

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ais.html"
7070
#include<HLRAlgo_module.hxx>
7171
#include<TColQuantity_module.hxx>
7272
#include<SelectMgr_module.hxx>
73+
#include<BRep_module.hxx>
74+
#include<Geom2d_module.hxx>
75+
#include<GeomAdaptor_module.hxx>
76+
#include<Adaptor2d_module.hxx>
77+
#include<BRepAdaptor_module.hxx>
78+
#include<Adaptor3d_module.hxx>
7379
#include<TColgp_module.hxx>
7480
#include<TColStd_module.hxx>
7581
#include<TCollection_module.hxx>

src/SWIG_files/wrapper/Aspect.i

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_aspect.html"
4343
#include<NCollection_module.hxx>
4444
#include<Quantity_module.hxx>
4545
#include<TCollection_module.hxx>
46+
#include<Bnd_module.hxx>
47+
#include<Media_module.hxx>
4648
#include<TColgp_module.hxx>
4749
#include<TColStd_module.hxx>
4850
#include<TCollection_module.hxx>
@@ -2066,6 +2068,10 @@ class Aspect_NeutralWindow:
20662068
class Aspect_RectangularGrid:
20672069
pass
20682070

2071+
@classnotwrapped
2072+
class Aspect_FrustumLRBT:
2073+
pass
2074+
20692075
}
20702076
/* end python proxy for excluded classes */
20712077
/* harray1 classes */

src/SWIG_files/wrapper/Aspect.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,9 @@ class Aspect_NeutralWindow: ...
684684
#classnotwrapped
685685
class Aspect_RectangularGrid: ...
686686

687+
#classnotwrapped
688+
class Aspect_FrustumLRBT: ...
689+
687690
# harray1 classes
688691
# harray2 classes
689692
# hsequence classes

src/SWIG_files/wrapper/BRepOffset.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffset.html"
8989
#include<Geom2dAdaptor_module.hxx>
9090
#include<BRepBuilderAPI_module.hxx>
9191
#include<Adaptor2d_module.hxx>
92+
#include<Law_module.hxx>
9293
#include<TColgp_module.hxx>
9394
#include<TColStd_module.hxx>
9495
#include<TCollection_module.hxx>

src/SWIG_files/wrapper/BRepOffsetAPI.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepoffsetapi.htm
9494
#include<Adaptor2d_module.hxx>
9595
#include<Geom_module.hxx>
9696
#include<BRepAlgo_module.hxx>
97+
#include<ChFiDS_module.hxx>
9798
#include<TColgp_module.hxx>
9899
#include<TColStd_module.hxx>
99100
#include<TCollection_module.hxx>

src/SWIG_files/wrapper/BVH.i

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ from OCC.Core.Exception import *
5555
};
5656

5757

58-
%include "BVH_Box.hxx";
5958
%include "BVH_PrimitiveSet.hxx";
6059
/* public enums */
6160
enum {

src/SWIG_files/wrapper/CDF.i

Lines changed: 8 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -538,76 +538,6 @@ None
538538
/******************************
539539
* class CDF_DirectoryIterator *
540540
******************************/
541-
class CDF_DirectoryIterator {
542-
public:
543-
/****************** CDF_DirectoryIterator ******************/
544-
/**** md5 signature: 316f0bdfc834bb5a8b63eb124c157da2 ****/
545-
%feature("compactdefaultargs") CDF_DirectoryIterator;
546-
%feature("autodoc", "Creates an iterator with the directory of the current cdf.
547-
548-
Returns
549-
-------
550-
None
551-
") CDF_DirectoryIterator;
552-
CDF_DirectoryIterator();
553-
554-
/****************** CDF_DirectoryIterator ******************/
555-
/**** md5 signature: f24bc6c0ddf288238dbdc502366201c4 ****/
556-
%feature("compactdefaultargs") CDF_DirectoryIterator;
557-
%feature("autodoc", "No available documentation.
558-
559-
Parameters
560-
----------
561-
aDirectory: CDF_Directory
562-
563-
Returns
564-
-------
565-
None
566-
") CDF_DirectoryIterator;
567-
CDF_DirectoryIterator(const opencascade::handle<CDF_Directory> & aDirectory);
568-
569-
/****************** Document ******************/
570-
/**** md5 signature: 55ff6bd0395bbe9a88684a923d438ce4 ****/
571-
%feature("compactdefaultargs") Document;
572-
%feature("autodoc", "Returns item value of current entry.
573-
574-
Returns
575-
-------
576-
opencascade::handle<CDM_Document>
577-
") Document;
578-
opencascade::handle<CDM_Document> Document();
579-
580-
/****************** MoreDocument ******************/
581-
/**** md5 signature: 730aecc2f48742774c05452aae894266 ****/
582-
%feature("compactdefaultargs") MoreDocument;
583-
%feature("autodoc", "Returns true if there are more entries to return.
584-
585-
Returns
586-
-------
587-
bool
588-
") MoreDocument;
589-
Standard_Boolean MoreDocument();
590-
591-
/****************** NextDocument ******************/
592-
/**** md5 signature: 461652bdaf60c070a13d655488b9747f ****/
593-
%feature("compactdefaultargs") NextDocument;
594-
%feature("autodoc", "Go to the next entry (if there is not, value will raise an exception).
595-
596-
Returns
597-
-------
598-
None
599-
") NextDocument;
600-
void NextDocument();
601-
602-
};
603-
604-
605-
%extend CDF_DirectoryIterator {
606-
%pythoncode {
607-
__repr__ = _dumps_object
608-
}
609-
};
610-
611541
/***************************
612542
* class CDF_MetaDataDriver *
613543
***************************/
@@ -1659,6 +1589,14 @@ TCollection_ExtendedString
16591589
}
16601590
};
16611591

1592+
/* python proxy for excluded classes */
1593+
%pythoncode {
1594+
@classnotwrapped
1595+
class CDF_DirectoryIterator:
1596+
pass
1597+
1598+
}
1599+
/* end python proxy for excluded classes */
16621600
/* harray1 classes */
16631601
/* harray2 classes */
16641602
/* hsequence classes */

src/SWIG_files/wrapper/CDF.pyi

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ class CDF_Directory(Standard_Transient):
8080
def Length(self) -> int: ...
8181
def Remove(self, aDocument: CDM_Document) -> None: ...
8282

83-
class CDF_DirectoryIterator:
84-
@overload
85-
def __init__(self) -> None: ...
86-
@overload
87-
def __init__(self, aDirectory: CDF_Directory) -> None: ...
88-
def Document(self) -> CDM_Document: ...
89-
def MoreDocument(self) -> bool: ...
90-
def NextDocument(self) -> None: ...
91-
9283
class CDF_MetaDataDriver(Standard_Transient):
9384
def BuildFileName(self, aDocument: CDM_Document) -> TCollection_ExtendedString: ...
9485
def CreateDependsOn(self, aFirstData: CDM_MetaData, aSecondData: CDM_MetaData) -> None: ...
@@ -187,6 +178,9 @@ class CDF_FWOSDriver(CDF_MetaDataDriver):
187178
def HasReadPermission(self, aFolder: TCollection_ExtendedString, aName: TCollection_ExtendedString, aVersion: TCollection_ExtendedString) -> bool: ...
188179
def SetName(self, aDocument: CDM_Document, aName: TCollection_ExtendedString) -> TCollection_ExtendedString: ...
189180

181+
#classnotwrapped
182+
class CDF_DirectoryIterator: ...
183+
190184
# harray1 classes
191185
# harray2 classes
192186
# hsequence classes

src/SWIG_files/wrapper/Graphic3d.i

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,9 +1360,6 @@ Graphic3d_NOT_ENV_UNKNOWN = Graphic3d_NameOfTextureEnv.Graphic3d_NOT_ENV_UNKNOWN
13601360
__next__ = next
13611361
}
13621362
};
1363-
%template(Graphic3d_BndBox3d) BVH_Box<Standard_Real,3>;
1364-
%template(Graphic3d_BndBox4d) BVH_Box<Standard_Real,4>;
1365-
%template(Graphic3d_BndBox4f) BVH_Box<Standard_ShortReal,4>;
13661363
%template(Graphic3d_CameraLerp) NCollection_Lerp<opencascade::handle<Graphic3d_Camera>>;
13671364
%template(Graphic3d_IndexedMapOfStructure) NCollection_IndexedMap<const Graphic3d_CStructure *>;
13681365
%template(Graphic3d_IndexedMapOfView) NCollection_IndexedMap<Graphic3d_CView*>;

src/SWIG_files/wrapper/IFSelect.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_ifselect.html"
4747
#include<Message_module.hxx>
4848
#include<MoniTool_module.hxx>
4949
#include<TopoDS_module.hxx>
50+
#include<Message_module.hxx>
5051
#include<TColgp_module.hxx>
5152
#include<TColStd_module.hxx>
5253
#include<TCollection_module.hxx>

0 commit comments

Comments
 (0)