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
|
// 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 <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 <Plate_D1.hxx>
#include <Plate_D2.hxx>
#include <Plate_D3.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 <Plate_D2.hxx>
#include <Plate_D3.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 <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_Pln.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Plate_GlobalTranslationConstraint.hxx>
#include <Plate_LineConstraint.hxx>
#include <Plate_PlaneConstraint.hxx>
#include <Plate_SampledCurveConstraint.hxx>
#include <Plate_GtoCConstraint.hxx>
#include <Plate_FreeGtoCConstraint.hxx>
#include <math_Matrix.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 <Plate_Array1OfPinpointConstraint.hxx>
#include <Plate_D1.hxx>
#include <Plate_D2.hxx>
#include <Plate_D3.hxx>
#include <Plate_FreeGtoCConstraint.hxx>
#include <Plate_GlobalTranslationConstraint.hxx>
#include <Plate_GtoCConstraint.hxx>
#include <Plate_HArray1OfPinpointConstraint.hxx>
#include <Plate_LinearScalarConstraint.hxx>
#include <Plate_LinearXYZConstraint.hxx>
#include <Plate_LineConstraint.hxx>
#include <Plate_PinpointConstraint.hxx>
#include <Plate_PlaneConstraint.hxx>
#include <Plate_Plate.hxx>
#include <Plate_SampledCurveConstraint.hxx>
#include <Plate_SequenceOfLinearScalarConstraint.hxx>
#include <Plate_SequenceOfLinearXYZConstraint.hxx>
#include <Plate_SequenceOfPinpointConstraint.hxx>
// template related includes
// ./opencascade/Plate_Array1OfPinpointConstraint.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Plate_SequenceOfLinearScalarConstraint.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Plate_SequenceOfLinearXYZConstraint.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Plate_SequenceOfPinpointConstraint.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_Plate(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("Plate"));
py::object klass;
//Python trampoline classes
// classes
// Class Plate_D1 from ./opencascade/Plate_D1.hxx
klass = m.attr("Plate_D1");
// nested enums
static_cast<py::class_<Plate_D1 , shared_ptr<Plate_D1> >>(klass)
// constructors
.def(py::init< const gp_XYZ &,const gp_XYZ & >() , py::arg("du"), py::arg("dv") )
.def(py::init< const Plate_D1 & >() , py::arg("ref") )
// 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("DU",
(const gp_XYZ & (Plate_D1::*)() const) static_cast<const gp_XYZ & (Plate_D1::*)() const>(&Plate_D1::DU),
R"#(None)#"
)
.def("DV",
(const gp_XYZ & (Plate_D1::*)() const) static_cast<const gp_XYZ & (Plate_D1::*)() const>(&Plate_D1::DV),
R"#(None)#"
)
.def("DU",
(const gp_XYZ & (Plate_D1::*)() const) static_cast<const gp_XYZ & (Plate_D1::*)() const>(&Plate_D1::DU),
R"#(None)#"
)
.def("DV",
(const gp_XYZ & (Plate_D1::*)() const) static_cast<const gp_XYZ & (Plate_D1::*)() const>(&Plate_D1::DV),
R"#(None)#"
)
;
// Class Plate_D2 from ./opencascade/Plate_D2.hxx
klass = m.attr("Plate_D2");
// nested enums
static_cast<py::class_<Plate_D2 , shared_ptr<Plate_D2> >>(klass)
// constructors
.def(py::init< const gp_XYZ &,const gp_XYZ &,const gp_XYZ & >() , py::arg("duu"), py::arg("duv"), py::arg("dvv") )
.def(py::init< const Plate_D2 & >() , py::arg("ref") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Plate_D3 from ./opencascade/Plate_D3.hxx
klass = m.attr("Plate_D3");
// nested enums
static_cast<py::class_<Plate_D3 , shared_ptr<Plate_D3> >>(klass)
// constructors
.def(py::init< const gp_XYZ &,const gp_XYZ &,const gp_XYZ &,const gp_XYZ & >() , py::arg("duuu"), py::arg("duuv"), py::arg("duvv"), py::arg("dvvv") )
.def(py::init< const Plate_D3 & >() , py::arg("ref") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Plate_FreeGtoCConstraint from ./opencascade/Plate_FreeGtoCConstraint.hxx
klass = m.attr("Plate_FreeGtoCConstraint");
// nested enums
static_cast<py::class_<Plate_FreeGtoCConstraint , shared_ptr<Plate_FreeGtoCConstraint> >>(klass)
// constructors
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Standard_Real,const Standard_Integer >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("IncrementalLoad")=static_cast<const Standard_Real>(1.0), py::arg("orientation")=static_cast<const Standard_Integer>(0) )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 &,const Standard_Real,const Standard_Integer >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T"), py::arg("IncrementalLoad")=static_cast<const Standard_Real>(1.0), py::arg("orientation")=static_cast<const Standard_Integer>(0) )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 &,const Plate_D3 &,const Plate_D3 &,const Standard_Real,const Standard_Integer >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T"), py::arg("D3S"), py::arg("D3T"), py::arg("IncrementalLoad")=static_cast<const Standard_Real>(1.0), py::arg("orientation")=static_cast<const Standard_Integer>(0) )
// custom constructors
// methods
.def("GetPPC",
(const Plate_PinpointConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_PinpointConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const>(&Plate_FreeGtoCConstraint::GetPPC),
R"#(None)#" , py::arg("Index")
)
.def("LSC",
(const Plate_LinearScalarConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_LinearScalarConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const>(&Plate_FreeGtoCConstraint::LSC),
R"#(None)#" , py::arg("Index")
)
.def("GetPPC",
(const Plate_PinpointConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_PinpointConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const>(&Plate_FreeGtoCConstraint::GetPPC),
R"#(None)#" , py::arg("Index")
)
.def("LSC",
(const Plate_LinearScalarConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_LinearScalarConstraint & (Plate_FreeGtoCConstraint::*)( const Standard_Integer ) const>(&Plate_FreeGtoCConstraint::LSC),
R"#(None)#" , py::arg("Index")
)
// 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("nb_PPC",
(const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const>(&Plate_FreeGtoCConstraint::nb_PPC),
R"#(None)#"
)
.def("nb_LSC",
(const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const>(&Plate_FreeGtoCConstraint::nb_LSC),
R"#(None)#"
)
.def("nb_PPC",
(const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const>(&Plate_FreeGtoCConstraint::nb_PPC),
R"#(None)#"
)
.def("nb_LSC",
(const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_FreeGtoCConstraint::*)() const>(&Plate_FreeGtoCConstraint::nb_LSC),
R"#(None)#"
)
;
// Class Plate_GlobalTranslationConstraint from ./opencascade/Plate_GlobalTranslationConstraint.hxx
klass = m.attr("Plate_GlobalTranslationConstraint");
// nested enums
static_cast<py::class_<Plate_GlobalTranslationConstraint , shared_ptr<Plate_GlobalTranslationConstraint> >>(klass)
// constructors
.def(py::init< const NCollection_Sequence<gp_XY> & >() , py::arg("SOfXY") )
// 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("LXYZC",
(const Plate_LinearXYZConstraint & (Plate_GlobalTranslationConstraint::*)() const) static_cast<const Plate_LinearXYZConstraint & (Plate_GlobalTranslationConstraint::*)() const>(&Plate_GlobalTranslationConstraint::LXYZC),
R"#(None)#"
)
.def("LXYZC",
(const Plate_LinearXYZConstraint & (Plate_GlobalTranslationConstraint::*)() const) static_cast<const Plate_LinearXYZConstraint & (Plate_GlobalTranslationConstraint::*)() const>(&Plate_GlobalTranslationConstraint::LXYZC),
R"#(None)#"
)
;
// Class Plate_GtoCConstraint from ./opencascade/Plate_GtoCConstraint.hxx
klass = m.attr("Plate_GtoCConstraint");
// nested enums
static_cast<py::class_<Plate_GtoCConstraint , shared_ptr<Plate_GtoCConstraint> >>(klass)
// constructors
.def(py::init< const Plate_GtoCConstraint & >() , py::arg("ref") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const gp_XYZ & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("nP") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 &,const gp_XYZ & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T"), py::arg("nP") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 &,const Plate_D3 &,const Plate_D3 & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T"), py::arg("D3S"), py::arg("D3T") )
.def(py::init< const gp_XY &,const Plate_D1 &,const Plate_D1 &,const Plate_D2 &,const Plate_D2 &,const Plate_D3 &,const Plate_D3 &,const gp_XYZ & >() , py::arg("point2d"), py::arg("D1S"), py::arg("D1T"), py::arg("D2S"), py::arg("D2T"), py::arg("D3S"), py::arg("D3T"), py::arg("nP") )
// custom constructors
// methods
.def("GetPPC",
(const Plate_PinpointConstraint & (Plate_GtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_PinpointConstraint & (Plate_GtoCConstraint::*)( const Standard_Integer ) const>(&Plate_GtoCConstraint::GetPPC),
R"#(None)#" , py::arg("Index")
)
.def("GetPPC",
(const Plate_PinpointConstraint & (Plate_GtoCConstraint::*)( const Standard_Integer ) const) static_cast<const Plate_PinpointConstraint & (Plate_GtoCConstraint::*)( const Standard_Integer ) const>(&Plate_GtoCConstraint::GetPPC),
R"#(None)#" , py::arg("Index")
)
// 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("nb_PPC",
(const Standard_Integer & (Plate_GtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_GtoCConstraint::*)() const>(&Plate_GtoCConstraint::nb_PPC),
R"#(None)#"
)
.def("D1SurfInit",
(const Plate_D1 & (Plate_GtoCConstraint::*)() const) static_cast<const Plate_D1 & (Plate_GtoCConstraint::*)() const>(&Plate_GtoCConstraint::D1SurfInit),
R"#(None)#"
)
.def("nb_PPC",
(const Standard_Integer & (Plate_GtoCConstraint::*)() const) static_cast<const Standard_Integer & (Plate_GtoCConstraint::*)() const>(&Plate_GtoCConstraint::nb_PPC),
R"#(None)#"
)
.def("D1SurfInit",
(const Plate_D1 & (Plate_GtoCConstraint::*)() const) static_cast<const Plate_D1 & (Plate_GtoCConstraint::*)() const>(&Plate_GtoCConstraint::D1SurfInit),
R"#(None)#"
)
;
// Class Plate_HArray1OfPinpointConstraint from ./opencascade/Plate_HArray1OfPinpointConstraint.hxx
klass = m.attr("Plate_HArray1OfPinpointConstraint");
// nested enums
static_cast<py::class_<Plate_HArray1OfPinpointConstraint ,opencascade::handle<Plate_HArray1OfPinpointConstraint> , Plate_Array1OfPinpointConstraint , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("theLower"), py::arg("theUpper") )
.def(py::init< const Standard_Integer,const Standard_Integer, const Plate_PinpointConstraint & >() , py::arg("theLower"), py::arg("theUpper"), py::arg("theValue") )
.def(py::init< const Plate_PinpointConstraint &,const Standard_Integer,const Standard_Integer,const bool >() , py::arg("theBegin"), py::arg("theLower"), py::arg("theUpper"), py::arg("arg") )
.def(py::init< const NCollection_Array1<Plate_PinpointConstraint> & >() , py::arg("theOther") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Plate_HArray1OfPinpointConstraint::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Plate_HArray1OfPinpointConstraint::get_type_descriptor),
R"#(None)#"
)
// 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("Array1",
(const Plate_Array1OfPinpointConstraint & (Plate_HArray1OfPinpointConstraint::*)() const) static_cast<const Plate_Array1OfPinpointConstraint & (Plate_HArray1OfPinpointConstraint::*)() const>(&Plate_HArray1OfPinpointConstraint::Array1),
R"#(None)#"
)
.def("ChangeArray1",
(Plate_Array1OfPinpointConstraint & (Plate_HArray1OfPinpointConstraint::*)() ) static_cast<Plate_Array1OfPinpointConstraint & (Plate_HArray1OfPinpointConstraint::*)() >(&Plate_HArray1OfPinpointConstraint::ChangeArray1),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Plate_HArray1OfPinpointConstraint::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Plate_HArray1OfPinpointConstraint::*)() const>(&Plate_HArray1OfPinpointConstraint::DynamicType),
R"#(None)#"
)
;
// Class Plate_LineConstraint from ./opencascade/Plate_LineConstraint.hxx
klass = m.attr("Plate_LineConstraint");
// nested enums
static_cast<py::class_<Plate_LineConstraint , shared_ptr<Plate_LineConstraint> >>(klass)
// constructors
.def(py::init< const gp_XY &,const gp_Lin &,const Standard_Integer,const Standard_Integer >() , py::arg("point2d"), py::arg("lin"), py::arg("iu")=static_cast<const Standard_Integer>(0), py::arg("iv")=static_cast<const Standard_Integer>(0) )
// 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("LSC",
(const Plate_LinearScalarConstraint & (Plate_LineConstraint::*)() const) static_cast<const Plate_LinearScalarConstraint & (Plate_LineConstraint::*)() const>(&Plate_LineConstraint::LSC),
R"#(None)#"
)
.def("LSC",
(const Plate_LinearScalarConstraint & (Plate_LineConstraint::*)() const) static_cast<const Plate_LinearScalarConstraint & (Plate_LineConstraint::*)() const>(&Plate_LineConstraint::LSC),
R"#(None)#"
)
;
// Class Plate_LinearScalarConstraint from ./opencascade/Plate_LinearScalarConstraint.hxx
klass = m.attr("Plate_LinearScalarConstraint");
// nested enums
static_cast<py::class_<Plate_LinearScalarConstraint , shared_ptr<Plate_LinearScalarConstraint> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Plate_PinpointConstraint &,const gp_XYZ & >() , py::arg("thePPC1"), py::arg("theCoeff") )
.def(py::init< const NCollection_Array1<Plate_PinpointConstraint> &, const NCollection_Array1<gp_XYZ> & >() , py::arg("thePPC"), py::arg("theCoeff") )
.def(py::init< const NCollection_Array1<Plate_PinpointConstraint> &, const NCollection_Array2<gp_XYZ> & >() , py::arg("thePPC"), py::arg("theCoeff") )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("ColLen"), py::arg("RowLen") )
// custom constructors
// methods
.def("SetPPC",
(void (Plate_LinearScalarConstraint::*)( const Standard_Integer , const Plate_PinpointConstraint & ) ) static_cast<void (Plate_LinearScalarConstraint::*)( const Standard_Integer , const Plate_PinpointConstraint & ) >(&Plate_LinearScalarConstraint::SetPPC),
R"#(Sets the PinPointConstraint of index Index to Value raise if Index is greater than the length of PPC or the Row length of coeff or lower than 1)#" , py::arg("Index"), py::arg("Value")
)
.def("SetCoeff",
(void (Plate_LinearScalarConstraint::*)( const Standard_Integer , const Standard_Integer , const gp_XYZ & ) ) static_cast<void (Plate_LinearScalarConstraint::*)( const Standard_Integer , const Standard_Integer , const gp_XYZ & ) >(&Plate_LinearScalarConstraint::SetCoeff),
R"#(Sets the coeff of index (Row,Col) to Value raise if Row (respectively Col) is greater than the Row (respectively Column) length of coeff)#" , py::arg("Row"), py::arg("Col"), py::arg("Value")
)
// 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("GetPPC",
(const Plate_Array1OfPinpointConstraint & (Plate_LinearScalarConstraint::*)() const) static_cast<const Plate_Array1OfPinpointConstraint & (Plate_LinearScalarConstraint::*)() const>(&Plate_LinearScalarConstraint::GetPPC),
R"#(None)#"
)
.def("Coeff",
(const TColgp_Array2OfXYZ & (Plate_LinearScalarConstraint::*)() const) static_cast<const TColgp_Array2OfXYZ & (Plate_LinearScalarConstraint::*)() const>(&Plate_LinearScalarConstraint::Coeff),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("GetPPC",
(const Plate_Array1OfPinpointConstraint & (Plate_LinearScalarConstraint::*)() const) static_cast<const Plate_Array1OfPinpointConstraint & (Plate_LinearScalarConstraint::*)() const>(&Plate_LinearScalarConstraint::GetPPC),
R"#(None)#"
)
.def("Coeff",
(const TColgp_Array2OfXYZ & (Plate_LinearScalarConstraint::*)() const) static_cast<const TColgp_Array2OfXYZ & (Plate_LinearScalarConstraint::*)() const>(&Plate_LinearScalarConstraint::Coeff),
R"#(None)#"
, py::return_value_policy::reference_internal
)
;
// Class Plate_LinearXYZConstraint from ./opencascade/Plate_LinearXYZConstraint.hxx
klass = m.attr("Plate_LinearXYZConstraint");
// nested enums
static_cast<py::class_<Plate_LinearXYZConstraint , shared_ptr<Plate_LinearXYZConstraint> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Array1<Plate_PinpointConstraint> &, const NCollection_Array1<Standard_Real> & >() , py::arg("thePPC"), py::arg("theCoeff") )
.def(py::init< const NCollection_Array1<Plate_PinpointConstraint> &, const NCollection_Array2<Standard_Real> & >() , py::arg("thePPC"), py::arg("theCoeff") )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("ColLen"), py::arg("RowLen") )
// custom constructors
// methods
.def("SetPPC",
(void (Plate_LinearXYZConstraint::*)( const Standard_Integer , const Plate_PinpointConstraint & ) ) static_cast<void (Plate_LinearXYZConstraint::*)( const Standard_Integer , const Plate_PinpointConstraint & ) >(&Plate_LinearXYZConstraint::SetPPC),
R"#(Sets the PinPointConstraint of index Index to Value raise if Index is greater than the length of PPC or the Row length of coeff or lower than 1)#" , py::arg("Index"), py::arg("Value")
)
.def("SetCoeff",
(void (Plate_LinearXYZConstraint::*)( const Standard_Integer , const Standard_Integer , const Standard_Real ) ) static_cast<void (Plate_LinearXYZConstraint::*)( const Standard_Integer , const Standard_Integer , const Standard_Real ) >(&Plate_LinearXYZConstraint::SetCoeff),
R"#(Sets the coeff of index (Row,Col) to Value raise if Row (respectively Col) is greater than the Row (respectively Column) length of coeff)#" , py::arg("Row"), py::arg("Col"), py::arg("Value")
)
// 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("GetPPC",
(const Plate_Array1OfPinpointConstraint & (Plate_LinearXYZConstraint::*)() const) static_cast<const Plate_Array1OfPinpointConstraint & (Plate_LinearXYZConstraint::*)() const>(&Plate_LinearXYZConstraint::GetPPC),
R"#(None)#"
)
.def("Coeff",
(const TColStd_Array2OfReal & (Plate_LinearXYZConstraint::*)() const) static_cast<const TColStd_Array2OfReal & (Plate_LinearXYZConstraint::*)() const>(&Plate_LinearXYZConstraint::Coeff),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("GetPPC",
(const Plate_Array1OfPinpointConstraint & (Plate_LinearXYZConstraint::*)() const) static_cast<const Plate_Array1OfPinpointConstraint & (Plate_LinearXYZConstraint::*)() const>(&Plate_LinearXYZConstraint::GetPPC),
R"#(None)#"
)
.def("Coeff",
(const TColStd_Array2OfReal & (Plate_LinearXYZConstraint::*)() const) static_cast<const TColStd_Array2OfReal & (Plate_LinearXYZConstraint::*)() const>(&Plate_LinearXYZConstraint::Coeff),
R"#(None)#"
, py::return_value_policy::reference_internal
)
;
// Class Plate_PinpointConstraint from ./opencascade/Plate_PinpointConstraint.hxx
klass = m.attr("Plate_PinpointConstraint");
// nested enums
static_cast<py::class_<Plate_PinpointConstraint , shared_ptr<Plate_PinpointConstraint> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const gp_XY &,const gp_XYZ &,const Standard_Integer,const Standard_Integer >() , py::arg("point2d"), py::arg("ImposedValue"), py::arg("iu")=static_cast<const Standard_Integer>(0), py::arg("iv")=static_cast<const Standard_Integer>(0) )
// 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("Pnt2d",
(const gp_XY & (Plate_PinpointConstraint::*)() const) static_cast<const gp_XY & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Pnt2d),
R"#(None)#"
)
.def("Idu",
(const Standard_Integer & (Plate_PinpointConstraint::*)() const) static_cast<const Standard_Integer & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Idu),
R"#(None)#"
)
.def("Idv",
(const Standard_Integer & (Plate_PinpointConstraint::*)() const) static_cast<const Standard_Integer & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Idv),
R"#(None)#"
)
.def("Value",
(const gp_XYZ & (Plate_PinpointConstraint::*)() const) static_cast<const gp_XYZ & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Value),
R"#(None)#"
)
.def("Pnt2d",
(const gp_XY & (Plate_PinpointConstraint::*)() const) static_cast<const gp_XY & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Pnt2d),
R"#(None)#"
)
.def("Idu",
(const Standard_Integer & (Plate_PinpointConstraint::*)() const) static_cast<const Standard_Integer & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Idu),
R"#(None)#"
)
.def("Idv",
(const Standard_Integer & (Plate_PinpointConstraint::*)() const) static_cast<const Standard_Integer & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Idv),
R"#(None)#"
)
.def("Value",
(const gp_XYZ & (Plate_PinpointConstraint::*)() const) static_cast<const gp_XYZ & (Plate_PinpointConstraint::*)() const>(&Plate_PinpointConstraint::Value),
R"#(None)#"
)
;
// Class Plate_PlaneConstraint from ./opencascade/Plate_PlaneConstraint.hxx
klass = m.attr("Plate_PlaneConstraint");
// nested enums
static_cast<py::class_<Plate_PlaneConstraint , shared_ptr<Plate_PlaneConstraint> >>(klass)
// constructors
.def(py::init< const gp_XY &,const gp_Pln &,const Standard_Integer,const Standard_Integer >() , py::arg("point2d"), py::arg("pln"), py::arg("iu")=static_cast<const Standard_Integer>(0), py::arg("iv")=static_cast<const Standard_Integer>(0) )
// 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("LSC",
(const Plate_LinearScalarConstraint & (Plate_PlaneConstraint::*)() const) static_cast<const Plate_LinearScalarConstraint & (Plate_PlaneConstraint::*)() const>(&Plate_PlaneConstraint::LSC),
R"#(None)#"
)
.def("LSC",
(const Plate_LinearScalarConstraint & (Plate_PlaneConstraint::*)() const) static_cast<const Plate_LinearScalarConstraint & (Plate_PlaneConstraint::*)() const>(&Plate_PlaneConstraint::LSC),
R"#(None)#"
)
;
// Class Plate_Plate from ./opencascade/Plate_Plate.hxx
klass = m.attr("Plate_Plate");
// nested enums
static_cast<py::class_<Plate_Plate , shared_ptr<Plate_Plate> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Plate_Plate & >() , py::arg("Ref") )
// custom constructors
// methods
.def("Copy",
(Plate_Plate & (Plate_Plate::*)( const Plate_Plate & ) ) static_cast<Plate_Plate & (Plate_Plate::*)( const Plate_Plate & ) >(&Plate_Plate::Copy),
R"#(None)#" , py::arg("Ref")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_PinpointConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_PinpointConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("PConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_LinearXYZConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_LinearXYZConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("LXYZConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_LinearScalarConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_LinearScalarConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("LScalarConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_GlobalTranslationConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_GlobalTranslationConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("GTConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_LineConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_LineConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("LConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_PlaneConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_PlaneConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("PConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_SampledCurveConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_SampledCurveConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("SCConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_GtoCConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_GtoCConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("GtoCConst")
)
.def("Load",
(void (Plate_Plate::*)( const Plate_FreeGtoCConstraint & ) ) static_cast<void (Plate_Plate::*)( const Plate_FreeGtoCConstraint & ) >(&Plate_Plate::Load),
R"#(None)#" , py::arg("FGtoCConst")
)
.def("SolveTI",
(void (Plate_Plate::*)( const Standard_Integer , const Standard_Real , const Message_ProgressRange & ) ) static_cast<void (Plate_Plate::*)( const Standard_Integer , const Standard_Real , const Message_ProgressRange & ) >(&Plate_Plate::SolveTI),
R"#(None)#" , py::arg("ord")=static_cast<const Standard_Integer>(4), py::arg("anisotropie")=static_cast<const Standard_Real>(1.0), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("IsDone",
(Standard_Boolean (Plate_Plate::*)() const) static_cast<Standard_Boolean (Plate_Plate::*)() const>(&Plate_Plate::IsDone),
R"#(returns True if all has been correctly done.)#"
)
.def("destroy",
(void (Plate_Plate::*)() ) static_cast<void (Plate_Plate::*)() >(&Plate_Plate::destroy),
R"#(None)#"
)
.def("Init",
(void (Plate_Plate::*)() ) static_cast<void (Plate_Plate::*)() >(&Plate_Plate::Init),
R"#(reset the Plate in the initial state ( same as after Create()))#"
)
.def("Evaluate",
(gp_XYZ (Plate_Plate::*)( const gp_XY & ) const) static_cast<gp_XYZ (Plate_Plate::*)( const gp_XY & ) const>(&Plate_Plate::Evaluate),
R"#(None)#" , py::arg("point2d")
)
.def("EvaluateDerivative",
(gp_XYZ (Plate_Plate::*)( const gp_XY & , const Standard_Integer , const Standard_Integer ) const) static_cast<gp_XYZ (Plate_Plate::*)( const gp_XY & , const Standard_Integer , const Standard_Integer ) const>(&Plate_Plate::EvaluateDerivative),
R"#(None)#" , py::arg("point2d"), py::arg("iu"), py::arg("iv")
)
.def("SetPolynomialPartOnly",
(void (Plate_Plate::*)( const Standard_Boolean ) ) static_cast<void (Plate_Plate::*)( const Standard_Boolean ) >(&Plate_Plate::SetPolynomialPartOnly),
R"#(None)#" , py::arg("PPOnly")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("Continuity",
(Standard_Integer (Plate_Plate::*)() const) static_cast<Standard_Integer (Plate_Plate::*)() const>(&Plate_Plate::Continuity),
R"#(None)#"
)
.def("UVConstraints",
(void (Plate_Plate::*)( NCollection_Sequence<gp_XY> & ) const) static_cast<void (Plate_Plate::*)( NCollection_Sequence<gp_XY> & ) const>(&Plate_Plate::UVConstraints),
R"#(None)#" , py::arg("Seq")
)
// methods using call by reference i.s.o. return
.def("CoefPol",
[]( Plate_Plate &self , TColgp_HArray2OfXYZ& Coefs ){
opencascade::handle<TColgp_HArray2OfXYZ> Coefs_ptr; Coefs_ptr = &Coefs;
self.CoefPol(Coefs_ptr);
if ( Coefs_ptr.get() != &Coefs ) copy_if_copy_constructible(Coefs, *Coefs_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("Coefs")
)
.def("UVBox",
[]( Plate_Plate &self ){
Standard_Real UMin;
Standard_Real UMax;
Standard_Real VMin;
Standard_Real VMax;
self.UVBox(UMin,UMax,VMin,VMax);
return std::make_tuple(UMin,UMax,VMin,VMax); },
R"#(None)#"
)
// 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 Plate_SampledCurveConstraint from ./opencascade/Plate_SampledCurveConstraint.hxx
klass = m.attr("Plate_SampledCurveConstraint");
// nested enums
static_cast<py::class_<Plate_SampledCurveConstraint , shared_ptr<Plate_SampledCurveConstraint> >>(klass)
// constructors
.def(py::init< const NCollection_Sequence<Plate_PinpointConstraint> &,const Standard_Integer >() , py::arg("SOPPC"), py::arg("n") )
// 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("LXYZC",
(const Plate_LinearXYZConstraint & (Plate_SampledCurveConstraint::*)() const) static_cast<const Plate_LinearXYZConstraint & (Plate_SampledCurveConstraint::*)() const>(&Plate_SampledCurveConstraint::LXYZC),
R"#(None)#"
)
.def("LXYZC",
(const Plate_LinearXYZConstraint & (Plate_SampledCurveConstraint::*)() const) static_cast<const Plate_LinearXYZConstraint & (Plate_SampledCurveConstraint::*)() const>(&Plate_SampledCurveConstraint::LXYZC),
R"#(None)#"
)
;
// functions
// ./opencascade/Plate_Array1OfPinpointConstraint.hxx
// ./opencascade/Plate_D1.hxx
// ./opencascade/Plate_D2.hxx
// ./opencascade/Plate_D3.hxx
// ./opencascade/Plate_FreeGtoCConstraint.hxx
// ./opencascade/Plate_GlobalTranslationConstraint.hxx
// ./opencascade/Plate_GtoCConstraint.hxx
// ./opencascade/Plate_HArray1OfPinpointConstraint.hxx
// ./opencascade/Plate_LineConstraint.hxx
// ./opencascade/Plate_LinearScalarConstraint.hxx
// ./opencascade/Plate_LinearXYZConstraint.hxx
// ./opencascade/Plate_PinpointConstraint.hxx
// ./opencascade/Plate_PlaneConstraint.hxx
// ./opencascade/Plate_Plate.hxx
// ./opencascade/Plate_SampledCurveConstraint.hxx
// ./opencascade/Plate_SequenceOfLinearScalarConstraint.hxx
// ./opencascade/Plate_SequenceOfLinearXYZConstraint.hxx
// ./opencascade/Plate_SequenceOfPinpointConstraint.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Array1<Plate_PinpointConstraint>(m,"Plate_Array1OfPinpointConstraint");
register_template_NCollection_Sequence<Plate_LinearScalarConstraint>(m,"Plate_SequenceOfLinearScalarConstraint");
register_template_NCollection_Sequence<Plate_LinearXYZConstraint>(m,"Plate_SequenceOfLinearXYZConstraint");
register_template_NCollection_Sequence<Plate_PinpointConstraint>(m,"Plate_SequenceOfPinpointConstraint");
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|