File: BRepPrim.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (848 lines) | stat: -rw-r--r-- 49,960 bytes parent folder | download | duplicates (2)
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

// std lib related includes
#include <tuple>

// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

// Standard Handle
#include <Standard_Handle.hxx>


// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Pln.hxx>
#include <TopoDS_Edge.hxx>
#include <gp_Lin.hxx>
#include <gp_Circ.hxx>
#include <gp_Lin2d.hxx>
#include <gp_Circ2d.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <BRep_Builder.hxx>
#include <Geom_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Pln.hxx>
#include <gp_Lin.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>

// module includes
#include <BRepPrim_Builder.hxx>
#include <BRepPrim_Cone.hxx>
#include <BRepPrim_Cylinder.hxx>
#include <BRepPrim_Direction.hxx>
#include <BRepPrim_FaceBuilder.hxx>
#include <BRepPrim_GWedge.hxx>
#include <BRepPrim_OneAxis.hxx>
#include <BRepPrim_Revolution.hxx>
#include <BRepPrim_Sphere.hxx>
#include <BRepPrim_Torus.hxx>
#include <BRepPrim_Wedge.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_BRepPrim(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("BRepPrim"));
py::object klass;

//Python trampoline classes
    class Py_BRepPrim_OneAxis : public BRepPrim_OneAxis{
    public:
        using BRepPrim_OneAxis::BRepPrim_OneAxis;


        // public pure virtual
        TopoDS_Face MakeEmptyLateralFace() const  override { PYBIND11_OVERLOAD_PURE(TopoDS_Face,BRepPrim_OneAxis,MakeEmptyLateralFace,) };
        TopoDS_Edge MakeEmptyMeridianEdge(const Standard_Real Ang) const  override { PYBIND11_OVERLOAD_PURE(TopoDS_Edge,BRepPrim_OneAxis,MakeEmptyMeridianEdge,Ang) };
        void SetMeridianPCurve(TopoDS_Edge & E,const TopoDS_Face & F) const  override { PYBIND11_OVERLOAD_PURE(void,BRepPrim_OneAxis,SetMeridianPCurve,E,F) };
        gp_Pnt2d MeridianValue(const Standard_Real V) const  override { PYBIND11_OVERLOAD_PURE(gp_Pnt2d,BRepPrim_OneAxis,MeridianValue,V) };


        // protected pure virtual


        // private pure virtual

    };

