1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
|
// 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 <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 <IntPolyh_Triangle.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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <IntPolyh_MaillageAffinage.hxx>
#include <Adaptor2d_Curve2d.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 <IntPolyh_Triangle.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor2d_Curve2d.hxx>
// module includes
#include <IntPolyh_Array.hxx>
#include <IntPolyh_ArrayOfEdges.hxx>
#include <IntPolyh_ArrayOfPointNormal.hxx>
#include <IntPolyh_ArrayOfPoints.hxx>
#include <IntPolyh_ArrayOfSectionLines.hxx>
#include <IntPolyh_ArrayOfTangentZones.hxx>
#include <IntPolyh_ArrayOfTriangles.hxx>
#include <IntPolyh_Couple.hxx>
#include <IntPolyh_Edge.hxx>
#include <IntPolyh_Intersection.hxx>
#include <IntPolyh_ListOfCouples.hxx>
#include <IntPolyh_MaillageAffinage.hxx>
#include <IntPolyh_PMaillageAffinage.hxx>
#include <IntPolyh_Point.hxx>
#include <IntPolyh_SectionLine.hxx>
#include <IntPolyh_SeqOfStartPoints.hxx>
#include <IntPolyh_StartPoint.hxx>
#include <IntPolyh_Tools.hxx>
#include <IntPolyh_Triangle.hxx>
// template related includes
// ./opencascade/IntPolyh_ListOfCouples.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/IntPolyh_SeqOfStartPoints.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_IntPolyh(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("IntPolyh"));
py::object klass;
//Python trampoline classes
// classes
// Class IntPolyh_Couple from ./opencascade/IntPolyh_Couple.hxx
klass = m.attr("IntPolyh_Couple");
// nested enums
static_cast<py::class_<IntPolyh_Couple , shared_ptr<IntPolyh_Couple> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Real >() , py::arg("theTriangle1"), py::arg("theTriangle2"), py::arg("theAngle")=static_cast<const Standard_Real>(- 2.0) )
// custom constructors
// methods
.def("FirstValue",
(Standard_Integer (IntPolyh_Couple::*)() const) static_cast<Standard_Integer (IntPolyh_Couple::*)() const>(&IntPolyh_Couple::FirstValue),
R"#(Returns the first index)#"
)
.def("SecondValue",
(Standard_Integer (IntPolyh_Couple::*)() const) static_cast<Standard_Integer (IntPolyh_Couple::*)() const>(&IntPolyh_Couple::SecondValue),
R"#(Returns the second index)#"
)
.def("IsAnalyzed",
(Standard_Boolean (IntPolyh_Couple::*)() const) static_cast<Standard_Boolean (IntPolyh_Couple::*)() const>(&IntPolyh_Couple::IsAnalyzed),
R"#(Returns TRUE if the couple has been analyzed)#"
)
.def("Angle",
(Standard_Real (IntPolyh_Couple::*)() const) static_cast<Standard_Real (IntPolyh_Couple::*)() const>(&IntPolyh_Couple::Angle),
R"#(Returns the angle)#"
)
.def("SetCoupleValue",
(void (IntPolyh_Couple::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Couple::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Couple::SetCoupleValue),
R"#(Sets the triangles)#" , py::arg("theInd1"), py::arg("theInd2")
)
.def("SetAnalyzed",
(void (IntPolyh_Couple::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_Couple::*)( const Standard_Boolean ) >(&IntPolyh_Couple::SetAnalyzed),
R"#(Sets the analyzed flag)#" , py::arg("theAnalyzed")
)
.def("SetAngle",
(void (IntPolyh_Couple::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Couple::*)( const Standard_Real ) >(&IntPolyh_Couple::SetAngle),
R"#(Sets the angle)#" , py::arg("theAngle")
)
.def("IsEqual",
(Standard_Boolean (IntPolyh_Couple::*)( const IntPolyh_Couple & ) const) static_cast<Standard_Boolean (IntPolyh_Couple::*)( const IntPolyh_Couple & ) const>(&IntPolyh_Couple::IsEqual),
R"#(Returns true if the Couple is equal to <theOther>)#" , py::arg("theOther")
)
.def("Dump",
(void (IntPolyh_Couple::*)( const Standard_Integer ) const) static_cast<void (IntPolyh_Couple::*)( const Standard_Integer ) const>(&IntPolyh_Couple::Dump),
R"#(None)#" , py::arg("v")
)
// 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 IntPolyh_Edge from ./opencascade/IntPolyh_Edge.hxx
klass = m.attr("IntPolyh_Edge");
// nested enums
static_cast<py::class_<IntPolyh_Edge , shared_ptr<IntPolyh_Edge> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer >() , py::arg("thePoint1"), py::arg("thePoint2"), py::arg("theTriangle1"), py::arg("theTriangle2") )
// custom constructors
// methods
.def("FirstPoint",
(Standard_Integer (IntPolyh_Edge::*)() const) static_cast<Standard_Integer (IntPolyh_Edge::*)() const>(&IntPolyh_Edge::FirstPoint),
R"#(Returns the first point)#"
)
.def("SecondPoint",
(Standard_Integer (IntPolyh_Edge::*)() const) static_cast<Standard_Integer (IntPolyh_Edge::*)() const>(&IntPolyh_Edge::SecondPoint),
R"#(Returns the second point)#"
)
.def("FirstTriangle",
(Standard_Integer (IntPolyh_Edge::*)() const) static_cast<Standard_Integer (IntPolyh_Edge::*)() const>(&IntPolyh_Edge::FirstTriangle),
R"#(Returns the first triangle)#"
)
.def("SecondTriangle",
(Standard_Integer (IntPolyh_Edge::*)() const) static_cast<Standard_Integer (IntPolyh_Edge::*)() const>(&IntPolyh_Edge::SecondTriangle),
R"#(Returns the second triangle)#"
)
.def("SetFirstPoint",
(void (IntPolyh_Edge::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Edge::*)( const Standard_Integer ) >(&IntPolyh_Edge::SetFirstPoint),
R"#(Sets the first point)#" , py::arg("thePoint")
)
.def("SetSecondPoint",
(void (IntPolyh_Edge::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Edge::*)( const Standard_Integer ) >(&IntPolyh_Edge::SetSecondPoint),
R"#(Sets the second point)#" , py::arg("thePoint")
)
.def("SetFirstTriangle",
(void (IntPolyh_Edge::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Edge::*)( const Standard_Integer ) >(&IntPolyh_Edge::SetFirstTriangle),
R"#(Sets the first triangle)#" , py::arg("theTriangle")
)
.def("SetSecondTriangle",
(void (IntPolyh_Edge::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Edge::*)( const Standard_Integer ) >(&IntPolyh_Edge::SetSecondTriangle),
R"#(Sets the second triangle)#" , py::arg("theTriangle")
)
.def("Dump",
(void (IntPolyh_Edge::*)( const Standard_Integer ) const) static_cast<void (IntPolyh_Edge::*)( const Standard_Integer ) const>(&IntPolyh_Edge::Dump),
R"#(None)#" , py::arg("v")
)
// 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 IntPolyh_Intersection from ./opencascade/IntPolyh_Intersection.hxx
klass = m.attr("IntPolyh_Intersection");
// nested enums
static_cast<py::class_<IntPolyh_Intersection , shared_ptr<IntPolyh_Intersection> >>(klass)
// constructors
.def(py::init< const opencascade::handle<Adaptor3d_Surface> &,const opencascade::handle<Adaptor3d_Surface> & >() , py::arg("theS1"), py::arg("theS2") )
.def(py::init< const opencascade::handle<Adaptor3d_Surface> &,const Standard_Integer,const Standard_Integer,const opencascade::handle<Adaptor3d_Surface> &,const Standard_Integer,const Standard_Integer >() , py::arg("theS1"), py::arg("theNbSU1"), py::arg("theNbSV1"), py::arg("theS2"), py::arg("theNbSU2"), py::arg("theNbSV2") )
.def(py::init< const opencascade::handle<Adaptor3d_Surface> &, const NCollection_Array1<Standard_Real> &, const NCollection_Array1<Standard_Real> &,const opencascade::handle<Adaptor3d_Surface> &, const NCollection_Array1<Standard_Real> &, const NCollection_Array1<Standard_Real> & >() , py::arg("theS1"), py::arg("theUPars1"), py::arg("theVPars1"), py::arg("theS2"), py::arg("theUPars2"), py::arg("theVPars2") )
// custom constructors
// methods
.def("IsDone",
(Standard_Boolean (IntPolyh_Intersection::*)() const) static_cast<Standard_Boolean (IntPolyh_Intersection::*)() const>(&IntPolyh_Intersection::IsDone),
R"#(Returns state of the operation)#"
)
.def("IsParallel",
(Standard_Boolean (IntPolyh_Intersection::*)() const) static_cast<Standard_Boolean (IntPolyh_Intersection::*)() const>(&IntPolyh_Intersection::IsParallel),
R"#(Returns state of the operation)#"
)
.def("NbSectionLines",
(Standard_Integer (IntPolyh_Intersection::*)() const) static_cast<Standard_Integer (IntPolyh_Intersection::*)() const>(&IntPolyh_Intersection::NbSectionLines),
R"#(Returns the number of section lines)#"
)
.def("NbPointsInLine",
(Standard_Integer (IntPolyh_Intersection::*)( const Standard_Integer ) const) static_cast<Standard_Integer (IntPolyh_Intersection::*)( const Standard_Integer ) const>(&IntPolyh_Intersection::NbPointsInLine),
R"#(Returns the number of points in the given line)#" , py::arg("IndexLine")
)
.def("NbTangentZones",
(Standard_Integer (IntPolyh_Intersection::*)() const) static_cast<Standard_Integer (IntPolyh_Intersection::*)() const>(&IntPolyh_Intersection::NbTangentZones),
R"#(None)#"
)
.def("NbPointsInTangentZone",
(Standard_Integer (IntPolyh_Intersection::*)( const Standard_Integer ) const) static_cast<Standard_Integer (IntPolyh_Intersection::*)( const Standard_Integer ) const>(&IntPolyh_Intersection::NbPointsInTangentZone),
R"#(Returns number of points in tangent zone)#" , py::arg("arg")
)
// methods using call by reference i.s.o. return
.def("GetLinePoint",
[]( IntPolyh_Intersection &self , const Standard_Integer IndexLine,const Standard_Integer IndexPoint ){
Standard_Real x;
Standard_Real y;
Standard_Real z;
Standard_Real u1;
Standard_Real v1;
Standard_Real u2;
Standard_Real v2;
Standard_Real incidence;
self.GetLinePoint(IndexLine,IndexPoint,x,y,z,u1,v1,u2,v2,incidence);
return std::make_tuple(x,y,z,u1,v1,u2,v2,incidence); },
R"#(Gets the parameters of the point in section line)#" , py::arg("IndexLine"), py::arg("IndexPoint")
)
.def("GetTangentZonePoint",
[]( IntPolyh_Intersection &self , const Standard_Integer IndexLine,const Standard_Integer IndexPoint ){
Standard_Real x;
Standard_Real y;
Standard_Real z;
Standard_Real u1;
Standard_Real v1;
Standard_Real u2;
Standard_Real v2;
self.GetTangentZonePoint(IndexLine,IndexPoint,x,y,z,u1,v1,u2,v2);
return std::make_tuple(x,y,z,u1,v1,u2,v2); },
R"#(Gets the parameters of the point in tangent zone)#" , py::arg("IndexLine"), py::arg("IndexPoint")
)
// 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 IntPolyh_MaillageAffinage from ./opencascade/IntPolyh_MaillageAffinage.hxx
klass = m.attr("IntPolyh_MaillageAffinage");
// nested enums
static_cast<py::class_<IntPolyh_MaillageAffinage , shared_ptr<IntPolyh_MaillageAffinage> >>(klass)
// constructors
.def(py::init< const opencascade::handle<Adaptor3d_Surface> &,const Standard_Integer,const Standard_Integer,const opencascade::handle<Adaptor3d_Surface> &,const Standard_Integer,const Standard_Integer,const Standard_Integer >() , py::arg("S1"), py::arg("NbSU1"), py::arg("NbSV1"), py::arg("S2"), py::arg("NbSU2"), py::arg("NbSV2"), py::arg("PRINT") )
.def(py::init< const opencascade::handle<Adaptor3d_Surface> &,const opencascade::handle<Adaptor3d_Surface> &,const Standard_Integer >() , py::arg("S1"), py::arg("S2"), py::arg("PRINT") )
// custom constructors
// methods
.def("MakeSampling",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , NCollection_Array1<Standard_Real> & , NCollection_Array1<Standard_Real> & ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , NCollection_Array1<Standard_Real> & , NCollection_Array1<Standard_Real> & ) >(&IntPolyh_MaillageAffinage::MakeSampling),
R"#(Makes the sampling of the surface - Fills the arrays with the parametric values of the sampling points (triangulation nodes).)#" , py::arg("SurfID"), py::arg("theUPars"), py::arg("theVPars")
)
.def("FillArrayOfPnt",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) >(&IntPolyh_MaillageAffinage::FillArrayOfPnt),
R"#(Computes points on one surface and fills an array of points; standard (default) method)#" , py::arg("SurfID")
)
.def("FillArrayOfPnt",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean ) >(&IntPolyh_MaillageAffinage::FillArrayOfPnt),
R"#(isShiftFwd flag is added. The purpose is to define shift of points along normal to the surface in this point. The shift length represents maximal deflection of triangulation. The direction (forward or reversed regarding to normal direction) is defined by isShiftFwd flag. Compute points on one surface and fill an array of points; advanced method)#" , py::arg("SurfID"), py::arg("isShiftFwd")
)
.def("FillArrayOfPnt",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real * ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real * ) >(&IntPolyh_MaillageAffinage::FillArrayOfPnt),
R"#(Compute points on one surface and fill an array of points; If given, <theDeflTol> is the deflection tolerance of the given sampling. standard (default) method)#" , py::arg("SurfID"), py::arg("Upars"), py::arg("Vpars"), py::arg("theDeflTol")=static_cast<const Standard_Real *>(NULL)
)
.def("FillArrayOfPnt",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real * ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real * ) >(&IntPolyh_MaillageAffinage::FillArrayOfPnt),
R"#(isShiftFwd flag is added. The purpose is to define shift of points along normal to the surface in this point. The shift length represents maximal deflection of triangulation. The direction (forward or reversed regarding to normal direction) is defined by isShiftFwd flag. Compute points on one surface and fill an array of points; If given, <theDeflTol> is the deflection tolerance of the given sampling. advanced method)#" , py::arg("SurfID"), py::arg("isShiftFwd"), py::arg("Upars"), py::arg("Vpars"), py::arg("theDeflTol")=static_cast<const Standard_Real *>(NULL)
)
.def("FillArrayOfPnt",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean , const IntPolyh_Array<IntPolyh_PointNormal> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Boolean , const IntPolyh_Array<IntPolyh_PointNormal> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , const Standard_Real ) >(&IntPolyh_MaillageAffinage::FillArrayOfPnt),
R"#(Fills the array of points for the surface taking into account the shift)#" , py::arg("SurfID"), py::arg("isShiftFwd"), py::arg("thePoints"), py::arg("theUPars"), py::arg("theVPars"), py::arg("theDeflTol")
)
.def("CommonBox",
(void (IntPolyh_MaillageAffinage::*)() ) static_cast<void (IntPolyh_MaillageAffinage::*)() >(&IntPolyh_MaillageAffinage::CommonBox),
R"#(Looks for the common box of the surfaces and marks the points of the surfaces inside that common box for possible intersection)#"
)
.def("FillArrayOfEdges",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) >(&IntPolyh_MaillageAffinage::FillArrayOfEdges),
R"#(Compute edges from the array of points)#" , py::arg("SurfID")
)
.def("FillArrayOfTriangles",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) >(&IntPolyh_MaillageAffinage::FillArrayOfTriangles),
R"#(Compute triangles from the array of points, and -- mark the triangles that use marked points by the CommonBox function.)#" , py::arg("SurfID")
)
.def("CommonPartRefinement",
(void (IntPolyh_MaillageAffinage::*)() ) static_cast<void (IntPolyh_MaillageAffinage::*)() >(&IntPolyh_MaillageAffinage::CommonPartRefinement),
R"#(Refine systematicaly all marked triangles of both surfaces)#"
)
.def("LocalSurfaceRefinement",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) >(&IntPolyh_MaillageAffinage::LocalSurfaceRefinement),
R"#(Refine systematicaly all marked triangles of ONE surface)#" , py::arg("SurfId")
)
.def("ComputeDeflections",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) >(&IntPolyh_MaillageAffinage::ComputeDeflections),
R"#(Compute deflection for all triangles of one surface,and sort min and max of deflections)#" , py::arg("SurfID")
)
.def("TrianglesDeflectionsRefinementBSB",
(void (IntPolyh_MaillageAffinage::*)() ) static_cast<void (IntPolyh_MaillageAffinage::*)() >(&IntPolyh_MaillageAffinage::TrianglesDeflectionsRefinementBSB),
R"#(Refine both surfaces using BoundSortBox as -- rejection. The criterions used to refine a -- triangle are: The deflection The size of the -- bounding boxes (one surface may be very small compared to the other))#"
)
.def("TriContact",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , Standard_Real & ) const) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , Standard_Real & ) const>(&IntPolyh_MaillageAffinage::TriContact),
R"#(This function checks if two triangles are in contact or not, return 1 if yes, return 0 if not.)#" , py::arg("P1"), py::arg("P2"), py::arg("P3"), py::arg("Q1"), py::arg("Q2"), py::arg("Q3"), py::arg("Angle")
)
.def("TriangleEdgeContact",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_Triangle & , const IntPolyh_Triangle & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_Triangle & , const IntPolyh_Triangle & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , const IntPolyh_Point & , IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const>(&IntPolyh_MaillageAffinage::TriangleEdgeContact),
R"#(None)#" , py::arg("TriSurfID"), py::arg("EdgeIndice"), py::arg("Tri1"), py::arg("Tri2"), py::arg("P1"), py::arg("P2"), py::arg("P3"), py::arg("C1"), py::arg("C2"), py::arg("C3"), py::arg("Pe1"), py::arg("Pe2"), py::arg("E"), py::arg("N"), py::arg("SP1"), py::arg("SP2")
)
.def("StartingPointsResearch",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const>(&IntPolyh_MaillageAffinage::StartingPointsResearch),
R"#(From two triangles compute intersection points. If we found more than two intersection points that means that those triangles are coplanar)#" , py::arg("T1"), py::arg("T2"), py::arg("SP1"), py::arg("SP2")
)
.def("NextStartingPointsResearch",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_StartPoint & , IntPolyh_StartPoint & ) const>(&IntPolyh_MaillageAffinage::NextStartingPointsResearch),
R"#(from two triangles and an intersection point I search the other point (if it exists). This function is used by StartPointChain)#" , py::arg("T1"), py::arg("T2"), py::arg("SPInit"), py::arg("SPNext")
)
.def("TriangleCompare",
(Standard_Integer (IntPolyh_MaillageAffinage::*)() ) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)() >(&IntPolyh_MaillageAffinage::TriangleCompare),
R"#(Analyse each couple of triangles from the two -- array of triangles, to see if they are in contact, and compute the incidence. Then put couples in contact in the array of couples)#"
)
.def("StartPointsChain",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( IntPolyh_Array<IntPolyh_SectionLine> & , IntPolyh_Array<IntPolyh_StartPoint> & ) ) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( IntPolyh_Array<IntPolyh_SectionLine> & , IntPolyh_Array<IntPolyh_StartPoint> & ) >(&IntPolyh_MaillageAffinage::StartPointsChain),
R"#(Loop on the array of couples. Compute StartPoints. Try to chain the StartPoints into SectionLines or put the point in the ArrayOfTangentZones if chaining it, is not possible.)#" , py::arg("TSectionLines"), py::arg("TTangentZones")
)
.def("GetNextChainStartPoint",
(Standard_Integer (IntPolyh_MaillageAffinage::*)( const IntPolyh_StartPoint & , IntPolyh_StartPoint & , IntPolyh_SectionLine & , IntPolyh_Array<IntPolyh_StartPoint> & , const Standard_Boolean ) ) static_cast<Standard_Integer (IntPolyh_MaillageAffinage::*)( const IntPolyh_StartPoint & , IntPolyh_StartPoint & , IntPolyh_SectionLine & , IntPolyh_Array<IntPolyh_StartPoint> & , const Standard_Boolean ) >(&IntPolyh_MaillageAffinage::GetNextChainStartPoint),
R"#(Mainly used by StartPointsChain(), this function try to compute the next StartPoint.)#" , py::arg("SPInit"), py::arg("SPNext"), py::arg("MySectionLine"), py::arg("TTangentZones"), py::arg("Prepend")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("GetArrayOfPoints",
(const IntPolyh_ArrayOfPoints & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<const IntPolyh_ArrayOfPoints & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetArrayOfPoints),
R"#(None)#" , py::arg("SurfID")
)
.def("GetArrayOfEdges",
(const IntPolyh_ArrayOfEdges & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<const IntPolyh_ArrayOfEdges & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetArrayOfEdges),
R"#(None)#" , py::arg("SurfID")
)
.def("GetArrayOfTriangles",
(const IntPolyh_ArrayOfTriangles & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<const IntPolyh_ArrayOfTriangles & (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetArrayOfTriangles),
R"#(None)#" , py::arg("SurfID")
)
.def("GetBox",
(Bnd_Box (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<Bnd_Box (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetBox),
R"#(None)#" , py::arg("SurfID")
)
.def("SetEnlargeZone",
(void (IntPolyh_MaillageAffinage::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_MaillageAffinage::*)( const Standard_Boolean ) >(&IntPolyh_MaillageAffinage::SetEnlargeZone),
R"#(None)#" , py::arg("EnlargeZone")
)
.def("GetEnlargeZone",
(Standard_Boolean (IntPolyh_MaillageAffinage::*)() const) static_cast<Standard_Boolean (IntPolyh_MaillageAffinage::*)() const>(&IntPolyh_MaillageAffinage::GetEnlargeZone),
R"#(None)#"
)
.def("GetMinDeflection",
(Standard_Real (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<Standard_Real (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetMinDeflection),
R"#(returns FlecheMin)#" , py::arg("SurfID")
)
.def("GetMaxDeflection",
(Standard_Real (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const) static_cast<Standard_Real (IntPolyh_MaillageAffinage::*)( const Standard_Integer ) const>(&IntPolyh_MaillageAffinage::GetMaxDeflection),
R"#(returns FlecheMax)#" , py::arg("SurfID")
)
// methods using call by reference i.s.o. return
.def("CommonBox",
[]( IntPolyh_MaillageAffinage &self , const Bnd_Box & B1,const Bnd_Box & B2 ){
Standard_Real xMin;
Standard_Real yMin;
Standard_Real zMin;
Standard_Real xMax;
Standard_Real yMax;
Standard_Real zMax;
self.CommonBox(B1,B2,xMin,yMin,zMin,xMax,yMax,zMax);
return std::make_tuple(xMin,yMin,zMin,xMax,yMax,zMax); },
R"#(Compute the common box witch is the intersection of the two bounding boxes, and mark the points of the two surfaces that are inside.)#" , py::arg("B1"), py::arg("B2")
)
// 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("GetCouples",
(IntPolyh_ListOfCouples & (IntPolyh_MaillageAffinage::*)() ) static_cast<IntPolyh_ListOfCouples & (IntPolyh_MaillageAffinage::*)() >(&IntPolyh_MaillageAffinage::GetCouples),
R"#(This method returns list of couples of contact triangles.)#"
, py::return_value_policy::reference_internal
)
;
// Class IntPolyh_Point from ./opencascade/IntPolyh_Point.hxx
klass = m.attr("IntPolyh_Point");
// nested enums
static_cast<py::class_<IntPolyh_Point , shared_ptr<IntPolyh_Point> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real >() , py::arg("x"), py::arg("y"), py::arg("z"), py::arg("u"), py::arg("v") )
// custom constructors
// methods
.def("X",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::X),
R"#(Returns X coordinate of the 3D point)#"
)
.def("Y",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::Y),
R"#(Returns Y coordinate of the 3D point)#"
)
.def("Z",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::Z),
R"#(Returns the Z coordinate of the 3D point)#"
)
.def("U",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::U),
R"#(Returns the U coordinate of the 2D point)#"
)
.def("V",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::V),
R"#(Returns the V coordinate of the 2D point)#"
)
.def("PartOfCommon",
(Standard_Integer (IntPolyh_Point::*)() const) static_cast<Standard_Integer (IntPolyh_Point::*)() const>(&IntPolyh_Point::PartOfCommon),
R"#(Returns 0 if the point is not common with the other surface)#"
)
.def("Set",
(void (IntPolyh_Point::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Real , const Standard_Integer ) >(&IntPolyh_Point::Set),
R"#(Sets the point)#" , py::arg("x"), py::arg("y"), py::arg("z"), py::arg("u"), py::arg("v"), py::arg("II")=static_cast<const Standard_Integer>(1)
)
.def("SetX",
(void (IntPolyh_Point::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real ) >(&IntPolyh_Point::SetX),
R"#(Sets the X coordinate for the 3D point)#" , py::arg("x")
)
.def("SetY",
(void (IntPolyh_Point::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real ) >(&IntPolyh_Point::SetY),
R"#(Sets the Y coordinate for the 3D point)#" , py::arg("y")
)
.def("SetZ",
(void (IntPolyh_Point::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real ) >(&IntPolyh_Point::SetZ),
R"#(Sets the Z coordinate for the 3D point)#" , py::arg("z")
)
.def("SetU",
(void (IntPolyh_Point::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real ) >(&IntPolyh_Point::SetU),
R"#(Sets the U coordinate for the 2D point)#" , py::arg("u")
)
.def("SetV",
(void (IntPolyh_Point::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Real ) >(&IntPolyh_Point::SetV),
R"#(Sets the V coordinate for the 2D point)#" , py::arg("v")
)
.def("SetPartOfCommon",
(void (IntPolyh_Point::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Integer ) >(&IntPolyh_Point::SetPartOfCommon),
R"#(Sets the part of common)#" , py::arg("ii")
)
.def("Middle",
(void (IntPolyh_Point::*)( const opencascade::handle<Adaptor3d_Surface> & , const IntPolyh_Point & , const IntPolyh_Point & ) ) static_cast<void (IntPolyh_Point::*)( const opencascade::handle<Adaptor3d_Surface> & , const IntPolyh_Point & , const IntPolyh_Point & ) >(&IntPolyh_Point::Middle),
R"#(Creates middle point from P1 and P2 and stores it to this)#" , py::arg("MySurface"), py::arg("P1"), py::arg("P2")
)
.def("Add",
(IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::Add),
R"#(Addition)#" , py::arg("P1")
)
.def("Sub",
(IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::Sub),
R"#(Subtraction)#" , py::arg("P1")
)
.def("Divide",
(IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const>(&IntPolyh_Point::Divide),
R"#(Division)#" , py::arg("rr")
)
.def("Multiplication",
(IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const>(&IntPolyh_Point::Multiplication),
R"#(Multiplication)#" , py::arg("rr")
)
.def("SquareModulus",
(Standard_Real (IntPolyh_Point::*)() const) static_cast<Standard_Real (IntPolyh_Point::*)() const>(&IntPolyh_Point::SquareModulus),
R"#(Square modulus)#"
)
.def("SquareDistance",
(Standard_Real (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<Standard_Real (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::SquareDistance),
R"#(Square distance to the other point)#" , py::arg("P2")
)
.def("Dot",
(Standard_Real (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<Standard_Real (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::Dot),
R"#(Dot)#" , py::arg("P2")
)
.def("Cross",
(void (IntPolyh_Point::*)( const IntPolyh_Point & , const IntPolyh_Point & ) ) static_cast<void (IntPolyh_Point::*)( const IntPolyh_Point & , const IntPolyh_Point & ) >(&IntPolyh_Point::Cross),
R"#(Cross)#" , py::arg("P1"), py::arg("P2")
)
.def("Dump",
(void (IntPolyh_Point::*)() const) static_cast<void (IntPolyh_Point::*)() const>(&IntPolyh_Point::Dump),
R"#(Dump)#"
)
.def("Dump",
(void (IntPolyh_Point::*)( const Standard_Integer ) const) static_cast<void (IntPolyh_Point::*)( const Standard_Integer ) const>(&IntPolyh_Point::Dump),
R"#(Dump)#" , py::arg("i")
)
.def("SetDegenerated",
(void (IntPolyh_Point::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_Point::*)( const Standard_Boolean ) >(&IntPolyh_Point::SetDegenerated),
R"#(Sets the degenerated flag)#" , py::arg("theFlag")
)
.def("Degenerated",
(Standard_Boolean (IntPolyh_Point::*)() const) static_cast<Standard_Boolean (IntPolyh_Point::*)() const>(&IntPolyh_Point::Degenerated),
R"#(Returns the degenerated flag)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__add__",
(IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::operator+),
py::is_operator(),
R"#(None)#" , py::arg("P1")
)
.def("__sub__",
(IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const IntPolyh_Point & ) const>(&IntPolyh_Point::operator-),
py::is_operator(),
R"#(None)#" , py::arg("P1")
)
.def("__truediv__",
(IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const>(&IntPolyh_Point::operator/),
py::is_operator(),
R"#(None)#" , py::arg("rr")
)
.def("__mul__",
(IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const>(&IntPolyh_Point::operator*),
py::is_operator(),
R"#(None)#" , py::arg("rr")
)
.def("__rmul__",
(IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const) static_cast<IntPolyh_Point (IntPolyh_Point::*)( const Standard_Real ) const>(&IntPolyh_Point::operator*),
py::is_operator(),
R"#(None)#" , py::arg("rr")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class IntPolyh_PointNormal from ./opencascade/IntPolyh_ArrayOfPointNormal.hxx
klass = m.attr("IntPolyh_PointNormal");
// default constructor
register_default_constructor<IntPolyh_PointNormal , shared_ptr<IntPolyh_PointNormal>>(m,"IntPolyh_PointNormal");
// nested enums
static_cast<py::class_<IntPolyh_PointNormal , shared_ptr<IntPolyh_PointNormal> >>(klass)
// constructors
// 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
.def_readwrite("Point", &IntPolyh_PointNormal::Point)
.def_readwrite("Normal", &IntPolyh_PointNormal::Normal)
// methods returning by ref wrapped as properties
;
// Class IntPolyh_SectionLine from ./opencascade/IntPolyh_SectionLine.hxx
klass = m.attr("IntPolyh_SectionLine");
// nested enums
static_cast<py::class_<IntPolyh_SectionLine , shared_ptr<IntPolyh_SectionLine> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer >() , py::arg("nn") )
.def(py::init< const IntPolyh_SectionLine & >() , py::arg("theOther") )
// custom constructors
// methods
.def("Init",
(void (IntPolyh_SectionLine::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_SectionLine::*)( const Standard_Integer ) >(&IntPolyh_SectionLine::Init),
R"#(None)#" , py::arg("nn")
)
.def("Value",
(const IntPolyh_StartPoint & (IntPolyh_SectionLine::*)( const Standard_Integer ) const) static_cast<const IntPolyh_StartPoint & (IntPolyh_SectionLine::*)( const Standard_Integer ) const>(&IntPolyh_SectionLine::Value),
R"#(None)#" , py::arg("nn")
)
.def("ChangeValue",
(IntPolyh_StartPoint & (IntPolyh_SectionLine::*)( const Standard_Integer ) ) static_cast<IntPolyh_StartPoint & (IntPolyh_SectionLine::*)( const Standard_Integer ) >(&IntPolyh_SectionLine::ChangeValue),
R"#(None)#" , py::arg("nn")
)
.def("Copy",
(IntPolyh_SectionLine & (IntPolyh_SectionLine::*)( const IntPolyh_SectionLine & ) ) static_cast<IntPolyh_SectionLine & (IntPolyh_SectionLine::*)( const IntPolyh_SectionLine & ) >(&IntPolyh_SectionLine::Copy),
R"#(None)#" , py::arg("Other")
)
.def("GetN",
(Standard_Integer (IntPolyh_SectionLine::*)() const) static_cast<Standard_Integer (IntPolyh_SectionLine::*)() const>(&IntPolyh_SectionLine::GetN),
R"#(None)#"
)
.def("NbStartPoints",
(Standard_Integer (IntPolyh_SectionLine::*)() const) static_cast<Standard_Integer (IntPolyh_SectionLine::*)() const>(&IntPolyh_SectionLine::NbStartPoints),
R"#(None)#"
)
.def("IncrementNbStartPoints",
(void (IntPolyh_SectionLine::*)() ) static_cast<void (IntPolyh_SectionLine::*)() >(&IntPolyh_SectionLine::IncrementNbStartPoints),
R"#(None)#"
)
.def("Destroy",
(void (IntPolyh_SectionLine::*)() ) static_cast<void (IntPolyh_SectionLine::*)() >(&IntPolyh_SectionLine::Destroy),
R"#(None)#"
)
.def("Dump",
(void (IntPolyh_SectionLine::*)() const) static_cast<void (IntPolyh_SectionLine::*)() const>(&IntPolyh_SectionLine::Dump),
R"#(None)#"
)
.def("Prepend",
(void (IntPolyh_SectionLine::*)( const IntPolyh_StartPoint & ) ) static_cast<void (IntPolyh_SectionLine::*)( const IntPolyh_StartPoint & ) >(&IntPolyh_SectionLine::Prepend),
R"#(None)#" , py::arg("SP")
)
// 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 IntPolyh_StartPoint from ./opencascade/IntPolyh_StartPoint.hxx
klass = m.attr("IntPolyh_StartPoint");
// nested enums
static_cast<py::class_<IntPolyh_StartPoint , shared_ptr<IntPolyh_StartPoint> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Real,const Standard_Integer,const Standard_Integer,const Standard_Real,const Standard_Integer,const Standard_Integer,const Standard_Real,const Standard_Integer >() , py::arg("xx"), py::arg("yy"), py::arg("zz"), py::arg("uu1"), py::arg("vv1"), py::arg("uu2"), py::arg("vv2"), py::arg("T1"), py::arg("E1"), py::arg("LAM1"), py::arg("T2"), py::arg("E2"), py::arg("LAM2"), py::arg("List") )
// custom constructors
// methods
.def("X",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::X),
R"#(None)#"
)
.def("Y",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::Y),
R"#(None)#"
)
.def("Z",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::Z),
R"#(None)#"
)
.def("U1",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::U1),
R"#(None)#"
)
.def("V1",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::V1),
R"#(None)#"
)
.def("U2",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::U2),
R"#(None)#"
)
.def("V2",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::V2),
R"#(None)#"
)
.def("T1",
(Standard_Integer (IntPolyh_StartPoint::*)() const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::T1),
R"#(None)#"
)
.def("E1",
(Standard_Integer (IntPolyh_StartPoint::*)() const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::E1),
R"#(None)#"
)
.def("Lambda1",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::Lambda1),
R"#(None)#"
)
.def("T2",
(Standard_Integer (IntPolyh_StartPoint::*)() const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::T2),
R"#(None)#"
)
.def("E2",
(Standard_Integer (IntPolyh_StartPoint::*)() const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::E2),
R"#(None)#"
)
.def("Lambda2",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::Lambda2),
R"#(None)#"
)
.def("GetAngle",
(Standard_Real (IntPolyh_StartPoint::*)() const) static_cast<Standard_Real (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::GetAngle),
R"#(None)#"
)
.def("ChainList",
(Standard_Integer (IntPolyh_StartPoint::*)() const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::ChainList),
R"#(None)#"
)
.def("GetEdgePoints",
(Standard_Integer (IntPolyh_StartPoint::*)( const IntPolyh_Triangle & , Standard_Integer & , Standard_Integer & , Standard_Integer & ) const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)( const IntPolyh_Triangle & , Standard_Integer & , Standard_Integer & , Standard_Integer & ) const>(&IntPolyh_StartPoint::GetEdgePoints),
R"#(None)#" , py::arg("Triangle"), py::arg("FirstEdgePoint"), py::arg("SecondEdgePoint"), py::arg("LastPoint")
)
.def("SetXYZ",
(void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real , const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real , const Standard_Real ) >(&IntPolyh_StartPoint::SetXYZ),
R"#(None)#" , py::arg("XX"), py::arg("YY"), py::arg("ZZ")
)
.def("SetUV1",
(void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real ) >(&IntPolyh_StartPoint::SetUV1),
R"#(None)#" , py::arg("UU1"), py::arg("VV1")
)
.def("SetUV2",
(void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real , const Standard_Real ) >(&IntPolyh_StartPoint::SetUV2),
R"#(None)#" , py::arg("UU2"), py::arg("VV2")
)
.def("SetEdge1",
(void (IntPolyh_StartPoint::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Integer ) >(&IntPolyh_StartPoint::SetEdge1),
R"#(None)#" , py::arg("IE1")
)
.def("SetLambda1",
(void (IntPolyh_StartPoint::*)( const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real ) >(&IntPolyh_StartPoint::SetLambda1),
R"#(None)#" , py::arg("LAM1")
)
.def("SetEdge2",
(void (IntPolyh_StartPoint::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Integer ) >(&IntPolyh_StartPoint::SetEdge2),
R"#(None)#" , py::arg("IE2")
)
.def("SetLambda2",
(void (IntPolyh_StartPoint::*)( const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real ) >(&IntPolyh_StartPoint::SetLambda2),
R"#(None)#" , py::arg("LAM2")
)
.def("SetCoupleValue",
(void (IntPolyh_StartPoint::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_StartPoint::SetCoupleValue),
R"#(None)#" , py::arg("IT1"), py::arg("IT2")
)
.def("SetAngle",
(void (IntPolyh_StartPoint::*)( const Standard_Real ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Real ) >(&IntPolyh_StartPoint::SetAngle),
R"#(None)#" , py::arg("ang")
)
.def("SetChainList",
(void (IntPolyh_StartPoint::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Integer ) >(&IntPolyh_StartPoint::SetChainList),
R"#(None)#" , py::arg("ChList")
)
.def("CheckSameSP",
(Standard_Integer (IntPolyh_StartPoint::*)( const IntPolyh_StartPoint & ) const) static_cast<Standard_Integer (IntPolyh_StartPoint::*)( const IntPolyh_StartPoint & ) const>(&IntPolyh_StartPoint::CheckSameSP),
R"#(None)#" , py::arg("SP")
)
.def("Dump",
(void (IntPolyh_StartPoint::*)() const) static_cast<void (IntPolyh_StartPoint::*)() const>(&IntPolyh_StartPoint::Dump),
R"#(None)#"
)
.def("Dump",
(void (IntPolyh_StartPoint::*)( const Standard_Integer ) const) static_cast<void (IntPolyh_StartPoint::*)( const Standard_Integer ) const>(&IntPolyh_StartPoint::Dump),
R"#(None)#" , py::arg("i")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class IntPolyh_Tools from ./opencascade/IntPolyh_Tools.hxx
klass = m.attr("IntPolyh_Tools");
// default constructor
register_default_constructor<IntPolyh_Tools , shared_ptr<IntPolyh_Tools>>(m,"IntPolyh_Tools");
// nested enums
static_cast<py::class_<IntPolyh_Tools , shared_ptr<IntPolyh_Tools> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("MakeSampling_s",
(void (*)( const opencascade::handle<Adaptor3d_Surface> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , NCollection_Array1<Standard_Real> & , NCollection_Array1<Standard_Real> & ) ) static_cast<void (*)( const opencascade::handle<Adaptor3d_Surface> & , const Standard_Integer , const Standard_Integer , const Standard_Boolean , NCollection_Array1<Standard_Real> & , NCollection_Array1<Standard_Real> & ) >(&IntPolyh_Tools::MakeSampling),
R"#(Makes the sampling of the given surface <theSurf> making the net of <theNbSU> x <theNbSV> sampling points. The flag <theEnlargeZone> controls the enlargement of the sampling zone on the surface. The parameters of the sampling points are stored into <theUPars> and <theVPars> arrays.)#" , py::arg("theSurf"), py::arg("theNbSU"), py::arg("theNbSV"), py::arg("theEnlargeZone"), py::arg("theUPars"), py::arg("theVPars")
)
.def_static("ComputeDeflection_s",
(Standard_Real (*)( const opencascade::handle<Adaptor3d_Surface> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & ) ) static_cast<Standard_Real (*)( const opencascade::handle<Adaptor3d_Surface> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & ) >(&IntPolyh_Tools::ComputeDeflection),
R"#(Computes the deflection tolerance on the surface for the given sampling.)#" , py::arg("theSurf"), py::arg("theUPars"), py::arg("theVPars")
)
.def_static("FillArrayOfPointNormal_s",
(void (*)( const opencascade::handle<Adaptor3d_Surface> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , IntPolyh_Array<IntPolyh_PointNormal> & ) ) static_cast<void (*)( const opencascade::handle<Adaptor3d_Surface> & , const NCollection_Array1<Standard_Real> & , const NCollection_Array1<Standard_Real> & , IntPolyh_Array<IntPolyh_PointNormal> & ) >(&IntPolyh_Tools::FillArrayOfPointNormal),
R"#(Fills the array <thePoints> with the points (triangulation nodes) on the surface and normal directions of the surface in these points.)#" , py::arg("theSurf"), py::arg("theUPars"), py::arg("theVPars"), py::arg("thePoints")
)
// static methods using call by reference i.s.o. return
.def_static("IsEnlargePossible_s",
[](const opencascade::handle<Adaptor3d_Surface> & theSurf ){
Standard_Boolean theUEnlarge;
Standard_Boolean theVEnlarge;
IntPolyh_Tools::IsEnlargePossible(theSurf,theUEnlarge,theVEnlarge);
return std::make_tuple(theUEnlarge,theVEnlarge); },
R"#(Checks if the surface can be enlarged in U or V direction.)#" , py::arg("theSurf")
)
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class IntPolyh_Triangle from ./opencascade/IntPolyh_Triangle.hxx
klass = m.attr("IntPolyh_Triangle");
// nested enums
static_cast<py::class_<IntPolyh_Triangle , shared_ptr<IntPolyh_Triangle> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer >() , py::arg("thePoint1"), py::arg("thePoint2"), py::arg("thePoint3") )
// custom constructors
// methods
.def("FirstPoint",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::FirstPoint),
R"#(Returns the first point)#"
)
.def("SecondPoint",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::SecondPoint),
R"#(Returns the second point)#"
)
.def("ThirdPoint",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::ThirdPoint),
R"#(Returns the third point)#"
)
.def("FirstEdge",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::FirstEdge),
R"#(Returns the first edge)#"
)
.def("FirstEdgeOrientation",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::FirstEdgeOrientation),
R"#(Returns the orientation of the first edge)#"
)
.def("SecondEdge",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::SecondEdge),
R"#(Returns the second edge)#"
)
.def("SecondEdgeOrientation",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::SecondEdgeOrientation),
R"#(Returns the orientation of the second edge)#"
)
.def("ThirdEdge",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::ThirdEdge),
R"#(Returns the third edge)#"
)
.def("ThirdEdgeOrientation",
(Standard_Integer (IntPolyh_Triangle::*)() const) static_cast<Standard_Integer (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::ThirdEdgeOrientation),
R"#(Returns the orientation of the third edge)#"
)
.def("Deflection",
(Standard_Real (IntPolyh_Triangle::*)() const) static_cast<Standard_Real (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::Deflection),
R"#(Returns the deflection of the triangle)#"
)
.def("IsIntersectionPossible",
(Standard_Boolean (IntPolyh_Triangle::*)() const) static_cast<Standard_Boolean (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::IsIntersectionPossible),
R"#(Returns possibility of the intersection)#"
)
.def("HasIntersection",
(Standard_Boolean (IntPolyh_Triangle::*)() const) static_cast<Standard_Boolean (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::HasIntersection),
R"#(Returns true if the triangle has interfered the other triangle)#"
)
.def("IsDegenerated",
(Standard_Boolean (IntPolyh_Triangle::*)() const) static_cast<Standard_Boolean (IntPolyh_Triangle::*)() const>(&IntPolyh_Triangle::IsDegenerated),
R"#(Returns the Degenerated flag)#"
)
.def("SetFirstPoint",
(void (IntPolyh_Triangle::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer ) >(&IntPolyh_Triangle::SetFirstPoint),
R"#(Sets the first point)#" , py::arg("thePoint")
)
.def("SetSecondPoint",
(void (IntPolyh_Triangle::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer ) >(&IntPolyh_Triangle::SetSecondPoint),
R"#(Sets the second point)#" , py::arg("thePoint")
)
.def("SetThirdPoint",
(void (IntPolyh_Triangle::*)( const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer ) >(&IntPolyh_Triangle::SetThirdPoint),
R"#(Sets the third point)#" , py::arg("thePoint")
)
.def("SetFirstEdge",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::SetFirstEdge),
R"#(Sets the first edge)#" , py::arg("theEdge"), py::arg("theEdgeOrientation")
)
.def("SetSecondEdge",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::SetSecondEdge),
R"#(Sets the second edge)#" , py::arg("theEdge"), py::arg("theEdgeOrientation")
)
.def("SetThirdEdge",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::SetThirdEdge),
R"#(Sets the third edge)#" , py::arg("theEdge"), py::arg("theEdgeOrientation")
)
.def("SetDeflection",
(void (IntPolyh_Triangle::*)( const Standard_Real ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Real ) >(&IntPolyh_Triangle::SetDeflection),
R"#(Sets the deflection)#" , py::arg("theDeflection")
)
.def("SetIntersectionPossible",
(void (IntPolyh_Triangle::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Boolean ) >(&IntPolyh_Triangle::SetIntersectionPossible),
R"#(Sets the flag of possibility of intersection)#" , py::arg("theIP")
)
.def("SetIntersection",
(void (IntPolyh_Triangle::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Boolean ) >(&IntPolyh_Triangle::SetIntersection),
R"#(Sets the flag of intersection)#" , py::arg("theInt")
)
.def("SetDegenerated",
(void (IntPolyh_Triangle::*)( const Standard_Boolean ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Boolean ) >(&IntPolyh_Triangle::SetDegenerated),
R"#(Sets the degenerated flag)#" , py::arg("theDegFlag")
)
.def("GetEdgeNumber",
(Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer ) const) static_cast<Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer ) const>(&IntPolyh_Triangle::GetEdgeNumber),
R"#(Gets the edge number by the index)#" , py::arg("theEdgeIndex")
)
.def("SetEdge",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::SetEdge),
R"#(Sets the edge by the index)#" , py::arg("theEdgeIndex"), py::arg("theEdgeNumber")
)
.def("GetEdgeOrientation",
(Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer ) const) static_cast<Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer ) const>(&IntPolyh_Triangle::GetEdgeOrientation),
R"#(Gets the edges orientation by the index)#" , py::arg("theEdgeIndex")
)
.def("SetEdgeOrientation",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::SetEdgeOrientation),
R"#(Sets the edges orientation by the index)#" , py::arg("theEdgeIndex"), py::arg("theEdgeOrientation")
)
.def("ComputeDeflection",
(Standard_Real (IntPolyh_Triangle::*)( const opencascade::handle<Adaptor3d_Surface> & , const IntPolyh_Array<IntPolyh_Point> & ) ) static_cast<Standard_Real (IntPolyh_Triangle::*)( const opencascade::handle<Adaptor3d_Surface> & , const IntPolyh_Array<IntPolyh_Point> & ) >(&IntPolyh_Triangle::ComputeDeflection),
R"#(Computes the deflection for the triangle)#" , py::arg("theSurface"), py::arg("thePoints")
)
.def("GetNextTriangle",
(Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_Array<IntPolyh_Edge> & ) const) static_cast<Standard_Integer (IntPolyh_Triangle::*)( const Standard_Integer , const Standard_Integer , const IntPolyh_Array<IntPolyh_Edge> & ) const>(&IntPolyh_Triangle::GetNextTriangle),
R"#(Gets the adjacent triangle)#" , py::arg("theTriangle"), py::arg("theEdgeNum"), py::arg("TEdges")
)
.def("MiddleRefinement",
(void (IntPolyh_Triangle::*)( const Standard_Integer , const opencascade::handle<Adaptor3d_Surface> & , IntPolyh_Array<IntPolyh_Point> & , IntPolyh_Array<IntPolyh_Triangle> & , IntPolyh_Array<IntPolyh_Edge> & ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer , const opencascade::handle<Adaptor3d_Surface> & , IntPolyh_Array<IntPolyh_Point> & , IntPolyh_Array<IntPolyh_Triangle> & , IntPolyh_Array<IntPolyh_Edge> & ) >(&IntPolyh_Triangle::MiddleRefinement),
R"#(Splits the triangle on two to decrease its deflection)#" , py::arg("theTriangleNumber"), py::arg("theSurface"), py::arg("TPoints"), py::arg("TTriangles"), py::arg("TEdges")
)
.def("MultipleMiddleRefinement",
(void (IntPolyh_Triangle::*)( const Standard_Real , const Bnd_Box & , const Standard_Integer , const opencascade::handle<Adaptor3d_Surface> & , IntPolyh_Array<IntPolyh_Point> & , IntPolyh_Array<IntPolyh_Triangle> & , IntPolyh_Array<IntPolyh_Edge> & ) ) static_cast<void (IntPolyh_Triangle::*)( const Standard_Real , const Bnd_Box & , const Standard_Integer , const opencascade::handle<Adaptor3d_Surface> & , IntPolyh_Array<IntPolyh_Point> & , IntPolyh_Array<IntPolyh_Triangle> & , IntPolyh_Array<IntPolyh_Edge> & ) >(&IntPolyh_Triangle::MultipleMiddleRefinement),
R"#(Splits the current triangle and new triangles until the refinement criterion is not achieved)#" , py::arg("theRefineCriterion"), py::arg("theBox"), py::arg("theTriangleNumber"), py::arg("theSurface"), py::arg("TPoints"), py::arg("TTriangles"), py::arg("TEdges")
)
.def("LinkEdges2Triangle",
(void (IntPolyh_Triangle::*)( const IntPolyh_Array<IntPolyh_Edge> & , const Standard_Integer , const Standard_Integer , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const IntPolyh_Array<IntPolyh_Edge> & , const Standard_Integer , const Standard_Integer , const Standard_Integer ) >(&IntPolyh_Triangle::LinkEdges2Triangle),
R"#(Links edges to triangle)#" , py::arg("TEdges"), py::arg("theEdge1"), py::arg("theEdge2"), py::arg("theEdge3")
)
.def("SetEdgeAndOrientation",
(void (IntPolyh_Triangle::*)( const IntPolyh_Edge & , const Standard_Integer ) ) static_cast<void (IntPolyh_Triangle::*)( const IntPolyh_Edge & , const Standard_Integer ) >(&IntPolyh_Triangle::SetEdgeAndOrientation),
R"#(Sets the appropriate edge and orientation for the triangle.)#" , py::arg("theEdge"), py::arg("theEdgeIndex")
)
.def("BoundingBox",
(const Bnd_Box & (IntPolyh_Triangle::*)( const IntPolyh_Array<IntPolyh_Point> & ) ) static_cast<const Bnd_Box & (IntPolyh_Triangle::*)( const IntPolyh_Array<IntPolyh_Point> & ) >(&IntPolyh_Triangle::BoundingBox),
R"#(Returns the bounding box of the triangle.)#" , py::arg("thePoints")
)
.def("Dump",
(void (IntPolyh_Triangle::*)( const Standard_Integer ) const) static_cast<void (IntPolyh_Triangle::*)( const Standard_Integer ) const>(&IntPolyh_Triangle::Dump),
R"#(Dumps the contents of the triangle.)#" , py::arg("v")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// functions
// ./opencascade/IntPolyh_Array.hxx
// ./opencascade/IntPolyh_ArrayOfEdges.hxx
// ./opencascade/IntPolyh_ArrayOfPointNormal.hxx
// ./opencascade/IntPolyh_ArrayOfPoints.hxx
// ./opencascade/IntPolyh_ArrayOfSectionLines.hxx
// ./opencascade/IntPolyh_ArrayOfTangentZones.hxx
// ./opencascade/IntPolyh_ArrayOfTriangles.hxx
// ./opencascade/IntPolyh_Couple.hxx
// ./opencascade/IntPolyh_Edge.hxx
// ./opencascade/IntPolyh_Intersection.hxx
// ./opencascade/IntPolyh_ListOfCouples.hxx
// ./opencascade/IntPolyh_MaillageAffinage.hxx
// ./opencascade/IntPolyh_PMaillageAffinage.hxx
// ./opencascade/IntPolyh_Point.hxx
// ./opencascade/IntPolyh_SectionLine.hxx
// ./opencascade/IntPolyh_SeqOfStartPoints.hxx
// ./opencascade/IntPolyh_StartPoint.hxx
// ./opencascade/IntPolyh_Tools.hxx
// ./opencascade/IntPolyh_Triangle.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_List<IntPolyh_Couple>(m,"IntPolyh_ListOfCouples");
register_template_NCollection_Sequence<IntPolyh_StartPoint>(m,"IntPolyh_SeqOfStartPoints");
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|