forked from tpaviot/pythonocc-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBRepPrim.i
More file actions
2289 lines (1871 loc) · 60.6 KB
/
BRepPrim.i
File metadata and controls
2289 lines (1871 loc) · 60.6 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-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 BREPPRIMDOCSTRING
"BRepPrim module, see official documentation at
https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_brepprim.html"
%enddef
%module (package="OCC.Core", docstring=BREPPRIMDOCSTRING) BRepPrim
%{
#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<BRepPrim_module.hxx>
//Dependencies
#include<Standard_module.hxx>
#include<NCollection_module.hxx>
#include<BRep_module.hxx>
#include<TopoDS_module.hxx>
#include<gp_module.hxx>
#include<Geom_module.hxx>
#include<Geom2d_module.hxx>
#include<TopLoc_module.hxx>
#include<Message_module.hxx>
#include<Poly_module.hxx>
#include<TShort_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 BRep.i
%import TopoDS.i
%import gp.i
%import Geom.i
%import Geom2d.i
%pythoncode {
from enum import IntEnum
from OCC.Core.Exception import *
};
/* public enums */
enum BRepPrim_Direction {
BRepPrim_XMin = 0,
BRepPrim_XMax = 1,
BRepPrim_YMin = 2,
BRepPrim_YMax = 3,
BRepPrim_ZMin = 4,
BRepPrim_ZMax = 5,
};
/* end public enums declaration */
/* python proy classes for enums */
%pythoncode {
class BRepPrim_Direction(IntEnum):
BRepPrim_XMin = 0
BRepPrim_XMax = 1
BRepPrim_YMin = 2
BRepPrim_YMax = 3
BRepPrim_ZMin = 4
BRepPrim_ZMax = 5
BRepPrim_XMin = BRepPrim_Direction.BRepPrim_XMin
BRepPrim_XMax = BRepPrim_Direction.BRepPrim_XMax
BRepPrim_YMin = BRepPrim_Direction.BRepPrim_YMin
BRepPrim_YMax = BRepPrim_Direction.BRepPrim_YMax
BRepPrim_ZMin = BRepPrim_Direction.BRepPrim_ZMin
BRepPrim_ZMax = BRepPrim_Direction.BRepPrim_ZMax
};
/* end python proxy for enums */
/* handles */
/* end handles declaration */
/* templates */
/* end templates declaration */
/* typedefs */
/* end typedefs declaration */
/*************************
* class BRepPrim_Builder *
*************************/
class BRepPrim_Builder {
public:
/****************** BRepPrim_Builder ******************/
/**** md5 signature: d39d0b6fde78f20a7504efe22c7e0763 ****/
%feature("compactdefaultargs") BRepPrim_Builder;
%feature("autodoc", "Creates an empty, useless builder. necesseray for compilation.
Returns
-------
None
") BRepPrim_Builder;
BRepPrim_Builder();
/****************** BRepPrim_Builder ******************/
/**** md5 signature: d35b9752dc1460a7c056a321b4d55ea1 ****/
%feature("compactdefaultargs") BRepPrim_Builder;
%feature("autodoc", "Creates from a builder.
Parameters
----------
B: BRep_Builder
Returns
-------
None
") BRepPrim_Builder;
BRepPrim_Builder(const BRep_Builder & B);
/****************** AddEdgeVertex ******************/
/**** md5 signature: 6f53515e7cce4cf475d8fb8d1dc2d077 ****/
%feature("compactdefaultargs") AddEdgeVertex;
%feature("autodoc", "Adds the vertex <v> in the edge <e>. <p> is the parameter of the vertex on the edge. if direct is false the vertex is reversed.
Parameters
----------
E: TopoDS_Edge
V: TopoDS_Vertex
P: float
direct: bool
Returns
-------
None
") AddEdgeVertex;
void AddEdgeVertex(TopoDS_Edge & E, const TopoDS_Vertex & V, const Standard_Real P, const Standard_Boolean direct);
/****************** AddEdgeVertex ******************/
/**** md5 signature: e1f1f3259a33316b4b0620b5dc3101e6 ****/
%feature("compactdefaultargs") AddEdgeVertex;
%feature("autodoc", "Adds the vertex <v> in the edge <e>. <p1,p2> are the parameters of the vertex on the closed edge.
Parameters
----------
E: TopoDS_Edge
V: TopoDS_Vertex
P1: float
P2: float
Returns
-------
None
") AddEdgeVertex;
void AddEdgeVertex(TopoDS_Edge & E, const TopoDS_Vertex & V, const Standard_Real P1, const Standard_Real P2);
/****************** AddFaceWire ******************/
/**** md5 signature: 2a83461df737a0f4a3acdaf75556ee0e ****/
%feature("compactdefaultargs") AddFaceWire;
%feature("autodoc", "Adds the wire <w> in the face <f>.
Parameters
----------
F: TopoDS_Face
W: TopoDS_Wire
Returns
-------
None
") AddFaceWire;
void AddFaceWire(TopoDS_Face & F, const TopoDS_Wire & W);
/****************** AddShellFace ******************/
/**** md5 signature: 14b9772b177e00751a82f1e6eb05d592 ****/
%feature("compactdefaultargs") AddShellFace;
%feature("autodoc", "Adds the face <f> in the shell <sh>.
Parameters
----------
Sh: TopoDS_Shell
F: TopoDS_Face
Returns
-------
None
") AddShellFace;
void AddShellFace(TopoDS_Shell & Sh, const TopoDS_Face & F);
/****************** AddWireEdge ******************/
/**** md5 signature: 35ba979185bf17962e695e9244060701 ****/
%feature("compactdefaultargs") AddWireEdge;
%feature("autodoc", "Adds the edge <e> in the wire <w>, if direct is false the edge is reversed.
Parameters
----------
W: TopoDS_Wire
E: TopoDS_Edge
direct: bool
Returns
-------
None
") AddWireEdge;
void AddWireEdge(TopoDS_Wire & W, const TopoDS_Edge & E, const Standard_Boolean direct);
/****************** Builder ******************/
/**** md5 signature: 0e400544facfe2a99c354fd61331d22b ****/
%feature("compactdefaultargs") Builder;
%feature("autodoc", "No available documentation.
Returns
-------
BRep_Builder
") Builder;
const BRep_Builder & Builder();
/****************** CompleteEdge ******************/
/**** md5 signature: d730676546d85b4bd88605dd1599b062 ****/
%feature("compactdefaultargs") CompleteEdge;
%feature("autodoc", "This is called once an edge is completed. it gives the opportunity to perform any post treatment.
Parameters
----------
E: TopoDS_Edge
Returns
-------
None
") CompleteEdge;
void CompleteEdge(TopoDS_Edge & E);
/****************** CompleteFace ******************/
/**** md5 signature: 9fdae44dae4b2388e5169847accfb8d8 ****/
%feature("compactdefaultargs") CompleteFace;
%feature("autodoc", "This is called once a face is completed. it gives the opportunity to perform any post treatment.
Parameters
----------
F: TopoDS_Face
Returns
-------
None
") CompleteFace;
void CompleteFace(TopoDS_Face & F);
/****************** CompleteShell ******************/
/**** md5 signature: 2b94b7cc886da1f27ada604cd72b092c ****/
%feature("compactdefaultargs") CompleteShell;
%feature("autodoc", "This is called once a shell is completed. it gives the opportunity to perform any post treatment.
Parameters
----------
S: TopoDS_Shell
Returns
-------
None
") CompleteShell;
void CompleteShell(TopoDS_Shell & S);
/****************** CompleteWire ******************/
/**** md5 signature: 53c17c6669114aebdc50b6c0031cfb8d ****/
%feature("compactdefaultargs") CompleteWire;
%feature("autodoc", "This is called once a wire is completed. it gives the opportunity to perform any post treatment.
Parameters
----------
W: TopoDS_Wire
Returns
-------
None
") CompleteWire;
void CompleteWire(TopoDS_Wire & W);
/****************** MakeDegeneratedEdge ******************/
/**** md5 signature: 703a262cbf47cf2cc0cc8cbc76fb4997 ****/
%feature("compactdefaultargs") MakeDegeneratedEdge;
%feature("autodoc", "Returns in <e> a degenerated edge.
Parameters
----------
E: TopoDS_Edge
Returns
-------
None
") MakeDegeneratedEdge;
void MakeDegeneratedEdge(TopoDS_Edge & E);
/****************** MakeEdge ******************/
/**** md5 signature: 2acfeb2087ea3647f64fad71cb7d736c ****/
%feature("compactdefaultargs") MakeEdge;
%feature("autodoc", "Returns in <e> an edge built with the line equation <l>.
Parameters
----------
E: TopoDS_Edge
L: gp_Lin
Returns
-------
None
") MakeEdge;
void MakeEdge(TopoDS_Edge & E, const gp_Lin & L);
/****************** MakeEdge ******************/
/**** md5 signature: f3f9c90b34065966cff70f6a24c006e2 ****/
%feature("compactdefaultargs") MakeEdge;
%feature("autodoc", "Returns in <e> an edge built with the circle equation <c>.
Parameters
----------
E: TopoDS_Edge
C: gp_Circ
Returns
-------
None
") MakeEdge;
void MakeEdge(TopoDS_Edge & E, const gp_Circ & C);
/****************** MakeFace ******************/
/**** md5 signature: e4bfbfee4d4a2491c4c776a066dcd6e9 ****/
%feature("compactdefaultargs") MakeFace;
%feature("autodoc", "Returns in <f> a face built with the plane equation <p>. used by all primitives.
Parameters
----------
F: TopoDS_Face
P: gp_Pln
Returns
-------
None
") MakeFace;
void MakeFace(TopoDS_Face & F, const gp_Pln & P);
/****************** MakeShell ******************/
/**** md5 signature: 2854985e778e4f5296d3dcce3926dae9 ****/
%feature("compactdefaultargs") MakeShell;
%feature("autodoc", "Make a empty shell.
Parameters
----------
S: TopoDS_Shell
Returns
-------
None
") MakeShell;
void MakeShell(TopoDS_Shell & S);
/****************** MakeVertex ******************/
/**** md5 signature: aea78d8a1e62c33f652543f4fdefc33c ****/
%feature("compactdefaultargs") MakeVertex;
%feature("autodoc", "Returns in <v> a vertex built with the point <p>.
Parameters
----------
V: TopoDS_Vertex
P: gp_Pnt
Returns
-------
None
") MakeVertex;
void MakeVertex(TopoDS_Vertex & V, const gp_Pnt & P);
/****************** MakeWire ******************/
/**** md5 signature: a7807363bff6d0d52ee9e63114e705f0 ****/
%feature("compactdefaultargs") MakeWire;
%feature("autodoc", "Returns in <w> an empty wire.
Parameters
----------
W: TopoDS_Wire
Returns
-------
None
") MakeWire;
void MakeWire(TopoDS_Wire & W);
/****************** ReverseFace ******************/
/**** md5 signature: 170808229bc7fb43f109beb51219144c ****/
%feature("compactdefaultargs") ReverseFace;
%feature("autodoc", "Reverses the face <f>.
Parameters
----------
F: TopoDS_Face
Returns
-------
None
") ReverseFace;
void ReverseFace(TopoDS_Face & F);
/****************** SetPCurve ******************/
/**** md5 signature: e65cb236e9d1dcb14460f8ffa09b72cb ****/
%feature("compactdefaultargs") SetPCurve;
%feature("autodoc", "Sets the line <l> to be the curve representing the edge <e> in the parametric space of the surface of <f>.
Parameters
----------
E: TopoDS_Edge
F: TopoDS_Face
L: gp_Lin2d
Returns
-------
None
") SetPCurve;
void SetPCurve(TopoDS_Edge & E, const TopoDS_Face & F, const gp_Lin2d & L);
/****************** SetPCurve ******************/
/**** md5 signature: 3f5d6438734ac9ae64b3691e211f2fe1 ****/
%feature("compactdefaultargs") SetPCurve;
%feature("autodoc", "Sets the lines <l1,l2> to be the curves representing the edge <e> in the parametric space of the closed surface of <f>.
Parameters
----------
E: TopoDS_Edge
F: TopoDS_Face
L1: gp_Lin2d
L2: gp_Lin2d
Returns
-------
None
") SetPCurve;
void SetPCurve(TopoDS_Edge & E, const TopoDS_Face & F, const gp_Lin2d & L1, const gp_Lin2d & L2);
/****************** SetPCurve ******************/
/**** md5 signature: 6e66ca01d676dd1712cfd0fbe3284460 ****/
%feature("compactdefaultargs") SetPCurve;
%feature("autodoc", "Sets the circle <c> to be the curve representing the edge <e> in the parametric space of the surface of <f>.
Parameters
----------
E: TopoDS_Edge
F: TopoDS_Face
C: gp_Circ2d
Returns
-------
None
") SetPCurve;
void SetPCurve(TopoDS_Edge & E, const TopoDS_Face & F, const gp_Circ2d & C);
/****************** SetParameters ******************/
/**** md5 signature: e5c2f16c6f9bf82902e3c5354144fd14 ****/
%feature("compactdefaultargs") SetParameters;
%feature("autodoc", "<p1,p2> are the parameters of the vertex on the edge. the edge is a closed curve.
Parameters
----------
E: TopoDS_Edge
V: TopoDS_Vertex
P1: float
P2: float
Returns
-------
None
") SetParameters;
void SetParameters(TopoDS_Edge & E, const TopoDS_Vertex & V, const Standard_Real P1, const Standard_Real P2);
};
%extend BRepPrim_Builder {
%pythoncode {
__repr__ = _dumps_object
}
};
/*****************************
* class BRepPrim_FaceBuilder *
*****************************/
class BRepPrim_FaceBuilder {
public:
/****************** BRepPrim_FaceBuilder ******************/
/**** md5 signature: 463f01a2bbda2d3518e3fa5d511804ca ****/
%feature("compactdefaultargs") BRepPrim_FaceBuilder;
%feature("autodoc", "No available documentation.
Returns
-------
None
") BRepPrim_FaceBuilder;
BRepPrim_FaceBuilder();
/****************** BRepPrim_FaceBuilder ******************/
/**** md5 signature: 11490bad0e7109bcdd92e1631f2eec5d ****/
%feature("compactdefaultargs") BRepPrim_FaceBuilder;
%feature("autodoc", "No available documentation.
Parameters
----------
B: BRep_Builder
S: Geom_Surface
Returns
-------
None
") BRepPrim_FaceBuilder;
BRepPrim_FaceBuilder(const BRep_Builder & B, const opencascade::handle<Geom_Surface> & S);
/****************** BRepPrim_FaceBuilder ******************/
/**** md5 signature: 77807a8c6d982a6a0e34b40d3bba46a3 ****/
%feature("compactdefaultargs") BRepPrim_FaceBuilder;
%feature("autodoc", "No available documentation.
Parameters
----------
B: BRep_Builder
S: Geom_Surface
UMin: float
UMax: float
VMin: float
VMax: float
Returns
-------
None
") BRepPrim_FaceBuilder;
BRepPrim_FaceBuilder(const BRep_Builder & B, const opencascade::handle<Geom_Surface> & S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax);
/****************** Edge ******************/
/**** md5 signature: 42b39345502468321490e229b9ed050c ****/
%feature("compactdefaultargs") Edge;
%feature("autodoc", "Returns the edge of index <i> 1 - edge vmin 2 - edge umax 3 - edge vmax 4 - edge umin.
Parameters
----------
I: int
Returns
-------
TopoDS_Edge
") Edge;
const TopoDS_Edge Edge(const Standard_Integer I);
/****************** Face ******************/
/**** md5 signature: 91e216ebeb76e55c73eb9e179241a6ff ****/
%feature("compactdefaultargs") Face;
%feature("autodoc", "No available documentation.
Returns
-------
TopoDS_Face
") Face;
const TopoDS_Face Face();
/****************** Init ******************/
/**** md5 signature: 143ab27f30670d4a5bf356eb1f51531f ****/
%feature("compactdefaultargs") Init;
%feature("autodoc", "No available documentation.
Parameters
----------
B: BRep_Builder
S: Geom_Surface
Returns
-------
None
") Init;
void Init(const BRep_Builder & B, const opencascade::handle<Geom_Surface> & S);
/****************** Init ******************/
/**** md5 signature: 26f1dc48d1dcbc23d88fc45d428255ae ****/
%feature("compactdefaultargs") Init;
%feature("autodoc", "No available documentation.
Parameters
----------
B: BRep_Builder
S: Geom_Surface
UMin: float
UMax: float
VMin: float
VMax: float
Returns
-------
None
") Init;
void Init(const BRep_Builder & B, const opencascade::handle<Geom_Surface> & S, const Standard_Real UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real VMax);
/****************** Vertex ******************/
/**** md5 signature: 1cd4dfe5cbf55dbe74ca8c7dfb89999c ****/
%feature("compactdefaultargs") Vertex;
%feature("autodoc", "Returns the vertex of index <i> 1 - vertex umin,vmin 2 - vertex umax,vmin 3 - vertex umax,vmax 4 - vertex umin,vmax.
Parameters
----------
I: int
Returns
-------
TopoDS_Vertex
") Vertex;
const TopoDS_Vertex Vertex(const Standard_Integer I);
};
%extend BRepPrim_FaceBuilder {
%pythoncode {
__repr__ = _dumps_object
}
};
/************************
* class BRepPrim_GWedge *
************************/
class BRepPrim_GWedge {
public:
/****************** BRepPrim_GWedge ******************/
/**** md5 signature: 5479b17d06f6204f33739da970ed3024 ****/
%feature("compactdefaultargs") BRepPrim_GWedge;
%feature("autodoc", "Default constructor.
Returns
-------
None
") BRepPrim_GWedge;
BRepPrim_GWedge();
/****************** BRepPrim_GWedge ******************/
/**** md5 signature: e294f9bebd8cc9ff98c19af2e7410e35 ****/
%feature("compactdefaultargs") BRepPrim_GWedge;
%feature("autodoc", "Creates a gwedge algorithm. <axes> is the axis system for the primitive. //! xmin, ymin, zmin are set to 0 xmax, ymax, zmax are set to dx, dy, dz z2min = zmin z2max = zmax x2min = xmin x2max = xmax the result is a box dx,dy,dz should be positive.
Parameters
----------
B: BRepPrim_Builder
Axes: gp_Ax2
dx: float
dy: float
dz: float
Returns
-------
None
") BRepPrim_GWedge;
BRepPrim_GWedge(const BRepPrim_Builder & B, const gp_Ax2 & Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz);
/****************** BRepPrim_GWedge ******************/
/**** md5 signature: 847889616a632de9ce27e3dfe094bb46 ****/
%feature("compactdefaultargs") BRepPrim_GWedge;
%feature("autodoc", "Creates a gwedge primitive. <axes> is the axis system for the primitive. //! xmin, ymin, zmin are set to 0 xmax, ymax, zmax are set to dx, dy, dz z2min = zmin z2max = zmax x2min = ltx x2max = ltx the result is a step right angular wedge dx,dy,dz should be positive ltx should not be negative.
Parameters
----------
B: BRepPrim_Builder
Axes: gp_Ax2
dx: float
dy: float
dz: float
ltx: float
Returns
-------
None
") BRepPrim_GWedge;
BRepPrim_GWedge(const BRepPrim_Builder & B, const gp_Ax2 & Axes, const Standard_Real dx, const Standard_Real dy, const Standard_Real dz, const Standard_Real ltx);
/****************** BRepPrim_GWedge ******************/
/**** md5 signature: d334fb521e652e32b1e6156305b9756c ****/
%feature("compactdefaultargs") BRepPrim_GWedge;
%feature("autodoc", "Create a gwedge primitive. <axes> is the axis system for the primitive. //! all the fields are set to the corresponding value xyzmax - xyzmin should be positive zx2max - zx2min should not be negative.
Parameters
----------
B: BRepPrim_Builder
Axes: gp_Ax2
xmin: float
ymin: float
zmin: float
z2min: float
x2min: float
xmax: float
ymax: float
zmax: float
z2max: float
x2max: float
Returns
-------
None
") BRepPrim_GWedge;
BRepPrim_GWedge(const BRepPrim_Builder & B, const gp_Ax2 & Axes, const Standard_Real xmin, const Standard_Real ymin, const Standard_Real zmin, const Standard_Real z2min, const Standard_Real x2min, const Standard_Real xmax, const Standard_Real ymax, const Standard_Real zmax, const Standard_Real z2max, const Standard_Real x2max);
/****************** Axes ******************/
/**** md5 signature: 5cce2f6c839d20c7e40bd43ff35d90ff ****/
%feature("compactdefaultargs") Axes;
%feature("autodoc", "Returns the coordinates system from <self>.
Returns
-------
gp_Ax2
") Axes;
gp_Ax2 Axes();
/****************** Close ******************/
/**** md5 signature: 8a6b334d6643de950e51d0dac3cf9567 ****/
%feature("compactdefaultargs") Close;
%feature("autodoc", "Closes <self> in <d1> direction. a face and its edges or vertices are said existant.
Parameters
----------
d1: BRepPrim_Direction
Returns
-------
None
") Close;
void Close(const BRepPrim_Direction d1);
/****************** Edge ******************/
/**** md5 signature: 560d56d26d1414fcce336848602e1dc3 ****/
%feature("compactdefaultargs") Edge;
%feature("autodoc", "Returns the edge of <self> located in <d1><d2> direction.
Parameters
----------
d1: BRepPrim_Direction
d2: BRepPrim_Direction
Returns
-------
TopoDS_Edge
") Edge;
const TopoDS_Edge Edge(const BRepPrim_Direction d1, const BRepPrim_Direction d2);
/****************** Face ******************/
/**** md5 signature: eb3c5e0095ca13cae1498f229df66063 ****/
%feature("compactdefaultargs") Face;
%feature("autodoc", "Returns the face of <self> located in <d1> direction.
Parameters
----------
d1: BRepPrim_Direction
Returns
-------
TopoDS_Face
") Face;
const TopoDS_Face Face(const BRepPrim_Direction d1);
/****************** GetX2Max ******************/
/**** md5 signature: babbbfd397c1efdc258884663a21c99b ****/
%feature("compactdefaultargs") GetX2Max;
%feature("autodoc", "Returns x2max value from <self>.
Returns
-------
float
") GetX2Max;
Standard_Real GetX2Max();
/****************** GetX2Min ******************/
/**** md5 signature: 0a40c3c9c54ec4e54fecd27b53aa2d96 ****/
%feature("compactdefaultargs") GetX2Min;
%feature("autodoc", "Returns x2min value from <self>.
Returns
-------
float
") GetX2Min;
Standard_Real GetX2Min();
/****************** GetXMax ******************/
/**** md5 signature: 89241f7ad0cd880ace7f0986ef5f9f69 ****/
%feature("compactdefaultargs") GetXMax;
%feature("autodoc", "Returns xmax value from <self>.
Returns
-------
float
") GetXMax;
Standard_Real GetXMax();
/****************** GetXMin ******************/
/**** md5 signature: d7992ddefa160df5f96a2a3533191e53 ****/
%feature("compactdefaultargs") GetXMin;
%feature("autodoc", "Returns xmin value from <self>.
Returns
-------
float
") GetXMin;
Standard_Real GetXMin();
/****************** GetYMax ******************/
/**** md5 signature: 58f0cd3a82eb7ddb0b0b6801d800b912 ****/
%feature("compactdefaultargs") GetYMax;
%feature("autodoc", "Returns ymax value from <self>.
Returns
-------
float
") GetYMax;
Standard_Real GetYMax();
/****************** GetYMin ******************/
/**** md5 signature: 229d1cfe7ce27ed168565ce63df04039 ****/
%feature("compactdefaultargs") GetYMin;
%feature("autodoc", "Returns ymin value from <self>.
Returns
-------
float
") GetYMin;
Standard_Real GetYMin();
/****************** GetZ2Max ******************/
/**** md5 signature: 3f6d0e8bc5842b300bcb476636139406 ****/
%feature("compactdefaultargs") GetZ2Max;
%feature("autodoc", "Returns z2max value from <self>.
Returns
-------
float
") GetZ2Max;
Standard_Real GetZ2Max();
/****************** GetZ2Min ******************/
/**** md5 signature: abe08f96ee7133799469e33037af94cd ****/
%feature("compactdefaultargs") GetZ2Min;
%feature("autodoc", "Returns z2min value from <self>.
Returns
-------
float
") GetZ2Min;
Standard_Real GetZ2Min();
/****************** GetZMax ******************/
/**** md5 signature: 32c33af83170b4d42ae02c8990ff8ea3 ****/
%feature("compactdefaultargs") GetZMax;
%feature("autodoc", "Returns zmax value from <self>.
Returns
-------
float
") GetZMax;
Standard_Real GetZMax();
/****************** GetZMin ******************/
/**** md5 signature: a379616f1dee6c082c654e8c13891637 ****/
%feature("compactdefaultargs") GetZMin;
%feature("autodoc", "Returns zmin value from <self>.
Returns
-------
float
") GetZMin;
Standard_Real GetZMin();
/****************** HasEdge ******************/
/**** md5 signature: 7739a38be24eb46408b92e60b3ed5c86 ****/
%feature("compactdefaultargs") HasEdge;
%feature("autodoc", "Returns true if <self> has an edge in <d1><d2> direction.
Parameters
----------
d1: BRepPrim_Direction
d2: BRepPrim_Direction
Returns
-------
bool
") HasEdge;
Standard_Boolean HasEdge(const BRepPrim_Direction d1, const BRepPrim_Direction d2);
/****************** HasFace ******************/
/**** md5 signature: c9d41b14ac628ba1e79756dffee9967d ****/
%feature("compactdefaultargs") HasFace;
%feature("autodoc", "Returns true if <self> has a face in <d1> direction.
Parameters
----------
d1: BRepPrim_Direction
Returns
-------
bool
") HasFace;
Standard_Boolean HasFace(const BRepPrim_Direction d1);
/****************** HasVertex ******************/
/**** md5 signature: eaac55ce26adfcac0a4f2a1f65c03aa5 ****/
%feature("compactdefaultargs") HasVertex;
%feature("autodoc", "Returns true if <self> has a vertex in <d1><d2><d3> direction.
Parameters
----------
d1: BRepPrim_Direction
d2: BRepPrim_Direction
d3: BRepPrim_Direction
Returns
-------
bool
") HasVertex;
Standard_Boolean HasVertex(const BRepPrim_Direction d1, const BRepPrim_Direction d2, const BRepPrim_Direction d3);
/****************** HasWire ******************/
/**** md5 signature: 48fdc8573de4d5206e01f01f3e2e88c6 ****/
%feature("compactdefaultargs") HasWire;
%feature("autodoc", "Returns true if <self> has a wire in <d1> direction.
Parameters
----------
d1: BRepPrim_Direction
Returns
-------
bool
") HasWire;
Standard_Boolean HasWire(const BRepPrim_Direction d1);
/****************** IsDegeneratedShape ******************/
/**** md5 signature: bedacae663032f1f3a7887e26e731a50 ****/
%feature("compactdefaultargs") IsDegeneratedShape;
%feature("autodoc", "Checkes a shape on degeneracy returns true if a shape is degenerated.
Returns
-------
bool
") IsDegeneratedShape;
Standard_Boolean IsDegeneratedShape();
/****************** IsInfinite ******************/
/**** md5 signature: 84e23051e341ae0e7b22f457a416c2bd ****/
%feature("compactdefaultargs") IsInfinite;
%feature("autodoc", "Returns true if <self> is open in <d1> direction.
Parameters
----------
d1: BRepPrim_Direction
Returns
-------
bool
") IsInfinite;
Standard_Boolean IsInfinite(const BRepPrim_Direction d1);
/****************** Line ******************/
/**** md5 signature: a1e5b46f6b4d553242cfea988954fad7 ****/
%feature("compactdefaultargs") Line;
%feature("autodoc", "Returns the line of the edge of <self> located in <d1><d2> direction.
Parameters
----------
d1: BRepPrim_Direction
d2: BRepPrim_Direction
Returns
-------
gp_Lin
") Line;
gp_Lin Line(const BRepPrim_Direction d1, const BRepPrim_Direction d2);
/****************** Open ******************/
/**** md5 signature: 2e0f8eb050fe600ffb46a7cdbe2bbb22 ****/
%feature("compactdefaultargs") Open;
%feature("autodoc", "Opens <self> in <d1> direction. a face and its edges or vertices are said nonexistant.
Parameters
----------
d1: BRepPrim_Direction