// classes

    // Class BRepPrim_Builder from ./opencascade/BRepPrim_Builder.hxx
    klass = m.attr("BRepPrim_Builder");


    // nested enums

    static_cast<py::class_<BRepPrim_Builder , shared_ptr<BRepPrim_Builder>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const BRep_Builder & >()  , py::arg("B") )
    // custom constructors
    // methods
        .def("MakeShell",
             (void (BRepPrim_Builder::*)( TopoDS_Shell &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Shell &  ) const>(&BRepPrim_Builder::MakeShell),
             R"#(Make a empty Shell.)#"  , py::arg("S")
          )
        .def("MakeFace",
             (void (BRepPrim_Builder::*)( TopoDS_Face & ,  const gp_Pln &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Face & ,  const gp_Pln &  ) const>(&BRepPrim_Builder::MakeFace),
             R"#(Returns in <F> a Face built with the plane equation <P>. Used by all primitives.)#"  , py::arg("F"),  py::arg("P")
          )
        .def("MakeWire",
             (void (BRepPrim_Builder::*)( TopoDS_Wire &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Wire &  ) const>(&BRepPrim_Builder::MakeWire),
             R"#(Returns in <W> an empty Wire.)#"  , py::arg("W")
          )
        .def("MakeDegeneratedEdge",
             (void (BRepPrim_Builder::*)( TopoDS_Edge &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge &  ) const>(&BRepPrim_Builder::MakeDegeneratedEdge),
             R"#(Returns in <E> a degenerated edge.)#"  , py::arg("E")
          )
        .def("MakeEdge",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const gp_Lin &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const gp_Lin &  ) const>(&BRepPrim_Builder::MakeEdge),
             R"#(Returns in <E> an Edge built with the line equation <L>.)#"  , py::arg("E"),  py::arg("L")
          )
        .def("MakeEdge",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const gp_Circ &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const gp_Circ &  ) const>(&BRepPrim_Builder::MakeEdge),
             R"#(Returns in <E> an Edge built with the circle equation <C>.)#"  , py::arg("E"),  py::arg("C")
          )
        .def("SetPCurve",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Lin2d &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Lin2d &  ) const>(&BRepPrim_Builder::SetPCurve),
             R"#(Sets the line <L> to be the curve representing the edge <E> in the parametric space of the surface of <F>.)#"  , py::arg("E"),  py::arg("F"),  py::arg("L")
          )
        .def("SetPCurve",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Lin2d & ,  const gp_Lin2d &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Lin2d & ,  const gp_Lin2d &  ) const>(&BRepPrim_Builder::SetPCurve),
             R"#(Sets the lines <L1,L2> to be the curves representing the edge <E> in the parametric space of the closed surface of <F>.)#"  , py::arg("E"),  py::arg("F"),  py::arg("L1"),  py::arg("L2")
          )
        .def("SetPCurve",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Circ2d &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Face & ,  const gp_Circ2d &  ) const>(&BRepPrim_Builder::SetPCurve),
             R"#(Sets the circle <C> to be the curve representing the edge <E> in the parametric space of the surface of <F>.)#"  , py::arg("E"),  py::arg("F"),  py::arg("C")
          )
        .def("MakeVertex",
             (void (BRepPrim_Builder::*)( TopoDS_Vertex & ,  const gp_Pnt &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Vertex & ,  const gp_Pnt &  ) const>(&BRepPrim_Builder::MakeVertex),
             R"#(Returns in <V> a Vertex built with the point <P>.)#"  , py::arg("V"),  py::arg("P")
          )
        .def("ReverseFace",
             (void (BRepPrim_Builder::*)( TopoDS_Face &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Face &  ) const>(&BRepPrim_Builder::ReverseFace),
             R"#(Reverses the Face <F>.)#"  , py::arg("F")
          )
        .def("AddEdgeVertex",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Boolean  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Boolean  ) const>(&BRepPrim_Builder::AddEdgeVertex),
             R"#(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.)#"  , py::arg("E"),  py::arg("V"),  py::arg("P"),  py::arg("direct")
          )
        .def("AddEdgeVertex",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) const>(&BRepPrim_Builder::AddEdgeVertex),
             R"#(Adds the Vertex <V> in the Edge <E>. <P1,P2> are the parameters of the vertex on the closed edge.)#"  , py::arg("E"),  py::arg("V"),  py::arg("P1"),  py::arg("P2")
          )
        .def("SetParameters",
             (void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge & ,  const TopoDS_Vertex & ,  const Standard_Real ,  const Standard_Real  ) const>(&BRepPrim_Builder::SetParameters),
             R"#(<P1,P2> are the parameters of the vertex on the edge. The edge is a closed curve.)#"  , py::arg("E"),  py::arg("V"),  py::arg("P1"),  py::arg("P2")
          )
        .def("AddWireEdge",
             (void (BRepPrim_Builder::*)( TopoDS_Wire & ,  const TopoDS_Edge & ,  const Standard_Boolean  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Wire & ,  const TopoDS_Edge & ,  const Standard_Boolean  ) const>(&BRepPrim_Builder::AddWireEdge),
             R"#(Adds the Edge <E> in the Wire <W>, if direct is False the Edge is reversed.)#"  , py::arg("W"),  py::arg("E"),  py::arg("direct")
          )
        .def("AddFaceWire",
             (void (BRepPrim_Builder::*)( TopoDS_Face & ,  const TopoDS_Wire &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Face & ,  const TopoDS_Wire &  ) const>(&BRepPrim_Builder::AddFaceWire),
             R"#(Adds the Wire <W> in the Face <F>.)#"  , py::arg("F"),  py::arg("W")
          )
        .def("AddShellFace",
             (void (BRepPrim_Builder::*)( TopoDS_Shell & ,  const TopoDS_Face &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Shell & ,  const TopoDS_Face &  ) const>(&BRepPrim_Builder::AddShellFace),
             R"#(Adds the Face <F> in the Shell <Sh>.)#"  , py::arg("Sh"),  py::arg("F")
          )
        .def("CompleteEdge",
             (void (BRepPrim_Builder::*)( TopoDS_Edge &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Edge &  ) const>(&BRepPrim_Builder::CompleteEdge),
             R"#(This is called once an edge is completed. It gives the opportunity to perform any post treatment.)#"  , py::arg("E")
          )
        .def("CompleteWire",
             (void (BRepPrim_Builder::*)( TopoDS_Wire &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Wire &  ) const>(&BRepPrim_Builder::CompleteWire),
             R"#(This is called once a wire is completed. It gives the opportunity to perform any post treatment.)#"  , py::arg("W")
          )
        .def("CompleteFace",
             (void (BRepPrim_Builder::*)( TopoDS_Face &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Face &  ) const>(&BRepPrim_Builder::CompleteFace),
             R"#(This is called once a face is completed. It gives the opportunity to perform any post treatment.)#"  , py::arg("F")
          )
        .def("CompleteShell",
             (void (BRepPrim_Builder::*)( TopoDS_Shell &  ) const) static_cast<void (BRepPrim_Builder::*)( TopoDS_Shell &  ) const>(&BRepPrim_Builder::CompleteShell),
             R"#(This is called once a shell is completed. It gives the opportunity to perform any post treatment.)#"  , py::arg("S")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Builder",
             (const BRep_Builder & (BRepPrim_Builder::*)() const) static_cast<const BRep_Builder & (BRepPrim_Builder::*)() const>(&BRepPrim_Builder::Builder),
             R"#(None)#"
             
         )
       .def("Builder",
             (const BRep_Builder & (BRepPrim_Builder::*)() const) static_cast<const BRep_Builder & (BRepPrim_Builder::*)() const>(&BRepPrim_Builder::Builder),
             R"#(None)#"
             
         )
;

    // Class BRepPrim_FaceBuilder from ./opencascade/BRepPrim_FaceBuilder.hxx
    klass = m.attr("BRepPrim_FaceBuilder");


    // nested enums

    static_cast<py::class_<BRepPrim_FaceBuilder , shared_ptr<BRepPrim_FaceBuilder>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const BRep_Builder &,const opencascade::handle<Geom_Surface> & >()  , py::arg("B"),  py::arg("S") )
        .def(py::init< const BRep_Builder &,const opencascade::handle<Geom_Surface> &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("B"),  py::arg("S"),  py::arg("UMin"),  py::arg("UMax"),  py::arg("VMin"),  py::arg("VMax") )
    // custom constructors
    // methods
        .def("Init",
             (void (BRepPrim_FaceBuilder::*)( const BRep_Builder & ,  const opencascade::handle<Geom_Surface> &  ) ) static_cast<void (BRepPrim_FaceBuilder::*)( const BRep_Builder & ,  const opencascade::handle<Geom_Surface> &  ) >(&BRepPrim_FaceBuilder::Init),
             R"#(None)#"  , py::arg("B"),  py::arg("S")
          )
        .def("Init",
             (void (BRepPrim_FaceBuilder::*)( const BRep_Builder & ,  const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (BRepPrim_FaceBuilder::*)( const BRep_Builder & ,  const opencascade::handle<Geom_Surface> & ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real ,  const Standard_Real  ) >(&BRepPrim_FaceBuilder::Init),
             R"#(None)#"  , py::arg("B"),  py::arg("S"),  py::arg("UMin"),  py::arg("UMax"),  py::arg("VMin"),  py::arg("VMax")
          )
        .def("Edge",
             (const TopoDS_Edge & (BRepPrim_FaceBuilder::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Edge & (BRepPrim_FaceBuilder::*)( const Standard_Integer  ) const>(&BRepPrim_FaceBuilder::Edge),
             R"#(Returns the edge of index <I> 1 - Edge VMin 2 - Edge UMax 3 - Edge VMax 4 - Edge UMin)#"  , py::arg("I")
          )
        .def("Vertex",
             (const TopoDS_Vertex & (BRepPrim_FaceBuilder::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Vertex & (BRepPrim_FaceBuilder::*)( const Standard_Integer  ) const>(&BRepPrim_FaceBuilder::Vertex),
             R"#(Returns the vertex of index <I> 1 - Vertex UMin,VMin 2 - Vertex UMax,VMin 3 - Vertex UMax,VMax 4 - Vertex UMin,VMax)#"  , py::arg("I")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Face",
             (const TopoDS_Face & (BRepPrim_FaceBuilder::*)() const) static_cast<const TopoDS_Face & (BRepPrim_FaceBuilder::*)() const>(&BRepPrim_FaceBuilder::Face),
             R"#(None)#"
             
         )
;

    // Class BRepPrim_GWedge from ./opencascade/BRepPrim_GWedge.hxx
    klass = m.attr("BRepPrim_GWedge");


    // nested enums

    static_cast<py::class_<BRepPrim_GWedge , shared_ptr<BRepPrim_GWedge>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const BRepPrim_Builder &,const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("B"),  py::arg("Axes"),  py::arg("dx"),  py::arg("dy"),  py::arg("dz") )
        .def(py::init< const BRepPrim_Builder &,const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("B"),  py::arg("Axes"),  py::arg("dx"),  py::arg("dy"),  py::arg("dz"),  py::arg("ltx") )
        .def(py::init< const BRepPrim_Builder &,const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("B"),  py::arg("Axes"),  py::arg("xmin"),  py::arg("ymin"),  py::arg("zmin"),  py::arg("z2min"),  py::arg("x2min"),  py::arg("xmax"),  py::arg("ymax"),  py::arg("zmax"),  py::arg("z2max"),  py::arg("x2max") )
    // custom constructors
    // methods
        .def("Axes",
             (gp_Ax2 (BRepPrim_GWedge::*)() const) static_cast<gp_Ax2 (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::Axes),
             R"#(Returns the coordinates system from <me>.)#" 
          )
        .def("GetXMin",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetXMin),
             R"#(Returns Xmin value from <me>.)#" 
          )
        .def("GetYMin",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetYMin),
             R"#(Returns YMin value from <me>.)#" 
          )
        .def("GetZMin",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetZMin),
             R"#(Returns ZMin value from <me>.)#" 
          )
        .def("GetZ2Min",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetZ2Min),
             R"#(Returns Z2Min value from <me>.)#" 
          )
        .def("GetX2Min",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetX2Min),
             R"#(Returns X2Min value from <me>.)#" 
          )
        .def("GetXMax",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetXMax),
             R"#(Returns XMax value from <me>.)#" 
          )
        .def("GetYMax",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetYMax),
             R"#(Returns YMax value from <me>.)#" 
          )
        .def("GetZMax",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetZMax),
             R"#(Returns ZMax value from <me>.)#" 
          )
        .def("GetZ2Max",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetZ2Max),
             R"#(Returns Z2Max value from <me>.)#" 
          )
        .def("GetX2Max",
             (Standard_Real (BRepPrim_GWedge::*)() const) static_cast<Standard_Real (BRepPrim_GWedge::*)() const>(&BRepPrim_GWedge::GetX2Max),
             R"#(Returns X2Max value from <me>.)#" 
          )
        .def("Open",
             (void (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) ) static_cast<void (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Open),
             R"#(Opens <me> in <d1> direction. A face and its edges or vertices are said nonexistant.)#"  , py::arg("d1")
          )
        .def("Close",
             (void (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) ) static_cast<void (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Close),
             R"#(Closes <me> in <d1> direction. A face and its edges or vertices are said existant.)#"  , py::arg("d1")
          )
        .def("IsInfinite",
             (Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const) static_cast<Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const>(&BRepPrim_GWedge::IsInfinite),
             R"#(Returns True if <me> is open in <d1> direction.)#"  , py::arg("d1")
          )
        .def("HasFace",
             (Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const) static_cast<Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const>(&BRepPrim_GWedge::HasFace),
             R"#(Returns True if <me> has a Face in <d1> direction.)#"  , py::arg("d1")
          )
        .def("Face",
             (const TopoDS_Face & (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) ) static_cast<const TopoDS_Face & (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Face),
             R"#(Returns the Face of <me> located in <d1> direction.)#"  , py::arg("d1")
          )
        .def("Plane",
             (gp_Pln (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) ) static_cast<gp_Pln (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Plane),
             R"#(Returns the plane of the Face of <me> located in <d1> direction.)#"  , py::arg("d1")
          )
        .def("HasWire",
             (Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const) static_cast<Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) const>(&BRepPrim_GWedge::HasWire),
             R"#(Returns True if <me> has a Wire in <d1> direction.)#"  , py::arg("d1")
          )
        .def("Wire",
             (const TopoDS_Wire & (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) ) static_cast<const TopoDS_Wire & (BRepPrim_GWedge::*)( const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Wire),
             R"#(Returns the Wire of <me> located in <d1> direction.)#"  , py::arg("d1")
          )
        .def("HasEdge",
             (Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) const) static_cast<Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) const>(&BRepPrim_GWedge::HasEdge),
             R"#(Returns True if <me> has an Edge in <d1><d2> direction.)#"  , py::arg("d1"),  py::arg("d2")
          )
        .def("Edge",
             (const TopoDS_Edge & (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) ) static_cast<const TopoDS_Edge & (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Edge),
             R"#(Returns the Edge of <me> located in <d1><d2> direction.)#"  , py::arg("d1"),  py::arg("d2")
          )
        .def("Line",
             (gp_Lin (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) ) static_cast<gp_Lin (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Line),
             R"#(Returns the line of the Edge of <me> located in <d1><d2> direction.)#"  , py::arg("d1"),  py::arg("d2")
          )
        .def("HasVertex",
             (Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) const) static_cast<Standard_Boolean (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) const>(&BRepPrim_GWedge::HasVertex),
             R"#(Returns True if <me> has a Vertex in <d1><d2><d3> direction.)#"  , py::arg("d1"),  py::arg("d2"),  py::arg("d3")
          )
        .def("Vertex",
             (const TopoDS_Vertex & (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) ) static_cast<const TopoDS_Vertex & (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Vertex),
             R"#(Returns the Vertex of <me> located in <d1><d2><d3> direction.)#"  , py::arg("d1"),  py::arg("d2"),  py::arg("d3")
          )
        .def("Point",
             (gp_Pnt (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) ) static_cast<gp_Pnt (BRepPrim_GWedge::*)( const BRepPrim_Direction ,  const BRepPrim_Direction ,  const BRepPrim_Direction  ) >(&BRepPrim_GWedge::Point),
             R"#(Returns the point of the Vertex of <me> located in <d1><d2><d3> direction.)#"  , py::arg("d1"),  py::arg("d2"),  py::arg("d3")
          )
        .def("IsDegeneratedShape",
             (Standard_Boolean (BRepPrim_GWedge::*)() ) static_cast<Standard_Boolean (BRepPrim_GWedge::*)() >(&BRepPrim_GWedge::IsDegeneratedShape),
             R"#(Checks a shape on degeneracy)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Shell",
             (const TopoDS_Shell & (BRepPrim_GWedge::*)() ) static_cast<const TopoDS_Shell & (BRepPrim_GWedge::*)() >(&BRepPrim_GWedge::Shell),
             R"#(Returns the Shell containing the Faces of <me>.)#"
             
         )
