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
|
import OCP.Plate
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.NCollection
import OCP.TColStd
import OCP.gp
import OCP.TColgp
import OCP.Standard
__all__ = [
"Plate_Array1OfPinpointConstraint",
"Plate_D1",
"Plate_D2",
"Plate_D3",
"Plate_FreeGtoCConstraint",
"Plate_GlobalTranslationConstraint",
"Plate_GtoCConstraint",
"Plate_HArray1OfPinpointConstraint",
"Plate_LineConstraint",
"Plate_LinearScalarConstraint",
"Plate_LinearXYZConstraint",
"Plate_PinpointConstraint",
"Plate_PlaneConstraint",
"Plate_Plate",
"Plate_SampledCurveConstraint",
"Plate_SequenceOfLinearScalarConstraint",
"Plate_SequenceOfLinearXYZConstraint",
"Plate_SequenceOfPinpointConstraint"
]
class Plate_Array1OfPinpointConstraint():
"""
The class NCollection_Array1 represents unidimensional arrays of fixed size known at run time. The range of the index is user defined. An array1 can be constructed with a "C array". This functionality is useful to call methods expecting an Array1. It allows to carry the bounds inside the arrays.
"""
def Assign(self,theOther : Plate_Array1OfPinpointConstraint) -> Plate_Array1OfPinpointConstraint:
"""
Copies data of theOther array to this. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
"""
def Init(self,theValue : Plate_PinpointConstraint) -> None:
"""
Initialise the items with theValue
"""
def IsDeletable(self) -> bool:
"""
None
"""
def IsEmpty(self) -> bool:
"""
Return TRUE if array has zero length.
"""
def Length(self) -> int:
"""
Length query (the same)
"""
def Lower(self) -> int:
"""
Lower bound
"""
def Move(self,theOther : Plate_Array1OfPinpointConstraint) -> Plate_Array1OfPinpointConstraint:
"""
None
"""
def Resize(self,theLower : int,theUpper : int,theToCopyData : bool) -> None:
"""
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
"""
def SetValue(self,theIndex : int,theItem : Plate_PinpointConstraint) -> None:
"""
Set value
"""
def Size(self) -> int:
"""
Size query
"""
def UpdateLowerBound(self,theLower : int) -> None:
"""
Changes the lowest bound. Do not move data
"""
def UpdateUpperBound(self,theUpper : int) -> None:
"""
Changes the upper bound. Do not move data
"""
def Upper(self) -> int:
"""
Upper bound
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> Plate_PinpointConstraint: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theOther : Plate_Array1OfPinpointConstraint) -> None: ...
@overload
def __init__(self,theAlloc : Any,theLower : int,theUpper : int) -> None: ...
def __iter__(self) -> Iterator[Plate_PinpointConstraint]: ...
def __len__(self) -> int: ...
pass
class Plate_D1():
"""
define an order 1 derivatives of a 3d valued function of a 2d variable
"""
def DU(self) -> OCP.gp.gp_XYZ:
"""
None
None
"""
def DV(self) -> OCP.gp.gp_XYZ:
"""
None
None
"""
@overload
def __init__(self,ref : Plate_D1) -> None: ...
@overload
def __init__(self,du : OCP.gp.gp_XYZ,dv : OCP.gp.gp_XYZ) -> None: ...
pass
class Plate_D2():
"""
define an order 2 derivatives of a 3d valued function of a 2d variable
"""
@overload
def __init__(self,duu : OCP.gp.gp_XYZ,duv : OCP.gp.gp_XYZ,dvv : OCP.gp.gp_XYZ) -> None: ...
@overload
def __init__(self,ref : Plate_D2) -> None: ...
pass
class Plate_D3():
"""
define an order 3 derivatives of a 3d valued function of a 2d variable
"""
@overload
def __init__(self,duuu : OCP.gp.gp_XYZ,duuv : OCP.gp.gp_XYZ,duvv : OCP.gp.gp_XYZ,dvvv : OCP.gp.gp_XYZ) -> None: ...
@overload
def __init__(self,ref : Plate_D3) -> None: ...
pass
class Plate_FreeGtoCConstraint():
"""
define a G1, G2 or G3 constraint on the Plate using weaker constraint than GtoCConstraint
"""
def GetPPC(self,Index : int) -> Plate_PinpointConstraint:
"""
None
None
"""
def LSC(self,Index : int) -> Plate_LinearScalarConstraint:
"""
None
None
"""
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2,D3S : Plate_D3,D3T : Plate_D3,IncrementalLoad : float=1.0,orientation : int=0) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,IncrementalLoad : float=1.0,orientation : int=0) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2,IncrementalLoad : float=1.0,orientation : int=0) -> None: ...
def nb_LSC(self) -> int:
"""
None
None
"""
def nb_PPC(self) -> int:
"""
None
None
"""
pass
class Plate_GlobalTranslationConstraint():
"""
force a set of UV points to translate without deformation
"""
def LXYZC(self) -> Plate_LinearXYZConstraint:
"""
None
None
"""
def __init__(self,SOfXY : OCP.TColgp.TColgp_SequenceOfXY) -> None: ...
pass
class Plate_GtoCConstraint():
"""
define a G1, G2 or G3 constraint on the Plate
"""
def D1SurfInit(self) -> Plate_D1:
"""
None
None
"""
def GetPPC(self,Index : int) -> Plate_PinpointConstraint:
"""
None
None
"""
@overload
def __init__(self,ref : Plate_GtoCConstraint) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2,D3S : Plate_D3,D3T : Plate_D3,nP : OCP.gp.gp_XYZ) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2,D3S : Plate_D3,D3T : Plate_D3) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,nP : OCP.gp.gp_XYZ) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1) -> None: ...
@overload
def __init__(self,point2d : OCP.gp.gp_XY,D1S : Plate_D1,D1T : Plate_D1,D2S : Plate_D2,D2T : Plate_D2,nP : OCP.gp.gp_XYZ) -> None: ...
def nb_PPC(self) -> int:
"""
None
None
"""
pass
class Plate_HArray1OfPinpointConstraint(Plate_Array1OfPinpointConstraint, OCP.Standard.Standard_Transient):
def Array1(self) -> Plate_Array1OfPinpointConstraint:
"""
None
"""
def Assign(self,theOther : Plate_Array1OfPinpointConstraint) -> Plate_Array1OfPinpointConstraint:
"""
Copies data of theOther array to this. This array should be pre-allocated and have the same length as theOther; otherwise exception Standard_DimensionMismatch is thrown.
"""
def ChangeArray1(self) -> Plate_Array1OfPinpointConstraint:
"""
None
"""
def DecrementRefCounter(self) -> int:
"""
Decrements the reference counter of this object; returns the decremented value
"""
def Delete(self) -> None:
"""
Memory deallocator for transient classes
"""
def DynamicType(self) -> OCP.Standard.Standard_Type:
"""
None
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
def Init(self,theValue : Plate_PinpointConstraint) -> None:
"""
Initialise the items with theValue
"""
def IsDeletable(self) -> bool:
"""
None
"""
def IsEmpty(self) -> bool:
"""
Return TRUE if array has zero length.
"""
@overload
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
"""
Returns a true value if this is an instance of Type.
Returns a true value if this is an instance of TypeName.
"""
@overload
def IsInstance(self,theTypeName : str) -> bool: ...
@overload
def IsKind(self,theTypeName : str) -> bool:
"""
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
"""
@overload
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
def Length(self) -> int:
"""
Length query (the same)
"""
def Lower(self) -> int:
"""
Lower bound
"""
def Move(self,theOther : Plate_Array1OfPinpointConstraint) -> Plate_Array1OfPinpointConstraint:
"""
None
"""
def Resize(self,theLower : int,theUpper : int,theToCopyData : bool) -> None:
"""
Resizes the array to specified bounds. No re-allocation will be done if length of array does not change, but existing values will not be discarded if theToCopyData set to FALSE.
"""
def SetValue(self,theIndex : int,theItem : Plate_PinpointConstraint) -> None:
"""
Set value
"""
def Size(self) -> int:
"""
Size query
"""
def This(self) -> OCP.Standard.Standard_Transient:
"""
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
"""
def UpdateLowerBound(self,theLower : int) -> None:
"""
Changes the lowest bound. Do not move data
"""
def UpdateUpperBound(self,theUpper : int) -> None:
"""
Changes the upper bound. Do not move data
"""
def Upper(self) -> int:
"""
Upper bound
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> Plate_PinpointConstraint: ...
@overload
def __init__(self,theOther : Plate_Array1OfPinpointConstraint) -> None: ...
@overload
def __init__(self,theBegin : Plate_PinpointConstraint,theLower : int,theUpper : int,arg4 : bool) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int,theValue : Plate_PinpointConstraint) -> None: ...
def __iter__(self) -> Iterator[Plate_PinpointConstraint]: ...
def __len__(self) -> int: ...
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
pass
class Plate_LineConstraint():
"""
constraint a point to belong to a straight line
"""
def LSC(self) -> Plate_LinearScalarConstraint:
"""
None
None
"""
def __init__(self,point2d : OCP.gp.gp_XY,lin : OCP.gp.gp_Lin,iu : int=0,iv : int=0) -> None: ...
pass
class Plate_LinearScalarConstraint():
"""
define on or several constraints as linear combination of the X,Y and Z components of a set of PinPointConstraint
"""
def Coeff(self) -> OCP.TColgp.TColgp_Array2OfXYZ:
"""
None
None
"""
def GetPPC(self) -> Plate_Array1OfPinpointConstraint:
"""
None
None
"""
def SetCoeff(self,Row : int,Col : int,Value : OCP.gp.gp_XYZ) -> None:
"""
Sets the coeff of index (Row,Col) to Value raise if Row (respectively Col) is greater than the Row (respectively Column) length of coeff
"""
def SetPPC(self,Index : int,Value : Plate_PinpointConstraint) -> None:
"""
Sets the PinPointConstraint of index Index to Value raise if Index is greater than the length of PPC or the Row length of coeff or lower than 1
"""
@overload
def __init__(self,thePPC : Plate_Array1OfPinpointConstraint,theCoeff : OCP.TColgp.TColgp_Array1OfXYZ) -> None: ...
@overload
def __init__(self,thePPC : Plate_Array1OfPinpointConstraint,theCoeff : OCP.TColgp.TColgp_Array2OfXYZ) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,ColLen : int,RowLen : int) -> None: ...
@overload
def __init__(self,thePPC1 : Plate_PinpointConstraint,theCoeff : OCP.gp.gp_XYZ) -> None: ...
pass
class Plate_LinearXYZConstraint():
"""
define on or several constraints as linear combination of PinPointConstraint unlike the LinearScalarConstraint, usage of this kind of constraint preserve the X,Y and Z uncoupling.
"""
def Coeff(self) -> OCP.TColStd.TColStd_Array2OfReal:
"""
None
None
"""
def GetPPC(self) -> Plate_Array1OfPinpointConstraint:
"""
None
None
"""
def SetCoeff(self,Row : int,Col : int,Value : float) -> None:
"""
Sets the coeff of index (Row,Col) to Value raise if Row (respectively Col) is greater than the Row (respectively Column) length of coeff
"""
def SetPPC(self,Index : int,Value : Plate_PinpointConstraint) -> None:
"""
Sets the PinPointConstraint of index Index to Value raise if Index is greater than the length of PPC or the Row length of coeff or lower than 1
"""
@overload
def __init__(self,ColLen : int,RowLen : int) -> None: ...
@overload
def __init__(self,thePPC : Plate_Array1OfPinpointConstraint,theCoeff : OCP.TColStd.TColStd_Array2OfReal) -> None: ...
@overload
def __init__(self,thePPC : Plate_Array1OfPinpointConstraint,theCoeff : OCP.TColStd.TColStd_Array1OfReal) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class Plate_PinpointConstraint():
"""
define a constraint on the Plate
"""
def Idu(self) -> int:
"""
None
None
"""
def Idv(self) -> int:
"""
None
None
"""
def Pnt2d(self) -> OCP.gp.gp_XY:
"""
None
None
"""
def Value(self) -> OCP.gp.gp_XYZ:
"""
None
None
"""
@overload
def __init__(self,point2d : OCP.gp.gp_XY,ImposedValue : OCP.gp.gp_XYZ,iu : int=0,iv : int=0) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class Plate_PlaneConstraint():
"""
constraint a point to belong to a Plane
"""
def LSC(self) -> Plate_LinearScalarConstraint:
"""
None
None
"""
def __init__(self,point2d : OCP.gp.gp_XY,pln : OCP.gp.gp_Pln,iu : int=0,iv : int=0) -> None: ...
pass
class Plate_Plate():
"""
This class implement a variationnal spline algorithm able to define a two variable function satisfying some constraints and minimizing an energy like criterion.
"""
def CoefPol(self,Coefs : OCP.TColgp.TColgp_HArray2OfXYZ) -> Any:
"""
None
"""
def Continuity(self) -> int:
"""
None
"""
def Copy(self,Ref : Plate_Plate) -> Plate_Plate:
"""
None
"""
def Evaluate(self,point2d : OCP.gp.gp_XY) -> OCP.gp.gp_XYZ:
"""
None
"""
def EvaluateDerivative(self,point2d : OCP.gp.gp_XY,iu : int,iv : int) -> OCP.gp.gp_XYZ:
"""
None
"""
def Init(self) -> None:
"""
reset the Plate in the initial state ( same as after Create())
"""
def IsDone(self) -> bool:
"""
returns True if all has been correctly done.
"""
@overload
def Load(self,LConst : Plate_LineConstraint) -> None:
"""
None
None
None
None
None
None
None
None
None
"""
@overload
def Load(self,PConst : Plate_PinpointConstraint) -> None: ...
@overload
def Load(self,LScalarConst : Plate_LinearScalarConstraint) -> None: ...
@overload
def Load(self,FGtoCConst : Plate_FreeGtoCConstraint) -> None: ...
@overload
def Load(self,GtoCConst : Plate_GtoCConstraint) -> None: ...
@overload
def Load(self,LXYZConst : Plate_LinearXYZConstraint) -> None: ...
@overload
def Load(self,SCConst : Plate_SampledCurveConstraint) -> None: ...
@overload
def Load(self,GTConst : Plate_GlobalTranslationConstraint) -> None: ...
@overload
def Load(self,PConst : Plate_PlaneConstraint) -> None: ...
def SetPolynomialPartOnly(self,PPOnly : bool=True) -> None:
"""
None
"""
def SolveTI(self,ord : int=4,anisotropie : float=1.0,theProgress : OCP.Message.Message_ProgressRange=OCP.Message.Message_ProgressRange) -> None:
"""
None
"""
def UVBox(self) -> tuple[float, float, float, float]:
"""
None
"""
def UVConstraints(self,Seq : OCP.TColgp.TColgp_SequenceOfXY) -> None:
"""
None
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,Ref : Plate_Plate) -> None: ...
def destroy(self) -> None:
"""
None
"""
pass
class Plate_SampledCurveConstraint():
"""
define m PinPointConstraint driven by m unknown
"""
def LXYZC(self) -> Plate_LinearXYZConstraint:
"""
None
None
"""
def __init__(self,SOPPC : Plate_SequenceOfPinpointConstraint,n : int) -> None: ...
pass
class Plate_SequenceOfLinearScalarConstraint(OCP.NCollection.NCollection_BaseSequence):
"""
Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
"""
def Allocator(self) -> OCP.NCollection.NCollection_BaseAllocator:
"""
Returns attached allocator
"""
@overload
def Append(self,theItem : Plate_LinearScalarConstraint) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theSeq : Plate_SequenceOfLinearScalarConstraint) -> None: ...
def Assign(self,theOther : Plate_SequenceOfLinearScalarConstraint) -> Plate_SequenceOfLinearScalarConstraint:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> Plate_LinearScalarConstraint:
"""
First item access
"""
def ChangeLast(self) -> Plate_LinearScalarConstraint:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> Plate_LinearScalarConstraint:
"""
Variable item access by theIndex
"""
def Clear(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator=None) -> None:
"""
Clear the items out, take a new allocator if non null
"""
def Exchange(self,I : int,J : int) -> None:
"""
Exchange two members
"""
def First(self) -> Plate_LinearScalarConstraint:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theItem : Plate_LinearScalarConstraint) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : Plate_SequenceOfLinearScalarConstraint) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theSeq : Plate_SequenceOfLinearScalarConstraint) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theItem : Plate_LinearScalarConstraint) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> Plate_LinearScalarConstraint:
"""
Last item access
"""
def Length(self) -> int:
"""
Number of items
"""
def Lower(self) -> int:
"""
Method for consistency with other collections.
"""
@overload
def Prepend(self,theItem : Plate_LinearScalarConstraint) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theSeq : Plate_SequenceOfLinearScalarConstraint) -> None: ...
@overload
def Remove(self,theFromIndex : int,theToIndex : int) -> None:
"""
Remove one item
Remove range of items
"""
@overload
def Remove(self,theIndex : int) -> None: ...
def Reverse(self) -> None:
"""
Reverse sequence
"""
def SetValue(self,theIndex : int,theItem : Plate_LinearScalarConstraint) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : Plate_SequenceOfLinearScalarConstraint) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> Plate_LinearScalarConstraint:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> Plate_LinearScalarConstraint:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theOther : Plate_SequenceOfLinearScalarConstraint) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
def __iter__(self) -> Iterator[Plate_LinearScalarConstraint]: ...
def __len__(self) -> int: ...
@staticmethod
def delNode_s(theNode : NCollection_SeqNode,theAl : OCP.NCollection.NCollection_BaseAllocator) -> None:
"""
Static deleter to be passed to BaseSequence
"""
pass
class Plate_SequenceOfLinearXYZConstraint(OCP.NCollection.NCollection_BaseSequence):
"""
Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
"""
def Allocator(self) -> OCP.NCollection.NCollection_BaseAllocator:
"""
Returns attached allocator
"""
@overload
def Append(self,theItem : Plate_LinearXYZConstraint) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theSeq : Plate_SequenceOfLinearXYZConstraint) -> None: ...
def Assign(self,theOther : Plate_SequenceOfLinearXYZConstraint) -> Plate_SequenceOfLinearXYZConstraint:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> Plate_LinearXYZConstraint:
"""
First item access
"""
def ChangeLast(self) -> Plate_LinearXYZConstraint:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> Plate_LinearXYZConstraint:
"""
Variable item access by theIndex
"""
def Clear(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator=None) -> None:
"""
Clear the items out, take a new allocator if non null
"""
def Exchange(self,I : int,J : int) -> None:
"""
Exchange two members
"""
def First(self) -> Plate_LinearXYZConstraint:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : Plate_SequenceOfLinearXYZConstraint) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theItem : Plate_LinearXYZConstraint) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theItem : Plate_LinearXYZConstraint) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theSeq : Plate_SequenceOfLinearXYZConstraint) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> Plate_LinearXYZConstraint:
"""
Last item access
"""
def Length(self) -> int:
"""
Number of items
"""
def Lower(self) -> int:
"""
Method for consistency with other collections.
"""
@overload
def Prepend(self,theItem : Plate_LinearXYZConstraint) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theSeq : Plate_SequenceOfLinearXYZConstraint) -> None: ...
@overload
def Remove(self,theFromIndex : int,theToIndex : int) -> None:
"""
Remove one item
Remove range of items
"""
@overload
def Remove(self,theIndex : int) -> None: ...
def Reverse(self) -> None:
"""
Reverse sequence
"""
def SetValue(self,theIndex : int,theItem : Plate_LinearXYZConstraint) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : Plate_SequenceOfLinearXYZConstraint) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> Plate_LinearXYZConstraint:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> Plate_LinearXYZConstraint:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theOther : Plate_SequenceOfLinearXYZConstraint) -> None: ...
def __iter__(self) -> Iterator[Plate_LinearXYZConstraint]: ...
def __len__(self) -> int: ...
@staticmethod
def delNode_s(theNode : NCollection_SeqNode,theAl : OCP.NCollection.NCollection_BaseAllocator) -> None:
"""
Static deleter to be passed to BaseSequence
"""
pass
class Plate_SequenceOfPinpointConstraint(OCP.NCollection.NCollection_BaseSequence):
"""
Purpose: Definition of a sequence of elements indexed by an Integer in range of 1..n
"""
def Allocator(self) -> OCP.NCollection.NCollection_BaseAllocator:
"""
Returns attached allocator
"""
@overload
def Append(self,theSeq : Plate_SequenceOfPinpointConstraint) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theItem : Plate_PinpointConstraint) -> None: ...
def Assign(self,theOther : Plate_SequenceOfPinpointConstraint) -> Plate_SequenceOfPinpointConstraint:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> Plate_PinpointConstraint:
"""
First item access
"""
def ChangeLast(self) -> Plate_PinpointConstraint:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> Plate_PinpointConstraint:
"""
Variable item access by theIndex
"""
def Clear(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator=None) -> None:
"""
Clear the items out, take a new allocator if non null
"""
def Exchange(self,I : int,J : int) -> None:
"""
Exchange two members
"""
def First(self) -> Plate_PinpointConstraint:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : Plate_SequenceOfPinpointConstraint) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theItem : Plate_PinpointConstraint) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theSeq : Plate_SequenceOfPinpointConstraint) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theItem : Plate_PinpointConstraint) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> Plate_PinpointConstraint:
"""
Last item access
"""
def Length(self) -> int:
"""
Number of items
"""
def Lower(self) -> int:
"""
Method for consistency with other collections.
"""
@overload
def Prepend(self,theSeq : Plate_SequenceOfPinpointConstraint) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theItem : Plate_PinpointConstraint) -> None: ...
@overload
def Remove(self,theFromIndex : int,theToIndex : int) -> None:
"""
Remove one item
Remove range of items
"""
@overload
def Remove(self,theIndex : int) -> None: ...
def Reverse(self) -> None:
"""
Reverse sequence
"""
def SetValue(self,theIndex : int,theItem : Plate_PinpointConstraint) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : Plate_SequenceOfPinpointConstraint) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> Plate_PinpointConstraint:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> Plate_PinpointConstraint:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theOther : Plate_SequenceOfPinpointConstraint) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
def __iter__(self) -> Iterator[Plate_PinpointConstraint]: ...
def __len__(self) -> int: ...
@staticmethod
def delNode_s(theNode : NCollection_SeqNode,theAl : OCP.NCollection.NCollection_BaseAllocator) -> None:
"""
Static deleter to be passed to BaseSequence
"""
pass
|