1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982
|
// 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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Pln.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 <gp_Lin.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Circ.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>
#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 <gp_Ax1.hxx>
#include <gp_Lin.hxx>
#include <gp_Pln.hxx>
#include <gp_Ax2.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <gp_Lin2d.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 <gp_Lin.hxx>
#include <gp_Ax1.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>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <gce_ErrorType.hxx>
#include <gce_MakeCirc.hxx>
#include <gce_MakeCirc2d.hxx>
#include <gce_MakeCone.hxx>
#include <gce_MakeCylinder.hxx>
#include <gce_MakeDir.hxx>
#include <gce_MakeDir2d.hxx>
#include <gce_MakeElips.hxx>
#include <gce_MakeElips2d.hxx>
#include <gce_MakeHypr.hxx>
#include <gce_MakeHypr2d.hxx>
#include <gce_MakeLin.hxx>
#include <gce_MakeLin2d.hxx>
#include <gce_MakeMirror.hxx>
#include <gce_MakeMirror2d.hxx>
#include <gce_MakeParab.hxx>
#include <gce_MakeParab2d.hxx>
#include <gce_MakePln.hxx>
#include <gce_MakeRotation.hxx>
#include <gce_MakeRotation2d.hxx>
#include <gce_MakeScale.hxx>
#include <gce_MakeScale2d.hxx>
#include <gce_MakeTranslation.hxx>
#include <gce_MakeTranslation2d.hxx>
#include <gce_Root.hxx>
// template related includes
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_gce(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("gce"));
py::object klass;
//Python trampoline classes
// classes
// Class gce_MakeMirror from ./opencascade/gce_MakeMirror.hxx
klass = m.attr("gce_MakeMirror");
// nested enums
static_cast<py::class_<gce_MakeMirror , shared_ptr<gce_MakeMirror> >>(klass)
// constructors
.def(py::init< const gp_Pnt & >() , py::arg("Point") )
.def(py::init< const gp_Ax1 & >() , py::arg("Axis") )
.def(py::init< const gp_Lin & >() , py::arg("Line") )
.def(py::init< const gp_Pnt &,const gp_Dir & >() , py::arg("Point"), py::arg("Direc") )
.def(py::init< const gp_Pln & >() , py::arg("Plane") )
.def(py::init< const gp_Ax2 & >() , py::arg("Plane") )
// 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
.def("Value",
(const gp_Trsf & (gce_MakeMirror::*)() const) static_cast<const gp_Trsf & (gce_MakeMirror::*)() const>(&gce_MakeMirror::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf & (gce_MakeMirror::*)() const) static_cast<const gp_Trsf & (gce_MakeMirror::*)() const>(&gce_MakeMirror::Operator),
R"#(None)#"
)
;
// Class gce_MakeMirror2d from ./opencascade/gce_MakeMirror2d.hxx
klass = m.attr("gce_MakeMirror2d");
// nested enums
static_cast<py::class_<gce_MakeMirror2d , shared_ptr<gce_MakeMirror2d> >>(klass)
// constructors
.def(py::init< const gp_Pnt2d & >() , py::arg("Point") )
.def(py::init< const gp_Ax2d & >() , py::arg("Axis") )
.def(py::init< const gp_Lin2d & >() , py::arg("Line") )
.def(py::init< const gp_Pnt2d &,const gp_Dir2d & >() , py::arg("Point"), py::arg("Direc") )
// 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
.def("Value",
(const gp_Trsf2d & (gce_MakeMirror2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeMirror2d::*)() const>(&gce_MakeMirror2d::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf2d & (gce_MakeMirror2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeMirror2d::*)() const>(&gce_MakeMirror2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeRotation from ./opencascade/gce_MakeRotation.hxx
klass = m.attr("gce_MakeRotation");
// nested enums
static_cast<py::class_<gce_MakeRotation , shared_ptr<gce_MakeRotation> >>(klass)
// constructors
.def(py::init< const gp_Lin &,const Standard_Real >() , py::arg("Line"), py::arg("Angle") )
.def(py::init< const gp_Ax1 &,const Standard_Real >() , py::arg("Axis"), py::arg("Angle") )
.def(py::init< const gp_Pnt &,const gp_Dir &,const Standard_Real >() , py::arg("Point"), py::arg("Direc"), py::arg("Angle") )
// 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
.def("Value",
(const gp_Trsf & (gce_MakeRotation::*)() const) static_cast<const gp_Trsf & (gce_MakeRotation::*)() const>(&gce_MakeRotation::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf & (gce_MakeRotation::*)() const) static_cast<const gp_Trsf & (gce_MakeRotation::*)() const>(&gce_MakeRotation::Operator),
R"#(None)#"
)
;
// Class gce_MakeRotation2d from ./opencascade/gce_MakeRotation2d.hxx
klass = m.attr("gce_MakeRotation2d");
// nested enums
static_cast<py::class_<gce_MakeRotation2d , shared_ptr<gce_MakeRotation2d> >>(klass)
// constructors
.def(py::init< const gp_Pnt2d &,const Standard_Real >() , py::arg("Point"), py::arg("Angle") )
// 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
.def("Value",
(const gp_Trsf2d & (gce_MakeRotation2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeRotation2d::*)() const>(&gce_MakeRotation2d::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf2d & (gce_MakeRotation2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeRotation2d::*)() const>(&gce_MakeRotation2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeScale from ./opencascade/gce_MakeScale.hxx
klass = m.attr("gce_MakeScale");
// nested enums
static_cast<py::class_<gce_MakeScale , shared_ptr<gce_MakeScale> >>(klass)
// constructors
.def(py::init< const gp_Pnt &,const Standard_Real >() , py::arg("Point"), py::arg("Scale") )
// 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
.def("Value",
(const gp_Trsf & (gce_MakeScale::*)() const) static_cast<const gp_Trsf & (gce_MakeScale::*)() const>(&gce_MakeScale::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf & (gce_MakeScale::*)() const) static_cast<const gp_Trsf & (gce_MakeScale::*)() const>(&gce_MakeScale::Operator),
R"#(None)#"
)
;
// Class gce_MakeScale2d from ./opencascade/gce_MakeScale2d.hxx
klass = m.attr("gce_MakeScale2d");
// nested enums
static_cast<py::class_<gce_MakeScale2d , shared_ptr<gce_MakeScale2d> >>(klass)
// constructors
.def(py::init< const gp_Pnt2d &,const Standard_Real >() , py::arg("Point"), py::arg("Scale") )
// 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
.def("Value",
(const gp_Trsf2d & (gce_MakeScale2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeScale2d::*)() const>(&gce_MakeScale2d::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf2d & (gce_MakeScale2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeScale2d::*)() const>(&gce_MakeScale2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeTranslation from ./opencascade/gce_MakeTranslation.hxx
klass = m.attr("gce_MakeTranslation");
// nested enums
static_cast<py::class_<gce_MakeTranslation , shared_ptr<gce_MakeTranslation> >>(klass)
// constructors
.def(py::init< const gp_Vec & >() , py::arg("Vect") )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("Point1"), py::arg("Point2") )
// 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
.def("Value",
(const gp_Trsf & (gce_MakeTranslation::*)() const) static_cast<const gp_Trsf & (gce_MakeTranslation::*)() const>(&gce_MakeTranslation::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf & (gce_MakeTranslation::*)() const) static_cast<const gp_Trsf & (gce_MakeTranslation::*)() const>(&gce_MakeTranslation::Operator),
R"#(None)#"
)
;
// Class gce_MakeTranslation2d from ./opencascade/gce_MakeTranslation2d.hxx
klass = m.attr("gce_MakeTranslation2d");
// nested enums
static_cast<py::class_<gce_MakeTranslation2d , shared_ptr<gce_MakeTranslation2d> >>(klass)
// constructors
.def(py::init< const gp_Vec2d & >() , py::arg("Vect") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("Point1"), py::arg("Point2") )
// 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
.def("Value",
(const gp_Trsf2d & (gce_MakeTranslation2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeTranslation2d::*)() const>(&gce_MakeTranslation2d::Value),
R"#(Returns the constructed transformation.)#"
)
.def("Operator",
(const gp_Trsf2d & (gce_MakeTranslation2d::*)() const) static_cast<const gp_Trsf2d & (gce_MakeTranslation2d::*)() const>(&gce_MakeTranslation2d::Operator),
R"#(None)#"
)
;
// Class gce_Root from ./opencascade/gce_Root.hxx
klass = m.attr("gce_Root");
// default constructor
register_default_constructor<gce_Root , shared_ptr<gce_Root>>(m,"gce_Root");
// nested enums
static_cast<py::class_<gce_Root , shared_ptr<gce_Root> >>(klass)
// constructors
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (gce_Root::*)() const) static_cast<Standard_Boolean (gce_Root::*)() const>(&gce_Root::IsDone),
R"#(Returns true if the construction is successful.)#"
)
.def("Status",
(gce_ErrorType (gce_Root::*)() const) static_cast<gce_ErrorType (gce_Root::*)() const>(&gce_Root::Status),
R"#(Returns the status of the construction: - gce_Done, if the construction is successful, or - another value of the gce_ErrorType enumeration indicating why the construction failed.)#"
)
.def("IsDone",
(Standard_Boolean (gce_Root::*)() const) static_cast<Standard_Boolean (gce_Root::*)() const>(&gce_Root::IsDone),
R"#(Returns true if the construction is successful.)#"
)
.def("Status",
(gce_ErrorType (gce_Root::*)() const) static_cast<gce_ErrorType (gce_Root::*)() const>(&gce_Root::Status),
R"#(Returns the status of the construction: - gce_Done, if the construction is successful, or - another value of the gce_ErrorType enumeration indicating why the construction failed.)#"
)
// 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 gce_MakeCirc from ./opencascade/gce_MakeCirc.hxx
klass = m.attr("gce_MakeCirc");
// nested enums
static_cast<py::class_<gce_MakeCirc , shared_ptr<gce_MakeCirc> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real >() , py::arg("A2"), py::arg("Radius") )
.def(py::init< const gp_Circ &,const Standard_Real >() , py::arg("Circ"), py::arg("Dist") )
.def(py::init< const gp_Circ &,const gp_Pnt & >() , py::arg("Circ"), py::arg("Point") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2"), py::arg("P3") )
.def(py::init< const gp_Pnt &,const gp_Dir &,const Standard_Real >() , py::arg("Center"), py::arg("Norm"), py::arg("Radius") )
.def(py::init< const gp_Pnt &,const gp_Pln &,const Standard_Real >() , py::arg("Center"), py::arg("Plane"), py::arg("Radius") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const Standard_Real >() , py::arg("Center"), py::arg("Ptaxis"), py::arg("Radius") )
.def(py::init< const gp_Ax1 &,const Standard_Real >() , py::arg("Axis"), py::arg("Radius") )
// 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
.def("Value",
(const gp_Circ & (gce_MakeCirc::*)() const) static_cast<const gp_Circ & (gce_MakeCirc::*)() const>(&gce_MakeCirc::Value),
R"#(Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.)#"
)
.def("Operator",
(const gp_Circ & (gce_MakeCirc::*)() const) static_cast<const gp_Circ & (gce_MakeCirc::*)() const>(&gce_MakeCirc::Operator),
R"#(None)#"
)
;
// Class gce_MakeCirc2d from ./opencascade/gce_MakeCirc2d.hxx
klass = m.attr("gce_MakeCirc2d");
// nested enums
static_cast<py::class_<gce_MakeCirc2d , shared_ptr<gce_MakeCirc2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2d &,const Standard_Real,const Standard_Boolean >() , py::arg("XAxis"), py::arg("Radius"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Ax22d &,const Standard_Real >() , py::arg("Axis"), py::arg("Radius") )
.def(py::init< const gp_Circ2d &,const Standard_Real >() , py::arg("Circ"), py::arg("Dist") )
.def(py::init< const gp_Circ2d &,const gp_Pnt2d & >() , py::arg("Circ"), py::arg("Point") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("P1"), py::arg("P2"), py::arg("P3") )
.def(py::init< const gp_Pnt2d &,const Standard_Real,const Standard_Boolean >() , py::arg("Center"), py::arg("Radius"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d &,const Standard_Boolean >() , py::arg("Center"), py::arg("Point"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
// 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
.def("Value",
(const gp_Circ2d & (gce_MakeCirc2d::*)() const) static_cast<const gp_Circ2d & (gce_MakeCirc2d::*)() const>(&gce_MakeCirc2d::Value),
R"#(Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.)#"
)
.def("Operator",
(const gp_Circ2d & (gce_MakeCirc2d::*)() const) static_cast<const gp_Circ2d & (gce_MakeCirc2d::*)() const>(&gce_MakeCirc2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeCone from ./opencascade/gce_MakeCone.hxx
klass = m.attr("gce_MakeCone");
// nested enums
static_cast<py::class_<gce_MakeCone , shared_ptr<gce_MakeCone> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real >() , py::arg("A2"), py::arg("Ang"), py::arg("Radius") )
.def(py::init< const gp_Cone &,const gp_Pnt & >() , py::arg("Cone"), py::arg("Point") )
.def(py::init< const gp_Cone &,const Standard_Real >() , py::arg("Cone"), py::arg("Dist") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2"), py::arg("P3"), py::arg("P4") )
.def(py::init< const gp_Ax1 &,const gp_Pnt &,const gp_Pnt & >() , py::arg("Axis"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Lin &,const gp_Pnt &,const gp_Pnt & >() , py::arg("Axis"), py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const Standard_Real,const Standard_Real >() , py::arg("P1"), py::arg("P2"), py::arg("R1"), py::arg("R2") )
// 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
.def("Value",
(const gp_Cone & (gce_MakeCone::*)() const) static_cast<const gp_Cone & (gce_MakeCone::*)() const>(&gce_MakeCone::Value),
R"#(Returns the constructed cone. Exceptions StdFail_NotDone if no cone is constructed.)#"
)
.def("Operator",
(const gp_Cone & (gce_MakeCone::*)() const) static_cast<const gp_Cone & (gce_MakeCone::*)() const>(&gce_MakeCone::Operator),
R"#(None)#"
)
;
// Class gce_MakeCylinder from ./opencascade/gce_MakeCylinder.hxx
klass = m.attr("gce_MakeCylinder");
// nested enums
static_cast<py::class_<gce_MakeCylinder , shared_ptr<gce_MakeCylinder> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real >() , py::arg("A2"), py::arg("Radius") )
.def(py::init< const gp_Cylinder &,const gp_Pnt & >() , py::arg("Cyl"), py::arg("Point") )
.def(py::init< const gp_Cylinder &,const Standard_Real >() , py::arg("Cyl"), py::arg("Dist") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2"), py::arg("P3") )
.def(py::init< const gp_Ax1 &,const Standard_Real >() , py::arg("Axis"), py::arg("Radius") )
.def(py::init< const gp_Circ & >() , py::arg("Circ") )
// 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
.def("Value",
(const gp_Cylinder & (gce_MakeCylinder::*)() const) static_cast<const gp_Cylinder & (gce_MakeCylinder::*)() const>(&gce_MakeCylinder::Value),
R"#(Returns the constructed cylinder. Exceptions StdFail_NotDone if no cylinder is constructed.)#"
)
.def("Operator",
(const gp_Cylinder & (gce_MakeCylinder::*)() const) static_cast<const gp_Cylinder & (gce_MakeCylinder::*)() const>(&gce_MakeCylinder::Operator),
R"#(None)#"
)
;
// Class gce_MakeDir from ./opencascade/gce_MakeDir.hxx
klass = m.attr("gce_MakeDir");
// nested enums
static_cast<py::class_<gce_MakeDir , shared_ptr<gce_MakeDir> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Vec & >() , py::arg("V") )
.def(py::init< const gp_XYZ & >() , py::arg("Coord") )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("Xv"), py::arg("Yv"), py::arg("Zv") )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2") )
// 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
.def("Value",
(const gp_Dir & (gce_MakeDir::*)() const) static_cast<const gp_Dir & (gce_MakeDir::*)() const>(&gce_MakeDir::Value),
R"#(Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.)#"
)
.def("Operator",
(const gp_Dir & (gce_MakeDir::*)() const) static_cast<const gp_Dir & (gce_MakeDir::*)() const>(&gce_MakeDir::Operator),
R"#(None)#"
)
;
// Class gce_MakeDir2d from ./opencascade/gce_MakeDir2d.hxx
klass = m.attr("gce_MakeDir2d");
// nested enums
static_cast<py::class_<gce_MakeDir2d , shared_ptr<gce_MakeDir2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Vec2d & >() , py::arg("V") )
.def(py::init< const gp_XY & >() , py::arg("Coord") )
.def(py::init< const Standard_Real,const Standard_Real >() , py::arg("Xv"), py::arg("Yv") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("P1"), py::arg("P2") )
// 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
.def("Value",
(const gp_Dir2d & (gce_MakeDir2d::*)() const) static_cast<const gp_Dir2d & (gce_MakeDir2d::*)() const>(&gce_MakeDir2d::Value),
R"#(Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.)#"
)
.def("Operator",
(const gp_Dir2d & (gce_MakeDir2d::*)() const) static_cast<const gp_Dir2d & (gce_MakeDir2d::*)() const>(&gce_MakeDir2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeElips from ./opencascade/gce_MakeElips.hxx
klass = m.attr("gce_MakeElips");
// nested enums
static_cast<py::class_<gce_MakeElips , shared_ptr<gce_MakeElips> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real >() , py::arg("A2"), py::arg("MajorRadius"), py::arg("MinorRadius") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("S1"), py::arg("S2"), py::arg("Center") )
// 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
.def("Value",
(const gp_Elips & (gce_MakeElips::*)() const) static_cast<const gp_Elips & (gce_MakeElips::*)() const>(&gce_MakeElips::Value),
R"#(Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.)#"
)
.def("Operator",
(const gp_Elips & (gce_MakeElips::*)() const) static_cast<const gp_Elips & (gce_MakeElips::*)() const>(&gce_MakeElips::Operator),
R"#(None)#"
)
;
// Class gce_MakeElips2d from ./opencascade/gce_MakeElips2d.hxx
klass = m.attr("gce_MakeElips2d");
// nested enums
static_cast<py::class_<gce_MakeElips2d , shared_ptr<gce_MakeElips2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2d &,const Standard_Real,const Standard_Real,const Standard_Boolean >() , py::arg("MajorAxis"), py::arg("MajorRadius"), py::arg("MinorRadius"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Ax22d &,const Standard_Real,const Standard_Real >() , py::arg("A"), py::arg("MajorRadius"), py::arg("MinorRadius") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("S1"), py::arg("S2"), py::arg("Center") )
// 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
.def("Value",
(const gp_Elips2d & (gce_MakeElips2d::*)() const) static_cast<const gp_Elips2d & (gce_MakeElips2d::*)() const>(&gce_MakeElips2d::Value),
R"#(Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.)#"
)
.def("Operator",
(const gp_Elips2d & (gce_MakeElips2d::*)() const) static_cast<const gp_Elips2d & (gce_MakeElips2d::*)() const>(&gce_MakeElips2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeHypr from ./opencascade/gce_MakeHypr.hxx
klass = m.attr("gce_MakeHypr");
// nested enums
static_cast<py::class_<gce_MakeHypr , shared_ptr<gce_MakeHypr> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real,const Standard_Real >() , py::arg("A2"), py::arg("MajorRadius"), py::arg("MinorRadius") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("S1"), py::arg("S2"), py::arg("Center") )
// 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
.def("Value",
(const gp_Hypr & (gce_MakeHypr::*)() const) static_cast<const gp_Hypr & (gce_MakeHypr::*)() const>(&gce_MakeHypr::Value),
R"#(Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.)#"
)
.def("Operator",
(const gp_Hypr & (gce_MakeHypr::*)() const) static_cast<const gp_Hypr & (gce_MakeHypr::*)() const>(&gce_MakeHypr::Operator),
R"#(None)#"
)
;
// Class gce_MakeHypr2d from ./opencascade/gce_MakeHypr2d.hxx
klass = m.attr("gce_MakeHypr2d");
// nested enums
static_cast<py::class_<gce_MakeHypr2d , shared_ptr<gce_MakeHypr2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("S1"), py::arg("S2"), py::arg("Center") )
.def(py::init< const gp_Ax2d &,const Standard_Real,const Standard_Real,const Standard_Boolean >() , py::arg("MajorAxis"), py::arg("MajorRadius"), py::arg("MinorRadius"), py::arg("Sense") )
.def(py::init< const gp_Ax22d &,const Standard_Real,const Standard_Real >() , py::arg("A"), py::arg("MajorRadius"), py::arg("MinorRadius") )
// 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
.def("Value",
(const gp_Hypr2d & (gce_MakeHypr2d::*)() const) static_cast<const gp_Hypr2d & (gce_MakeHypr2d::*)() const>(&gce_MakeHypr2d::Value),
R"#(Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.)#"
)
.def("Operator",
(const gp_Hypr2d & (gce_MakeHypr2d::*)() const) static_cast<const gp_Hypr2d & (gce_MakeHypr2d::*)() const>(&gce_MakeHypr2d::Operator),
R"#(None)#"
)
;
// Class gce_MakeLin from ./opencascade/gce_MakeLin.hxx
klass = m.attr("gce_MakeLin");
// nested enums
static_cast<py::class_<gce_MakeLin , shared_ptr<gce_MakeLin> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax1 & >() , py::arg("A1") )
.def(py::init< const gp_Pnt &,const gp_Dir & >() , py::arg("P"), py::arg("V") )
.def(py::init< const gp_Lin &,const gp_Pnt & >() , py::arg("Lin"), py::arg("Point") )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2") )
// 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
.def("Value",
(const gp_Lin & (gce_MakeLin::*)() const) static_cast<const gp_Lin & (gce_MakeLin::*)() const>(&gce_MakeLin::Value),
R"#(Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.)#"
)
.def("Operator",
(const gp_Lin & (gce_MakeLin::*)() const) static_cast<const gp_Lin & (gce_MakeLin::*)() const>(&gce_MakeLin::Operator),
R"#(None)#"
)
;
// Class gce_MakeLin2d from ./opencascade/gce_MakeLin2d.hxx
klass = m.attr("gce_MakeLin2d");
// nested enums
static_cast<py::class_<gce_MakeLin2d , shared_ptr<gce_MakeLin2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2d & >() , py::arg("A") )
.def(py::init< const gp_Pnt2d &,const gp_Dir2d & >() , py::arg("P"), py::arg("V") )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("A"), py::arg("B"), py::arg("C") )
.def(py::init< const gp_Lin2d &,const Standard_Real >() , py::arg("Lin"), py::arg("Dist") )
.def(py::init< const gp_Lin2d &,const gp_Pnt2d & >() , py::arg("Lin"), py::arg("Point") )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d & >() , py::arg("P1"), py::arg("P2") )
// custom constructors
// methods
.def("Value",
(gp_Lin2d (gce_MakeLin2d::*)() const) static_cast<gp_Lin2d (gce_MakeLin2d::*)() const>(&gce_MakeLin2d::Value),
R"#(Returns the constructed line. Exceptions StdFail_NotDone if no line is constructed.)#"
)
.def("Operator",
(gp_Lin2d (gce_MakeLin2d::*)() const) static_cast<gp_Lin2d (gce_MakeLin2d::*)() const>(&gce_MakeLin2d::Operator),
R"#(None)#"
)
// 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 gce_MakeParab from ./opencascade/gce_MakeParab.hxx
klass = m.attr("gce_MakeParab");
// nested enums
static_cast<py::class_<gce_MakeParab , shared_ptr<gce_MakeParab> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 &,const Standard_Real >() , py::arg("A2"), py::arg("Focal") )
.def(py::init< const gp_Ax1 &,const gp_Pnt & >() , py::arg("D"), py::arg("F") )
// 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
.def("Value",
(const gp_Parab & (gce_MakeParab::*)() const) static_cast<const gp_Parab & (gce_MakeParab::*)() const>(&gce_MakeParab::Value),
R"#(Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.)#"
)
.def("Operator",
(const gp_Parab & (gce_MakeParab::*)() const) static_cast<const gp_Parab & (gce_MakeParab::*)() const>(&gce_MakeParab::Operator),
R"#(None)#"
)
;
// Class gce_MakeParab2d from ./opencascade/gce_MakeParab2d.hxx
klass = m.attr("gce_MakeParab2d");
// nested enums
static_cast<py::class_<gce_MakeParab2d , shared_ptr<gce_MakeParab2d> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2d &,const Standard_Real,const Standard_Boolean >() , py::arg("MirrorAxis"), py::arg("Focal"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Ax22d &,const Standard_Real >() , py::arg("A"), py::arg("Focal") )
.def(py::init< const gp_Ax2d &,const gp_Pnt2d &,const Standard_Boolean >() , py::arg("D"), py::arg("F"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const gp_Pnt2d &,const gp_Pnt2d &,const Standard_Boolean >() , py::arg("S1"), py::arg("Center"), py::arg("Sense")=static_cast<const Standard_Boolean>(Standard_True) )
// 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
.def("Value",
(const gp_Parab2d & (gce_MakeParab2d::*)() const) static_cast<const gp_Parab2d & (gce_MakeParab2d::*)() const>(&gce_MakeParab2d::Value),
R"#(Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.)#"
)
.def("Operator",
(const gp_Parab2d & (gce_MakeParab2d::*)() const) static_cast<const gp_Parab2d & (gce_MakeParab2d::*)() const>(&gce_MakeParab2d::Operator),
R"#(None)#"
)
;
// Class gce_MakePln from ./opencascade/gce_MakePln.hxx
klass = m.attr("gce_MakePln");
// nested enums
static_cast<py::class_<gce_MakePln , shared_ptr<gce_MakePln> , gce_Root >>(klass)
// constructors
.def(py::init< const gp_Ax2 & >() , py::arg("A2") )
.def(py::init< const gp_Pnt &,const gp_Dir & >() , py::arg("P"), py::arg("V") )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("A"), py::arg("B"), py::arg("C"), py::arg("D") )
.def(py::init< const gp_Pln &,const gp_Pnt & >() , py::arg("Pln"), py::arg("Point") )
.def(py::init< const gp_Pln &,const Standard_Real >() , py::arg("Pln"), py::arg("Dist") )
.def(py::init< const gp_Pnt &,const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2"), py::arg("P3") )
.def(py::init< const gp_Pnt &,const gp_Pnt & >() , py::arg("P1"), py::arg("P2") )
.def(py::init< const gp_Ax1 & >() , py::arg("Axis") )
// 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
.def("Value",
(const gp_Pln & (gce_MakePln::*)() const) static_cast<const gp_Pln & (gce_MakePln::*)() const>(&gce_MakePln::Value),
R"#(Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed.)#"
)
.def("Operator",
(const gp_Pln & (gce_MakePln::*)() const) static_cast<const gp_Pln & (gce_MakePln::*)() const>(&gce_MakePln::Operator),
R"#(None)#"
)
;
// functions
// ./opencascade/gce_ErrorType.hxx
// ./opencascade/gce_MakeCirc.hxx
// ./opencascade/gce_MakeCirc2d.hxx
// ./opencascade/gce_MakeCone.hxx
// ./opencascade/gce_MakeCylinder.hxx
// ./opencascade/gce_MakeDir.hxx
// ./opencascade/gce_MakeDir2d.hxx
// ./opencascade/gce_MakeElips.hxx
// ./opencascade/gce_MakeElips2d.hxx
// ./opencascade/gce_MakeHypr.hxx
// ./opencascade/gce_MakeHypr2d.hxx
// ./opencascade/gce_MakeLin.hxx
// ./opencascade/gce_MakeLin2d.hxx
// ./opencascade/gce_MakeMirror.hxx
// ./opencascade/gce_MakeMirror2d.hxx
// ./opencascade/gce_MakeParab.hxx
// ./opencascade/gce_MakeParab2d.hxx
// ./opencascade/gce_MakePln.hxx
// ./opencascade/gce_MakeRotation.hxx
// ./opencascade/gce_MakeRotation2d.hxx
// ./opencascade/gce_MakeScale.hxx
// ./opencascade/gce_MakeScale2d.hxx
// ./opencascade/gce_MakeTranslation.hxx
// ./opencascade/gce_MakeTranslation2d.hxx
// ./opencascade/gce_Root.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
|