;

    // Class BRepPrim_OneAxis from ./opencascade/BRepPrim_OneAxis.hxx
    klass = m.attr("BRepPrim_OneAxis");


    // nested enums

    static_cast<py::class_<BRepPrim_OneAxis , shared_ptr<BRepPrim_OneAxis> ,Py_BRepPrim_OneAxis >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("SetMeridianOffset",
             (void (BRepPrim_OneAxis::*)( const Standard_Real  ) ) static_cast<void (BRepPrim_OneAxis::*)( const Standard_Real  ) >(&BRepPrim_OneAxis::SetMeridianOffset),
             R"#(The MeridianOffset is added to the parameters on the meridian curve and to the V values of the pcurves. This is used for the sphere for example, to give a range on the meridian edge which is not VMin, VMax.)#"  , py::arg("MeridianOffset")=static_cast<const Standard_Real>(0)
          )
        .def("Axes",
             (void (BRepPrim_OneAxis::*)( const gp_Ax2 &  ) ) static_cast<void (BRepPrim_OneAxis::*)( const gp_Ax2 &  ) >(&BRepPrim_OneAxis::Axes),
             R"#(None)#"  , py::arg("A")
          )
        .def("Angle",
             (Standard_Real (BRepPrim_OneAxis::*)() const) static_cast<Standard_Real (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::Angle),
             R"#(None)#" 
          )
        .def("Angle",
             (void (BRepPrim_OneAxis::*)( const Standard_Real  ) ) static_cast<void (BRepPrim_OneAxis::*)( const Standard_Real  ) >(&BRepPrim_OneAxis::Angle),
             R"#(None)#"  , py::arg("A")
          )
        .def("VMin",
             (Standard_Real (BRepPrim_OneAxis::*)() const) static_cast<Standard_Real (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::VMin),
             R"#(None)#" 
          )
        .def("VMin",
             (void (BRepPrim_OneAxis::*)( const Standard_Real  ) ) static_cast<void (BRepPrim_OneAxis::*)( const Standard_Real  ) >(&BRepPrim_OneAxis::VMin),
             R"#(None)#"  , py::arg("V")
          )
        .def("VMax",
             (Standard_Real (BRepPrim_OneAxis::*)() const) static_cast<Standard_Real (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::VMax),
             R"#(None)#" 
          )
        .def("VMax",
             (void (BRepPrim_OneAxis::*)( const Standard_Real  ) ) static_cast<void (BRepPrim_OneAxis::*)( const Standard_Real  ) >(&BRepPrim_OneAxis::VMax),
             R"#(None)#"  , py::arg("V")
          )
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_OneAxis::*)() const) static_cast<TopoDS_Face (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::MakeEmptyLateralFace),
             R"#(Returns a face with no edges. The surface is the lateral surface with normals pointing outward. The U parameter is the angle with the origin on the X axis. The V parameter is the parameter of the meridian.)#" 
          )
        .def("MakeEmptyMeridianEdge",
             (TopoDS_Edge (BRepPrim_OneAxis::*)( const Standard_Real  ) const) static_cast<TopoDS_Edge (BRepPrim_OneAxis::*)( const Standard_Real  ) const>(&BRepPrim_OneAxis::MakeEmptyMeridianEdge),
             R"#(Returns an edge with a 3D curve made from the meridian in the XZ plane rotated by <Ang> around the Z-axis. Ang may be 0 or myAngle.)#"  , py::arg("Ang")
          )
        .def("SetMeridianPCurve",
             (void (BRepPrim_OneAxis::*)( TopoDS_Edge & ,  const TopoDS_Face &  ) const) static_cast<void (BRepPrim_OneAxis::*)( TopoDS_Edge & ,  const TopoDS_Face &  ) const>(&BRepPrim_OneAxis::SetMeridianPCurve),
             R"#(Sets the parametric curve of the edge <E> in the face <F> to be the 2d representation of the meridian.)#"  , py::arg("E"),  py::arg("F")
          )
        .def("MeridianValue",
             (gp_Pnt2d (BRepPrim_OneAxis::*)( const Standard_Real  ) const) static_cast<gp_Pnt2d (BRepPrim_OneAxis::*)( const Standard_Real  ) const>(&BRepPrim_OneAxis::MeridianValue),
             R"#(Returns the meridian point at parameter <V> in the plane XZ.)#"  , py::arg("V")
          )
        .def("MeridianOnAxis",
             (Standard_Boolean (BRepPrim_OneAxis::*)( const Standard_Real  ) const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)( const Standard_Real  ) const>(&BRepPrim_OneAxis::MeridianOnAxis),
             R"#(Returns True if the point of parameter <V> on the meridian is on the Axis. Default implementation is Abs(MeridianValue(V).X()) < Precision::Confusion())#"  , py::arg("V")
          )
        .def("MeridianClosed",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::MeridianClosed),
             R"#(Returns True if the meridian is closed. Default implementation is MeridianValue(VMin).IsEqual(MeridianValue(VMax), Precision::Confusion()))#" 
          )
        .def("VMaxInfinite",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::VMaxInfinite),
             R"#(Returns True if VMax is infinite. Default Precision::IsPositiveInfinite(VMax);)#" 
          )
        .def("VMinInfinite",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::VMinInfinite),
             R"#(Returns True if VMin is infinite. Default Precision::IsNegativeInfinite(VMax);)#" 
          )
        .def("HasTop",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::HasTop),
             R"#(Returns True if there is a top face.)#" 
          )
        .def("HasBottom",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::HasBottom),
             R"#(Returns True if there is a bottom face.)#" 
          )
        .def("HasSides",
             (Standard_Boolean (BRepPrim_OneAxis::*)() const) static_cast<Standard_Boolean (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::HasSides),
             R"#(Returns True if there are Start and End faces.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Axes",
             (const gp_Ax2 & (BRepPrim_OneAxis::*)() const) static_cast<const gp_Ax2 & (BRepPrim_OneAxis::*)() const>(&BRepPrim_OneAxis::Axes),
             R"#(Returns the Ax2 from <me>.)#"
             
         )
       .def("Shell",
             (const TopoDS_Shell & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Shell & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::Shell),
             R"#(Returns the Shell containing all the Faces of the primitive.)#"
             
         )
       .def("LateralFace",
             (const TopoDS_Face & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Face & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::LateralFace),
             R"#(Returns the lateral Face. It is oriented toward the outside of the primitive.)#"
             
         )
       .def("TopFace",
             (const TopoDS_Face & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Face & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::TopFace),
             R"#(Returns the top planar Face. It is Oriented toward the +Z axis (outside).)#"
             
         )
       .def("BottomFace",
             (const TopoDS_Face & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Face & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::BottomFace),
             R"#(Returns the Bottom planar Face. It is Oriented toward the -Z axis (outside).)#"
             
         )
       .def("StartFace",
             (const TopoDS_Face & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Face & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::StartFace),
             R"#(Returns the Face starting the slice, it is oriented toward the exterior of the primitive.)#"
             
         )
       .def("EndFace",
             (const TopoDS_Face & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Face & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::EndFace),
             R"#(Returns the Face ending the slice, it is oriented toward the exterior of the primitive.)#"
             
         )
       .def("LateralWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::LateralWire),
             R"#(Returns the wire in the lateral face.)#"
             
         )
       .def("LateralStartWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::LateralStartWire),
             R"#(Returns the wire in the lateral face with the start edge.)#"
             
         )
       .def("LateralEndWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::LateralEndWire),
             R"#(Returns the wire with in lateral face with the end edge.)#"
             
         )
       .def("TopWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::TopWire),
             R"#(Returns the wire in the top face.)#"
             
         )
       .def("BottomWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::BottomWire),
             R"#(Returns the wire in the bottom face.)#"
             
         )
       .def("StartWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::StartWire),
             R"#(Returns the wire in the start face.)#"
             
         )
       .def("AxisStartWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::AxisStartWire),
             R"#(Returns the wire in the start face with the AxisEdge.)#"
             
         )
       .def("EndWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::EndWire),
             R"#(Returns the Wire in the end face.)#"
             
         )
       .def("AxisEndWire",
             (const TopoDS_Wire & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Wire & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::AxisEndWire),
             R"#(Returns the Wire in the end face with the AxisEdge.)#"
             
         )
       .def("AxisEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::AxisEdge),
             R"#(Returns the Edge built along the Axis and oriented on +Z of the Axis.)#"
             
         )
       .def("StartEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::StartEdge),
             R"#(Returns the Edge at angle 0.)#"
             
         )
       .def("EndEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::EndEdge),
             R"#(Returns the Edge at angle Angle. If !HasSides() the StartEdge and the EndEdge are the same edge.)#"
             
         )
       .def("StartTopEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::StartTopEdge),
             R"#(Returns the linear Edge between start Face and top Face.)#"
             
         )
       .def("StartBottomEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::StartBottomEdge),
             R"#(Returns the linear Edge between start Face and bottom Face.)#"
             
         )
       .def("EndTopEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::EndTopEdge),
             R"#(Returns the linear Edge between end Face and top Face.)#"
             
         )
       .def("EndBottomEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::EndBottomEdge),
             R"#(Returns the linear Edge between end Face and bottom Face.)#"
             
         )
       .def("TopEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::TopEdge),
             R"#(Returns the edge at VMax. If MeridianClosed() the TopEdge and the BottomEdge are the same edge.)#"
             
         )
       .def("BottomEdge",
             (const TopoDS_Edge & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Edge & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::BottomEdge),
             R"#(Returns the edge at VMin. If MeridianClosed() the TopEdge and the BottomEdge are the same edge.)#"
             
         )
       .def("AxisTopVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::AxisTopVertex),
             R"#(Returns the Vertex at the Top altitude on the axis.)#"
             
         )
       .def("AxisBottomVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::AxisBottomVertex),
             R"#(Returns the Vertex at the Bottom altitude on the axis.)#"
             
         )
       .def("TopStartVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::TopStartVertex),
             R"#(Returns the vertex (0,VMax))#"
             
         )
       .def("TopEndVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::TopEndVertex),
             R"#(Returns the vertex (angle,VMax))#"
             
         )
       .def("BottomStartVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::BottomStartVertex),
             R"#(Returns the vertex (0,VMin))#"
             
         )
       .def("BottomEndVertex",
             (const TopoDS_Vertex & (BRepPrim_OneAxis::*)() ) static_cast<const TopoDS_Vertex & (BRepPrim_OneAxis::*)() >(&BRepPrim_OneAxis::BottomEndVertex),
             R"#(Returns the vertex (angle,VMax))#"
             
         )
