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
|
import OCP.HatchGen
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.IntRes2d
import OCP.TopAbs
import OCP.NCollection
__all__ = [
"HatchGen_Domain",
"HatchGen_Domains",
"HatchGen_ErrorStatus",
"HatchGen_IntersectionPoint",
"HatchGen_IntersectionType",
"HatchGen_PointOnElement",
"HatchGen_PointOnHatching",
"HatchGen_PointsOnElement",
"HatchGen_PointsOnHatching",
"HatchGen_IncoherentParity",
"HatchGen_IncompatibleStates",
"HatchGen_NoProblem",
"HatchGen_TANGENT",
"HatchGen_TOUCH",
"HatchGen_TRUE",
"HatchGen_TransitionFailure",
"HatchGen_TrimFailure",
"HatchGen_UNDETERMINED"
]
class HatchGen_Domain():
"""
None
"""
def Dump(self,Index : int=0) -> None:
"""
Dump of the domain.
"""
def FirstPoint(self) -> HatchGen_PointOnHatching:
"""
Returns the first point of the domain. The exception DomainError is raised if HasFirstPoint returns False.
Returns the first point of the domain. The exception DomainError is raised if HasFirstPoint returns False.
"""
def HasFirstPoint(self) -> bool:
"""
Returns True if the domain has a first point.
Returns True if the domain has a first point.
"""
def HasSecondPoint(self) -> bool:
"""
Returns True if the domain has a second point.
Returns True if the domain has a second point.
"""
def SecondPoint(self) -> HatchGen_PointOnHatching:
"""
Returns the second point of the domain. The exception DomainError is raised if HasSecondPoint returns False.
Returns the second point of the domain. The exception DomainError is raised if HasSecondPoint returns False.
"""
@overload
def SetFirstPoint(self,P : HatchGen_PointOnHatching) -> None:
"""
Sets the first point of the domain.
Sets the first point of the domain at the infinite.
Sets the first point of the domain.
Sets the first point of the domain at the infinite.
"""
@overload
def SetFirstPoint(self) -> None: ...
@overload
def SetPoints(self,P1 : HatchGen_PointOnHatching,P2 : HatchGen_PointOnHatching) -> None:
"""
Sets the first and the second points of the domain.
Sets the first and the second points of the domain as the infinite.
Sets the first and the second points of the domain.
Sets the first and the second points of the domain as the infinite.
"""
@overload
def SetPoints(self) -> None: ...
@overload
def SetSecondPoint(self,P : HatchGen_PointOnHatching) -> None:
"""
Sets the second point of the domain.
Sets the second point of the domain at the infinite.
Sets the second point of the domain.
Sets the second point of the domain at the infinite.
"""
@overload
def SetSecondPoint(self) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,P : HatchGen_PointOnHatching,First : bool) -> None: ...
@overload
def __init__(self,P1 : HatchGen_PointOnHatching,P2 : HatchGen_PointOnHatching) -> None: ...
pass
class HatchGen_Domains(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 : HatchGen_Domain) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theSeq : HatchGen_Domains) -> None: ...
def Assign(self,theOther : HatchGen_Domains) -> HatchGen_Domains:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> HatchGen_Domain:
"""
First item access
"""
def ChangeLast(self) -> HatchGen_Domain:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> HatchGen_Domain:
"""
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) -> HatchGen_Domain:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : HatchGen_Domains) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theItem : HatchGen_Domain) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theItem : HatchGen_Domain) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theSeq : HatchGen_Domains) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> HatchGen_Domain:
"""
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 : HatchGen_Domain) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theSeq : HatchGen_Domains) -> 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 : HatchGen_Domain) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : HatchGen_Domains) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> HatchGen_Domain:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> HatchGen_Domain:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
@overload
def __init__(self,theOther : HatchGen_Domains) -> None: ...
@overload
def __init__(self) -> None: ...
def __iter__(self) -> Iterator[HatchGen_Domain]: ...
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 HatchGen_ErrorStatus():
"""
Error status.
Members:
HatchGen_NoProblem
HatchGen_TrimFailure
HatchGen_TransitionFailure
HatchGen_IncoherentParity
HatchGen_IncompatibleStates
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
HatchGen_IncoherentParity: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_IncoherentParity: 3>
HatchGen_IncompatibleStates: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_IncompatibleStates: 4>
HatchGen_NoProblem: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_NoProblem: 0>
HatchGen_TransitionFailure: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_TransitionFailure: 2>
HatchGen_TrimFailure: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_TrimFailure: 1>
__entries: dict # value = {'HatchGen_NoProblem': (<HatchGen_ErrorStatus.HatchGen_NoProblem: 0>, None), 'HatchGen_TrimFailure': (<HatchGen_ErrorStatus.HatchGen_TrimFailure: 1>, None), 'HatchGen_TransitionFailure': (<HatchGen_ErrorStatus.HatchGen_TransitionFailure: 2>, None), 'HatchGen_IncoherentParity': (<HatchGen_ErrorStatus.HatchGen_IncoherentParity: 3>, None), 'HatchGen_IncompatibleStates': (<HatchGen_ErrorStatus.HatchGen_IncompatibleStates: 4>, None)}
__members__: dict # value = {'HatchGen_NoProblem': <HatchGen_ErrorStatus.HatchGen_NoProblem: 0>, 'HatchGen_TrimFailure': <HatchGen_ErrorStatus.HatchGen_TrimFailure: 1>, 'HatchGen_TransitionFailure': <HatchGen_ErrorStatus.HatchGen_TransitionFailure: 2>, 'HatchGen_IncoherentParity': <HatchGen_ErrorStatus.HatchGen_IncoherentParity: 3>, 'HatchGen_IncompatibleStates': <HatchGen_ErrorStatus.HatchGen_IncompatibleStates: 4>}
pass
class HatchGen_IntersectionPoint():
"""
None
"""
def Dump(self,Index : int=0) -> None:
"""
Dump of the point on element.
"""
def Index(self) -> int:
"""
Returns the index of the supporting curve.
"""
def Parameter(self) -> float:
"""
Returns the parameter on the curve.
"""
def Position(self) -> OCP.TopAbs.TopAbs_Orientation:
"""
Returns the position of the point on the curve.
"""
def SegmentBeginning(self) -> bool:
"""
Returns the flag that the point is the beginning of a segment.
"""
def SegmentEnd(self) -> bool:
"""
Returns the flag that the point is the end of a segment.
"""
def SetIndex(self,Index : int) -> None:
"""
Sets the index of the supporting curve.
"""
def SetParameter(self,Parameter : float) -> None:
"""
Sets the parameter on the curve.
"""
def SetPosition(self,Position : OCP.TopAbs.TopAbs_Orientation) -> None:
"""
Sets the position of the point on the curve.
"""
def SetSegmentBeginning(self,State : bool=True) -> None:
"""
Sets the flag that the point is the beginning of a segment.
"""
def SetSegmentEnd(self,State : bool=True) -> None:
"""
Sets the flag that the point is the end of a segment.
"""
def SetStateAfter(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state after the intersection.
"""
def SetStateBefore(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state before the intersection.
"""
def StateAfter(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state after of the intersection.
"""
def StateBefore(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state before the intersection.
"""
pass
class HatchGen_IntersectionType():
"""
Intersection type between the hatching and the element.
Members:
HatchGen_TRUE
HatchGen_TOUCH
HatchGen_TANGENT
HatchGen_UNDETERMINED
"""
def __eq__(self,other : object) -> bool: ...
def __getstate__(self) -> int: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __init__(self,value : int) -> None: ...
def __int__(self) -> int: ...
def __ne__(self,other : object) -> bool: ...
def __repr__(self) -> str: ...
def __setstate__(self,state : int) -> None: ...
def __str__(self) -> str: ...
@property
def name(self) -> None:
"""
:type: None
"""
@property
def value(self) -> int:
"""
:type: int
"""
HatchGen_TANGENT: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TANGENT: 2>
HatchGen_TOUCH: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TOUCH: 1>
HatchGen_TRUE: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TRUE: 0>
HatchGen_UNDETERMINED: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_UNDETERMINED: 3>
__entries: dict # value = {'HatchGen_TRUE': (<HatchGen_IntersectionType.HatchGen_TRUE: 0>, None), 'HatchGen_TOUCH': (<HatchGen_IntersectionType.HatchGen_TOUCH: 1>, None), 'HatchGen_TANGENT': (<HatchGen_IntersectionType.HatchGen_TANGENT: 2>, None), 'HatchGen_UNDETERMINED': (<HatchGen_IntersectionType.HatchGen_UNDETERMINED: 3>, None)}
__members__: dict # value = {'HatchGen_TRUE': <HatchGen_IntersectionType.HatchGen_TRUE: 0>, 'HatchGen_TOUCH': <HatchGen_IntersectionType.HatchGen_TOUCH: 1>, 'HatchGen_TANGENT': <HatchGen_IntersectionType.HatchGen_TANGENT: 2>, 'HatchGen_UNDETERMINED': <HatchGen_IntersectionType.HatchGen_UNDETERMINED: 3>}
pass
class HatchGen_PointOnElement(HatchGen_IntersectionPoint):
"""
None
"""
def Dump(self,Index : int=0) -> None:
"""
Dump of the point on element.
"""
def Index(self) -> int:
"""
Returns the index of the supporting curve.
"""
def IntersectionType(self) -> HatchGen_IntersectionType:
"""
Returns the intersection type at this point.
Returns the intersection type at this point.
"""
def IsDifferent(self,Point : HatchGen_PointOnElement,Confusion : float) -> bool:
"""
Tests if the point is different from an other.
"""
def IsIdentical(self,Point : HatchGen_PointOnElement,Confusion : float) -> bool:
"""
Tests if the point is identical to an other. That is to say : P1.myIndex = P2.myIndex Abs (P1.myParam - P2.myParam) <= Confusion P1.myPosit = P2.myPosit P1.myBefore = P2.myBefore P1.myAfter = P2.myAfter P1.mySegBeg = P2.mySegBeg P1.mySegEnd = P2.mySegEnd P1.myType = P2.myType
"""
def Parameter(self) -> float:
"""
Returns the parameter on the curve.
"""
def Position(self) -> OCP.TopAbs.TopAbs_Orientation:
"""
Returns the position of the point on the curve.
"""
def SegmentBeginning(self) -> bool:
"""
Returns the flag that the point is the beginning of a segment.
"""
def SegmentEnd(self) -> bool:
"""
Returns the flag that the point is the end of a segment.
"""
def SetIndex(self,Index : int) -> None:
"""
Sets the index of the supporting curve.
"""
def SetIntersectionType(self,Type : HatchGen_IntersectionType) -> None:
"""
Sets the intersection type at this point.
Sets the intersection type at this point.
"""
def SetParameter(self,Parameter : float) -> None:
"""
Sets the parameter on the curve.
"""
def SetPosition(self,Position : OCP.TopAbs.TopAbs_Orientation) -> None:
"""
Sets the position of the point on the curve.
"""
def SetSegmentBeginning(self,State : bool=True) -> None:
"""
Sets the flag that the point is the beginning of a segment.
"""
def SetSegmentEnd(self,State : bool=True) -> None:
"""
Sets the flag that the point is the end of a segment.
"""
def SetStateAfter(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state after the intersection.
"""
def SetStateBefore(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state before the intersection.
"""
def StateAfter(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state after of the intersection.
"""
def StateBefore(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state before the intersection.
"""
@overload
def __init__(self,Point : OCP.IntRes2d.IntRes2d_IntersectionPoint) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class HatchGen_PointOnHatching(HatchGen_IntersectionPoint):
"""
None
"""
def AddPoint(self,Point : HatchGen_PointOnElement,Confusion : float) -> None:
"""
Adds a point on element to the point.
"""
def ClrPoints(self) -> None:
"""
Removes all the points on element of the point.
"""
def Dump(self,Index : int=0) -> None:
"""
Dump of the point.
"""
def Index(self) -> int:
"""
Returns the index of the supporting curve.
"""
def IsEqual(self,Point : HatchGen_PointOnHatching,Confusion : float) -> bool:
"""
Tests if the point is equal to an other. A point on hatching P1 is said to be equal to an other P2 if : | P2.myParam - P1.myParam | <= Confusion
"""
def IsGreater(self,Point : HatchGen_PointOnHatching,Confusion : float) -> bool:
"""
Tests if the point is greater than an other. A point on hatching P1 is said to be greater than an other P2 if : P1.myParam - P2.myParam > Confusion
"""
def IsLower(self,Point : HatchGen_PointOnHatching,Confusion : float) -> bool:
"""
Tests if the point is lower than an other. A point on hatching P1 is said to be lower than an other P2 if : P2.myParam - P1.myParam > Confusion
"""
def NbPoints(self) -> int:
"""
Returns the number of elements intersecting the hatching at this point.
"""
def Parameter(self) -> float:
"""
Returns the parameter on the curve.
"""
def Point(self,Index : int) -> HatchGen_PointOnElement:
"""
Returns the Index-th point on element of the point. The exception OutOfRange is raised if Index > NbPoints.
"""
def Position(self) -> OCP.TopAbs.TopAbs_Orientation:
"""
Returns the position of the point on the curve.
"""
def RemPoint(self,Index : int) -> None:
"""
Removes the Index-th point on element of the point. The exception OutOfRange is raised if Index > NbPoints.
"""
def SegmentBeginning(self) -> bool:
"""
Returns the flag that the point is the beginning of a segment.
"""
def SegmentEnd(self) -> bool:
"""
Returns the flag that the point is the end of a segment.
"""
def SetIndex(self,Index : int) -> None:
"""
Sets the index of the supporting curve.
"""
def SetParameter(self,Parameter : float) -> None:
"""
Sets the parameter on the curve.
"""
def SetPosition(self,Position : OCP.TopAbs.TopAbs_Orientation) -> None:
"""
Sets the position of the point on the curve.
"""
def SetSegmentBeginning(self,State : bool=True) -> None:
"""
Sets the flag that the point is the beginning of a segment.
"""
def SetSegmentEnd(self,State : bool=True) -> None:
"""
Sets the flag that the point is the end of a segment.
"""
def SetStateAfter(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state after the intersection.
"""
def SetStateBefore(self,State : OCP.TopAbs.TopAbs_State) -> None:
"""
Sets the transition state before the intersection.
"""
def StateAfter(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state after of the intersection.
"""
def StateBefore(self) -> OCP.TopAbs.TopAbs_State:
"""
Returns the transition state before the intersection.
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,Point : OCP.IntRes2d.IntRes2d_IntersectionPoint) -> None: ...
pass
class HatchGen_PointsOnElement(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 : HatchGen_PointsOnElement) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theItem : HatchGen_PointOnElement) -> None: ...
def Assign(self,theOther : HatchGen_PointsOnElement) -> HatchGen_PointsOnElement:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> HatchGen_PointOnElement:
"""
First item access
"""
def ChangeLast(self) -> HatchGen_PointOnElement:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> HatchGen_PointOnElement:
"""
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) -> HatchGen_PointOnElement:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : HatchGen_PointsOnElement) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theItem : HatchGen_PointOnElement) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theSeq : HatchGen_PointsOnElement) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theItem : HatchGen_PointOnElement) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> HatchGen_PointOnElement:
"""
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 : HatchGen_PointsOnElement) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theItem : HatchGen_PointOnElement) -> None: ...
@overload
def Remove(self,theIndex : int) -> None:
"""
Remove one item
Remove range of items
"""
@overload
def Remove(self,theFromIndex : int,theToIndex : int) -> None: ...
def Reverse(self) -> None:
"""
Reverse sequence
"""
def SetValue(self,theIndex : int,theItem : HatchGen_PointOnElement) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : HatchGen_PointsOnElement) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> HatchGen_PointOnElement:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> HatchGen_PointOnElement:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self,theOther : HatchGen_PointsOnElement) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
def __iter__(self) -> Iterator[HatchGen_PointOnElement]: ...
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 HatchGen_PointsOnHatching(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 : HatchGen_PointsOnHatching) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theItem : HatchGen_PointOnHatching) -> None: ...
def Assign(self,theOther : HatchGen_PointsOnHatching) -> HatchGen_PointsOnHatching:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> HatchGen_PointOnHatching:
"""
First item access
"""
def ChangeLast(self) -> HatchGen_PointOnHatching:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> HatchGen_PointOnHatching:
"""
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) -> HatchGen_PointOnHatching:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theItem : HatchGen_PointOnHatching) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : HatchGen_PointsOnHatching) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theItem : HatchGen_PointOnHatching) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theSeq : HatchGen_PointsOnHatching) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> HatchGen_PointOnHatching:
"""
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 : HatchGen_PointOnHatching) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theSeq : HatchGen_PointsOnHatching) -> None: ...
@overload
def Remove(self,theIndex : int) -> None:
"""
Remove one item
Remove range of items
"""
@overload
def Remove(self,theFromIndex : int,theToIndex : int) -> None: ...
def Reverse(self) -> None:
"""
Reverse sequence
"""
def SetValue(self,theIndex : int,theItem : HatchGen_PointOnHatching) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : HatchGen_PointsOnHatching) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> HatchGen_PointOnHatching:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> HatchGen_PointOnHatching:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theOther : HatchGen_PointsOnHatching) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
def __iter__(self) -> Iterator[HatchGen_PointOnHatching]: ...
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
HatchGen_IncoherentParity: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_IncoherentParity: 3>
HatchGen_IncompatibleStates: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_IncompatibleStates: 4>
HatchGen_NoProblem: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_NoProblem: 0>
HatchGen_TANGENT: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TANGENT: 2>
HatchGen_TOUCH: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TOUCH: 1>
HatchGen_TRUE: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_TRUE: 0>
HatchGen_TransitionFailure: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_TransitionFailure: 2>
HatchGen_TrimFailure: OCP.HatchGen.HatchGen_ErrorStatus # value = <HatchGen_ErrorStatus.HatchGen_TrimFailure: 1>
HatchGen_UNDETERMINED: OCP.HatchGen.HatchGen_IntersectionType # value = <HatchGen_IntersectionType.HatchGen_UNDETERMINED: 3>
|