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
|
// 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 <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 <BRepSweep_Builder.hxx>
#include <BRepSweep_Iterator.hxx>
#include <BRepSweep_NumLinearRegularSweep.hxx>
#include <BRepSweep_Prism.hxx>
#include <BRepSweep_Revol.hxx>
#include <BRepSweep_Rotation.hxx>
#include <BRepSweep_Tool.hxx>
#include <BRepSweep_Translation.hxx>
#include <BRepSweep_Trsf.hxx>
// template related includes
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_BRepSweep(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("BRepSweep"));
py::object klass;
//Python trampoline classes
class Py_BRepSweep_NumLinearRegularSweep : public BRepSweep_NumLinearRegularSweep{
public:
using BRepSweep_NumLinearRegularSweep::BRepSweep_NumLinearRegularSweep;
// public pure virtual
TopoDS_Shape MakeEmptyVertex(const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_NumLinearRegularSweep,MakeEmptyVertex,aGenV,aDirV) };
TopoDS_Shape MakeEmptyDirectingEdge(const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_NumLinearRegularSweep,MakeEmptyDirectingEdge,aGenV,aDirE) };
TopoDS_Shape MakeEmptyGeneratingEdge(const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_NumLinearRegularSweep,MakeEmptyGeneratingEdge,aGenE,aDirV) };
void SetParameters(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenF,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetParameters,aNewFace,aNewVertex,aGenF,aGenV,aDirV) };
void SetDirectingParameter(const TopoDS_Shape & aNewEdge,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetDirectingParameter,aNewEdge,aNewVertex,aGenV,aDirE,aDirV) };
void SetGeneratingParameter(const TopoDS_Shape & aNewEdge,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenE,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetGeneratingParameter,aNewEdge,aNewVertex,aGenE,aGenV,aDirV) };
TopoDS_Shape MakeEmptyFace(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_NumLinearRegularSweep,MakeEmptyFace,aGenS,aDirS) };
void SetPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenF,const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirV,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetPCurve,aNewFace,aNewEdge,aGenF,aGenE,aDirV,orien) };
void SetGeneratingPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirE,const Sweep_NumShape & aDirV,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetGeneratingPCurve,aNewFace,aNewEdge,aGenE,aDirE,aDirV,orien) };
void SetDirectingPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenE,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetDirectingPCurve,aNewFace,aNewEdge,aGenE,aGenV,aDirE,orien) };
TopAbs_Orientation DirectSolid(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) override { PYBIND11_OVERLOAD_PURE(TopAbs_Orientation,BRepSweep_NumLinearRegularSweep,DirectSolid,aGenS,aDirS) };
Standard_Boolean GGDShapeIsToAdd(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const TopoDS_Shape & aSubGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_NumLinearRegularSweep,GGDShapeIsToAdd,aNewShape,aNewSubShape,aGenS,aSubGenS,aDirS) };
Standard_Boolean GDDShapeIsToAdd(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS,const Sweep_NumShape & aSubDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_NumLinearRegularSweep,GDDShapeIsToAdd,aNewShape,aNewSubShape,aGenS,aDirS,aSubDirS) };
Standard_Boolean SeparatedWires(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const TopoDS_Shape & aSubGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_NumLinearRegularSweep,SeparatedWires,aNewShape,aNewSubShape,aGenS,aSubGenS,aDirS) };
void SetContinuity(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_NumLinearRegularSweep,SetContinuity,aGenS,aDirS) };
Standard_Boolean HasShape(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_NumLinearRegularSweep,HasShape,aGenS,aDirS) };
Standard_Boolean IsInvariant(const TopoDS_Shape & aGenS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_NumLinearRegularSweep,IsInvariant,aGenS) };
// protected pure virtual
// private pure virtual
};
class Py_BRepSweep_Trsf : public BRepSweep_Trsf{
public:
using BRepSweep_Trsf::BRepSweep_Trsf;
// public pure virtual
TopoDS_Shape MakeEmptyVertex(const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_Trsf,MakeEmptyVertex,aGenV,aDirV) };
TopoDS_Shape MakeEmptyDirectingEdge(const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_Trsf,MakeEmptyDirectingEdge,aGenV,aDirE) };
TopoDS_Shape MakeEmptyGeneratingEdge(const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_Trsf,MakeEmptyGeneratingEdge,aGenE,aDirV) };
void SetParameters(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenF,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetParameters,aNewFace,aNewVertex,aGenF,aGenV,aDirV) };
void SetDirectingParameter(const TopoDS_Shape & aNewEdge,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetDirectingParameter,aNewEdge,aNewVertex,aGenV,aDirE,aDirV) };
void SetGeneratingParameter(const TopoDS_Shape & aNewEdge,TopoDS_Shape & aNewVertex,const TopoDS_Shape & aGenE,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirV) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetGeneratingParameter,aNewEdge,aNewVertex,aGenE,aGenV,aDirV) };
TopoDS_Shape MakeEmptyFace(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) override { PYBIND11_OVERLOAD_PURE(TopoDS_Shape,BRepSweep_Trsf,MakeEmptyFace,aGenS,aDirS) };
void SetPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenF,const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirV,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetPCurve,aNewFace,aNewEdge,aGenF,aGenE,aDirV,orien) };
void SetGeneratingPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenE,const Sweep_NumShape & aDirE,const Sweep_NumShape & aDirV,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetGeneratingPCurve,aNewFace,aNewEdge,aGenE,aDirE,aDirV,orien) };
void SetDirectingPCurve(const TopoDS_Shape & aNewFace,TopoDS_Shape & aNewEdge,const TopoDS_Shape & aGenE,const TopoDS_Shape & aGenV,const Sweep_NumShape & aDirE,const TopAbs_Orientation orien) override { PYBIND11_OVERLOAD_PURE(void,BRepSweep_Trsf,SetDirectingPCurve,aNewFace,aNewEdge,aGenE,aGenV,aDirE,orien) };
Standard_Boolean GGDShapeIsToAdd(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const TopoDS_Shape & aSubGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_Trsf,GGDShapeIsToAdd,aNewShape,aNewSubShape,aGenS,aSubGenS,aDirS) };
Standard_Boolean GDDShapeIsToAdd(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS,const Sweep_NumShape & aSubDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_Trsf,GDDShapeIsToAdd,aNewShape,aNewSubShape,aGenS,aDirS,aSubDirS) };
Standard_Boolean SeparatedWires(const TopoDS_Shape & aNewShape,const TopoDS_Shape & aNewSubShape,const TopoDS_Shape & aGenS,const TopoDS_Shape & aSubGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_Trsf,SeparatedWires,aNewShape,aNewSubShape,aGenS,aSubGenS,aDirS) };
Standard_Boolean HasShape(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_Trsf,HasShape,aGenS,aDirS) };
Standard_Boolean IsInvariant(const TopoDS_Shape & aGenS) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,BRepSweep_Trsf,IsInvariant,aGenS) };
TopAbs_Orientation DirectSolid(const TopoDS_Shape & aGenS,const Sweep_NumShape & aDirS) override { PYBIND11_OVERLOAD_PURE(TopAbs_Orientation,BRepSweep_NumLinearRegularSweep,DirectSolid,aGenS,aDirS) };
// protected pure virtual
// private pure virtual
};
// classes
// Class BRepSweep_Builder from ./opencascade/BRepSweep_Builder.hxx
klass = m.attr("BRepSweep_Builder");
// nested enums
static_cast<py::class_<BRepSweep_Builder , shared_ptr<BRepSweep_Builder> >>(klass)
// constructors
.def(py::init< const BRep_Builder & >() , py::arg("aBuilder") )
// custom constructors
// methods
.def("MakeCompound",
(void (BRepSweep_Builder::*)( TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & ) const>(&BRepSweep_Builder::MakeCompound),
R"#(Returns an empty Compound.)#" , py::arg("aCompound")
)
.def("MakeCompSolid",
(void (BRepSweep_Builder::*)( TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & ) const>(&BRepSweep_Builder::MakeCompSolid),
R"#(Returns an empty CompSolid.)#" , py::arg("aCompSolid")
)
.def("MakeSolid",
(void (BRepSweep_Builder::*)( TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & ) const>(&BRepSweep_Builder::MakeSolid),
R"#(Returns an empty Solid.)#" , py::arg("aSolid")
)
.def("MakeShell",
(void (BRepSweep_Builder::*)( TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & ) const>(&BRepSweep_Builder::MakeShell),
R"#(Returns an empty Shell.)#" , py::arg("aShell")
)
.def("MakeWire",
(void (BRepSweep_Builder::*)( TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & ) const>(&BRepSweep_Builder::MakeWire),
R"#(Returns an empty Wire.)#" , py::arg("aWire")
)
.def("Add",
(void (BRepSweep_Builder::*)( TopoDS_Shape & , const TopoDS_Shape & , const TopAbs_Orientation ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & , const TopoDS_Shape & , const TopAbs_Orientation ) const>(&BRepSweep_Builder::Add),
R"#(Adds the Shape 1 in the Shape 2, set to <Orient> orientation.)#" , py::arg("aShape1"), py::arg("aShape2"), py::arg("Orient")
)
.def("Add",
(void (BRepSweep_Builder::*)( TopoDS_Shape & , const TopoDS_Shape & ) const) static_cast<void (BRepSweep_Builder::*)( TopoDS_Shape & , const TopoDS_Shape & ) const>(&BRepSweep_Builder::Add),
R"#(Adds the Shape 1 in the Shape 2.)#" , py::arg("aShape1"), py::arg("aShape2")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Builder",
(const BRep_Builder & (BRepSweep_Builder::*)() const) static_cast<const BRep_Builder & (BRepSweep_Builder::*)() const>(&BRepSweep_Builder::Builder),
R"#(None)#"
)
.def("Builder",
(const BRep_Builder & (BRepSweep_Builder::*)() const) static_cast<const BRep_Builder & (BRepSweep_Builder::*)() const>(&BRepSweep_Builder::Builder),
R"#(None)#"
)
;
// Class BRepSweep_Iterator from ./opencascade/BRepSweep_Iterator.hxx
klass = m.attr("BRepSweep_Iterator");
// nested enums
static_cast<py::class_<BRepSweep_Iterator , shared_ptr<BRepSweep_Iterator> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Init",
(void (BRepSweep_Iterator::*)( const TopoDS_Shape & ) ) static_cast<void (BRepSweep_Iterator::*)( const TopoDS_Shape & ) >(&BRepSweep_Iterator::Init),
R"#(Reset the Iterator on sub-shapes of <aShape>.)#" , py::arg("aShape")
)
.def("More",
(Standard_Boolean (BRepSweep_Iterator::*)() const) static_cast<Standard_Boolean (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::More),
R"#(Returns True if there is a current sub-shape.)#"
)
.def("Next",
(void (BRepSweep_Iterator::*)() ) static_cast<void (BRepSweep_Iterator::*)() >(&BRepSweep_Iterator::Next),
R"#(Moves to the next sub-shape.)#"
)
.def("Orientation",
(TopAbs_Orientation (BRepSweep_Iterator::*)() const) static_cast<TopAbs_Orientation (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::Orientation),
R"#(Returns the orientation of the current sub-shape.)#"
)
.def("More",
(Standard_Boolean (BRepSweep_Iterator::*)() const) static_cast<Standard_Boolean (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::More),
R"#(Returns True if there is a current sub-shape.)#"
)
.def("Orientation",
(TopAbs_Orientation (BRepSweep_Iterator::*)() const) static_cast<TopAbs_Orientation (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::Orientation),
R"#(Returns the orientation of the current sub-shape.)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Value",
(const TopoDS_Shape & (BRepSweep_Iterator::*)() const) static_cast<const TopoDS_Shape & (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::Value),
R"#(Returns the current sub-shape.)#"
)
.def("Value",
(const TopoDS_Shape & (BRepSweep_Iterator::*)() const) static_cast<const TopoDS_Shape & (BRepSweep_Iterator::*)() const>(&BRepSweep_Iterator::Value),
R"#(Returns the current sub-shape.)#"
)
;
// Class BRepSweep_NumLinearRegularSweep from ./opencascade/BRepSweep_NumLinearRegularSweep.hxx
klass = m.attr("BRepSweep_NumLinearRegularSweep");
// nested enums
static_cast<py::class_<BRepSweep_NumLinearRegularSweep , shared_ptr<BRepSweep_NumLinearRegularSweep> ,Py_BRepSweep_NumLinearRegularSweep >>(klass)
// constructors
// custom constructors
// methods
.def("MakeEmptyVertex",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::MakeEmptyVertex),
R"#(Builds the vertex addressed by [aGenV,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyDirectingEdge",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::MakeEmptyDirectingEdge),
R"#(Builds the edge addressed by [aGenV,aDirE], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirE")
)
.def("MakeEmptyGeneratingEdge",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::MakeEmptyGeneratingEdge),
R"#(Builds the edge addressed by [aGenE,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenE"), py::arg("aDirV")
)
.def("SetParameters",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::SetParameters),
R"#(Sets the parameters of the new vertex on the new face. The new face and new vertex where generated from aGenF, aGenV and aDirV .)#" , py::arg("aNewFace"), py::arg("aNewVertex"), py::arg("aGenF"), py::arg("aGenV"), py::arg("aDirV")
)
.def("SetDirectingParameter",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::SetDirectingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenV aDirE, and aDirV.)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenV"), py::arg("aDirE"), py::arg("aDirV")
)
.def("SetGeneratingParameter",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::SetGeneratingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenE, aGenV and aDirV .)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyFace",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::MakeEmptyFace),
R"#(Builds the face addressed by [aGenS,aDirS], with its geometric part, but without subcomponents. The couple aGenS, aDirS can be a "generating face and a directing vertex" or "a generating edge and a directing edge".)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("SetPCurve",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_NumLinearRegularSweep::SetPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenF, aGenE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenF"), py::arg("aGenE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetGeneratingPCurve",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_NumLinearRegularSweep::SetGeneratingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aDirE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetDirectingPCurve",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_NumLinearRegularSweep::SetDirectingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aGenV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirE"), py::arg("orien")
)
.def("DirectSolid",
(TopAbs_Orientation (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopAbs_Orientation (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::DirectSolid),
R"#(Returns the Orientation of the shell in the solid generated by the face aGenS with the edge aDirS. It is REVERSED if the surface is swept in the direction of the normal.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("GGDShapeIsToAdd",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_NumLinearRegularSweep::GGDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aSubGenS and aDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("GDDShapeIsToAdd",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const>(&BRepSweep_NumLinearRegularSweep::GDDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aGenS and aSubDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aDirS"), py::arg("aSubDirS")
)
.def("SeparatedWires",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_NumLinearRegularSweep::SeparatedWires),
R"#(In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true.)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("SplitShell",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const>(&BRepSweep_NumLinearRegularSweep::SplitShell),
R"#(In some particular cases the topology of a generated Shell must be composed of independent closed Shells, in this case this function returns a Compound of independent Shells.)#" , py::arg("aNewShape")
)
.def("SetContinuity",
(void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::SetContinuity),
R"#(Called to propagate the continuity of every vertex between two edges of the generating wire aGenS on the generated edge and faces.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("HasShape",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_NumLinearRegularSweep::HasShape),
R"#(Returns true if aDirS and aGenS addresses a resulting Shape. In some specific cases the shape can be geometrically inexsistant, then this function returns false.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("IsInvariant",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const>(&BRepSweep_NumLinearRegularSweep::IsInvariant),
R"#(Returns true if aGenS cannot be transformed.)#" , py::arg("aGenS")
)
.def("Shape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_NumLinearRegularSweep::Shape),
R"#(Returns the resulting Shape indexed by aDirS and aGenS.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("Shape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) >(&BRepSweep_NumLinearRegularSweep::Shape),
R"#(Returns the resulting Shape indexed by myDirWire and aGenS.)#" , py::arg("aGenS")
)
.def("IsUsed",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const>(&BRepSweep_NumLinearRegularSweep::IsUsed),
R"#(Returns true if the initial shape aGenS is used in result shape)#" , py::arg("aGenS")
)
.def("GenIsUsed",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) const>(&BRepSweep_NumLinearRegularSweep::GenIsUsed),
R"#(Returns true if the shape, generated from theS is used in result shape)#" , py::arg("theS")
)
.def("Shape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() >(&BRepSweep_NumLinearRegularSweep::Shape),
R"#(Returns the resulting Shape indexed by myDirWire and myGenShape.)#"
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() >(&BRepSweep_NumLinearRegularSweep::FirstShape),
R"#(Returns the resulting Shape indexed by the first Vertex of myDirWire and myGenShape.)#"
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)() >(&BRepSweep_NumLinearRegularSweep::LastShape),
R"#(Returns the resulting Shape indexed by the last Vertex of myDirWire and myGenShape.)#"
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) >(&BRepSweep_NumLinearRegularSweep::FirstShape),
R"#(Returns the resulting Shape indexed by the first Vertex of myDirWire and aGenS.)#" , py::arg("aGenS")
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_NumLinearRegularSweep::*)( const TopoDS_Shape & ) >(&BRepSweep_NumLinearRegularSweep::LastShape),
R"#(Returns the resulting Shape indexed by the last Vertex of myDirWire and aGenS.)#" , py::arg("aGenS")
)
.def("Closed",
(Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)() const) static_cast<Standard_Boolean (BRepSweep_NumLinearRegularSweep::*)() const>(&BRepSweep_NumLinearRegularSweep::Closed),
R"#(None)#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepSweep_Prism from ./opencascade/BRepSweep_Prism.hxx
klass = m.attr("BRepSweep_Prism");
// nested enums
static_cast<py::class_<BRepSweep_Prism , shared_ptr<BRepSweep_Prism> >>(klass)
// constructors
.def(py::init< const TopoDS_Shape &,const gp_Vec &,const Standard_Boolean,const Standard_Boolean >() , py::arg("S"), py::arg("V"), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False), py::arg("Canonize")=static_cast<const Standard_Boolean>(Standard_True) )
.def(py::init< const TopoDS_Shape &,const gp_Dir &,const Standard_Boolean,const Standard_Boolean,const Standard_Boolean >() , py::arg("S"), py::arg("D"), py::arg("Inf")=static_cast<const Standard_Boolean>(Standard_True), py::arg("Copy")=static_cast<const Standard_Boolean>(Standard_False), py::arg("Canonize")=static_cast<const Standard_Boolean>(Standard_True) )
// custom constructors
// methods
.def("Shape",
(TopoDS_Shape (BRepSweep_Prism::*)() ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)() >(&BRepSweep_Prism::Shape),
R"#(Returns the TopoDS Shape attached to the prism.)#"
)
.def("Shape",
(TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) >(&BRepSweep_Prism::Shape),
R"#(Returns the TopoDS Shape generated with aGenS (subShape of the generating shape).)#" , py::arg("aGenS")
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_Prism::*)() ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)() >(&BRepSweep_Prism::FirstShape),
R"#(Returns the TopoDS Shape of the bottom of the prism.)#"
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) >(&BRepSweep_Prism::FirstShape),
R"#(Returns the TopoDS Shape of the bottom of the prism. generated with aGenS (subShape of the generating shape).)#" , py::arg("aGenS")
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_Prism::*)() ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)() >(&BRepSweep_Prism::LastShape),
R"#(Returns the TopoDS Shape of the top of the prism.)#"
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Prism::*)( const TopoDS_Shape & ) >(&BRepSweep_Prism::LastShape),
R"#(Returns the TopoDS Shape of the top of the prism. generated with aGenS (subShape of the generating shape).)#" , py::arg("aGenS")
)
.def("Vec",
(gp_Vec (BRepSweep_Prism::*)() const) static_cast<gp_Vec (BRepSweep_Prism::*)() const>(&BRepSweep_Prism::Vec),
R"#(Returns the Vector of the Prism, if it is an infinite prism the Vec is unitar.)#"
)
.def("IsUsed",
(Standard_Boolean (BRepSweep_Prism::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Prism::*)( const TopoDS_Shape & ) const>(&BRepSweep_Prism::IsUsed),
R"#(Returns true if the aGenS is used in resulting shape)#" , py::arg("aGenS")
)
.def("GenIsUsed",
(Standard_Boolean (BRepSweep_Prism::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Prism::*)( const TopoDS_Shape & ) const>(&BRepSweep_Prism::GenIsUsed),
R"#(Returns true if the shape, generated from theS is used in result shape)#" , py::arg("theS")
)
// 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 BRepSweep_Revol from ./opencascade/BRepSweep_Revol.hxx
klass = m.attr("BRepSweep_Revol");
// nested enums
static_cast<py::class_<BRepSweep_Revol , shared_ptr<BRepSweep_Revol> >>(klass)
// constructors
.def(py::init< const TopoDS_Shape &,const gp_Ax1 &,const Standard_Real,const Standard_Boolean >() , py::arg("S"), py::arg("A"), py::arg("D"), py::arg("C")=static_cast<const Standard_Boolean>(Standard_False) )
.def(py::init< const TopoDS_Shape &,const gp_Ax1 &,const Standard_Boolean >() , py::arg("S"), py::arg("A"), py::arg("C")=static_cast<const Standard_Boolean>(Standard_False) )
// custom constructors
// methods
.def("Shape",
(TopoDS_Shape (BRepSweep_Revol::*)() ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)() >(&BRepSweep_Revol::Shape),
R"#(Returns the TopoDS Shape attached to the Revol.)#"
)
.def("Shape",
(TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) >(&BRepSweep_Revol::Shape),
R"#(Returns the TopoDS Shape generated with aGenS (subShape of the generating shape).)#" , py::arg("aGenS")
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_Revol::*)() ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)() >(&BRepSweep_Revol::FirstShape),
R"#(Returns the first shape of the revol (coinciding with the generating shape).)#"
)
.def("FirstShape",
(TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) >(&BRepSweep_Revol::FirstShape),
R"#(Returns the first shape of the revol (coinciding with the generating shape).)#" , py::arg("aGenS")
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_Revol::*)() ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)() >(&BRepSweep_Revol::LastShape),
R"#(Returns the TopoDS Shape of the top of the prism.)#"
)
.def("LastShape",
(TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) ) static_cast<TopoDS_Shape (BRepSweep_Revol::*)( const TopoDS_Shape & ) >(&BRepSweep_Revol::LastShape),
R"#(Returns the TopoDS Shape of the top of the prism. generated with aGenS (subShape of the generating shape).)#" , py::arg("aGenS")
)
.def("Axe",
(gp_Ax1 (BRepSweep_Revol::*)() const) static_cast<gp_Ax1 (BRepSweep_Revol::*)() const>(&BRepSweep_Revol::Axe),
R"#(returns the axis)#"
)
.def("Angle",
(Standard_Real (BRepSweep_Revol::*)() const) static_cast<Standard_Real (BRepSweep_Revol::*)() const>(&BRepSweep_Revol::Angle),
R"#(returns the angle.)#"
)
.def("IsUsed",
(Standard_Boolean (BRepSweep_Revol::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Revol::*)( const TopoDS_Shape & ) const>(&BRepSweep_Revol::IsUsed),
R"#(Returns true if the aGenS is used in resulting Shape)#" , py::arg("aGenS")
)
// 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 BRepSweep_Tool from ./opencascade/BRepSweep_Tool.hxx
klass = m.attr("BRepSweep_Tool");
// nested enums
static_cast<py::class_<BRepSweep_Tool , shared_ptr<BRepSweep_Tool> >>(klass)
// constructors
.def(py::init< const TopoDS_Shape & >() , py::arg("aShape") )
// custom constructors
// methods
.def("NbShapes",
(Standard_Integer (BRepSweep_Tool::*)() const) static_cast<Standard_Integer (BRepSweep_Tool::*)() const>(&BRepSweep_Tool::NbShapes),
R"#(Returns the number of subshapes in the shape.)#"
)
.def("Index",
(Standard_Integer (BRepSweep_Tool::*)( const TopoDS_Shape & ) const) static_cast<Standard_Integer (BRepSweep_Tool::*)( const TopoDS_Shape & ) const>(&BRepSweep_Tool::Index),
R"#(Returns the index of <aShape>.)#" , py::arg("aShape")
)
.def("Shape",
(TopoDS_Shape (BRepSweep_Tool::*)( const Standard_Integer ) const) static_cast<TopoDS_Shape (BRepSweep_Tool::*)( const Standard_Integer ) const>(&BRepSweep_Tool::Shape),
R"#(Returns the Shape at Index anIdex.)#" , py::arg("anIndex")
)
.def("Type",
(TopAbs_ShapeEnum (BRepSweep_Tool::*)( const TopoDS_Shape & ) const) static_cast<TopAbs_ShapeEnum (BRepSweep_Tool::*)( const TopoDS_Shape & ) const>(&BRepSweep_Tool::Type),
R"#(Returns the type of <aShape>.)#" , py::arg("aShape")
)
.def("Orientation",
(TopAbs_Orientation (BRepSweep_Tool::*)( const TopoDS_Shape & ) const) static_cast<TopAbs_Orientation (BRepSweep_Tool::*)( const TopoDS_Shape & ) const>(&BRepSweep_Tool::Orientation),
R"#(Returns the Orientation of <aShape>.)#" , py::arg("aShape")
)
.def("SetOrientation",
(void (BRepSweep_Tool::*)( TopoDS_Shape & , const TopAbs_Orientation ) const) static_cast<void (BRepSweep_Tool::*)( TopoDS_Shape & , const TopAbs_Orientation ) const>(&BRepSweep_Tool::SetOrientation),
R"#(Set the Orientation of <aShape> with Or.)#" , py::arg("aShape"), py::arg("Or")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class BRepSweep_Trsf from ./opencascade/BRepSweep_Trsf.hxx
klass = m.attr("BRepSweep_Trsf");
// nested enums
static_cast<py::class_<BRepSweep_Trsf , shared_ptr<BRepSweep_Trsf> ,Py_BRepSweep_Trsf , BRepSweep_NumLinearRegularSweep >>(klass)
// constructors
// custom constructors
// methods
.def("Init",
(void (BRepSweep_Trsf::*)() ) static_cast<void (BRepSweep_Trsf::*)() >(&BRepSweep_Trsf::Init),
R"#(ends the construction of the swept primitive calling the virtual geometric functions that can't be called in the initialize.)#"
)
.def("Process",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::Process),
R"#(function called to analyze the way of construction of the shapes generated by aGenS and aDirV.)#" , py::arg("aGenS"), py::arg("aDirV")
)
.def("MakeEmptyVertex",
(TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::MakeEmptyVertex),
R"#(Builds the vertex addressed by [aGenV,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyDirectingEdge",
(TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::MakeEmptyDirectingEdge),
R"#(Builds the edge addressed by [aGenV,aDirE], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirE")
)
.def("MakeEmptyGeneratingEdge",
(TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::MakeEmptyGeneratingEdge),
R"#(Builds the edge addressed by [aGenE,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenE"), py::arg("aDirV")
)
.def("SetParameters",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::SetParameters),
R"#(Sets the parameters of the new vertex on the new face. The new face and new vertex where generated from aGenF, aGenV and aDirV .)#" , py::arg("aNewFace"), py::arg("aNewVertex"), py::arg("aGenF"), py::arg("aGenV"), py::arg("aDirV")
)
.def("SetDirectingParameter",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::SetDirectingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenV aDirE, and aDirV.)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenV"), py::arg("aDirE"), py::arg("aDirV")
)
.def("SetGeneratingParameter",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::SetGeneratingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenE, aGenV and aDirV .)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyFace",
(TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::MakeEmptyFace),
R"#(Builds the face addressed by [aGenS,aDirS], with its geometric part, but without subcomponents. The couple aGenS, aDirS can be a "generating face and a directing vertex" or "a generating edge and a directing edge".)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("SetPCurve",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Trsf::SetPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenF, aGenE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenF"), py::arg("aGenE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetGeneratingPCurve",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Trsf::SetGeneratingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aDirE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetDirectingPCurve",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Trsf::SetDirectingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aGenV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirE"), py::arg("orien")
)
.def("GGDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Trsf::GGDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aSubGenS and aDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("GDDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const>(&BRepSweep_Trsf::GDDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aGenS and aSubDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aDirS"), py::arg("aSubDirS")
)
.def("SeparatedWires",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Trsf::SeparatedWires),
R"#(In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true.)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("HasShape",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Trsf::HasShape),
R"#(Returns true if aDirS and aGenS addresses a resulting Shape. In some specific cases the shape can be geometrically inexsistant, then this function returns false.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("IsInvariant",
(Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Trsf::*)( const TopoDS_Shape & ) const>(&BRepSweep_Trsf::IsInvariant),
R"#(Returns true if the geometry of aGenS is not modified by the trsf of the BRepSweep Trsf.)#" , py::arg("aGenS")
)
.def("SetContinuity",
(void (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Trsf::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Trsf::SetContinuity),
R"#(Called to propagate the continuity of every vertex between two edges of the generating wire aGenS on the generated edge and faces.)#" , py::arg("aGenS"), py::arg("aDirS")
)
// 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 BRepSweep_Rotation from ./opencascade/BRepSweep_Rotation.hxx
klass = m.attr("BRepSweep_Rotation");
// nested enums
static_cast<py::class_<BRepSweep_Rotation , shared_ptr<BRepSweep_Rotation> , BRepSweep_Trsf >>(klass)
// constructors
.def(py::init< const TopoDS_Shape &,const Sweep_NumShape &,const TopLoc_Location &,const gp_Ax1 &,const Standard_Real,const Standard_Boolean >() , py::arg("S"), py::arg("N"), py::arg("L"), py::arg("A"), py::arg("D"), py::arg("C") )
// custom constructors
// methods
.def("MakeEmptyVertex",
(TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::MakeEmptyVertex),
R"#(Builds the vertex addressed by [aGenV,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyDirectingEdge",
(TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::MakeEmptyDirectingEdge),
R"#(Builds the edge addressed by [aGenV,aDirE], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirE")
)
.def("MakeEmptyGeneratingEdge",
(TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::MakeEmptyGeneratingEdge),
R"#(Builds the edge addressed by [aGenE,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenE"), py::arg("aDirV")
)
.def("SetParameters",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::SetParameters),
R"#(Sets the parameters of the new vertex on the new face. The new face and new vertex where generated from aGenF, aGenV and aDirV .)#" , py::arg("aNewFace"), py::arg("aNewVertex"), py::arg("aGenF"), py::arg("aGenV"), py::arg("aDirV")
)
.def("SetDirectingParameter",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::SetDirectingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenV aDirE, and aDirV.)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenV"), py::arg("aDirE"), py::arg("aDirV")
)
.def("SetGeneratingParameter",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::SetGeneratingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenE, aGenV and aDirV .)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyFace",
(TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::MakeEmptyFace),
R"#(Builds the face addressed by [aGenS,aDirS], with its geometric part, but without subcomponents. The couple aGenS, aDirS can be a "generating face and a directing vertex" or "a generating edge and a directing edge".)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("SetPCurve",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Rotation::SetPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenF, aGenE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenF"), py::arg("aGenE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetGeneratingPCurve",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Rotation::SetGeneratingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aDirE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetDirectingPCurve",
(void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Rotation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Rotation::SetDirectingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aGenV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirE"), py::arg("orien")
)
.def("DirectSolid",
(TopAbs_Orientation (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopAbs_Orientation (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Rotation::DirectSolid),
R"#(Returns the Orientation of the shell in the solid generated by the face aGenS with the edge aDirS. It is REVERSED if the surface is swept in the direction of the normal.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("GGDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Rotation::GGDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aSubGenS and aDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("GDDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const>(&BRepSweep_Rotation::GDDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aGenS and aSubDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aDirS"), py::arg("aSubDirS")
)
.def("SeparatedWires",
(Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Rotation::SeparatedWires),
R"#(In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. The only case in which the function may return true is a planar face in a closed revol.)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("SplitShell",
(TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & ) const) static_cast<TopoDS_Shape (BRepSweep_Rotation::*)( const TopoDS_Shape & ) const>(&BRepSweep_Rotation::SplitShell),
R"#(In some particular cases the topology of a generated Shell must be composed of independent closed Shells, in this case this function returns a Compound of independent Shells.)#" , py::arg("aNewShape")
)
.def("HasShape",
(Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Rotation::HasShape),
R"#(Returns true if aDirS and aGenS addresses a resulting Shape. In some specific cases the shape can be geometrically inexsistant, then this function returns false.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("IsInvariant",
(Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Rotation::*)( const TopoDS_Shape & ) const>(&BRepSweep_Rotation::IsInvariant),
R"#(Returns true when the geometry of aGenS is not modified by the rotation.)#" , py::arg("aGenS")
)
.def("Axe",
(gp_Ax1 (BRepSweep_Rotation::*)() const) static_cast<gp_Ax1 (BRepSweep_Rotation::*)() const>(&BRepSweep_Rotation::Axe),
R"#(returns the axis)#"
)
.def("Angle",
(Standard_Real (BRepSweep_Rotation::*)() const) static_cast<Standard_Real (BRepSweep_Rotation::*)() const>(&BRepSweep_Rotation::Angle),
R"#(returns the angle.)#"
)
// 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 BRepSweep_Translation from ./opencascade/BRepSweep_Translation.hxx
klass = m.attr("BRepSweep_Translation");
// nested enums
static_cast<py::class_<BRepSweep_Translation , shared_ptr<BRepSweep_Translation> , BRepSweep_Trsf >>(klass)
// constructors
.def(py::init< const TopoDS_Shape &,const Sweep_NumShape &,const TopLoc_Location &,const gp_Vec &,const Standard_Boolean,const Standard_Boolean >() , py::arg("S"), py::arg("N"), py::arg("L"), py::arg("V"), py::arg("C"), py::arg("Canonize")=static_cast<const Standard_Boolean>(Standard_True) )
// custom constructors
// methods
.def("MakeEmptyVertex",
(TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::MakeEmptyVertex),
R"#(Builds the vertex addressed by [aGenV,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyDirectingEdge",
(TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::MakeEmptyDirectingEdge),
R"#(Builds the edge addressed by [aGenV,aDirE], with its geometric part, but without subcomponents.)#" , py::arg("aGenV"), py::arg("aDirE")
)
.def("MakeEmptyGeneratingEdge",
(TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::MakeEmptyGeneratingEdge),
R"#(Builds the edge addressed by [aGenE,aDirV], with its geometric part, but without subcomponents.)#" , py::arg("aGenE"), py::arg("aDirV")
)
.def("SetParameters",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::SetParameters),
R"#(Sets the parameters of the new vertex on the new face. The new face and new vertex where generated from aGenF, aGenV and aDirV .)#" , py::arg("aNewFace"), py::arg("aNewVertex"), py::arg("aGenF"), py::arg("aGenV"), py::arg("aDirV")
)
.def("SetDirectingParameter",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::SetDirectingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenV aDirE, and aDirV.)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenV"), py::arg("aDirE"), py::arg("aDirV")
)
.def("SetGeneratingParameter",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::SetGeneratingParameter),
R"#(Sets the parameter of the new vertex on the new edge. The new edge and new vertex where generated from aGenE, aGenV and aDirV .)#" , py::arg("aNewEdge"), py::arg("aNewVertex"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirV")
)
.def("MakeEmptyFace",
(TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopoDS_Shape (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::MakeEmptyFace),
R"#(Builds the face addressed by [aGenS,aDirS], with its geometric part, but without subcomponents. The couple aGenS, aDirS can be a "generating face and a directing vertex" or "a generating edge and a directing edge".)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("SetPCurve",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Translation::SetPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenF, aGenE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenF"), py::arg("aGenE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetGeneratingPCurve",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Translation::SetGeneratingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aDirV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aDirE"), py::arg("aDirV"), py::arg("orien")
)
.def("SetDirectingPCurve",
(void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) ) static_cast<void (BRepSweep_Translation::*)( const TopoDS_Shape & , TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const TopAbs_Orientation ) >(&BRepSweep_Translation::SetDirectingPCurve),
R"#(Sets the PCurve for a new edge on a new face. The new edge and the new face were generated using aGenE, aDirE and aGenV.)#" , py::arg("aNewFace"), py::arg("aNewEdge"), py::arg("aGenE"), py::arg("aGenV"), py::arg("aDirE"), py::arg("orien")
)
.def("DirectSolid",
(TopAbs_Orientation (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) ) static_cast<TopAbs_Orientation (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) >(&BRepSweep_Translation::DirectSolid),
R"#(Returns the Orientation of the shell in the solid generated by the face aGenS with the edge aDirS. It is REVERSED if the surface is swept in the direction of the normal.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("GGDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Translation::GGDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aSubGenS and aDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("GDDShapeIsToAdd",
(Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & , const Sweep_NumShape & ) const>(&BRepSweep_Translation::GDDShapeIsToAdd),
R"#(Returns true if aNewSubShape (addressed by aGenS and aSubDirS) must be added in aNewShape (addressed by aGenS and aDirS).)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aDirS"), py::arg("aSubDirS")
)
.def("SeparatedWires",
(Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Translation::SeparatedWires),
R"#(In some particular cases the topology of a generated face must be composed of independent closed wires, in this case this function returns true. Here it always returns false.)#" , py::arg("aNewShape"), py::arg("aNewSubShape"), py::arg("aGenS"), py::arg("aSubGenS"), py::arg("aDirS")
)
.def("HasShape",
(Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const) static_cast<Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & , const Sweep_NumShape & ) const>(&BRepSweep_Translation::HasShape),
R"#(Returns true if aDirS and aGenS addresses a resulting Shape. In some specific cases the shape can be geometrically inexsistant, then this function returns false.)#" , py::arg("aGenS"), py::arg("aDirS")
)
.def("IsInvariant",
(Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & ) const) static_cast<Standard_Boolean (BRepSweep_Translation::*)( const TopoDS_Shape & ) const>(&BRepSweep_Translation::IsInvariant),
R"#(Returns always false because here the transformation is a translation.)#" , py::arg("aGenS")
)
.def("Vec",
(gp_Vec (BRepSweep_Translation::*)() const) static_cast<gp_Vec (BRepSweep_Translation::*)() const>(&BRepSweep_Translation::Vec),
R"#(Returns the Vector of the Prism, if it is an infinite prism the Vec is unitar.)#"
)
// 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/BRepSweep_Builder.hxx
// ./opencascade/BRepSweep_Iterator.hxx
// ./opencascade/BRepSweep_NumLinearRegularSweep.hxx
// ./opencascade/BRepSweep_Prism.hxx
// ./opencascade/BRepSweep_Revol.hxx
// ./opencascade/BRepSweep_Rotation.hxx
// ./opencascade/BRepSweep_Tool.hxx
// ./opencascade/BRepSweep_Translation.hxx
// ./opencascade/BRepSweep_Trsf.hxx
// Additional functions
// operators
// register typdefs
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|