;

    // Class BRepPrim_Revolution from ./opencascade/BRepPrim_Revolution.hxx
    klass = m.attr("BRepPrim_Revolution");


    // nested enums

    static_cast<py::class_<BRepPrim_Revolution , shared_ptr<BRepPrim_Revolution>  , BRepPrim_OneAxis >>(klass)
    // constructors
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real,const opencascade::handle<Geom_Curve> &,const opencascade::handle<Geom2d_Curve> & >()  , py::arg("A"),  py::arg("VMin"),  py::arg("VMax"),  py::arg("M"),  py::arg("PM") )
    // custom constructors
    // methods
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_Revolution::*)() const) static_cast<TopoDS_Face (BRepPrim_Revolution::*)() const>(&BRepPrim_Revolution::MakeEmptyLateralFace),
             R"#(The surface normal should be directed towards the outside.)#" 
          )
        .def("MakeEmptyMeridianEdge",
             (TopoDS_Edge (BRepPrim_Revolution::*)( const Standard_Real  ) const) static_cast<TopoDS_Edge (BRepPrim_Revolution::*)( const Standard_Real  ) const>(&BRepPrim_Revolution::MakeEmptyMeridianEdge),
             R"#(Returns an edge with a 3D curve made from the meridian in the XZ plane rotated by <Ang> around the Z-axis. Ang may be 0 or myAngle.)#"  , py::arg("Ang")
          )
        .def("MeridianValue",
             (gp_Pnt2d (BRepPrim_Revolution::*)( const Standard_Real  ) const) static_cast<gp_Pnt2d (BRepPrim_Revolution::*)( const Standard_Real  ) const>(&BRepPrim_Revolution::MeridianValue),
             R"#(Returns the meridian point at parameter <V> in the plane XZ.)#"  , py::arg("V")
          )
        .def("SetMeridianPCurve",
             (void (BRepPrim_Revolution::*)( TopoDS_Edge & ,  const TopoDS_Face &  ) const) static_cast<void (BRepPrim_Revolution::*)( TopoDS_Edge & ,  const TopoDS_Face &  ) const>(&BRepPrim_Revolution::SetMeridianPCurve),
             R"#(Sets the parametric urve of the edge <E> in the face <F> to be the 2d representation of the meridian.)#"  , py::arg("E"),  py::arg("F")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepPrim_Wedge from ./opencascade/BRepPrim_Wedge.hxx
    klass = m.attr("BRepPrim_Wedge");


    // nested enums

    static_cast<py::class_<BRepPrim_Wedge , shared_ptr<BRepPrim_Wedge>  , BRepPrim_GWedge >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("Axes"),  py::arg("dx"),  py::arg("dy"),  py::arg("dz") )
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("Axes"),  py::arg("dx"),  py::arg("dy"),  py::arg("dz"),  py::arg("ltx") )
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("Axes"),  py::arg("xmin"),  py::arg("ymin"),  py::arg("zmin"),  py::arg("z2min"),  py::arg("x2min"),  py::arg("xmax"),  py::arg("ymax"),  py::arg("zmax"),  py::arg("z2max"),  py::arg("x2max") )
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepPrim_Cone from ./opencascade/BRepPrim_Cone.hxx
    klass = m.attr("BRepPrim_Cone");


    // nested enums

    static_cast<py::class_<BRepPrim_Cone , shared_ptr<BRepPrim_Cone>  , BRepPrim_Revolution >>(klass)
    // constructors
        .def(py::init< const Standard_Real,const gp_Ax2 &,const Standard_Real,const Standard_Real >()  , py::arg("Angle"),  py::arg("Position"),  py::arg("Height"),  py::arg("Radius")=static_cast<const Standard_Real>(0) )
        .def(py::init< const Standard_Real >()  , py::arg("Angle") )
        .def(py::init< const Standard_Real,const gp_Pnt & >()  , py::arg("Angle"),  py::arg("Apex") )
        .def(py::init< const Standard_Real,const gp_Ax2 & >()  , py::arg("Angle"),  py::arg("Axes") )
        .def(py::init< const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("R1"),  py::arg("R2"),  py::arg("H") )
        .def(py::init< const gp_Pnt &,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("Center"),  py::arg("R1"),  py::arg("R2"),  py::arg("H") )
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real,const Standard_Real >()  , py::arg("Axes"),  py::arg("R1"),  py::arg("R2"),  py::arg("H") )
    // custom constructors
    // methods
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_Cone::*)() const) static_cast<TopoDS_Face (BRepPrim_Cone::*)() const>(&BRepPrim_Cone::MakeEmptyLateralFace),
             R"#(The surface normal should be directed towards the outside.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepPrim_Cylinder from ./opencascade/BRepPrim_Cylinder.hxx
    klass = m.attr("BRepPrim_Cylinder");


    // nested enums

    static_cast<py::class_<BRepPrim_Cylinder , shared_ptr<BRepPrim_Cylinder>  , BRepPrim_Revolution >>(klass)
    // constructors
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real >()  , py::arg("Position"),  py::arg("Radius"),  py::arg("Height") )
        .def(py::init< const Standard_Real >()  , py::arg("Radius") )
        .def(py::init< const gp_Pnt &,const Standard_Real >()  , py::arg("Center"),  py::arg("Radius") )
        .def(py::init< const gp_Ax2 &,const Standard_Real >()  , py::arg("Axes"),  py::arg("Radius") )
        .def(py::init< const Standard_Real,const Standard_Real >()  , py::arg("R"),  py::arg("H") )
        .def(py::init< const gp_Pnt &,const Standard_Real,const Standard_Real >()  , py::arg("Center"),  py::arg("R"),  py::arg("H") )
    // custom constructors
    // methods
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_Cylinder::*)() const) static_cast<TopoDS_Face (BRepPrim_Cylinder::*)() const>(&BRepPrim_Cylinder::MakeEmptyLateralFace),
             R"#(The surface normal should be directed towards the outside.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepPrim_Sphere from ./opencascade/BRepPrim_Sphere.hxx
    klass = m.attr("BRepPrim_Sphere");


    // nested enums

    static_cast<py::class_<BRepPrim_Sphere , shared_ptr<BRepPrim_Sphere>  , BRepPrim_Revolution >>(klass)
    // constructors
        .def(py::init< const Standard_Real >()  , py::arg("Radius") )
        .def(py::init< const gp_Pnt &,const Standard_Real >()  , py::arg("Center"),  py::arg("Radius") )
        .def(py::init< const gp_Ax2 &,const Standard_Real >()  , py::arg("Axes"),  py::arg("Radius") )
    // custom constructors
    // methods
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_Sphere::*)() const) static_cast<TopoDS_Face (BRepPrim_Sphere::*)() const>(&BRepPrim_Sphere::MakeEmptyLateralFace),
             R"#(The surface normal should be directed towards the outside.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class BRepPrim_Torus from ./opencascade/BRepPrim_Torus.hxx
    klass = m.attr("BRepPrim_Torus");


    // nested enums

    static_cast<py::class_<BRepPrim_Torus , shared_ptr<BRepPrim_Torus>  , BRepPrim_Revolution >>(klass)
    // constructors
        .def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real >()  , py::arg("Position"),  py::arg("Major"),  py::arg("Minor") )
        .def(py::init< const Standard_Real,const Standard_Real >()  , py::arg("Major"),  py::arg("Minor") )
        .def(py::init< const gp_Pnt &,const Standard_Real,const Standard_Real >()  , py::arg("Center"),  py::arg("Major"),  py::arg("Minor") )
    // custom constructors
    // methods
        .def("MakeEmptyLateralFace",
             (TopoDS_Face (BRepPrim_Torus::*)() const) static_cast<TopoDS_Face (BRepPrim_Torus::*)() const>(&BRepPrim_Torus::MakeEmptyLateralFace),
             R"#(The surface normal should be directed towards the outside.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

// functions
// ./opencascade/BRepPrim_Builder.hxx
// ./opencascade/BRepPrim_Cone.hxx
// ./opencascade/BRepPrim_Cylinder.hxx
// ./opencascade/BRepPrim_Direction.hxx
// ./opencascade/BRepPrim_FaceBuilder.hxx
// ./opencascade/BRepPrim_GWedge.hxx
// ./opencascade/BRepPrim_OneAxis.hxx
// ./opencascade/BRepPrim_Revolution.hxx
// ./opencascade/BRepPrim_Sphere.hxx
// ./opencascade/BRepPrim_Torus.hxx
// ./opencascade/BRepPrim_Wedge.hxx

// Additional functions

// operators

// register typdefs


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post