File: Geom2dHatch.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 (772 lines) | stat: -rw-r--r-- 49,219 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

// 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 <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>

// module includes
#include <Geom2dHatch_Classifier.hxx>
#include <Geom2dHatch_DataMapIteratorOfHatchings.hxx>
#include <Geom2dHatch_DataMapIteratorOfMapOfElements.hxx>
#include <Geom2dHatch_Element.hxx>
#include <Geom2dHatch_Elements.hxx>
#include <Geom2dHatch_FClass2dOfClassifier.hxx>
#include <Geom2dHatch_Hatcher.hxx>
#include <Geom2dHatch_Hatching.hxx>
#include <Geom2dHatch_Hatchings.hxx>
#include <Geom2dHatch_Intersector.hxx>
#include <Geom2dHatch_MapOfElements.hxx>

// template related includes

// ./opencascade/Geom2dHatch_Hatchings.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/Geom2dHatch_MapOfElements.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/Geom2dHatch_MapOfElements.hxx
#include "NCollection_tmpl.hxx"


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Classifier , shared_ptr<Geom2dHatch_Classifier>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< Geom2dHatch_Elements &,const gp_Pnt2d &,const Standard_Real >()  , py::arg("F"),  py::arg("P"),  py::arg("Tol") )
    // custom constructors
    // methods
        .def("Perform",
             (void (Geom2dHatch_Classifier::*)( Geom2dHatch_Elements & ,  const gp_Pnt2d & ,  const Standard_Real  ) ) static_cast<void (Geom2dHatch_Classifier::*)( Geom2dHatch_Elements & ,  const gp_Pnt2d & ,  const Standard_Real  ) >(&Geom2dHatch_Classifier::Perform),
             R"#(Classify the Point P with Tolerance <T> on the face described by <F>.)#"  , py::arg("F"),  py::arg("P"),  py::arg("Tol")
          )
        .def("State",
             (TopAbs_State (Geom2dHatch_Classifier::*)() const) static_cast<TopAbs_State (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::State),
             R"#(Returns the result of the classification.)#" 
          )
        .def("Rejected",
             (Standard_Boolean (Geom2dHatch_Classifier::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::Rejected),
             R"#(Returns True when the state was computed by a rejection. The state is OUT.)#" 
          )
        .def("NoWires",
             (Standard_Boolean (Geom2dHatch_Classifier::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::NoWires),
             R"#(Returns True if the face contains no wire. The state is IN.)#" 
          )
        .def("EdgeParameter",
             (Standard_Real (Geom2dHatch_Classifier::*)() const) static_cast<Standard_Real (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::EdgeParameter),
             R"#(Returns the parameter on Edge() used to determine the classification.)#" 
          )
        .def("Position",
             (IntRes2d_Position (Geom2dHatch_Classifier::*)() const) static_cast<IntRes2d_Position (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::Position),
             R"#(Returns the position of the point on the edge returned by Edge.)#" 
          )
    // 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("Edge",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Classifier::*)() const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Classifier::*)() const>(&Geom2dHatch_Classifier::Edge),
             R"#(Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Element , shared_ptr<Geom2dHatch_Element>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Geom2dAdaptor_Curve &,const TopAbs_Orientation >()  , py::arg("Curve"),  py::arg("Orientation")=static_cast<const TopAbs_Orientation>(TopAbs_FORWARD) )
    // custom constructors
    // methods
        .def("Orientation",
             (void (Geom2dHatch_Element::*)( const TopAbs_Orientation  ) ) static_cast<void (Geom2dHatch_Element::*)( const TopAbs_Orientation  ) >(&Geom2dHatch_Element::Orientation),
             R"#(Sets the orientation of the element.)#"  , py::arg("Orientation")
          )
        .def("Orientation",
             (TopAbs_Orientation (Geom2dHatch_Element::*)() const) static_cast<TopAbs_Orientation (Geom2dHatch_Element::*)() const>(&Geom2dHatch_Element::Orientation),
             R"#(Returns the orientation of the element.)#" 
          )
    // 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("Curve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Element::*)() const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Element::*)() const>(&Geom2dHatch_Element::Curve),
             R"#(Returns the curve associated to the element.)#"
             
         )
       .def("ChangeCurve",
             (Geom2dAdaptor_Curve & (Geom2dHatch_Element::*)() ) static_cast<Geom2dAdaptor_Curve & (Geom2dHatch_Element::*)() >(&Geom2dHatch_Element::ChangeCurve),
             R"#(Returns the curve associated to the element.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Elements , shared_ptr<Geom2dHatch_Elements>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Geom2dHatch_Elements & >()  , py::arg("Other") )
    // custom constructors
    // methods
        .def("Clear",
             (void (Geom2dHatch_Elements::*)() ) static_cast<void (Geom2dHatch_Elements::*)() >(&Geom2dHatch_Elements::Clear),
             R"#(None)#" 
          )
        .def("Bind",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer ,  const Geom2dHatch_Element &  ) ) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer ,  const Geom2dHatch_Element &  ) >(&Geom2dHatch_Elements::Bind),
             R"#(None)#"  , py::arg("K"),  py::arg("I")
          )
        .def("IsBound",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer  ) const>(&Geom2dHatch_Elements::IsBound),
             R"#(None)#"  , py::arg("K")
          )
        .def("UnBind",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer  ) ) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const Standard_Integer  ) >(&Geom2dHatch_Elements::UnBind),
             R"#(None)#"  , py::arg("K")
          )
        .def("Find",
             (const Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) const) static_cast<const Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) const>(&Geom2dHatch_Elements::Find),
             R"#(None)#"  , py::arg("K")
          )
        .def("ChangeFind",
             (Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) ) static_cast<Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) >(&Geom2dHatch_Elements::ChangeFind),
             R"#(None)#"  , py::arg("K")
          )
        .def("CheckPoint",
             (Standard_Boolean (Geom2dHatch_Elements::*)( gp_Pnt2d &  ) ) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( gp_Pnt2d &  ) >(&Geom2dHatch_Elements::CheckPoint),
             R"#(None)#"  , py::arg("P")
          )
        .def("Reject",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d &  ) const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d &  ) const>(&Geom2dHatch_Elements::Reject),
             R"#(None)#"  , py::arg("P")
          )
        .def("Segment",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) >(&Geom2dHatch_Elements::Segment),
             R"#(None)#"  , py::arg("P"),  py::arg("L"),  py::arg("Par")
          )
        .def("OtherSegment",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) ) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Pnt2d & ,  gp_Lin2d & ,  Standard_Real &  ) >(&Geom2dHatch_Elements::OtherSegment),
             R"#(None)#"  , py::arg("P"),  py::arg("L"),  py::arg("Par")
          )
        .def("InitWires",
             (void (Geom2dHatch_Elements::*)() ) static_cast<void (Geom2dHatch_Elements::*)() >(&Geom2dHatch_Elements::InitWires),
             R"#(None)#" 
          )
        .def("MoreWires",
             (Standard_Boolean (Geom2dHatch_Elements::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)() const>(&Geom2dHatch_Elements::MoreWires),
             R"#(None)#" 
          )
        .def("NextWire",
             (void (Geom2dHatch_Elements::*)() ) static_cast<void (Geom2dHatch_Elements::*)() >(&Geom2dHatch_Elements::NextWire),
             R"#(None)#" 
          )
        .def("RejectWire",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Lin2d & ,  const Standard_Real  ) const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Lin2d & ,  const Standard_Real  ) const>(&Geom2dHatch_Elements::RejectWire),
             R"#(None)#"  , py::arg("L"),  py::arg("Par")
          )
        .def("InitEdges",
             (void (Geom2dHatch_Elements::*)() ) static_cast<void (Geom2dHatch_Elements::*)() >(&Geom2dHatch_Elements::InitEdges),
             R"#(None)#" 
          )
        .def("MoreEdges",
             (Standard_Boolean (Geom2dHatch_Elements::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)() const>(&Geom2dHatch_Elements::MoreEdges),
             R"#(None)#" 
          )
        .def("NextEdge",
             (void (Geom2dHatch_Elements::*)() ) static_cast<void (Geom2dHatch_Elements::*)() >(&Geom2dHatch_Elements::NextEdge),
             R"#(None)#" 
          )
        .def("RejectEdge",
             (Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Lin2d & ,  const Standard_Real  ) const) static_cast<Standard_Boolean (Geom2dHatch_Elements::*)( const gp_Lin2d & ,  const Standard_Real  ) const>(&Geom2dHatch_Elements::RejectEdge),
             R"#(None)#"  , py::arg("L"),  py::arg("Par")
          )
        .def("CurrentEdge",
             (void (Geom2dHatch_Elements::*)( Geom2dAdaptor_Curve & ,  TopAbs_Orientation &  ) const) static_cast<void (Geom2dHatch_Elements::*)( Geom2dAdaptor_Curve & ,  TopAbs_Orientation &  ) const>(&Geom2dHatch_Elements::CurrentEdge),
             R"#(None)#"  , py::arg("E"),  py::arg("Or")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
        .def("__call__",
             (const Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) const) static_cast<const Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) const>(&Geom2dHatch_Elements::operator()),
             py::is_operator(),
             R"#(None)#"  , py::arg("K")
          )
        .def("__call__",
             (Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) ) static_cast<Geom2dHatch_Element & (Geom2dHatch_Elements::*)( const Standard_Integer  ) >(&Geom2dHatch_Elements::operator()),
             py::is_operator(),
             R"#(None)#"  , py::arg("K")
          )
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_FClass2dOfClassifier , shared_ptr<Geom2dHatch_FClass2dOfClassifier>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Reset",
             (void (Geom2dHatch_FClass2dOfClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) ) static_cast<void (Geom2dHatch_FClass2dOfClassifier::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real  ) >(&Geom2dHatch_FClass2dOfClassifier::Reset),
             R"#(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.)#"  , py::arg("L"),  py::arg("P"),  py::arg("Tol")
          )
        .def("Compare",
             (void (Geom2dHatch_FClass2dOfClassifier::*)( const Geom2dAdaptor_Curve & ,  const TopAbs_Orientation  ) ) static_cast<void (Geom2dHatch_FClass2dOfClassifier::*)( const Geom2dAdaptor_Curve & ,  const TopAbs_Orientation  ) >(&Geom2dHatch_FClass2dOfClassifier::Compare),
             R"#(Updates the classification process with the edge <E> from the boundary.)#"  , py::arg("E"),  py::arg("Or")
          )
        .def("Parameter",
             (Standard_Real (Geom2dHatch_FClass2dOfClassifier::*)() const) static_cast<Standard_Real (Geom2dHatch_FClass2dOfClassifier::*)() const>(&Geom2dHatch_FClass2dOfClassifier::Parameter),
             R"#(Returns the current value of the parameter.)#" 
          )
        .def("ClosestIntersection",
             (Standard_Integer (Geom2dHatch_FClass2dOfClassifier::*)() const) static_cast<Standard_Integer (Geom2dHatch_FClass2dOfClassifier::*)() const>(&Geom2dHatch_FClass2dOfClassifier::ClosestIntersection),
             R"#(Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm.)#" 
          )
        .def("State",
             (TopAbs_State (Geom2dHatch_FClass2dOfClassifier::*)() const) static_cast<TopAbs_State (Geom2dHatch_FClass2dOfClassifier::*)() const>(&Geom2dHatch_FClass2dOfClassifier::State),
             R"#(Returns the current state of the point.)#" 
          )
        .def("IsHeadOrEnd",
             (Standard_Boolean (Geom2dHatch_FClass2dOfClassifier::*)() const) static_cast<Standard_Boolean (Geom2dHatch_FClass2dOfClassifier::*)() const>(&Geom2dHatch_FClass2dOfClassifier::IsHeadOrEnd),
             R"#(Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.)#" 
          )
    // 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("Intersector",
             (Geom2dHatch_Intersector & (Geom2dHatch_FClass2dOfClassifier::*)() ) static_cast<Geom2dHatch_Intersector & (Geom2dHatch_FClass2dOfClassifier::*)() >(&Geom2dHatch_FClass2dOfClassifier::Intersector),
             R"#(Returns the intersecting algorithm.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Hatcher , shared_ptr<Geom2dHatch_Hatcher>  >>(klass)
    // constructors
        .def(py::init< const Geom2dHatch_Intersector &,const Standard_Real,const Standard_Real,const Standard_Boolean,const Standard_Boolean >()  , py::arg("Intersector"),  py::arg("Confusion2d"),  py::arg("Confusion3d"),  py::arg("KeepPnt")=static_cast<const Standard_Boolean>(Standard_False),  py::arg("KeepSeg")=static_cast<const Standard_Boolean>(Standard_False) )
    // custom constructors
    // methods
        .def("Intersector",
             (void (Geom2dHatch_Hatcher::*)( const Geom2dHatch_Intersector &  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Geom2dHatch_Intersector &  ) >(&Geom2dHatch_Hatcher::Intersector),
             R"#(Sets the associated intersector.)#"  , py::arg("Intersector")
          )
        .def("Confusion2d",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Real  ) >(&Geom2dHatch_Hatcher::Confusion2d),
             R"#(Sets the confusion tolerance.)#"  , py::arg("Confusion")
          )
        .def("Confusion2d",
             (Standard_Real (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Real (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::Confusion2d),
             R"#(Returns the 2d confusion tolerance, i.e. the value under which two points are considered identical in the parametric space of the hatching.)#" 
          )
        .def("Confusion3d",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Real  ) >(&Geom2dHatch_Hatcher::Confusion3d),
             R"#(Sets the confusion tolerance.)#"  , py::arg("Confusion")
          )
        .def("Confusion3d",
             (Standard_Real (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Real (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::Confusion3d),
             R"#(Returns the 3d confusion tolerance, i.e. the value under which two points are considered identical in the 3d space of the hatching.)#" 
          )
        .def("KeepPoints",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Boolean  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Boolean  ) >(&Geom2dHatch_Hatcher::KeepPoints),
             R"#(Sets the above flag.)#"  , py::arg("Keep")
          )
        .def("KeepPoints",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::KeepPoints),
             R"#(Returns the flag about the points consideration.)#" 
          )
        .def("KeepSegments",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Boolean  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Boolean  ) >(&Geom2dHatch_Hatcher::KeepSegments),
             R"#(Sets the above flag.)#"  , py::arg("Keep")
          )
        .def("KeepSegments",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::KeepSegments),
             R"#(Returns the flag about the segments consideration.)#" 
          )
        .def("Clear",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::Clear),
             R"#(Removes all the hatchings and all the elements.)#" 
          )
        .def("ElementCurve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::ElementCurve),
             R"#(Returns the curve associated to the IndE-th element.)#"  , py::arg("IndE")
          )
        .def("AddElement",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve & ,  const TopAbs_Orientation  ) ) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve & ,  const TopAbs_Orientation  ) >(&Geom2dHatch_Hatcher::AddElement),
             R"#(Adds an element to the hatcher and returns its index.)#"  , py::arg("Curve"),  py::arg("Orientation")=static_cast<const TopAbs_Orientation>(TopAbs_FORWARD)
          )
        .def("AddElement",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopAbs_Orientation  ) ) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const opencascade::handle<Geom2d_Curve> & ,  const TopAbs_Orientation  ) >(&Geom2dHatch_Hatcher::AddElement),
             R"#(Adds an element to the hatcher and returns its index.)#"  , py::arg("Curve"),  py::arg("Orientation")=static_cast<const TopAbs_Orientation>(TopAbs_FORWARD)
          )
        .def("RemElement",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatcher::RemElement),
             R"#(Removes the IndE-th element from the hatcher.)#"  , py::arg("IndE")
          )
        .def("ClrElements",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::ClrElements),
             R"#(Removes all the elements from the hatcher.)#" 
          )
        .def("HatchingCurve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::HatchingCurve),
             R"#(Returns the curve associated to the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("AddHatching",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve &  ) ) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve &  ) >(&Geom2dHatch_Hatcher::AddHatching),
             R"#(Adds a hatching to the hatcher and returns its index.)#"  , py::arg("Curve")
          )
        .def("RemHatching",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatcher::RemHatching),
             R"#(Removes the IndH-th hatching from the hatcher.)#"  , py::arg("IndH")
          )
        .def("ClrHatchings",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::ClrHatchings),
             R"#(Removes all the hatchings from the hatcher.)#" 
          )
        .def("NbPoints",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::NbPoints),
             R"#(Returns the number of intersection points of the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("Point",
             (const HatchGen_PointOnHatching & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<const HatchGen_PointOnHatching & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::Point),
             R"#(Returns the IndP-th intersection point of the IndH-th hatching.)#"  , py::arg("IndH"),  py::arg("IndP")
          )
        .def("Trim",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::Trim),
             R"#(Trims all the hatchings of the hatcher by all the elements of the hatcher.)#" 
          )
        .def("Trim",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve &  ) ) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Geom2dAdaptor_Curve &  ) >(&Geom2dHatch_Hatcher::Trim),
             R"#(Adds a hatching to the hatcher and trims it by the elements already given and returns its index.)#"  , py::arg("Curve")
          )
        .def("Trim",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatcher::Trim),
             R"#(Trims the IndH-th hatching by the elements already given.)#"  , py::arg("IndH")
          )
        .def("ComputeDomains",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::ComputeDomains),
             R"#(Computes the domains of all the hatchings.)#" 
          )
        .def("ComputeDomains",
             (void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatcher::ComputeDomains),
             R"#(Computes the domains of the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("TrimDone",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::TrimDone),
             R"#(Returns the fact that the intersections were computed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("TrimFailed",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::TrimFailed),
             R"#(Returns the fact that the intersections failed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("IsDone",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::IsDone),
             R"#(Returns the fact that the domains were computed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("Status",
             (HatchGen_ErrorStatus (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<HatchGen_ErrorStatus (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::Status),
             R"#(Returns the status about the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("NbDomains",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::NbDomains),
             R"#(Returns the number of domains of the IndH-th hatching. Only ONE "INFINITE" domain means that the hatching is fully included in the contour defined by the elements.)#"  , py::arg("IndH")
          )
        .def("Domain",
             (const HatchGen_Domain & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<const HatchGen_Domain & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::Domain),
             R"#(Returns the IDom-th domain of the IndH-th hatching.)#"  , py::arg("IndH"),  py::arg("IDom")
          )
        .def("Dump",
             (void (Geom2dHatch_Hatcher::*)() const) static_cast<void (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::Dump),
             R"#(Dump the hatcher.)#" 
          )
        .def("Confusion2d",
             (Standard_Real (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Real (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::Confusion2d),
             R"#(Returns the 2d confusion tolerance, i.e. the value under which two points are considered identical in the parametric space of the hatching.)#" 
          )
        .def("Confusion3d",
             (Standard_Real (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Real (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::Confusion3d),
             R"#(Returns the 3d confusion tolerance, i.e. the value under which two points are considered identical in the 3d space of the hatching.)#" 
          )
        .def("KeepPoints",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::KeepPoints),
             R"#(Returns the flag about the points consideration.)#" 
          )
        .def("KeepSegments",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)() const>(&Geom2dHatch_Hatcher::KeepSegments),
             R"#(Returns the flag about the segments consideration.)#" 
          )
        .def("Clear",
             (void (Geom2dHatch_Hatcher::*)() ) static_cast<void (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::Clear),
             R"#(Removes all the hatchings and all the elements.)#" 
          )
        .def("ElementCurve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::ElementCurve),
             R"#(Returns the curve associated to the IndE-th element.)#"  , py::arg("IndE")
          )
        .def("HatchingCurve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::HatchingCurve),
             R"#(Returns the curve associated to the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("NbPoints",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::NbPoints),
             R"#(Returns the number of intersection points of the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("Point",
             (const HatchGen_PointOnHatching & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<const HatchGen_PointOnHatching & (Geom2dHatch_Hatcher::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::Point),
             R"#(Returns the IndP-th intersection point of the IndH-th hatching.)#"  , py::arg("IndH"),  py::arg("IndP")
          )
        .def("TrimDone",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::TrimDone),
             R"#(Returns the fact that the intersections were computed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("TrimFailed",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::TrimFailed),
             R"#(Returns the fact that the intersections failed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("IsDone",
             (Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Boolean (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::IsDone),
             R"#(Returns the fact that the domains were computed for the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("Status",
             (HatchGen_ErrorStatus (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<HatchGen_ErrorStatus (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::Status),
             R"#(Returns the status about the IndH-th hatching.)#"  , py::arg("IndH")
          )
        .def("NbDomains",
             (Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const) static_cast<Standard_Integer (Geom2dHatch_Hatcher::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatcher::NbDomains),
             R"#(Returns the number of domains of the IndH-th hatching. Only ONE "INFINITE" domain means that the hatching is fully included in the contour defined by the elements.)#"  , py::arg("IndH")
          )
    // 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("Intersector",
             (const Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() ) static_cast<const Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::Intersector),
             R"#(Returns the associated intersector.)#"
             
         )
       .def("ChangeIntersector",
             (Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() ) static_cast<Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::ChangeIntersector),
             R"#(Returns the associated intersector.)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Intersector",
             (const Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() ) static_cast<const Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::Intersector),
             R"#(Returns the associated intersector.)#"
             
         )
       .def("ChangeIntersector",
             (Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() ) static_cast<Geom2dHatch_Intersector & (Geom2dHatch_Hatcher::*)() >(&Geom2dHatch_Hatcher::ChangeIntersector),
             R"#(Returns the associated intersector.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Hatching , shared_ptr<Geom2dHatch_Hatching>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Geom2dAdaptor_Curve & >()  , py::arg("Curve") )
    // custom constructors
    // methods
        .def("TrimDone",
             (void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) >(&Geom2dHatch_Hatching::TrimDone),
             R"#(Sets the flag about the trimming computations to the given value.)#"  , py::arg("Flag")
          )
        .def("TrimDone",
             (Standard_Boolean (Geom2dHatch_Hatching::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::TrimDone),
             R"#(Returns the flag about the trimming computations.)#" 
          )
        .def("TrimFailed",
             (void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) >(&Geom2dHatch_Hatching::TrimFailed),
             R"#(Sets the flag about the trimming failure to the given value.)#"  , py::arg("Flag")
          )
        .def("TrimFailed",
             (Standard_Boolean (Geom2dHatch_Hatching::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::TrimFailed),
             R"#(Returns the flag about the trimming failure.)#" 
          )
        .def("IsDone",
             (void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const Standard_Boolean  ) >(&Geom2dHatch_Hatching::IsDone),
             R"#(Sets the flag about the domains computation to the given value.)#"  , py::arg("Flag")
          )
        .def("IsDone",
             (Standard_Boolean (Geom2dHatch_Hatching::*)() const) static_cast<Standard_Boolean (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::IsDone),
             R"#(Returns the flag about the domains computation.)#" 
          )
        .def("Status",
             (void (Geom2dHatch_Hatching::*)( const HatchGen_ErrorStatus  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const HatchGen_ErrorStatus  ) >(&Geom2dHatch_Hatching::Status),
             R"#(Sets the error status.)#"  , py::arg("theStatus")
          )
        .def("Status",
             (HatchGen_ErrorStatus (Geom2dHatch_Hatching::*)() const) static_cast<HatchGen_ErrorStatus (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::Status),
             R"#(Returns the error status.)#" 
          )
        .def("AddPoint",
             (void (Geom2dHatch_Hatching::*)( const HatchGen_PointOnHatching & ,  const Standard_Real  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const HatchGen_PointOnHatching & ,  const Standard_Real  ) >(&Geom2dHatch_Hatching::AddPoint),
             R"#(Adds an intersection point to the hatching.)#"  , py::arg("Point"),  py::arg("Confusion")
          )
        .def("NbPoints",
             (Standard_Integer (Geom2dHatch_Hatching::*)() const) static_cast<Standard_Integer (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::NbPoints),
             R"#(Returns the number of intersection points of the hatching.)#" 
          )
        .def("Point",
             (const HatchGen_PointOnHatching & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) const) static_cast<const HatchGen_PointOnHatching & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatching::Point),
             R"#(Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.)#"  , py::arg("Index")
          )
        .def("ChangePoint",
             (HatchGen_PointOnHatching & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) ) static_cast<HatchGen_PointOnHatching & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatching::ChangePoint),
             R"#(Returns the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.)#"  , py::arg("Index")
          )
        .def("RemPoint",
             (void (Geom2dHatch_Hatching::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatching::RemPoint),
             R"#(Removes the Index-th intersection point of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbPoints.)#"  , py::arg("Index")
          )
        .def("ClrPoints",
             (void (Geom2dHatch_Hatching::*)() ) static_cast<void (Geom2dHatch_Hatching::*)() >(&Geom2dHatch_Hatching::ClrPoints),
             R"#(Removes all the intersection points of the hatching.)#" 
          )
        .def("AddDomain",
             (void (Geom2dHatch_Hatching::*)( const HatchGen_Domain &  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const HatchGen_Domain &  ) >(&Geom2dHatch_Hatching::AddDomain),
             R"#(Adds a domain to the hatching.)#"  , py::arg("Domain")
          )
        .def("NbDomains",
             (Standard_Integer (Geom2dHatch_Hatching::*)() const) static_cast<Standard_Integer (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::NbDomains),
             R"#(Returns the number of domains of the hatching.)#" 
          )
        .def("Domain",
             (const HatchGen_Domain & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) const) static_cast<const HatchGen_Domain & (Geom2dHatch_Hatching::*)( const Standard_Integer  ) const>(&Geom2dHatch_Hatching::Domain),
             R"#(Returns the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.)#"  , py::arg("Index")
          )
        .def("RemDomain",
             (void (Geom2dHatch_Hatching::*)( const Standard_Integer  ) ) static_cast<void (Geom2dHatch_Hatching::*)( const Standard_Integer  ) >(&Geom2dHatch_Hatching::RemDomain),
             R"#(Removes the Index-th domain of the hatching. The exception OutOfRange is raised if Index < 1 or Index > NbDomains.)#"  , py::arg("Index")
          )
        .def("ClrDomains",
             (void (Geom2dHatch_Hatching::*)() ) static_cast<void (Geom2dHatch_Hatching::*)() >(&Geom2dHatch_Hatching::ClrDomains),
             R"#(Removes all the domains of the hatching.)#" 
          )
        .def("ClassificationPoint",
             (gp_Pnt2d (Geom2dHatch_Hatching::*)() const) static_cast<gp_Pnt2d (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::ClassificationPoint),
             R"#(Returns a point on the curve. This point will be used for the classification.)#" 
          )
    // 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("Curve",
             (const Geom2dAdaptor_Curve & (Geom2dHatch_Hatching::*)() const) static_cast<const Geom2dAdaptor_Curve & (Geom2dHatch_Hatching::*)() const>(&Geom2dHatch_Hatching::Curve),
             R"#(Returns the curve associated to the hatching.)#"
             
         )
       .def("ChangeCurve",
             (Geom2dAdaptor_Curve & (Geom2dHatch_Hatching::*)() ) static_cast<Geom2dAdaptor_Curve & (Geom2dHatch_Hatching::*)() >(&Geom2dHatch_Hatching::ChangeCurve),
             R"#(Returns the curve associated to the hatching.)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<Geom2dHatch_Intersector , shared_ptr<Geom2dHatch_Intersector>  , Geom2dInt_GInter >>(klass)
    // constructors
        .def(py::init< const Standard_Real,const Standard_Real >()  , py::arg("Confusion"),  py::arg("Tangency") )
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("ConfusionTolerance",
             (Standard_Real (Geom2dHatch_Intersector::*)() const) static_cast<Standard_Real (Geom2dHatch_Intersector::*)() const>(&Geom2dHatch_Intersector::ConfusionTolerance),
             R"#(Returns the confusion tolerance of the intersector.)#" 
          )
        .def("SetConfusionTolerance",
             (void (Geom2dHatch_Intersector::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Standard_Real  ) >(&Geom2dHatch_Intersector::SetConfusionTolerance),
             R"#(Sets the confusion tolerance of the intersector.)#"  , py::arg("Confusion")
          )
        .def("TangencyTolerance",
             (Standard_Real (Geom2dHatch_Intersector::*)() const) static_cast<Standard_Real (Geom2dHatch_Intersector::*)() const>(&Geom2dHatch_Intersector::TangencyTolerance),
             R"#(Returns the tangency tolerance of the intersector.)#" 
          )
        .def("SetTangencyTolerance",
             (void (Geom2dHatch_Intersector::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Standard_Real  ) >(&Geom2dHatch_Intersector::SetTangencyTolerance),
             R"#(Sets the tangency tolerance of the intersector.)#"  , py::arg("Tangency")
          )
        .def("Intersect",
             (void (Geom2dHatch_Intersector::*)( const Geom2dAdaptor_Curve & ,  const Geom2dAdaptor_Curve &  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Geom2dAdaptor_Curve & ,  const Geom2dAdaptor_Curve &  ) >(&Geom2dHatch_Intersector::Intersect),
             R"#(Intersects the curves C1 and C2. The results are retrieved by the usual methods described in IntRes2d_Intersection. Creates an intersector.)#"  , py::arg("C1"),  py::arg("C2")
          )
        .def("Perform",
             (void (Geom2dHatch_Intersector::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real ,  const Geom2dAdaptor_Curve &  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const gp_Lin2d & ,  const Standard_Real ,  const Standard_Real ,  const Geom2dAdaptor_Curve &  ) >(&Geom2dHatch_Intersector::Perform),
             R"#(Performs the intersection between the 2d line segment (<L>, <P>) and the Curve <E>. The line segment is the part of the 2d line <L> of parameter range [0, <P>] (P is positive and can be RealLast()). Tol is the Tolerance on the segment. The order is relevant, the first argument is the segment, the second the Edge.)#"  , py::arg("L"),  py::arg("P"),  py::arg("Tol"),  py::arg("E")
          )
        .def("ConfusionTolerance",
             (Standard_Real (Geom2dHatch_Intersector::*)() const) static_cast<Standard_Real (Geom2dHatch_Intersector::*)() const>(&Geom2dHatch_Intersector::ConfusionTolerance),
             R"#(Returns the confusion tolerance of the intersector.)#" 
          )
        .def("SetConfusionTolerance",
             (void (Geom2dHatch_Intersector::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Standard_Real  ) >(&Geom2dHatch_Intersector::SetConfusionTolerance),
             R"#(Sets the confusion tolerance of the intersector.)#"  , py::arg("Confusion")
          )
        .def("TangencyTolerance",
             (Standard_Real (Geom2dHatch_Intersector::*)() const) static_cast<Standard_Real (Geom2dHatch_Intersector::*)() const>(&Geom2dHatch_Intersector::TangencyTolerance),
             R"#(Returns the tangency tolerance of the intersector.)#" 
          )
        .def("SetTangencyTolerance",
             (void (Geom2dHatch_Intersector::*)( const Standard_Real  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Standard_Real  ) >(&Geom2dHatch_Intersector::SetTangencyTolerance),
             R"#(Sets the tangency tolerance of the intersector.)#"  , py::arg("Tangency")
          )
        .def("Intersect",
             (void (Geom2dHatch_Intersector::*)( const Geom2dAdaptor_Curve & ,  const Geom2dAdaptor_Curve &  ) ) static_cast<void (Geom2dHatch_Intersector::*)( const Geom2dAdaptor_Curve & ,  const Geom2dAdaptor_Curve &  ) >(&Geom2dHatch_Intersector::Intersect),
             R"#(Intersects the curves C1 and C2. The results are retrieved by the usual methods described in IntRes2d_Intersection. Creates an intersector.)#"  , py::arg("C1"),  py::arg("C2")
          )
    // methods using call by reference i.s.o. return
        .def("LocalGeometry",
             []( Geom2dHatch_Intersector &self , const Geom2dAdaptor_Curve & E,const Standard_Real U,gp_Dir2d & T,gp_Dir2d & N ){
                 Standard_Real  C;

                 self.LocalGeometry(E,U,T,N,C);
                 
                 return std::make_tuple(C); },
             R"#(Returns in <T>, <N> and <C> the tangent, normal and curvature of the edge <E> at parameter value <U>.)#"  , py::arg("E"),  py::arg("U"),  py::arg("T"),  py::arg("N")
          )
    // 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/Geom2dHatch_Classifier.hxx
// ./opencascade/Geom2dHatch_DataMapIteratorOfHatchings.hxx
// ./opencascade/Geom2dHatch_DataMapIteratorOfMapOfElements.hxx
// ./opencascade/Geom2dHatch_Element.hxx
// ./opencascade/Geom2dHatch_Elements.hxx
// ./opencascade/Geom2dHatch_FClass2dOfClassifier.hxx
// ./opencascade/Geom2dHatch_Hatcher.hxx
// ./opencascade/Geom2dHatch_Hatching.hxx
// ./opencascade/Geom2dHatch_Hatchings.hxx
// ./opencascade/Geom2dHatch_Intersector.hxx
// ./opencascade/Geom2dHatch_MapOfElements.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_DataMap<Standard_Integer, Geom2dHatch_Element>(m,"Geom2dHatch_MapOfElements");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post