forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBRepClass3d.i
More file actions
1324 lines (1117 loc) · 33.3 KB
/
BRepClass3d.i
File metadata and controls
1324 lines (1117 loc) · 33.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Copyright 2008-2025 Thomas Paviot (tpaviot@gmail.com)
This file is part of pythonOCC.
pythonOCC is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pythonOCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
*/
%define BREPCLASS3DDOCSTRING
"BRepClass3d module, see official documentation at
https://dev.opencascade.org/doc/occt-7.9.0/refman/html/package_brepclass3d.html"
%enddef
%module (package="OCC.Core", docstring=BREPCLASS3DDOCSTRING) BRepClass3d
%{
#ifdef WNT
#pragma warning(disable : 4716)
#endif
%}
%include ../common/CommonIncludes.i
%include ../common/ExceptionCatcher.i
%include ../common/FunctionTransformers.i
%include ../common/EnumTemplates.i
%include ../common/Operators.i
%include ../common/OccHandle.i
%include ../common/IOStream.i
%include ../common/ArrayMacros.i
%{
#include<BRepClass3d_module.hxx>
//Dependencies
#include<Standard_module.hxx>
#include<NCollection_module.hxx>
#include<TopoDS_module.hxx>
#include<gp_module.hxx>
#include<TopAbs_module.hxx>
#include<IntCurveSurface_module.hxx>
#include<Bnd_module.hxx>
#include<TopTools_module.hxx>
#include<IntCurvesFace_module.hxx>
#include<BRepAdaptor_module.hxx>
#include<TopLoc_module.hxx>
#include<GeomAdaptor_module.hxx>
#include<IntSurf_module.hxx>
#include<Adaptor3d_module.hxx>
#include<Geom_module.hxx>
#include<Geom2d_module.hxx>
#include<Adaptor2d_module.hxx>
#include<Geom2dAdaptor_module.hxx>
#include<Message_module.hxx>
#include<Bnd_module.hxx>
#include<TColgp_module.hxx>
#include<TColStd_module.hxx>
#include<TCollection_module.hxx>
#include<Storage_module.hxx>
%};
%import Standard.i
%import NCollection.i
%import TopoDS.i
%import gp.i
%import TopAbs.i
%import IntCurveSurface.i
%import Bnd.i
%import TopTools.i
%import IntCurvesFace.i
%import BRepAdaptor.i
%pythoncode {
from enum import IntEnum
from OCC.Core.Exception import *
};
/* public enums */
/* end public enums declaration */
/* python proxy classes for enums */
%pythoncode {
};
/* end python proxy for enums */
/* handles */
/* end handles declaration */
/* templates */
%template(BRepClass3d_BndBoxTree) NCollection_UBTree<Standard_Integer,Bnd_Box>;
%template(BRepClass3d_MapOfInter) NCollection_DataMap<TopoDS_Shape,Standard_Address,TopTools_ShapeMapHasher>;
/* end templates declaration */
/* typedefs */
typedef NCollection_UBTree<Standard_Integer, Bnd_Box> BRepClass3d_BndBoxTree;
typedef NCollection_DataMap<TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher>::Iterator BRepClass3d_DataMapIteratorOfMapOfInter;
typedef NCollection_DataMap<TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher> BRepClass3d_MapOfInter;
/* end typedefs declaration */
/********************
* class BRepClass3d *
********************/
%rename(brepclass3d) BRepClass3d;
class BRepClass3d {
public:
/****** BRepClass3d::OuterShell ******/
/****** md5 signature: f7b79b3e5e2fdf723525467fdb7a08ef ******/
%feature("compactdefaultargs") OuterShell;
%feature("autodoc", "
Parameters
----------
S: TopoDS_Solid
Return
-------
TopoDS_Shell
Description
-----------
Returns the outer most shell of <S>. Returns a Null shell if <S> has no outer shell. If <S> has only one shell, then it will return, without checking orientation.
") OuterShell;
static TopoDS_Shell OuterShell(const TopoDS_Solid & S);
};
%extend BRepClass3d {
%pythoncode {
__repr__ = _dumps_object
}
};
/**********************************
* class BRepClass3d_Intersector3d *
**********************************/
class BRepClass3d_Intersector3d {
public:
/****** BRepClass3d_Intersector3d::BRepClass3d_Intersector3d ******/
/****** md5 signature: 5313248e9a4d9e528b75267702000c25 ******/
%feature("compactdefaultargs") BRepClass3d_Intersector3d;
%feature("autodoc", "Return
-------
None
Description
-----------
Empty constructor.
") BRepClass3d_Intersector3d;
BRepClass3d_Intersector3d();
/****** BRepClass3d_Intersector3d::Face ******/
/****** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ******/
%feature("compactdefaultargs") Face;
%feature("autodoc", "Return
-------
TopoDS_Face
Description
-----------
Returns the significant face used to determine the intersection.
") Face;
const TopoDS_Face Face();
/****** BRepClass3d_Intersector3d::HasAPoint ******/
/****** md5 signature: 95bdb18305d0dc0e9acb6e3a09a77c66 ******/
%feature("compactdefaultargs") HasAPoint;
%feature("autodoc", "Return
-------
bool
Description
-----------
True is returned if a point has been found.
") HasAPoint;
Standard_Boolean HasAPoint();
/****** BRepClass3d_Intersector3d::IsDone ******/
/****** md5 signature: ec0624071ec7da54b3d9dacc7bcb05f9 ******/
%feature("compactdefaultargs") IsDone;
%feature("autodoc", "Return
-------
bool
Description
-----------
True is returned when the intersection have been computed.
") IsDone;
Standard_Boolean IsDone();
/****** BRepClass3d_Intersector3d::Perform ******/
/****** md5 signature: fbf207842cdabc9dffc461de3afdbc7f ******/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "
Parameters
----------
L: gp_Lin
Prm: float
Tol: float
F: TopoDS_Face
Return
-------
None
Description
-----------
Perform the intersection between the segment L(0) ... L(Prm) and the Shape <Sh>. //! Only the point with the smallest parameter on the line is returned. //! The Tolerance <Tol> is used to determine if the first point of the segment is near the face. In that case, the parameter of the intersection point on the line can be a negative value (greater than -Tol).
") Perform;
void Perform(const gp_Lin & L, const Standard_Real Prm, const Standard_Real Tol, const TopoDS_Face & F);
/****** BRepClass3d_Intersector3d::Pnt ******/
/****** md5 signature: c0bafeed50f4eebb5964e2bf8520bf90 ******/
%feature("compactdefaultargs") Pnt;
%feature("autodoc", "Return
-------
gp_Pnt
Description
-----------
Returns the geometric point of the intersection between the line and the surface.
") Pnt;
const gp_Pnt Pnt();
/****** BRepClass3d_Intersector3d::State ******/
/****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/
%feature("compactdefaultargs") State;
%feature("autodoc", "Return
-------
TopAbs_State
Description
-----------
Returns the state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boundary of the face).
") State;
TopAbs_State State();
/****** BRepClass3d_Intersector3d::Transition ******/
/****** md5 signature: bd528dc9c78a60a5b26409b8cf4f3afe ******/
%feature("compactdefaultargs") Transition;
%feature("autodoc", "Return
-------
IntCurveSurface_TransitionOnCurve
Description
-----------
Returns the transition of the line on the surface.
") Transition;
IntCurveSurface_TransitionOnCurve Transition();
/****** BRepClass3d_Intersector3d::UParameter ******/
/****** md5 signature: 5a3c6fef4fc1a6f599cc725a940f8581 ******/
%feature("compactdefaultargs") UParameter;
%feature("autodoc", "Return
-------
float
Description
-----------
Returns the U parameter of the intersection point on the surface.
") UParameter;
Standard_Real UParameter();
/****** BRepClass3d_Intersector3d::VParameter ******/
/****** md5 signature: 5b56cd11dcb65aaedb7fac8351dbfbc8 ******/
%feature("compactdefaultargs") VParameter;
%feature("autodoc", "Return
-------
float
Description
-----------
Returns the V parameter of the intersection point on the surface.
") VParameter;
Standard_Real VParameter();
/****** BRepClass3d_Intersector3d::WParameter ******/
/****** md5 signature: a33035afb8654e081d0823499e659e46 ******/
%feature("compactdefaultargs") WParameter;
%feature("autodoc", "Return
-------
float
Description
-----------
Returns the parameter of the intersection point on the line.
") WParameter;
Standard_Real WParameter();
};
%extend BRepClass3d_Intersector3d {
%pythoncode {
__repr__ = _dumps_object
}
};
/********************************
* class BRepClass3d_SClassifier *
********************************/
class BRepClass3d_SClassifier {
public:
/****** BRepClass3d_SClassifier::BRepClass3d_SClassifier ******/
/****** md5 signature: 0e43e1bcc9eb18eda4d1709f9787e45f ******/
%feature("compactdefaultargs") BRepClass3d_SClassifier;
%feature("autodoc", "Return
-------
None
Description
-----------
Empty constructor.
") BRepClass3d_SClassifier;
BRepClass3d_SClassifier();
/****** BRepClass3d_SClassifier::BRepClass3d_SClassifier ******/
/****** md5 signature: 0e7fbee80d781c22f36939e8cf1adb7e ******/
%feature("compactdefaultargs") BRepClass3d_SClassifier;
%feature("autodoc", "
Parameters
----------
S: BRepClass3d_SolidExplorer
P: gp_Pnt
Tol: float
Return
-------
None
Description
-----------
Constructor to classify the point P with the tolerance Tol on the solid S.
") BRepClass3d_SClassifier;
BRepClass3d_SClassifier(BRepClass3d_SolidExplorer & S, const gp_Pnt & P, const Standard_Real Tol);
/****** BRepClass3d_SClassifier::Face ******/
/****** md5 signature: 64c75db1e9c1285068e9dd474618f74f ******/
%feature("compactdefaultargs") Face;
%feature("autodoc", "Return
-------
TopoDS_Face
Description
-----------
Returns the face used to determine the classification. When the state is ON, this is the face containing the point. //! When Rejected() returns True, Face() has no signification.
") Face;
TopoDS_Face Face();
/****** BRepClass3d_SClassifier::IsOnAFace ******/
/****** md5 signature: e7c1af4ae72eee2a9b46452df227e5ed ******/
%feature("compactdefaultargs") IsOnAFace;
%feature("autodoc", "Return
-------
bool
Description
-----------
Returns True when the point is a point of a face.
") IsOnAFace;
Standard_Boolean IsOnAFace();
/****** BRepClass3d_SClassifier::Perform ******/
/****** md5 signature: 9c6284684be6a59e66779a905c370b7a ******/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "
Parameters
----------
S: BRepClass3d_SolidExplorer
P: gp_Pnt
Tol: float
Return
-------
None
Description
-----------
Classify the point P with the tolerance Tol on the solid S.
") Perform;
void Perform(BRepClass3d_SolidExplorer & S, const gp_Pnt & P, const Standard_Real Tol);
/****** BRepClass3d_SClassifier::PerformInfinitePoint ******/
/****** md5 signature: b38a28b443037933c522597a4245e901 ******/
%feature("compactdefaultargs") PerformInfinitePoint;
%feature("autodoc", "
Parameters
----------
S: BRepClass3d_SolidExplorer
Tol: float
Return
-------
None
Description
-----------
Classify an infinite point with the tolerance Tol on the solid S.
") PerformInfinitePoint;
void PerformInfinitePoint(BRepClass3d_SolidExplorer & S, const Standard_Real Tol);
/****** BRepClass3d_SClassifier::Rejected ******/
/****** md5 signature: 56d604911041dd9f442bde612c88e4cd ******/
%feature("compactdefaultargs") Rejected;
%feature("autodoc", "Return
-------
bool
Description
-----------
Returns True if the classification has been computed by rejection. The State is then OUT.
") Rejected;
Standard_Boolean Rejected();
/****** BRepClass3d_SClassifier::State ******/
/****** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ******/
%feature("compactdefaultargs") State;
%feature("autodoc", "Return
-------
TopAbs_State
Description
-----------
Returns the result of the classification.
") State;
TopAbs_State State();
};
%extend BRepClass3d_SClassifier {
%pythoncode {
__repr__ = _dumps_object
}
};
/**********************************
* class BRepClass3d_SolidExplorer *
**********************************/
class BRepClass3d_SolidExplorer {
public:
/****** BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ******/
/****** md5 signature: 2cb6e9ade85fff9fe417a5fe5c1853ef ******/
%feature("compactdefaultargs") BRepClass3d_SolidExplorer;
%feature("autodoc", "Return
-------
None
Description
-----------
No available documentation.
") BRepClass3d_SolidExplorer;
BRepClass3d_SolidExplorer();
/****** BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ******/
/****** md5 signature: 4fbcac149406b40fbabba612a552e1fd ******/
%feature("compactdefaultargs") BRepClass3d_SolidExplorer;
%feature("autodoc", "
Parameters
----------
S: TopoDS_Shape
Return
-------
None
Description
-----------
No available documentation.
") BRepClass3d_SolidExplorer;
BRepClass3d_SolidExplorer(const TopoDS_Shape & S);
/****** BRepClass3d_SolidExplorer::Box ******/
/****** md5 signature: 7c4ea237507e51916495e768089f878e ******/
%feature("compactdefaultargs") Box;
%feature("autodoc", "Return
-------
Bnd_Box
Description
-----------
No available documentation.
") Box;
const Bnd_Box & Box();
/****** BRepClass3d_SolidExplorer::CurrentFace ******/
/****** md5 signature: 88a3d5d94862043bde89d78000693450 ******/
%feature("compactdefaultargs") CurrentFace;
%feature("autodoc", "Return
-------
TopoDS_Face
Description
-----------
Returns the current face.
") CurrentFace;
TopoDS_Face CurrentFace();
/****** BRepClass3d_SolidExplorer::CurrentShell ******/
/****** md5 signature: 16e51d9904504dd5dccd12b1a05b6190 ******/
%feature("compactdefaultargs") CurrentShell;
%feature("autodoc", "Return
-------
TopoDS_Shell
Description
-----------
Returns the current shell.
") CurrentShell;
TopoDS_Shell CurrentShell();
/****** BRepClass3d_SolidExplorer::Destroy ******/
/****** md5 signature: 73111f72f4ab0474eb2cfbd7e4af4e1a ******/
%feature("compactdefaultargs") Destroy;
%feature("autodoc", "Return
-------
None
Description
-----------
No available documentation.
") Destroy;
void Destroy();
/****** BRepClass3d_SolidExplorer::DumpSegment ******/
/****** md5 signature: 956e65b65651fa5abd6d4e99a756a224 ******/
%feature("compactdefaultargs") DumpSegment;
%feature("autodoc", "
Parameters
----------
P: gp_Pnt
L: gp_Lin
Par: float
S: TopAbs_State
Return
-------
None
Description
-----------
No available documentation.
") DumpSegment;
virtual void DumpSegment(const gp_Pnt & P, const gp_Lin & L, const Standard_Real Par, const TopAbs_State S);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: 017b38099efc4045694c9c0eec7a0305 ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Return
-------
Param: float
Description
-----------
compute a point P in the face F. Param is a Real in ]0,1[ and is used to initialise the algorithm. For different values , different points are returned.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: cfa5d85e3e48ef9c6fa4b8a92d14a8e3 ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Return
-------
u: float
v: float
Param: float
Description
-----------
No available documentation.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: c28fe2e7cc35377cd66ce9290933d0a3 ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
theVecD1U: gp_Vec
theVecD1V: gp_Vec
Return
-------
u: float
v: float
Param: float
Description
-----------
No available documentation.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, gp_Vec & theVecD1U, gp_Vec & theVecD1V);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: 6c69107d08aa717df4761c1ae3a12191 ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Return
-------
u: float
v: float
Description
-----------
No available documentation.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: 947dd7c60afdf4e19b5af7c8c915c5a4 ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Return
-------
bool
Description
-----------
No available documentation.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, gp_Pnt & P);
/****** BRepClass3d_SolidExplorer::FindAPointInTheFace ******/
/****** md5 signature: 1a53cc75214db16eaf466520aec6f0cf ******/
%feature("compactdefaultargs") FindAPointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
Return
-------
u: float
v: float
Description
-----------
No available documentation.
") FindAPointInTheFace;
static Standard_Boolean FindAPointInTheFace(const TopoDS_Face & F, Standard_Real &OutValue, Standard_Real &OutValue);
/****** BRepClass3d_SolidExplorer::GetFaceSegmentIndex ******/
/****** md5 signature: 83baeb3358902c7f4be1cb4a7cc78576 ******/
%feature("compactdefaultargs") GetFaceSegmentIndex;
%feature("autodoc", "Return
-------
int
Description
-----------
Returns the index of face for which last segment is calculated.
") GetFaceSegmentIndex;
Standard_Integer GetFaceSegmentIndex();
/****** BRepClass3d_SolidExplorer::GetMapEV ******/
/****** md5 signature: 9321b6d327f7742e505f8eef3f9d8710 ******/
%feature("compactdefaultargs") GetMapEV;
%feature("autodoc", "Return
-------
TopTools_IndexedMapOfShape
Description
-----------
Return edge/vertices map for current shape.
") GetMapEV;
const TopTools_IndexedMapOfShape & GetMapEV();
/****** BRepClass3d_SolidExplorer::GetShape ******/
/****** md5 signature: 68adf76e3cbb4c2e8340f398e62eb4da ******/
%feature("compactdefaultargs") GetShape;
%feature("autodoc", "Return
-------
TopoDS_Shape
Description
-----------
No available documentation.
") GetShape;
const TopoDS_Shape GetShape();
/****** BRepClass3d_SolidExplorer::GetTree ******/
/****** md5 signature: 8b49ac1118352d12ae778510be4c79fc ******/
%feature("compactdefaultargs") GetTree;
%feature("autodoc", "Return
-------
BRepClass3d_BndBoxTree
Description
-----------
Return UB-tree instance which is used for edge / vertex checks.
") GetTree;
const BRepClass3d_BndBoxTree & GetTree();
/****** BRepClass3d_SolidExplorer::InitFace ******/
/****** md5 signature: 0e969d0225b2576ac55e2fb0e7a91460 ******/
%feature("compactdefaultargs") InitFace;
%feature("autodoc", "Return
-------
None
Description
-----------
Starts an exploration of the faces of the current shell.
") InitFace;
void InitFace();
/****** BRepClass3d_SolidExplorer::InitShape ******/
/****** md5 signature: d9bc37c7ee2a5ff0f8819cf45d1e822f ******/
%feature("compactdefaultargs") InitShape;
%feature("autodoc", "
Parameters
----------
S: TopoDS_Shape
Return
-------
None
Description
-----------
No available documentation.
") InitShape;
void InitShape(const TopoDS_Shape & S);
/****** BRepClass3d_SolidExplorer::InitShell ******/
/****** md5 signature: da47ddbaca584bd5639e7c69797b28f8 ******/
%feature("compactdefaultargs") InitShell;
%feature("autodoc", "Return
-------
None
Description
-----------
Starts an exploration of the shells.
") InitShell;
void InitShell();
/****** BRepClass3d_SolidExplorer::Intersector ******/
/****** md5 signature: 4031f4a71f4a73a8fa5ed1228f085e89 ******/
%feature("compactdefaultargs") Intersector;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
Return
-------
IntCurvesFace_Intersector
Description
-----------
No available documentation.
") Intersector;
IntCurvesFace_Intersector & Intersector(const TopoDS_Face & F);
/****** BRepClass3d_SolidExplorer::MoreFace ******/
/****** md5 signature: 9ce280b3ff0f94e82bd4ccb635ad91a7 ******/
%feature("compactdefaultargs") MoreFace;
%feature("autodoc", "Return
-------
bool
Description
-----------
Returns True if current face in current shell.
") MoreFace;
Standard_Boolean MoreFace();
/****** BRepClass3d_SolidExplorer::MoreShell ******/
/****** md5 signature: 9123faff7480a9cd91e7d3a7625f4cdb ******/
%feature("compactdefaultargs") MoreShell;
%feature("autodoc", "Return
-------
bool
Description
-----------
Returns True if there is a current shell.
") MoreShell;
Standard_Boolean MoreShell();
/****** BRepClass3d_SolidExplorer::NextFace ******/
/****** md5 signature: 33ae62d7d15ec80966f0219be1a267db ******/
%feature("compactdefaultargs") NextFace;
%feature("autodoc", "Return
-------
None
Description
-----------
Sets the explorer to the next Face of the current shell.
") NextFace;
void NextFace();
/****** BRepClass3d_SolidExplorer::NextShell ******/
/****** md5 signature: acf25ab192bbd1382fada471f35632f3 ******/
%feature("compactdefaultargs") NextShell;
%feature("autodoc", "Return
-------
None
Description
-----------
Sets the explorer to the next shell.
") NextShell;
void NextShell();
/****** BRepClass3d_SolidExplorer::OtherSegment ******/
/****** md5 signature: 8a68c80fe5592baef8f2dc32aae030e8 ******/
%feature("compactdefaultargs") OtherSegment;
%feature("autodoc", "
Parameters
----------
P: gp_Pnt
L: gp_Lin
Return
-------
Par: float
Description
-----------
Returns in <L>, <Par> a segment having at least one intersection with the shape boundary to compute intersections. //! The First Call to this method returns a line which point to a point of the first face of the shape. The Second Call provide a line to the second face and so on.
") OtherSegment;
Standard_Integer OtherSegment(const gp_Pnt & P, gp_Lin & L, Standard_Real &OutValue);
/****** BRepClass3d_SolidExplorer::PointInTheFace ******/
/****** md5 signature: 02e05914677a68ed8d75572f3a199575 ******/
%feature("compactdefaultargs") PointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Return
-------
u: float
v: float
Param: float
Index: int
Description
-----------
No available documentation.
") PointInTheFace;
Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue);
/****** BRepClass3d_SolidExplorer::PointInTheFace ******/
/****** md5 signature: 986766809c3fdf601631ad22531992f8 ******/
%feature("compactdefaultargs") PointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
surf: BRepAdaptor_Surface
u1: float
v1: float
u2: float
v2: float
Return
-------
u: float
v: float
Param: float
Index: int
Description
-----------
No available documentation.
") PointInTheFace;
Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle<BRepAdaptor_Surface> & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2);
/****** BRepClass3d_SolidExplorer::PointInTheFace ******/
/****** md5 signature: 69801e47f45d76167828452cfb2f933a ******/
%feature("compactdefaultargs") PointInTheFace;
%feature("autodoc", "
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
surf: BRepAdaptor_Surface
u1: float
v1: float
u2: float
v2: float
theVecD1U: gp_Vec
theVecD1V: gp_Vec
Return
-------
u: float
v: float
Param: float
Index: int
Description
-----------
<Index> gives point index to search from and returns point index of succeseful search.
") PointInTheFace;
Standard_Boolean PointInTheFace(const TopoDS_Face & F, gp_Pnt & P, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Real &OutValue, Standard_Integer &OutValue, const opencascade::handle<BRepAdaptor_Surface> & surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2, gp_Vec & theVecD1U, gp_Vec & theVecD1V);
/****** BRepClass3d_SolidExplorer::Reject ******/
/****** md5 signature: 51de68ac10b383926f08d5ff11ad46ef ******/
%feature("compactdefaultargs") Reject;
%feature("autodoc", "
Parameters
----------
P: gp_Pnt
Return
-------
bool
Description
-----------
Should return True if P outside of bounding vol. of the shape.
") Reject;
virtual Standard_Boolean Reject(const gp_Pnt & P);
/****** BRepClass3d_SolidExplorer::RejectFace ******/
/****** md5 signature: ac0d5a52c1e8c11624a4126529ce95a1 ******/
%feature("compactdefaultargs") RejectFace;
%feature("autodoc", "
Parameters
----------
L: gp_Lin
Return
-------
bool
Description
-----------
returns True if the face is rejected.
") RejectFace;
virtual Standard_Boolean RejectFace(const gp_Lin & L);
/****** BRepClass3d_SolidExplorer::RejectShell ******/
/****** md5 signature: 2e32cb4f65a91d1adc50db91830d6b88 ******/
%feature("compactdefaultargs") RejectShell;
%feature("autodoc", "
Parameters
----------
L: gp_Lin
Return
-------
bool
Description
-----------
Returns True if the Shell is rejected.
") RejectShell;
virtual Standard_Boolean RejectShell(const gp_Lin & L);
/****** BRepClass3d_SolidExplorer::Segment ******/
/****** md5 signature: 65c1df49fa25b2d5c8218cf933983a20 ******/
%feature("compactdefaultargs") Segment;
%feature("autodoc", "
Parameters
----------
P: gp_Pnt
L: gp_Lin
Return