forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBRepClass.i
More file actions
910 lines (743 loc) · 23.8 KB
/
BRepClass.i
File metadata and controls
910 lines (743 loc) · 23.8 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
/*
Copyright 2008-2020 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 BREPCLASSDOCSTRING
"BRepClass module, see official documentation at
https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepclass.html"
%enddef
%module (package="OCC.Core", docstring=BREPCLASSDOCSTRING) BRepClass
%{
#ifdef WNT
#pragma warning(disable : 4716)
#endif
%}
%include ../common/CommonIncludes.i
%include ../common/ExceptionCatcher.i
%include ../common/FunctionTransformers.i
%include ../common/Operators.i
%include ../common/OccHandle.i
%{
#include<BRepClass_module.hxx>
//Dependencies
#include<Standard_module.hxx>
#include<NCollection_module.hxx>
#include<TopoDS_module.hxx>
#include<TopAbs_module.hxx>
#include<gp_module.hxx>
#include<IntRes2d_module.hxx>
#include<Geom2dInt_module.hxx>
#include<Geom2d_module.hxx>
#include<TopLoc_module.hxx>
#include<Adaptor2d_module.hxx>
#include<Extrema_module.hxx>
#include<Geom_module.hxx>
#include<GeomAdaptor_module.hxx>
#include<Adaptor3d_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 TopAbs.i
%import gp.i
%import IntRes2d.i
%import Geom2dInt.i
%pythoncode {
from enum import IntEnum
from OCC.Core.Exception import *
};
/* public enums */
/* end public enums declaration */
/* python proy classes for enums */
%pythoncode {
};
/* end python proxy for enums */
/* handles */
/* end handles declaration */
/* templates */
/* end templates declaration */
/* typedefs */
/* end typedefs declaration */
/***********************
* class BRepClass_Edge *
***********************/
class BRepClass_Edge {
public:
/****************** BRepClass_Edge ******************/
/**** md5 signature: fa499f57858b64345785d348f81cc818 ****/
%feature("compactdefaultargs") BRepClass_Edge;
%feature("autodoc", "No available documentation.
Returns
-------
None
") BRepClass_Edge;
BRepClass_Edge();
/****************** BRepClass_Edge ******************/
/**** md5 signature: a6a6c460541f16aaabfb79777156b15f ****/
%feature("compactdefaultargs") BRepClass_Edge;
%feature("autodoc", "No available documentation.
Parameters
----------
E: TopoDS_Edge
F: TopoDS_Face
Returns
-------
None
") BRepClass_Edge;
BRepClass_Edge(const TopoDS_Edge & E, const TopoDS_Face & F);
/****************** Edge ******************/
/**** md5 signature: 7927ca64a27bc7479e2b4d4ab87dbb48 ****/
%feature("compactdefaultargs") Edge;
%feature("autodoc", "No available documentation.
Returns
-------
TopoDS_Edge
") Edge;
TopoDS_Edge Edge();
/****************** Edge ******************/
/**** md5 signature: be590cff987799d8b7c28083399d0e9f ****/
%feature("compactdefaultargs") Edge;
%feature("autodoc", "No available documentation.
Returns
-------
TopoDS_Edge
") Edge;
const TopoDS_Edge Edge();
/****************** Face ******************/
/**** md5 signature: 6e8f5f8b51d0684fdc076a3f5ea16883 ****/
%feature("compactdefaultargs") Face;
%feature("autodoc", "No available documentation.
Returns
-------
TopoDS_Face
") Face;
TopoDS_Face Face();
/****************** Face ******************/
/**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/
%feature("compactdefaultargs") Face;
%feature("autodoc", "No available documentation.
Returns
-------
TopoDS_Face
") Face;
const TopoDS_Face Face();
};
%extend BRepClass_Edge {
%pythoncode {
__repr__ = _dumps_object
}
};
/****************************************
* class BRepClass_FClass2dOfFClassifier *
****************************************/
class BRepClass_FClass2dOfFClassifier {
public:
/****************** BRepClass_FClass2dOfFClassifier ******************/
/**** md5 signature: d19d8fe9d8d32983ec914a63ccdfb452 ****/
%feature("compactdefaultargs") BRepClass_FClass2dOfFClassifier;
%feature("autodoc", "Creates an undefined classifier.
Returns
-------
None
") BRepClass_FClass2dOfFClassifier;
BRepClass_FClass2dOfFClassifier();
/****************** ClosestIntersection ******************/
/**** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ****/
%feature("compactdefaultargs") ClosestIntersection;
%feature("autodoc", "Returns 0 if the last compared edge had no relevant intersection. else returns the index of this intersection in the last intersection algorithm.
Returns
-------
int
") ClosestIntersection;
Standard_Integer ClosestIntersection();
/****************** Compare ******************/
/**** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ****/
%feature("compactdefaultargs") Compare;
%feature("autodoc", "Updates the classification process with the edge <e> from the boundary.
Parameters
----------
E: BRepClass_Edge
Or: TopAbs_Orientation
Returns
-------
None
") Compare;
void Compare(const BRepClass_Edge & E, const TopAbs_Orientation Or);
/****************** Intersector ******************/
/**** md5 signature: 8af3d3515af322223174c8018ef27775 ****/
%feature("compactdefaultargs") Intersector;
%feature("autodoc", "Returns the intersecting algorithm.
Returns
-------
BRepClass_Intersector
") Intersector;
BRepClass_Intersector & Intersector();
/****************** IsHeadOrEnd ******************/
/**** md5 signature: bb302ba418a265161aeac4ed94262010 ****/
%feature("compactdefaultargs") IsHeadOrEnd;
%feature("autodoc", "Returns the standard_true if the closest intersection point represents head or end of the edge. returns standard_false otherwise.
Returns
-------
bool
") IsHeadOrEnd;
Standard_Boolean IsHeadOrEnd();
/****************** Parameter ******************/
/**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/
%feature("compactdefaultargs") Parameter;
%feature("autodoc", "Returns the current value of the parameter.
Returns
-------
float
") Parameter;
Standard_Real Parameter();
/****************** Reset ******************/
/**** md5 signature: a8c5889582c62cd16da1026d9b738b50 ****/
%feature("compactdefaultargs") Reset;
%feature("autodoc", "Starts a classification process. the point to classify is the origin of the line <l>. <p> is the original length of the segment on <l> used to compute intersections. <tol> is the tolerance attached to the line segment in intersections.
Parameters
----------
L: gp_Lin2d
P: float
Tol: float
Returns
-------
None
") Reset;
void Reset(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol);
/****************** State ******************/
/**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/
%feature("compactdefaultargs") State;
%feature("autodoc", "Returns the current state of the point.
Returns
-------
TopAbs_State
") State;
TopAbs_State State();
};
%extend BRepClass_FClass2dOfFClassifier {
%pythoncode {
__repr__ = _dumps_object
}
};
/******************************
* class BRepClass_FClassifier *
******************************/
class BRepClass_FClassifier {
public:
/****************** BRepClass_FClassifier ******************/
/**** md5 signature: bbd41df2b8f9d5c7ae4b1c2c2b0ca106 ****/
%feature("compactdefaultargs") BRepClass_FClassifier;
%feature("autodoc", "Empty constructor, undefined algorithm.
Returns
-------
None
") BRepClass_FClassifier;
BRepClass_FClassifier();
/****************** BRepClass_FClassifier ******************/
/**** md5 signature: a52683ba5457715c4c8153cd3d0c762a ****/
%feature("compactdefaultargs") BRepClass_FClassifier;
%feature("autodoc", "Creates an algorithm to classify the point p with tolerance <t> on the face described by <f>.
Parameters
----------
F: BRepClass_FaceExplorer
P: gp_Pnt2d
Tol: float
Returns
-------
None
") BRepClass_FClassifier;
BRepClass_FClassifier(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol);
/****************** Edge ******************/
/**** md5 signature: bd52887a3e64f99d6944617c67174745 ****/
%feature("compactdefaultargs") Edge;
%feature("autodoc", "Returns the edge used to determine the classification. when the state is on this is the edge containing the point.
Returns
-------
BRepClass_Edge
") Edge;
const BRepClass_Edge & Edge();
/****************** EdgeParameter ******************/
/**** md5 signature: a4ccdc0e9c154705af034e3ac274511c ****/
%feature("compactdefaultargs") EdgeParameter;
%feature("autodoc", "Returns the parameter on edge() used to determine the classification.
Returns
-------
float
") EdgeParameter;
Standard_Real EdgeParameter();
/****************** NoWires ******************/
/**** md5 signature: 990679762274e4aefbb7c462574e4bcd ****/
%feature("compactdefaultargs") NoWires;
%feature("autodoc", "Returns true if the face contains no wire. the state is in.
Returns
-------
bool
") NoWires;
Standard_Boolean NoWires();
/****************** Perform ******************/
/**** md5 signature: 3cd7b17096eabe50d8cc92b191abf9d7 ****/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "Classify the point p with tolerance <t> on the face described by <f>.
Parameters
----------
F: BRepClass_FaceExplorer
P: gp_Pnt2d
Tol: float
Returns
-------
None
") Perform;
void Perform(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol);
/****************** Position ******************/
/**** md5 signature: 675457384dc44fc07e204a19b6850fe8 ****/
%feature("compactdefaultargs") Position;
%feature("autodoc", "Returns the position of the point on the edge returned by edge.
Returns
-------
IntRes2d_Position
") Position;
IntRes2d_Position Position();
/****************** Rejected ******************/
/**** md5 signature: 56d604911041dd9f442bde612c88e4cd ****/
%feature("compactdefaultargs") Rejected;
%feature("autodoc", "Returns true when the state was computed by a rejection. the state is out.
Returns
-------
bool
") Rejected;
Standard_Boolean Rejected();
/****************** State ******************/
/**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/
%feature("compactdefaultargs") State;
%feature("autodoc", "Returns the result of the classification.
Returns
-------
TopAbs_State
") State;
TopAbs_State State();
};
%extend BRepClass_FClassifier {
%pythoncode {
__repr__ = _dumps_object
}
};
/*******************************
* class BRepClass_FaceExplorer *
*******************************/
class BRepClass_FaceExplorer {
public:
/****************** BRepClass_FaceExplorer ******************/
/**** md5 signature: 7ec391bc05dc26ffc180bb1023f157a1 ****/
%feature("compactdefaultargs") BRepClass_FaceExplorer;
%feature("autodoc", "No available documentation.
Parameters
----------
F: TopoDS_Face
Returns
-------
None
") BRepClass_FaceExplorer;
BRepClass_FaceExplorer(const TopoDS_Face & F);
/****************** CheckPoint ******************/
/**** md5 signature: 6dc400c8511fac8549e1a227e33ff0eb ****/
%feature("compactdefaultargs") CheckPoint;
%feature("autodoc", "Checks the point and change its coords if it is located too far from the bounding box of the face. new coordinates of the point will be on the line between the point and the center of the bounding box. returns true if point was not changed.
Parameters
----------
thePoint: gp_Pnt2d
Returns
-------
bool
") CheckPoint;
Standard_Boolean CheckPoint(gp_Pnt2d & thePoint);
/****************** CurrentEdge ******************/
/**** md5 signature: 612321e6d88f3d95d82e61c0e149151b ****/
%feature("compactdefaultargs") CurrentEdge;
%feature("autodoc", "Current edge in current wire and its orientation.
Parameters
----------
E: BRepClass_Edge
Or: TopAbs_Orientation
Returns
-------
None
") CurrentEdge;
void CurrentEdge(BRepClass_Edge & E, TopAbs_Orientation & Or);
/****************** InitEdges ******************/
/**** md5 signature: 91bbc4c29d3c5c1c40b8c41a10bba4ae ****/
%feature("compactdefaultargs") InitEdges;
%feature("autodoc", "Starts an exploration of the edges of the current wire.
Returns
-------
None
") InitEdges;
void InitEdges();
/****************** InitWires ******************/
/**** md5 signature: ebff8f083b93df212af42dee4111419b ****/
%feature("compactdefaultargs") InitWires;
%feature("autodoc", "Starts an exploration of the wires.
Returns
-------
None
") InitWires;
void InitWires();
/****************** MoreEdges ******************/
/**** md5 signature: ae9c44c48922d7def77564a0d6f2c592 ****/
%feature("compactdefaultargs") MoreEdges;
%feature("autodoc", "Returns true if there is a current edge.
Returns
-------
bool
") MoreEdges;
Standard_Boolean MoreEdges();
/****************** MoreWires ******************/
/**** md5 signature: b99e6f15aacc2cac79d7fb8f92595589 ****/
%feature("compactdefaultargs") MoreWires;
%feature("autodoc", "Returns true if there is a current wire.
Returns
-------
bool
") MoreWires;
Standard_Boolean MoreWires();
/****************** NextEdge ******************/
/**** md5 signature: 8103c946a7f7c0a3d885514a8a740502 ****/
%feature("compactdefaultargs") NextEdge;
%feature("autodoc", "Sets the explorer to the next edge.
Returns
-------
None
") NextEdge;
void NextEdge();
/****************** NextWire ******************/
/**** md5 signature: 11b92f2dcc830f98b32d40bd651c0b28 ****/
%feature("compactdefaultargs") NextWire;
%feature("autodoc", "Sets the explorer to the next wire.
Returns
-------
None
") NextWire;
void NextWire();
/****************** OtherSegment ******************/
/**** md5 signature: 27490dca9d2d53354d092dd2a3334ce2 ****/
%feature("compactdefaultargs") OtherSegment;
%feature("autodoc", "Returns in <l>, <par> a segment having at least one intersection with the face boundary to compute intersections. each call gives another segment.
Parameters
----------
P: gp_Pnt2d
L: gp_Lin2d
Returns
-------
Par: float
") OtherSegment;
Standard_Boolean OtherSegment(const gp_Pnt2d & P, gp_Lin2d & L, Standard_Real &OutValue);
/****************** Reject ******************/
/**** md5 signature: a145789dcdf45149993e111ed41174ea ****/
%feature("compactdefaultargs") Reject;
%feature("autodoc", "Should return true if the point is outside a bounding volume of the face.
Parameters
----------
P: gp_Pnt2d
Returns
-------
bool
") Reject;
Standard_Boolean Reject(const gp_Pnt2d & P);
/****************** RejectEdge ******************/
/**** md5 signature: ac46be93532b1dfcf60e7e385f949d17 ****/
%feature("compactdefaultargs") RejectEdge;
%feature("autodoc", "Returns true if the edge bounding volume does not intersect the segment.
Parameters
----------
L: gp_Lin2d
Par: float
Returns
-------
bool
") RejectEdge;
Standard_Boolean RejectEdge(const gp_Lin2d & L, const Standard_Real Par);
/****************** RejectWire ******************/
/**** md5 signature: a3caa1d04bab721ad3228acbea576ecb ****/
%feature("compactdefaultargs") RejectWire;
%feature("autodoc", "Returns true if the wire bounding volume does not intersect the segment.
Parameters
----------
L: gp_Lin2d
Par: float
Returns
-------
bool
") RejectWire;
Standard_Boolean RejectWire(const gp_Lin2d & L, const Standard_Real Par);
/****************** Segment ******************/
/**** md5 signature: 5eb3735a7b24946e69be33f96fb9d7b5 ****/
%feature("compactdefaultargs") Segment;
%feature("autodoc", "Returns in <l>, <par> a segment having at least one intersection with the face boundary to compute intersections.
Parameters
----------
P: gp_Pnt2d
L: gp_Lin2d
Returns
-------
Par: float
") Segment;
Standard_Boolean Segment(const gp_Pnt2d & P, gp_Lin2d & L, Standard_Real &OutValue);
};
%extend BRepClass_FaceExplorer {
%pythoncode {
__repr__ = _dumps_object
}
};
/****************************************
* class BRepClass_FacePassiveClassifier *
****************************************/
class BRepClass_FacePassiveClassifier {
public:
/****************** BRepClass_FacePassiveClassifier ******************/
/**** md5 signature: 802f6ac24977e4faa647825a59cd29e0 ****/
%feature("compactdefaultargs") BRepClass_FacePassiveClassifier;
%feature("autodoc", "Creates an undefined classifier.
Returns
-------
None
") BRepClass_FacePassiveClassifier;
BRepClass_FacePassiveClassifier();
/****************** ClosestIntersection ******************/
/**** md5 signature: 025d23acf1aa6c435dba31dbf4248fd0 ****/
%feature("compactdefaultargs") ClosestIntersection;
%feature("autodoc", "Returns 0 if the last compared edge had no relevant intersection. else returns the index of this intersection in the last intersection algorithm.
Returns
-------
int
") ClosestIntersection;
Standard_Integer ClosestIntersection();
/****************** Compare ******************/
/**** md5 signature: b424d6a228cca9b1cde54a0ef4d4799b ****/
%feature("compactdefaultargs") Compare;
%feature("autodoc", "Updates the classification process with the edge <e> from the boundary.
Parameters
----------
E: BRepClass_Edge
Or: TopAbs_Orientation
Returns
-------
None
") Compare;
void Compare(const BRepClass_Edge & E, const TopAbs_Orientation Or);
/****************** Intersector ******************/
/**** md5 signature: 8af3d3515af322223174c8018ef27775 ****/
%feature("compactdefaultargs") Intersector;
%feature("autodoc", "Returns the intersecting algorithm.
Returns
-------
BRepClass_Intersector
") Intersector;
BRepClass_Intersector & Intersector();
/****************** IsHeadOrEnd ******************/
/**** md5 signature: bb302ba418a265161aeac4ed94262010 ****/
%feature("compactdefaultargs") IsHeadOrEnd;
%feature("autodoc", "Returns the standard_true if the closest intersection point represents head or end of the edge. returns standard_false otherwise.
Returns
-------
bool
") IsHeadOrEnd;
Standard_Boolean IsHeadOrEnd();
/****************** Parameter ******************/
/**** md5 signature: ecccdeaeaa0deed24f47e61ad75d24f1 ****/
%feature("compactdefaultargs") Parameter;
%feature("autodoc", "Returns the current value of the parameter.
Returns
-------
float
") Parameter;
Standard_Real Parameter();
/****************** Reset ******************/
/**** md5 signature: a8c5889582c62cd16da1026d9b738b50 ****/
%feature("compactdefaultargs") Reset;
%feature("autodoc", "Starts a classification process. the point to classify is the origin of the line <l>. <p> is the original length of the segment on <l> used to compute intersections. <tol> is the tolerance attached to the line segment in intersections.
Parameters
----------
L: gp_Lin2d
P: float
Tol: float
Returns
-------
None
") Reset;
void Reset(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol);
/****************** State ******************/
/**** md5 signature: 927c83b1efdec797adb47eb058eddaa0 ****/
%feature("compactdefaultargs") State;
%feature("autodoc", "Returns the current state of the point.
Returns
-------
TopAbs_State
") State;
TopAbs_State State();
};
%extend BRepClass_FacePassiveClassifier {
%pythoncode {
__repr__ = _dumps_object
}
};
/******************************
* class BRepClass_Intersector *
******************************/
class BRepClass_Intersector : public Geom2dInt_IntConicCurveOfGInter {
public:
/****************** BRepClass_Intersector ******************/
/**** md5 signature: a88e9c7d891ba6eb26fc5a5e12d952ea ****/
%feature("compactdefaultargs") BRepClass_Intersector;
%feature("autodoc", "No available documentation.
Returns
-------
None
") BRepClass_Intersector;
BRepClass_Intersector();
/****************** LocalGeometry ******************/
/**** md5 signature: 70935b52098ea68ba72383cea6594aad ****/
%feature("compactdefaultargs") LocalGeometry;
%feature("autodoc", "Returns in <t>, <n> and <c> the tangent, normal and curvature of the edge <e> at parameter value <u>.
Parameters
----------
E: BRepClass_Edge
U: float
T: gp_Dir2d
N: gp_Dir2d
Returns
-------
C: float
") LocalGeometry;
void LocalGeometry(const BRepClass_Edge & E, const Standard_Real U, gp_Dir2d & T, gp_Dir2d & N, Standard_Real &OutValue);
/****************** Perform ******************/
/**** md5 signature: 5249f9e060959ae45003d92383e6b6b7 ****/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "Intersect the line segment and the edge.
Parameters
----------
L: gp_Lin2d
P: float
Tol: float
E: BRepClass_Edge
Returns
-------
None
") Perform;
void Perform(const gp_Lin2d & L, const Standard_Real P, const Standard_Real Tol, const BRepClass_Edge & E);
};
%extend BRepClass_Intersector {
%pythoncode {
__repr__ = _dumps_object
}
};
/*********************************
* class BRepClass_FaceClassifier *
*********************************/
class BRepClass_FaceClassifier : public BRepClass_FClassifier {
public:
/****************** BRepClass_FaceClassifier ******************/
/**** md5 signature: 3aeb4d4449ed7e7167a0e7f4bbb500a3 ****/
%feature("compactdefaultargs") BRepClass_FaceClassifier;
%feature("autodoc", "Empty constructor, undefined algorithm.
Returns
-------
None
") BRepClass_FaceClassifier;
BRepClass_FaceClassifier();
/****************** BRepClass_FaceClassifier ******************/
/**** md5 signature: 9f90975def9132fa18342a3e56ae4e4a ****/
%feature("compactdefaultargs") BRepClass_FaceClassifier;
%feature("autodoc", "Creates an algorithm to classify the point p with tolerance <t> on the face described by <f>.
Parameters
----------
F: BRepClass_FaceExplorer
P: gp_Pnt2d
Tol: float
Returns
-------
None
") BRepClass_FaceClassifier;
BRepClass_FaceClassifier(BRepClass_FaceExplorer & F, const gp_Pnt2d & P, const Standard_Real Tol);
/****************** BRepClass_FaceClassifier ******************/
/**** md5 signature: 66903fd3767dd144ed0e3a25b29cb078 ****/
%feature("compactdefaultargs") BRepClass_FaceClassifier;
%feature("autodoc", "Creates an algorithm to classify the point p with tolerance <t> on the face <f>.
Parameters
----------
F: TopoDS_Face
P: gp_Pnt2d
Tol: float
Returns
-------
None
") BRepClass_FaceClassifier;
BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol);
/****************** BRepClass_FaceClassifier ******************/
/**** md5 signature: ed0c6349f82f0afdf68beb1a375112db ****/
%feature("compactdefaultargs") BRepClass_FaceClassifier;
%feature("autodoc", "Creates an algorithm to classify the point p with tolerance <t> on the face <f>.
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Tol: float
Returns
-------
None
") BRepClass_FaceClassifier;
BRepClass_FaceClassifier(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol);
/****************** Perform ******************/
/**** md5 signature: 9e3c267a5919cb2c1592840d20d26604 ****/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "Classify the point p with tolerance <t> on the face described by <f>.
Parameters
----------
F: TopoDS_Face
P: gp_Pnt2d
Tol: float
Returns
-------
None
") Perform;
void Perform(const TopoDS_Face & F, const gp_Pnt2d & P, const Standard_Real Tol);
/****************** Perform ******************/
/**** md5 signature: 76ed91a10bd09a942fede5c41a7caa8b ****/
%feature("compactdefaultargs") Perform;
%feature("autodoc", "Classify the point p with tolerance <t> on the face described by <f>.
Parameters
----------
F: TopoDS_Face
P: gp_Pnt
Tol: float
Returns
-------
None
") Perform;
void Perform(const TopoDS_Face & F, const gp_Pnt & P, const Standard_Real Tol);
};
%extend BRepClass_FaceClassifier {
%pythoncode {
__repr__ = _dumps_object
}
};
/* harray1 classes */
/* harray2 classes */
/* hsequence classes */
/* class aliases */
%pythoncode {
}