1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801
|
import OCP.TopOpeBRep
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.TopTools
import OCP.IntPatch
import OCP.TopOpeBRepDS
import OCP.NCollection
import OCP.Geom
import OCP.TopAbs
import OCP.IntRes2d
import OCP.IntSurf
import OCP.BRepAdaptor
import io
import OCP.Geom2dAdaptor
import OCP.Standard
import OCP.gp
import OCP.TopoDS
import OCP.Geom2d
import OCP.Bnd
import OCP.TCollection
import OCP.TopOpeBRepTool
__all__ = [
"TopOpeBRep",
"TopOpeBRep_Array1OfLineInter",
"TopOpeBRep_Array1OfVPointInter",
"TopOpeBRep_Bipoint",
"TopOpeBRep_DSFiller",
"TopOpeBRep_EdgesFiller",
"TopOpeBRep_EdgesIntersector",
"TopOpeBRep_FFDumper",
"TopOpeBRep_FFTransitionTool",
"TopOpeBRep_FaceEdgeFiller",
"TopOpeBRep_FaceEdgeIntersector",
"TopOpeBRep_FacesFiller",
"TopOpeBRep_FacesIntersector",
"TopOpeBRep_GeomTool",
"TopOpeBRep_HArray1OfLineInter",
"TopOpeBRep_HArray1OfVPointInter",
"TopOpeBRep_Hctxee2d",
"TopOpeBRep_Hctxff2d",
"TopOpeBRep_LineInter",
"TopOpeBRep_ListOfBipoint",
"TopOpeBRep_P2Dstatus",
"TopOpeBRep_Point2d",
"TopOpeBRep_PointClassifier",
"TopOpeBRep_PointGeomTool",
"TopOpeBRep_SequenceOfPoint2d",
"TopOpeBRep_ShapeIntersector",
"TopOpeBRep_ShapeIntersector2d",
"TopOpeBRep_ShapeScanner",
"TopOpeBRep_TypeLineCurve",
"TopOpeBRep_VPointInter",
"TopOpeBRep_VPointInterClassifier",
"TopOpeBRep_VPointInterIterator",
"TopOpeBRep_WPointInter",
"TopOpeBRep_WPointInterIterator",
"TopOpeBRep_ANALYTIC",
"TopOpeBRep_CIRCLE",
"TopOpeBRep_ELLIPSE",
"TopOpeBRep_HYPERBOLA",
"TopOpeBRep_LINE",
"TopOpeBRep_OTHERTYPE",
"TopOpeBRep_P2DINT",
"TopOpeBRep_P2DNEW",
"TopOpeBRep_P2DSGF",
"TopOpeBRep_P2DSGL",
"TopOpeBRep_P2DUNK",
"TopOpeBRep_PARABOLA",
"TopOpeBRep_RESTRICTION",
"TopOpeBRep_WALKING"
]
class TopOpeBRep():
"""
This package provides the topological operations on the BRep data structure.
"""
@staticmethod
def Print_s(TLC : TopOpeBRep_TypeLineCurve,OS : io.BytesIO) -> io.BytesIO:
"""
Prints the name of <TLC> as a String on the Stream <S> and returns <S>.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_Array1OfLineInter():
"""
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 : TopOpeBRep_Array1OfLineInter) -> TopOpeBRep_Array1OfLineInter:
"""
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 : TopOpeBRep_LineInter) -> 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 : TopOpeBRep_Array1OfLineInter) -> TopOpeBRep_Array1OfLineInter:
"""
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 : TopOpeBRep_LineInter) -> 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) -> TopOpeBRep_LineInter: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theAlloc : Any,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self,theOther : TopOpeBRep_Array1OfLineInter) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_LineInter]: ...
def __len__(self) -> int: ...
pass
class TopOpeBRep_Array1OfVPointInter():
"""
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 : TopOpeBRep_Array1OfVPointInter) -> TopOpeBRep_Array1OfVPointInter:
"""
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 : TopOpeBRep_VPointInter) -> 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 : TopOpeBRep_Array1OfVPointInter) -> TopOpeBRep_Array1OfVPointInter:
"""
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 : TopOpeBRep_VPointInter) -> 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) -> TopOpeBRep_VPointInter: ...
@overload
def __init__(self,theOther : TopOpeBRep_Array1OfVPointInter) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theAlloc : Any,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_VPointInter]: ...
def __len__(self) -> int: ...
pass
class TopOpeBRep_Bipoint():
"""
None
"""
def I1(self) -> int:
"""
None
"""
def I2(self) -> int:
"""
None
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,I1 : int,I2 : int) -> None: ...
pass
class TopOpeBRep_DSFiller():
"""
Provides class methods to fill a datastructure with results of intersections.
"""
def ChangeEdgesFiller(self) -> TopOpeBRep_EdgesFiller:
"""
None
"""
def ChangeFaceEdgeFiller(self) -> TopOpeBRep_FaceEdgeFiller:
"""
None
"""
def ChangeFacesFiller(self) -> TopOpeBRep_FacesFiller:
"""
None
"""
def ChangeShapeIntersector(self) -> TopOpeBRep_ShapeIntersector:
"""
None
"""
def ChangeShapeIntersector2d(self) -> TopOpeBRep_ShapeIntersector2d:
"""
None
"""
def Checker(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def Complete(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def CompleteDS(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
Update the data structure with relevant information deduced from the intersections.
"""
def CompleteDS2d(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
Update the data structure with relevant information deduced from the intersections 2d.
"""
def Filter(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def GapFiller(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def Insert(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure,orientFORWARD : bool=True) -> None:
"""
Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWARD,REVERSED --> FORWARD S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
"""
def Insert1d(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,F1 : OCP.TopoDS.TopoDS_Face,F2 : OCP.TopoDS.TopoDS_Face,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure,orientFORWARD : bool=False) -> None:
"""
Stores in <DS> the intersections of <S1> and <S2>. S1 and S2 are edges or wires. S1 edges have a 2d representation in face F1 S2 edges have a 2d representation in face F2 F1 is the face which surface is taken as reference for 2d description of S1 and S2 edges. if orientFORWARD = True S FORWARD,REVERSED --> FORWARD S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
"""
def Insert2d(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
Stores in <DS> the intersections of <S1> and <S2>. S1 et S2 contain only SameDomain Face
"""
def InsertIntersection(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure,orientFORWARD : bool=True) -> None:
"""
Stores in <DS> the intersections of <S1> and <S2>. if orientFORWARD = True S FORWAR,REVERSED --> FORWARD S EXTERNAL,INTERNAL --> EXTERNAL,INTERNAL
"""
def InsertIntersection2d(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
S1, S2 set of tangent face lance les intersections 2d pour coder correctement les faces SameDomain.
"""
def IsContext1d(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
None
"""
def IsMadeOf1d(self,S : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
None
"""
def Reducer(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def RemoveUnsharedGeometry(self,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_EdgesFiller():
"""
Fills a TopOpeBRepDS_DataStructure with Edge/Edge instersection data described by TopOpeBRep_EdgesIntersector.
"""
@overload
def Face(self,I : int,F : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
None
"""
@overload
def Face(self,I : int) -> OCP.TopoDS.TopoDS_Shape: ...
def Insert(self,E1 : OCP.TopoDS.TopoDS_Shape,E2 : OCP.TopoDS.TopoDS_Shape,EI : TopOpeBRep_EdgesIntersector,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_EdgesIntersector():
"""
Describes the intersection of two edges on the same surface
"""
def Curve(self,Index : int) -> OCP.Geom2dAdaptor.Geom2dAdaptor_Curve:
"""
None
"""
@overload
def Dimension(self) -> int:
"""
None
set working space dimension D = 1 for E &|| W, 2 for E in F
"""
@overload
def Dimension(self,D : int) -> None: ...
def Dump(self,str : OCP.TCollection.TCollection_AsciiString,ie1 : int=0,ie2 : int=0) -> None:
"""
None
"""
def Edge(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def Face(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def FacesSameOriented(self) -> bool:
"""
None
"""
def ForceTolerances(self,Tol1 : float,Tol2 : float) -> None:
"""
None
"""
def HasSegment(self) -> bool:
"""
true if at least one intersection segment.
"""
def InitPoint(self,selectkeep : bool=True) -> None:
"""
None
"""
def IsEmpty(self) -> bool:
"""
None
"""
def MorePoint(self) -> bool:
"""
None
"""
def NbPoints(self) -> int:
"""
None
"""
def NbSegments(self) -> int:
"""
None
"""
def NextPoint(self) -> None:
"""
None
"""
def Perform(self,E1 : OCP.TopoDS.TopoDS_Shape,E2 : OCP.TopoDS.TopoDS_Shape,ReduceSegments : bool=True) -> None:
"""
None
"""
@overload
def Point(self) -> TopOpeBRep_Point2d:
"""
None
None
"""
@overload
def Point(self,I : int) -> TopOpeBRep_Point2d: ...
def Points(self) -> TopOpeBRep_SequenceOfPoint2d:
"""
None
"""
def ReduceSegment(self,P1 : TopOpeBRep_Point2d,P2 : TopOpeBRep_Point2d,Pn : TopOpeBRep_Point2d) -> bool:
"""
None
"""
def SameDomain(self) -> bool:
"""
= mySameDomain.
"""
@overload
def SetFaces(self,F1 : OCP.TopoDS.TopoDS_Shape,F2 : OCP.TopoDS.TopoDS_Shape,B1 : OCP.Bnd.Bnd_Box,B2 : OCP.Bnd.Bnd_Box) -> None:
"""
None
None
"""
@overload
def SetFaces(self,F1 : OCP.TopoDS.TopoDS_Shape,F2 : OCP.TopoDS.TopoDS_Shape) -> None: ...
def Status1(self) -> TopOpeBRep_P2Dstatus:
"""
None
"""
def Surface(self,Index : int) -> OCP.BRepAdaptor.BRepAdaptor_Surface:
"""
None
"""
def SurfacesSameOriented(self) -> bool:
"""
None
"""
def ToleranceMax(self) -> float:
"""
None
"""
def Tolerances(self) -> tuple[float, float]:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_FFDumper(OCP.Standard.Standard_Transient):
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 DumpDSP(self,VP : TopOpeBRep_VPointInter,GK : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind,G : int,newinDS : bool) -> None:
"""
None
"""
@overload
def DumpLine(self,I : int) -> None:
"""
None
None
"""
@overload
def DumpLine(self,L : TopOpeBRep_LineInter) -> None: ...
@overload
def DumpVP(self,VP : TopOpeBRep_VPointInter) -> None:
"""
None
None
"""
@overload
def DumpVP(self,VP : TopOpeBRep_VPointInter,ISI : int) -> None: ...
def DynamicType(self) -> OCP.Standard.Standard_Type:
"""
None
"""
def ExploreIndex(self,S : OCP.TopoDS.TopoDS_Shape,ISI : int) -> int:
"""
None
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
@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 PFacesFillerDummy(self) -> TopOpeBRep_FacesFiller:
"""
None
"""
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.
"""
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
pass
class TopOpeBRep_FFTransitionTool():
"""
None
"""
@staticmethod
def ProcessEdgeONTransition_s(VP : TopOpeBRep_VPointInter,Index : int,R : OCP.TopoDS.TopoDS_Shape,E : OCP.TopoDS.TopoDS_Shape,F : OCP.TopoDS.TopoDS_Shape) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
compute transition on "IntPatch_Restriction line" edge <R> when crossing edge <E> of face <F> at point <VP>. VP is given on edge <E> of face <F> of index <Index> (1 or 2). <VP> has been classified by FacesFiller as TopAbs_ON an edge <R> of the other face than <F> of current (face/face) intersection. Transition depends on the orientation of E in F. This method should be provided by IntPatch_Line (NYI)
"""
@staticmethod
def ProcessEdgeTransition_s(P : TopOpeBRep_VPointInter,Index : int,LineOrientation : OCP.TopAbs.TopAbs_Orientation) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
"""
@staticmethod
def ProcessFaceTransition_s(L : TopOpeBRep_LineInter,Index : int,FaceOrientation : OCP.TopAbs.TopAbs_Orientation) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
"""
@staticmethod
@overload
def ProcessLineTransition_s(P : TopOpeBRep_VPointInter,L : TopOpeBRep_LineInter) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
None
"""
@staticmethod
@overload
def ProcessLineTransition_s(P : TopOpeBRep_VPointInter,Index : int,EdgeOrientation : OCP.TopAbs.TopAbs_Orientation) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition: ...
def __init__(self) -> None: ...
pass
class TopOpeBRep_FaceEdgeFiller():
"""
None
"""
def Insert(self,F : OCP.TopoDS.TopoDS_Shape,E : OCP.TopoDS.TopoDS_Shape,FEINT : TopOpeBRep_FaceEdgeIntersector,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_FaceEdgeIntersector():
"""
Describes the intersection of a face and an edge.
"""
def ForceTolerance(self,tol : float) -> None:
"""
Force the tolerance values used by the next Perform(S1,S2) call.
"""
def Index(self) -> int:
"""
trace only
"""
def InitPoint(self) -> None:
"""
None
"""
def IsEmpty(self) -> bool:
"""
None
"""
@overload
def IsVertex(self,I : int,V : OCP.TopoDS.TopoDS_Vertex) -> bool:
"""
None
None
"""
@overload
def IsVertex(self,S : OCP.TopoDS.TopoDS_Shape,P : OCP.gp.gp_Pnt,Tol : float,V : OCP.TopoDS.TopoDS_Vertex) -> bool: ...
def MorePoint(self) -> bool:
"""
None
"""
def NbPoints(self) -> int:
"""
None
"""
def NextPoint(self) -> None:
"""
None
"""
def Parameter(self) -> float:
"""
parametre de Value() sur l'arete
"""
def Perform(self,F : OCP.TopoDS.TopoDS_Shape,E : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
"""
def Shape(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
returns intersected face or edge according to value of <Index> = 1 or 2
"""
def State(self) -> OCP.TopAbs.TopAbs_State:
"""
IN ou ON / a la face. Les points OUT ne sont pas retournes.
"""
def Tolerance(self) -> float:
"""
Return the tolerance value used in the last Perform() call If ForceTolerance() has been called, return the given value. If not, return value extracted from shapes.
"""
def Transition(self,Index : int,FaceOrientation : OCP.TopAbs.TopAbs_Orientation) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
Index = 1 transition par rapport a la face, en cheminant sur l'arete
"""
def UVPoint(self,P : OCP.gp.gp_Pnt2d) -> None:
"""
parametre de Value() sur la face
"""
def Value(self) -> OCP.gp.gp_Pnt:
"""
return the 3D point of the current intersection point.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_FacesFiller():
"""
Fills a DataStructure from TopOpeBRepDS with the result of Face/Face instersection described by FacesIntersector from TopOpeBRep. if the faces have same Domain, record it in the DS. else record lines and points and attach list of interferences to the faces, the lines and the edges.
"""
def AddShapesLine(self) -> None:
"""
compute 3d curve, pcurves and face/curve interferences for current NDSC. Add them to the DS.
"""
def ChangeDataStructure(self) -> OCP.TopOpeBRepDS.TopOpeBRepDS_DataStructure:
"""
None
"""
def ChangeFacesIntersector(self) -> TopOpeBRep_FacesIntersector:
"""
None
"""
def ChangePointClassifier(self) -> TopOpeBRep_PointClassifier:
"""
None
"""
def CheckLine(self,L : TopOpeBRep_LineInter) -> bool:
"""
None
"""
@staticmethod
def EqualpPonR_s(Lrest : TopOpeBRep_LineInter,VP1 : TopOpeBRep_VPointInter,VP2 : TopOpeBRep_VPointInter) -> bool:
"""
None
"""
def Face(self,I : int) -> OCP.TopoDS.TopoDS_Face:
"""
None
"""
@overload
def FaceFaceTransition(self,L : TopOpeBRep_LineInter,I : int) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
None
"""
@overload
def FaceFaceTransition(self,I : int) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition: ...
def FillLine(self) -> None:
"""
None
"""
def FillLineVPonR(self) -> None:
"""
VP processing for restriction line and line sharing same domain with section edges : - if restriction : Adds restriction edges as section edges and compute face/edge interference. - if same domain : If line share same domain with section edges, compute parts of line IN/IN the two faces, and compute curve/point interference for VP boundaries.
"""
def GetESL(self,LES : OCP.TopTools.TopTools_ListOfShape) -> None:
"""
Get map <mapES > of restriction edges having parts IN one of the 2 faces.
"""
@overload
def GetFFGeometry(self,VP : TopOpeBRep_VPointInter,K : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind,G : int) -> bool:
"""
search for G = geometry of Point which is identical to <DSP> among the DS Points created in the CURRENT face/face intersection ( current Insert() call).
search for G = geometry of Point which is identical to <VP> among the DS Points created in the CURRENT face/face intersection ( current Insert() call).
"""
@overload
def GetFFGeometry(self,DSP : OCP.TopOpeBRepDS.TopOpeBRepDS_Point,K : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind,G : int) -> bool: ...
def GetGeometry(self,IT : Any,VP : TopOpeBRep_VPointInter,G : int,K : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind) -> bool:
"""
Get the geometry of a DS point <DSP>. Search for it with ScanInterfList (previous method). if found, set <G> to the geometry of the interference found. else, add the point <DSP> in the <DS> and set <G> to the value of the new geometry such created. returns the value of ScanInterfList().
"""
def GetTraceIndex(self) -> tuple[int, int]:
"""
None
"""
def HDataStructure(self) -> OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure:
"""
None
"""
def Insert(self,F1 : OCP.TopoDS.TopoDS_Shape,F2 : OCP.TopoDS.TopoDS_Shape,FACINT : TopOpeBRep_FacesIntersector,HDS : OCP.TopOpeBRepDS.TopOpeBRepDS_HDataStructure) -> None:
"""
Stores in <DS> the intersections of <S1> and <S2>.
"""
@staticmethod
def IsVPtransLok_s(L : TopOpeBRep_LineInter,iVP : int,SI12 : int,T : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition) -> bool:
"""
Computes the transition <T> of the VPoint <iVP> on the edge of <SI12>. Returns <False> if the status is unknown.
"""
@staticmethod
def LSameDomainERL_s(L : TopOpeBRep_LineInter,ERL : OCP.TopTools.TopTools_ListOfShape) -> bool:
"""
Returns <True> if <L> shares a same geometric domain with at least one of the section edges of <ERL>.
"""
@staticmethod
def Lminmax_s(L : TopOpeBRep_LineInter) -> tuple[float, float]:
"""
Computes <pmin> and <pmax> the upper and lower bounds of <L> enclosing all vpoints.
"""
def LoadLine(self,L : TopOpeBRep_LineInter) -> None:
"""
None
"""
def MakeGeometry(self,VP : TopOpeBRep_VPointInter,ShapeIndex : int,K : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind) -> int:
"""
None
"""
def PDataStructureDummy(self) -> OCP.TopOpeBRepDS.TopOpeBRepDS_DataStructure:
"""
None
"""
def PFacesIntersectorDummy(self) -> TopOpeBRep_FacesIntersector:
"""
None
"""
def PLineInterDummy(self) -> TopOpeBRep_LineInter:
"""
None
"""
def ProcessLine(self) -> None:
"""
Process current intersection line (set by LoadLine)
"""
def ProcessRLine(self) -> None:
"""
Process current restriction line, adding restriction edge and computing face/edge interference.
"""
def ProcessSectionEdges(self) -> None:
"""
None
"""
def ProcessVPInotonR(self,VPI : TopOpeBRep_VPointInterIterator) -> None:
"""
processing ProcessVPnotonR for VPI.
"""
def ProcessVPIonR(self,VPI : TopOpeBRep_VPointInterIterator,trans1 : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition,F1 : OCP.TopoDS.TopoDS_Shape,ShapeIndex : int) -> None:
"""
processing ProcessVPonR for VPI.
"""
def ProcessVPR(self,FF : TopOpeBRep_FacesFiller,VP : TopOpeBRep_VPointInter) -> None:
"""
calling the following ProcessVPIonR and ProcessVPonR.
"""
def ProcessVPnotonR(self,VP : TopOpeBRep_VPointInter) -> None:
"""
adds <VP>'s geometrical point to the DS (if not stored) and computes curve point interference.
"""
def ProcessVPonR(self,VP : TopOpeBRep_VPointInter,trans1 : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition,F1 : OCP.TopoDS.TopoDS_Shape,ShapeIndex : int) -> None:
"""
adds <VP>'s geometric point (if not stored) and computes (curve or edge)/(point or vertex) interference.
"""
def ProcessVPonclosingR(self,VP : TopOpeBRep_VPointInter,F1 : OCP.TopoDS.TopoDS_Shape,ShapeIndex : int,transEdge : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition,PVKind : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind,PVIndex : int,EPIfound : bool,IEPI : OCP.TopOpeBRepDS.TopOpeBRepDS_Interference) -> None:
"""
VP processing on closing arc.
"""
def ProcessVPondgE(self,VP : TopOpeBRep_VPointInter,ShapeIndex : int,PVKind : OCP.TopOpeBRepDS.TopOpeBRepDS_Kind,PVIndex : int,EPIfound : bool,IEPI : OCP.TopOpeBRepDS.TopOpeBRepDS_Interference,CPIfound : bool,ICPI : OCP.TopOpeBRepDS.TopOpeBRepDS_Interference) -> bool:
"""
VP processing on degenerated arc.
"""
def ResetDSC(self) -> None:
"""
None
"""
def SetTraceIndex(self,exF1 : int,exF2 : int) -> None:
"""
None
"""
def StoreCurveInterference(self,I : OCP.TopOpeBRepDS.TopOpeBRepDS_Interference) -> None:
"""
Add interference <I> to list myDSCIL. on a given line, at first call, add a new DS curve.
"""
@staticmethod
def TransvpOK_s(L : TopOpeBRep_LineInter,iVP : int,SI : int,isINOUT : bool) -> bool:
"""
Computes transition on line for VP<iVP> on edge restriction of <SI>. If <isINOUT> : returns <true> if transition computed is IN/OUT else : returns <true> if transition computed is OUT/IN.
"""
@staticmethod
def VPParamOnER_s(vp : TopOpeBRep_VPointInter,Lrest : TopOpeBRep_LineInter) -> float:
"""
Returns parameter u of vp on the restriction edge.
"""
@overload
def VP_Position(self,L : TopOpeBRep_LineInter) -> None:
"""
compute position of VPoints of lines
compute position of VPoints of line L
compute position of VP with current faces, according to VP.ShapeIndex() .
"""
@overload
def VP_Position(self,VP : TopOpeBRep_VPointInter,VPC : TopOpeBRep_VPointInterClassifier) -> None: ...
@overload
def VP_Position(self,FACINT : TopOpeBRep_FacesIntersector) -> None: ...
def VP_PositionOnL(self,L : TopOpeBRep_LineInter) -> None:
"""
compute position of VPoints of non-restriction line L.
"""
def VP_PositionOnR(self,L : TopOpeBRep_LineInter) -> None:
"""
compute position of VPoints of restriction line L.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_FacesIntersector():
"""
Describes the intersection of two faces.
"""
def ChangeLine(self,IL : int) -> TopOpeBRep_LineInter:
"""
None
"""
def CurrentLine(self) -> TopOpeBRep_LineInter:
"""
None
"""
def CurrentLineIndex(self) -> int:
"""
None
"""
def Face(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
returns first or second intersected face.
"""
def ForceTolerances(self,tolarc : float,toltang : float) -> None:
"""
Force the tolerance values used by the next Perform(S1,S2) call.
"""
def GetTolerances(self) -> tuple[float, float]:
"""
Return the tolerance values used in the last Perform() call If ForceTolerances() has been called, return the given values. If not, return values extracted from shapes.
"""
def InitLine(self) -> None:
"""
None
"""
def IsDone(self) -> bool:
"""
None
"""
def IsEmpty(self) -> bool:
"""
None
"""
def IsRestriction(self,E : OCP.TopoDS.TopoDS_Shape) -> bool:
"""
returns true if edge <E> is found as same as the edge associated with a RESTRICTION line.
"""
def Lines(self) -> TopOpeBRep_HArray1OfLineInter:
"""
None
"""
def MoreLine(self) -> bool:
"""
None
"""
def NbLines(self) -> int:
"""
None
"""
def NextLine(self) -> None:
"""
None
"""
@overload
def Perform(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape) -> None:
"""
Computes the intersection of faces S1 and S2.
Computes the intersection of faces S1 and S2.
"""
@overload
def Perform(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,B1 : OCP.Bnd.Bnd_Box,B2 : OCP.Bnd.Bnd_Box) -> None: ...
def PrepareLines(self) -> None:
"""
None
"""
def Restrictions(self) -> OCP.TopTools.TopTools_IndexedMapOfShape:
"""
returns the map of edges found as TopeBRepBRep_RESTRICTION
"""
def SameDomain(self) -> bool:
"""
Returns True if Perform() arguments are two faces with the same surface.
"""
def SurfacesSameOriented(self) -> bool:
"""
Returns True if Perform() arguments are two faces SameDomain() and normals on both side. Raise if SameDomain is False
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_GeomTool():
"""
Provide services needed by the DSFiller
"""
@staticmethod
def MakeBSpline1fromWALKING2d_s(L : TopOpeBRep_LineInter,SI : int) -> OCP.Geom2d.Geom2d_Curve:
"""
None
"""
@staticmethod
def MakeBSpline1fromWALKING3d_s(L : TopOpeBRep_LineInter) -> OCP.Geom.Geom_Curve:
"""
None
"""
@staticmethod
def MakeCurve_s(min : float,max : float,L : TopOpeBRep_LineInter,C : OCP.Geom.Geom_Curve) -> None:
"""
None
"""
@staticmethod
def MakeCurves_s(min : float,max : float,L : TopOpeBRep_LineInter,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,C : OCP.TopOpeBRepDS.TopOpeBRepDS_Curve,PC1 : OCP.Geom2d.Geom2d_Curve,PC2 : OCP.Geom2d.Geom2d_Curve) -> None:
"""
Make the DS curve <C> and the pcurves <PC1,PC2> from intersection line <L> lying on shapes <S1,S2>. <min,max> = <L> bounds
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_HArray1OfLineInter(TopOpeBRep_Array1OfLineInter, OCP.Standard.Standard_Transient):
def Array1(self) -> TopOpeBRep_Array1OfLineInter:
"""
None
"""
def Assign(self,theOther : TopOpeBRep_Array1OfLineInter) -> TopOpeBRep_Array1OfLineInter:
"""
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) -> TopOpeBRep_Array1OfLineInter:
"""
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 : TopOpeBRep_LineInter) -> 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 : TopOpeBRep_Array1OfLineInter) -> TopOpeBRep_Array1OfLineInter:
"""
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 : TopOpeBRep_LineInter) -> 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) -> TopOpeBRep_LineInter: ...
@overload
def __init__(self,theOther : TopOpeBRep_Array1OfLineInter) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
@overload
def __init__(self,theBegin : TopOpeBRep_LineInter,theLower : int,theUpper : int,arg4 : bool) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int,theValue : TopOpeBRep_LineInter) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_LineInter]: ...
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 TopOpeBRep_HArray1OfVPointInter(TopOpeBRep_Array1OfVPointInter, OCP.Standard.Standard_Transient):
def Array1(self) -> TopOpeBRep_Array1OfVPointInter:
"""
None
"""
def Assign(self,theOther : TopOpeBRep_Array1OfVPointInter) -> TopOpeBRep_Array1OfVPointInter:
"""
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) -> TopOpeBRep_Array1OfVPointInter:
"""
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 : TopOpeBRep_VPointInter) -> 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 : TopOpeBRep_Array1OfVPointInter) -> TopOpeBRep_Array1OfVPointInter:
"""
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 : TopOpeBRep_VPointInter) -> 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) -> TopOpeBRep_VPointInter: ...
@overload
def __init__(self,theBegin : TopOpeBRep_VPointInter,theLower : int,theUpper : int,arg4 : bool) -> None: ...
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int,theValue : TopOpeBRep_VPointInter) -> None: ...
@overload
def __init__(self,theOther : TopOpeBRep_Array1OfVPointInter) -> None: ...
@overload
def __init__(self,theLower : int,theUpper : int) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_VPointInter]: ...
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 TopOpeBRep_Hctxee2d(OCP.Standard.Standard_Transient):
def Curve(self,I : int) -> OCP.Geom2dAdaptor.Geom2dAdaptor_Curve:
"""
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 Domain(self,I : int) -> OCP.IntRes2d.IntRes2d_Domain:
"""
None
"""
def DynamicType(self) -> OCP.Standard.Standard_Type:
"""
None
"""
def Edge(self,I : int) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
@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 SetEdges(self,E1 : OCP.TopoDS.TopoDS_Edge,E2 : OCP.TopoDS.TopoDS_Edge,BAS1 : OCP.BRepAdaptor.BRepAdaptor_Surface,BAS2 : OCP.BRepAdaptor.BRepAdaptor_Surface) -> None:
"""
None
"""
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 __init__(self) -> None: ...
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
pass
class TopOpeBRep_Hctxff2d(OCP.Standard.Standard_Transient):
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 Face(self,I : int) -> OCP.TopoDS.TopoDS_Face:
"""
None
"""
def FaceSameOrientedWithRef(self,I : int) -> bool:
"""
None
"""
def FacesSameOriented(self) -> bool:
"""
None
"""
def GetMaxTolerance(self) -> float:
"""
None
"""
def GetRefCount(self) -> int:
"""
Get the reference counter of this object
"""
def GetTolerances(self) -> tuple[float, float]:
"""
None
"""
def HSurface(self,I : int) -> OCP.BRepAdaptor.BRepAdaptor_Surface:
"""
None
"""
def IncrementRefCounter(self) -> None:
"""
Increments the reference counter of this object
"""
@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 SetFaces(self,F1 : OCP.TopoDS.TopoDS_Face,F2 : OCP.TopoDS.TopoDS_Face) -> None:
"""
None
"""
def SetHSurfaces(self,S1 : OCP.BRepAdaptor.BRepAdaptor_Surface,S2 : OCP.BRepAdaptor.BRepAdaptor_Surface) -> None:
"""
None
"""
def SetTolerances(self,Tol1 : float,Tol2 : float) -> None:
"""
None
"""
def SurfacesSameOriented(self) -> bool:
"""
None
"""
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 __init__(self) -> None: ...
@staticmethod
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
"""
None
"""
@staticmethod
def get_type_name_s() -> str:
"""
None
"""
pass
class TopOpeBRep_LineInter():
"""
None
"""
def Arc(self) -> OCP.TopoDS.TopoDS_Shape:
"""
returns the edge of a RESTRICTION line (or a null edge).
"""
def ArcIsEdge(self,I : int) -> bool:
"""
returns true if Arc() edge (of a RESTRICTION line) is an edge of the original face <Index> (1 or 2).
"""
def Bounds(self) -> tuple[float, float]:
"""
None
"""
def ChangeVPoint(self,I : int) -> TopOpeBRep_VPointInter:
"""
None
"""
def ComputeFaceFaceTransition(self) -> None:
"""
None
"""
@overload
def Curve(self) -> OCP.Geom.Geom_Curve:
"""
None
None
"""
@overload
def Curve(self,parmin : float,parmax : float) -> OCP.Geom.Geom_Curve: ...
def DumpBipoint(self,B : TopOpeBRep_Bipoint,s1 : OCP.TCollection.TCollection_AsciiString,s2 : OCP.TCollection.TCollection_AsciiString) -> None:
"""
None
"""
def DumpLineTransitions(self,OS : io.BytesIO) -> io.BytesIO:
"""
None
"""
def DumpType(self) -> None:
"""
None
"""
def DumpVPoint(self,I : int,s1 : OCP.TCollection.TCollection_AsciiString,s2 : OCP.TCollection.TCollection_AsciiString) -> None:
"""
None
"""
def FaceFaceTransition(self,I : int) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
"""
def GetTraceIndex(self) -> tuple[int, int]:
"""
None
"""
def HasFirstPoint(self) -> bool:
"""
None
"""
def HasLastPoint(self) -> bool:
"""
None
"""
def HasVInternal(self) -> bool:
"""
None
"""
def HasVPonR(self) -> bool:
"""
None
None
"""
def INL(self) -> bool:
"""
None
None
"""
@overload
def Index(self,I : int) -> None:
"""
None
None
None
None
"""
@overload
def Index(self) -> int: ...
def IsPeriodic(self) -> bool:
"""
None
"""
def IsVClosed(self) -> bool:
"""
None
None
"""
def LineG(self) -> OCP.IntPatch.IntPatch_GLine:
"""
None
None
"""
def LineR(self) -> OCP.IntPatch.IntPatch_RLine:
"""
None
None
"""
def LineW(self) -> OCP.IntPatch.IntPatch_WLine:
"""
None
None
"""
def NbVPoint(self) -> int:
"""
None
None
"""
def NbWPoint(self) -> int:
"""
None
"""
def OK(self) -> bool:
"""
None
None
"""
def Period(self) -> float:
"""
None
"""
def SetFaces(self,F1 : OCP.TopoDS.TopoDS_Face,F2 : OCP.TopoDS.TopoDS_Face) -> None:
"""
None
None
"""
def SetHasVPonR(self) -> None:
"""
None
"""
def SetINL(self) -> None:
"""
None
"""
def SetIsVClosed(self) -> None:
"""
None
"""
def SetLine(self,L : OCP.IntPatch.IntPatch_Line,S1 : OCP.BRepAdaptor.BRepAdaptor_Surface,S2 : OCP.BRepAdaptor.BRepAdaptor_Surface) -> None:
"""
None
"""
def SetOK(self,B : bool) -> None:
"""
None
"""
def SetTraceIndex(self,exF1 : int,exF2 : int) -> None:
"""
None
"""
def SetVPBounds(self) -> None:
"""
None
"""
def SituationS1(self) -> OCP.IntSurf.IntSurf_Situation:
"""
None
None
"""
def SituationS2(self) -> OCP.IntSurf.IntSurf_Situation:
"""
None
None
"""
def TransitionOnS1(self) -> OCP.IntSurf.IntSurf_TypeTrans:
"""
None
None
"""
def TransitionOnS2(self) -> OCP.IntSurf.IntSurf_TypeTrans:
"""
None
None
"""
def TypeLineCurve(self) -> TopOpeBRep_TypeLineCurve:
"""
None
None
"""
def VPBounds(self) -> tuple[int, int, int]:
"""
None
"""
def VPoint(self,I : int) -> TopOpeBRep_VPointInter:
"""
None
"""
def WPoint(self,I : int) -> TopOpeBRep_WPointInter:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_ListOfBipoint(OCP.NCollection.NCollection_BaseList):
"""
Purpose: Simple list to link items together keeping the first and the last one. Inherits BaseList, adding the data item to each node.
"""
def Allocator(self) -> OCP.NCollection.NCollection_BaseAllocator:
"""
Returns attached allocator
"""
@overload
def Append(self,theItem : TopOpeBRep_Bipoint,theIter : Any) -> None:
"""
Append one item at the end
Append one item at the end and output iterator pointing at the appended item
Append another list at the end. After this operation, theOther list will be cleared.
"""
@overload
def Append(self,theItem : TopOpeBRep_Bipoint) -> TopOpeBRep_Bipoint: ...
@overload
def Append(self,theOther : TopOpeBRep_ListOfBipoint) -> None: ...
def Assign(self,theOther : TopOpeBRep_ListOfBipoint) -> TopOpeBRep_ListOfBipoint:
"""
Replace this list by the items of another list (theOther parameter). This method does not change the internal allocator.
"""
def Clear(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator=None) -> None:
"""
Clear this list
"""
def Extent(self) -> int:
"""
None
"""
def First(self) -> TopOpeBRep_Bipoint:
"""
First item
First item (non-const)
"""
@overload
def InsertAfter(self,theItem : TopOpeBRep_Bipoint,theIter : Any) -> TopOpeBRep_Bipoint:
"""
InsertAfter
InsertAfter
"""
@overload
def InsertAfter(self,theOther : TopOpeBRep_ListOfBipoint,theIter : Any) -> None: ...
@overload
def InsertBefore(self,theItem : TopOpeBRep_Bipoint,theIter : Any) -> TopOpeBRep_Bipoint:
"""
InsertBefore
InsertBefore
"""
@overload
def InsertBefore(self,theOther : TopOpeBRep_ListOfBipoint,theIter : Any) -> None: ...
def IsEmpty(self) -> bool:
"""
None
"""
def Last(self) -> TopOpeBRep_Bipoint:
"""
Last item
Last item (non-const)
"""
@overload
def Prepend(self,theItem : TopOpeBRep_Bipoint) -> TopOpeBRep_Bipoint:
"""
Prepend one item at the beginning
Prepend another list at the beginning
"""
@overload
def Prepend(self,theOther : TopOpeBRep_ListOfBipoint) -> None: ...
def Remove(self,theIter : Any) -> None:
"""
Remove item pointed by iterator theIter; theIter is then set to the next item
"""
def RemoveFirst(self) -> None:
"""
RemoveFirst item
"""
def Reverse(self) -> None:
"""
Reverse the list
"""
def Size(self) -> int:
"""
Size - Number of items
"""
@overload
def __init__(self,theOther : TopOpeBRep_ListOfBipoint) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
@overload
def __init__(self) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_Bipoint]: ...
def __len__(self) -> int: ...
pass
class TopOpeBRep_P2Dstatus():
"""
None
Members:
TopOpeBRep_P2DUNK
TopOpeBRep_P2DINT
TopOpeBRep_P2DSGF
TopOpeBRep_P2DSGL
TopOpeBRep_P2DNEW
"""
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
"""
TopOpeBRep_P2DINT: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DINT: 1>
TopOpeBRep_P2DNEW: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DNEW: 4>
TopOpeBRep_P2DSGF: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGF: 2>
TopOpeBRep_P2DSGL: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGL: 3>
TopOpeBRep_P2DUNK: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DUNK: 0>
__entries: dict # value = {'TopOpeBRep_P2DUNK': (<TopOpeBRep_P2Dstatus.TopOpeBRep_P2DUNK: 0>, None), 'TopOpeBRep_P2DINT': (<TopOpeBRep_P2Dstatus.TopOpeBRep_P2DINT: 1>, None), 'TopOpeBRep_P2DSGF': (<TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGF: 2>, None), 'TopOpeBRep_P2DSGL': (<TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGL: 3>, None), 'TopOpeBRep_P2DNEW': (<TopOpeBRep_P2Dstatus.TopOpeBRep_P2DNEW: 4>, None)}
__members__: dict # value = {'TopOpeBRep_P2DUNK': <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DUNK: 0>, 'TopOpeBRep_P2DINT': <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DINT: 1>, 'TopOpeBRep_P2DSGF': <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGF: 2>, 'TopOpeBRep_P2DSGL': <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGL: 3>, 'TopOpeBRep_P2DNEW': <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DNEW: 4>}
pass
class TopOpeBRep_Point2d():
"""
None
"""
def ChangeTransition(self,I : int) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
"""
def Dump(self,ie1 : int=0,ie2 : int=0) -> None:
"""
None
"""
def EdgesConfig(self) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Config:
"""
None
None
"""
def HasPint(self) -> bool:
"""
None
None
"""
def Hctxee2d(self) -> TopOpeBRep_Hctxee2d:
"""
None
None
"""
def Hctxff2d(self) -> TopOpeBRep_Hctxff2d:
"""
None
None
"""
def Index(self) -> int:
"""
None
None
"""
def IsPointOfSegment(self) -> bool:
"""
None
None
"""
@overload
def IsVertex(self,Index : int) -> bool:
"""
None
None
"""
@overload
def IsVertex(self,I : int) -> bool: ...
def Keep(self) -> bool:
"""
None
None
"""
@overload
def Parameter(self,Index : int) -> float:
"""
None
None
"""
@overload
def Parameter(self,I : int) -> float: ...
def Pint(self) -> OCP.IntRes2d.IntRes2d_IntersectionPoint:
"""
None
None
"""
def SegmentAncestors(self,IP1 : int,IP2 : int) -> bool:
"""
None
None
"""
@overload
def SetEdgesConfig(self,B : OCP.TopOpeBRepDS.TopOpeBRepDS_Config) -> None:
"""
None
None
"""
@overload
def SetEdgesConfig(self,C : OCP.TopOpeBRepDS.TopOpeBRepDS_Config) -> None: ...
@overload
def SetHctxee2d(self,ee2d : TopOpeBRep_Hctxee2d) -> None:
"""
None
None
"""
@overload
def SetHctxee2d(self,h : TopOpeBRep_Hctxee2d) -> None: ...
@overload
def SetHctxff2d(self,ff2d : TopOpeBRep_Hctxff2d) -> None:
"""
None
None
"""
@overload
def SetHctxff2d(self,h : TopOpeBRep_Hctxff2d) -> None: ...
@overload
def SetIndex(self,X : int) -> None:
"""
None
None
"""
@overload
def SetIndex(self,I : int) -> None: ...
def SetIsPointOfSegment(self,B : bool) -> None:
"""
None
None
"""
@overload
def SetIsVertex(self,Index : int,B : bool) -> None:
"""
None
None
"""
@overload
def SetIsVertex(self,I : int,B : bool) -> None: ...
def SetKeep(self,B : bool) -> None:
"""
None
None
"""
@overload
def SetParameter(self,I : int,P : float) -> None:
"""
None
None
"""
@overload
def SetParameter(self,Index : int,P : float) -> None: ...
def SetPint(self,P : OCP.IntRes2d.IntRes2d_IntersectionPoint) -> None:
"""
None
None
"""
def SetSegmentAncestors(self,IP1 : int,IP2 : int) -> None:
"""
None
None
"""
@overload
def SetStatus(self,S : TopOpeBRep_P2Dstatus) -> None:
"""
None
None
"""
@overload
def SetStatus(self,I : TopOpeBRep_P2Dstatus) -> None: ...
@overload
def SetTolerance(self,T : float) -> None:
"""
None
None
"""
@overload
def SetTolerance(self,t : float) -> None: ...
@overload
def SetTransition(self,Index : int,T : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition) -> None:
"""
None
None
"""
@overload
def SetTransition(self,I : int,T : OCP.TopOpeBRepDS.TopOpeBRepDS_Transition) -> None: ...
def SetValue(self,P : OCP.gp.gp_Pnt) -> None:
"""
None
None
"""
def SetValue2d(self,P : OCP.gp.gp_Pnt2d) -> None:
"""
None
None
"""
@overload
def SetVertex(self,I : int,V : OCP.TopoDS.TopoDS_Vertex) -> None:
"""
None
None
"""
@overload
def SetVertex(self,Index : int,V : OCP.TopoDS.TopoDS_Vertex) -> None: ...
def Status(self) -> TopOpeBRep_P2Dstatus:
"""
None
None
"""
def Tolerance(self) -> float:
"""
None
None
"""
def Transition(self,I : int) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Transition:
"""
None
"""
def Value(self) -> OCP.gp.gp_Pnt:
"""
None
None
"""
def Value2d(self) -> OCP.gp.gp_Pnt2d:
"""
None
None
"""
def Vertex(self,I : int) -> OCP.TopoDS.TopoDS_Vertex:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_PointClassifier():
"""
None
"""
def Classify(self,F : OCP.TopoDS.TopoDS_Face,P : OCP.gp.gp_Pnt2d,Tol : float) -> OCP.TopAbs.TopAbs_State:
"""
compute position of point <P> regarding with the face <F>.
"""
def Init(self) -> None:
"""
None
"""
def Load(self,F : OCP.TopoDS.TopoDS_Face) -> None:
"""
None
"""
def State(self) -> OCP.TopAbs.TopAbs_State:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_PointGeomTool():
"""
Provide services needed by the Fillers
"""
@staticmethod
def IsEqual_s(DSP1 : OCP.TopOpeBRepDS.TopOpeBRepDS_Point,DSP2 : OCP.TopOpeBRepDS.TopOpeBRepDS_Point) -> bool:
"""
None
"""
@staticmethod
@overload
def MakePoint_s(FEI : TopOpeBRep_FaceEdgeIntersector) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Point:
"""
None
None
None
None
"""
@staticmethod
@overload
def MakePoint_s(S : OCP.TopoDS.TopoDS_Shape) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Point: ...
@staticmethod
@overload
def MakePoint_s(IP : TopOpeBRep_VPointInter) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Point: ...
@staticmethod
@overload
def MakePoint_s(P2D : TopOpeBRep_Point2d) -> OCP.TopOpeBRepDS.TopOpeBRepDS_Point: ...
def __init__(self) -> None: ...
pass
class TopOpeBRep_SequenceOfPoint2d(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 : TopOpeBRep_Point2d) -> None:
"""
Append one item
Append another sequence (making it empty)
"""
@overload
def Append(self,theSeq : TopOpeBRep_SequenceOfPoint2d) -> None: ...
def Assign(self,theOther : TopOpeBRep_SequenceOfPoint2d) -> TopOpeBRep_SequenceOfPoint2d:
"""
Replace this sequence by the items of theOther. This method does not change the internal allocator.
"""
def ChangeFirst(self) -> TopOpeBRep_Point2d:
"""
First item access
"""
def ChangeLast(self) -> TopOpeBRep_Point2d:
"""
Last item access
"""
def ChangeValue(self,theIndex : int) -> TopOpeBRep_Point2d:
"""
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) -> TopOpeBRep_Point2d:
"""
First item access
"""
@overload
def InsertAfter(self,theIndex : int,theItem : TopOpeBRep_Point2d) -> None:
"""
InsertAfter theIndex another sequence (making it empty)
InsertAfter theIndex theItem
"""
@overload
def InsertAfter(self,theIndex : int,theSeq : TopOpeBRep_SequenceOfPoint2d) -> None: ...
@overload
def InsertBefore(self,theIndex : int,theItem : TopOpeBRep_Point2d) -> None:
"""
InsertBefore theIndex theItem
InsertBefore theIndex another sequence (making it empty)
"""
@overload
def InsertBefore(self,theIndex : int,theSeq : TopOpeBRep_SequenceOfPoint2d) -> None: ...
def IsEmpty(self) -> bool:
"""
Empty query
"""
def Last(self) -> TopOpeBRep_Point2d:
"""
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 : TopOpeBRep_Point2d) -> None:
"""
Prepend one item
Prepend another sequence (making it empty)
"""
@overload
def Prepend(self,theSeq : TopOpeBRep_SequenceOfPoint2d) -> 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 : TopOpeBRep_Point2d) -> None:
"""
Set item value by theIndex
"""
def Size(self) -> int:
"""
Number of items
"""
def Split(self,theIndex : int,theSeq : TopOpeBRep_SequenceOfPoint2d) -> None:
"""
Split in two sequences
"""
def Upper(self) -> int:
"""
Method for consistency with other collections.
"""
def Value(self,theIndex : int) -> TopOpeBRep_Point2d:
"""
Constant item access by theIndex
"""
def __bool__(self) -> bool: ...
def __call__(self,theIndex : int) -> TopOpeBRep_Point2d:
"""
Constant operator()
Variable operator()
"""
@overload
def __init__(self) -> None: ...
@overload
def __init__(self,theAllocator : OCP.NCollection.NCollection_BaseAllocator) -> None: ...
@overload
def __init__(self,theOther : TopOpeBRep_SequenceOfPoint2d) -> None: ...
def __iter__(self) -> Iterator[TopOpeBRep_Point2d]: ...
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 TopOpeBRep_ShapeIntersector():
"""
Intersect two shapes.
"""
def ChangeEdgesIntersector(self) -> TopOpeBRep_EdgesIntersector:
"""
return the current intersection of two Edges.
"""
def ChangeFaceEdgeIntersector(self) -> TopOpeBRep_FaceEdgeIntersector:
"""
return the current intersection of a Face and an Edge.
"""
def ChangeFacesIntersector(self) -> TopOpeBRep_FacesIntersector:
"""
return the current intersection of two Faces.
"""
def CurrentGeomShape(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
return geometric shape <Index> ( = 1 or 2 ) of current intersection.
"""
def DumpCurrent(self,K : int) -> None:
"""
None
"""
def GetTolerances(self) -> tuple[float, float]:
"""
return MAX of intersection tolerances with which FacesIntersector from TopOpeBRep was working.
"""
def Index(self,K : int) -> int:
"""
None
"""
@overload
def InitIntersection(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape) -> None:
"""
Initialize the intersection of shapes S1,S2.
Initialize the intersection of shapes S1,S2.
"""
@overload
def InitIntersection(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape,F1 : OCP.TopoDS.TopoDS_Face,F2 : OCP.TopoDS.TopoDS_Face) -> None: ...
def MoreIntersection(self) -> bool:
"""
returns True if there are more intersection between two the shapes.
"""
def NextIntersection(self) -> None:
"""
search for the next intersection between the two shapes.
"""
def RejectedFaces(self,anObj : OCP.TopoDS.TopoDS_Shape,aReference : OCP.TopoDS.TopoDS_Shape,aListOfShape : OCP.TopTools.TopTools_ListOfShape) -> None:
"""
None
"""
def Shape(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_ShapeIntersector2d():
"""
Intersect two shapes.
"""
def ChangeEdgesIntersector(self) -> TopOpeBRep_EdgesIntersector:
"""
return the current intersection of two Edges.
"""
def CurrentGeomShape(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
return geometric shape <Index> ( = 1 or 2 ) of current intersection.
"""
def DumpCurrent(self,K : int) -> None:
"""
None
"""
def Index(self,K : int) -> int:
"""
None
"""
def InitIntersection(self,S1 : OCP.TopoDS.TopoDS_Shape,S2 : OCP.TopoDS.TopoDS_Shape) -> None:
"""
Initialize the intersection of shapes S1,S2.
"""
def MoreIntersection(self) -> bool:
"""
returns True if there are more intersection between two the shapes.
"""
def NextIntersection(self) -> None:
"""
search for the next intersection between the two shapes.
"""
def Shape(self,Index : int) -> OCP.TopoDS.TopoDS_Shape:
"""
return the shape <Index> ( = 1 or 2) given to InitIntersection(). Index = 1 will return S1, Index = 2 will return S2.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_ShapeScanner():
"""
Find, among the subshapes SS of a reference shape RS, the ones which 3D box interfers with the box of a shape S (SS and S are of the same type).
"""
def AddBoxesMakeCOB(self,S : OCP.TopoDS.TopoDS_Shape,TS : OCP.TopAbs.TopAbs_ShapeEnum,TA : OCP.TopAbs.TopAbs_ShapeEnum=TopAbs_ShapeEnum.TopAbs_SHAPE) -> None:
"""
None
"""
def BoxSort(self) -> OCP.TopOpeBRepTool.TopOpeBRepTool_BoxSort:
"""
None
"""
def ChangeBoxSort(self) -> OCP.TopOpeBRepTool.TopOpeBRepTool_BoxSort:
"""
None
"""
def Clear(self) -> None:
"""
None
"""
def Current(self) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def DumpCurrent(self,OS : io.BytesIO) -> io.BytesIO:
"""
None
"""
def Index(self) -> int:
"""
None
"""
@overload
def Init(self,E : OCP.TopoDS.TopoDS_Shape) -> None:
"""
None
None
"""
@overload
def Init(self,X : OCP.TopOpeBRepTool.TopOpeBRepTool_ShapeExplorer) -> None: ...
def More(self) -> bool:
"""
None
"""
def Next(self) -> None:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_TypeLineCurve():
"""
None
Members:
TopOpeBRep_ANALYTIC
TopOpeBRep_RESTRICTION
TopOpeBRep_WALKING
TopOpeBRep_LINE
TopOpeBRep_CIRCLE
TopOpeBRep_ELLIPSE
TopOpeBRep_PARABOLA
TopOpeBRep_HYPERBOLA
TopOpeBRep_OTHERTYPE
"""
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
"""
TopOpeBRep_ANALYTIC: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_ANALYTIC: 0>
TopOpeBRep_CIRCLE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_CIRCLE: 4>
TopOpeBRep_ELLIPSE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_ELLIPSE: 5>
TopOpeBRep_HYPERBOLA: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_HYPERBOLA: 7>
TopOpeBRep_LINE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_LINE: 3>
TopOpeBRep_OTHERTYPE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_OTHERTYPE: 8>
TopOpeBRep_PARABOLA: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_PARABOLA: 6>
TopOpeBRep_RESTRICTION: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_RESTRICTION: 1>
TopOpeBRep_WALKING: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_WALKING: 2>
__entries: dict # value = {'TopOpeBRep_ANALYTIC': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_ANALYTIC: 0>, None), 'TopOpeBRep_RESTRICTION': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_RESTRICTION: 1>, None), 'TopOpeBRep_WALKING': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_WALKING: 2>, None), 'TopOpeBRep_LINE': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_LINE: 3>, None), 'TopOpeBRep_CIRCLE': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_CIRCLE: 4>, None), 'TopOpeBRep_ELLIPSE': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_ELLIPSE: 5>, None), 'TopOpeBRep_PARABOLA': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_PARABOLA: 6>, None), 'TopOpeBRep_HYPERBOLA': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_HYPERBOLA: 7>, None), 'TopOpeBRep_OTHERTYPE': (<TopOpeBRep_TypeLineCurve.TopOpeBRep_OTHERTYPE: 8>, None)}
__members__: dict # value = {'TopOpeBRep_ANALYTIC': <TopOpeBRep_TypeLineCurve.TopOpeBRep_ANALYTIC: 0>, 'TopOpeBRep_RESTRICTION': <TopOpeBRep_TypeLineCurve.TopOpeBRep_RESTRICTION: 1>, 'TopOpeBRep_WALKING': <TopOpeBRep_TypeLineCurve.TopOpeBRep_WALKING: 2>, 'TopOpeBRep_LINE': <TopOpeBRep_TypeLineCurve.TopOpeBRep_LINE: 3>, 'TopOpeBRep_CIRCLE': <TopOpeBRep_TypeLineCurve.TopOpeBRep_CIRCLE: 4>, 'TopOpeBRep_ELLIPSE': <TopOpeBRep_TypeLineCurve.TopOpeBRep_ELLIPSE: 5>, 'TopOpeBRep_PARABOLA': <TopOpeBRep_TypeLineCurve.TopOpeBRep_PARABOLA: 6>, 'TopOpeBRep_HYPERBOLA': <TopOpeBRep_TypeLineCurve.TopOpeBRep_HYPERBOLA: 7>, 'TopOpeBRep_OTHERTYPE': <TopOpeBRep_TypeLineCurve.TopOpeBRep_OTHERTYPE: 8>}
pass
class TopOpeBRep_VPointInter():
"""
None
"""
def ArcOnS1(self) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def ArcOnS2(self) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def ChangeKeep(self,keep : bool) -> None:
"""
updates VPointInter flag "keep" with <keep>.
updates VPointInter flag "keep" with <keep>.
"""
@overload
def Dump(self,F1 : OCP.TopoDS.TopoDS_Face,F2 : OCP.TopoDS.TopoDS_Face,OS : io.BytesIO) -> io.BytesIO:
"""
None
None
"""
@overload
def Dump(self,I : int,F : OCP.TopoDS.TopoDS_Face,OS : io.BytesIO) -> io.BytesIO: ...
def Edge(self,I : int) -> OCP.TopoDS.TopoDS_Shape:
"""
get the edge of shape I (1,2) containing the point. Returned shape is null if the VPoint is not on an edge of shape I (1,2).
"""
@overload
def EdgeON(self,I : int) -> OCP.TopoDS.TopoDS_Shape:
"""
set the shape Eon of shape I (1,2) containing the point, and parameter <Par> of point on <Eon>.
get the edge of shape I (1,2) containing the point.
"""
@overload
def EdgeON(self,Eon : OCP.TopoDS.TopoDS_Shape,Par : float,I : int) -> None: ...
def EdgeONParameter(self,I : int) -> float:
"""
get the parameter on edge of shape I (1,2) containing the point.
"""
def EdgeParameter(self,I : int) -> float:
"""
get the parameter on edge of shape I (1,2) containing the point
"""
def EqualpP(self,VP : TopOpeBRep_VPointInter) -> bool:
"""
returns <True> if the 3d points and the parameters of the VPoints are same
"""
def GetShapes(self) -> tuple[int, int]:
"""
None
None
"""
@overload
def Index(self,I : int) -> None:
"""
None
None
None
None
"""
@overload
def Index(self) -> int: ...
def IsInternal(self) -> bool:
"""
None
None
"""
def IsMultiple(self) -> bool:
"""
Returns True if the point belongs to several intersection lines.
Returns True if the point belongs to several intersection lines.
"""
def IsOnDomS1(self) -> bool:
"""
None
None
"""
def IsOnDomS2(self) -> bool:
"""
None
None
"""
def IsVertex(self,I : int) -> bool:
"""
None
"""
def IsVertexOnS1(self) -> bool:
"""
Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.
Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.
"""
def IsVertexOnS2(self) -> bool:
"""
Returns TRUE if the point is a vertex on the initial restriction facet of the second surface.
Returns TRUE if the point is a vertex on the initial restriction facet of the second surface.
"""
def Keep(self) -> bool:
"""
Returns value of myKeep (does not evaluate states) False at creation of VPoint. Updated by State(State from TopAbs,Integer from Standard)
Returns value of myKeep (does not evaluate states) False at creation of VPoint. Updated by State(State from TopAbs,Integer from Standard)
"""
def PThePointOfIntersectionDummy(self) -> OCP.IntPatch.IntPatch_Point:
"""
None
"""
def ParameterOnArc1(self) -> float:
"""
None
None
"""
def ParameterOnArc2(self) -> float:
"""
None
None
"""
def ParameterOnLine(self) -> float:
"""
None
None
"""
def ParametersOnS1(self) -> tuple[float, float]:
"""
None
None
"""
def ParametersOnS2(self) -> tuple[float, float]:
"""
None
None
"""
def ParonE(self,E : OCP.TopoDS.TopoDS_Edge,par : float) -> bool:
"""
returns <false> if the vpoint is not given on arc <E>, else returns <par> parameter on <E>
"""
def SetPoint(self,P : OCP.IntPatch.IntPatch_Point) -> None:
"""
None
"""
def SetShapes(self,I1 : int,I2 : int) -> None:
"""
None
None
"""
@overload
def ShapeIndex(self,I : int) -> None:
"""
returns value of filed myShapeIndex = 0,1,2,3 0 means the VPoint is on no restriction 1 means the VPoint is on the restriction 1 2 means the VPoint is on the restriction 2 3 means the VPoint is on the restrictions 1 and 2
set value of shape supporting me (0,1,2,3).
returns value of filed myShapeIndex = 0,1,2,3 0 means the VPoint is on no restriction 1 means the VPoint is on the restriction 1 2 means the VPoint is on the restriction 2 3 means the VPoint is on the restrictions 1 and 2
set value of shape supporting me (0,1,2,3).
"""
@overload
def ShapeIndex(self) -> int: ...
@overload
def State(self,S : OCP.TopAbs.TopAbs_State,I : int) -> None:
"""
get state of VPoint within the domain of geometric shape domain <I> (= 1 or 2).
Set the state of VPoint within the domain of the geometric shape <I> (= 1 or 2).
"""
@overload
def State(self,I : int) -> OCP.TopAbs.TopAbs_State: ...
def SurfaceParameters(self,I : int) -> OCP.gp.gp_Pnt2d:
"""
get the parameter on surface of shape I (1,2) containing the point
"""
def Tolerance(self) -> float:
"""
None
None
"""
def TransitionLineArc1(self) -> OCP.IntSurf.IntSurf_Transition:
"""
None
None
"""
def TransitionLineArc2(self) -> OCP.IntSurf.IntSurf_Transition:
"""
None
None
"""
def TransitionOnS1(self) -> OCP.IntSurf.IntSurf_Transition:
"""
None
None
"""
def TransitionOnS2(self) -> OCP.IntSurf.IntSurf_Transition:
"""
None
None
"""
def UpdateKeep(self) -> None:
"""
set myKeep value according to current states.
"""
def Value(self) -> OCP.gp.gp_Pnt:
"""
None
None
"""
def Vertex(self,I : int) -> OCP.TopoDS.TopoDS_Shape:
"""
None
"""
def VertexOnS1(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertexOnS1 returns True. Otherwise, an exception is raised.
"""
def VertexOnS2(self) -> OCP.TopoDS.TopoDS_Shape:
"""
Returns the information about the point when it is on the domain of the second patch, i-e when the function IsVertexOnS2 returns True. Otherwise, an exception is raised.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_VPointInterClassifier():
"""
None
"""
def Edge(self) -> OCP.TopoDS.TopoDS_Shape:
"""
returns the edge containing the VPoint <VP> used in the last VPointPosition() call. Edge is defined if the state previously computed is ON, else Edge is a null shape.
"""
def EdgeParameter(self) -> float:
"""
returns the parameter of the VPoint <VP> on Edge()
"""
def VPointPosition(self,F : OCP.TopoDS.TopoDS_Shape,VP : TopOpeBRep_VPointInter,ShapeIndex : int,PC : TopOpeBRep_PointClassifier,AssumeINON : bool,Tol : float) -> OCP.TopAbs.TopAbs_State:
"""
compute position of VPoint <VP> regarding with face <F>. <ShapeIndex> (= 1,2) indicates which (u,v) point of <VP> is used. when state is ON, set VP.EdgeON() with the edge containing <VP> and associated parameter. returns state of VP on ShapeIndex.
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_VPointInterIterator():
"""
None
"""
def ChangeCurrentVP(self) -> TopOpeBRep_VPointInter:
"""
None
"""
def CurrentVP(self) -> TopOpeBRep_VPointInter:
"""
None
"""
def CurrentVPIndex(self) -> int:
"""
None
"""
@overload
def Init(self) -> None:
"""
None
None
"""
@overload
def Init(self,LI : TopOpeBRep_LineInter,checkkeep : bool=False) -> None: ...
def More(self) -> bool:
"""
None
"""
def Next(self) -> None:
"""
None
"""
def PLineInterDummy(self) -> TopOpeBRep_LineInter:
"""
None
"""
@overload
def __init__(self,LI : TopOpeBRep_LineInter) -> None: ...
@overload
def __init__(self) -> None: ...
pass
class TopOpeBRep_WPointInter():
"""
None
"""
def PPntOn2SDummy(self) -> OCP.IntSurf.IntSurf_PntOn2S:
"""
None
"""
def Parameters(self) -> tuple[float, float, float, float]:
"""
None
"""
def ParametersOnS1(self) -> tuple[float, float]:
"""
None
"""
def ParametersOnS2(self) -> tuple[float, float]:
"""
None
"""
def Set(self,P : OCP.IntSurf.IntSurf_PntOn2S) -> None:
"""
None
"""
def Value(self) -> OCP.gp.gp_Pnt:
"""
None
"""
def ValueOnS1(self) -> OCP.gp.gp_Pnt2d:
"""
None
"""
def ValueOnS2(self) -> OCP.gp.gp_Pnt2d:
"""
None
"""
def __init__(self) -> None: ...
pass
class TopOpeBRep_WPointInterIterator():
"""
None
"""
def CurrentWP(self) -> TopOpeBRep_WPointInter:
"""
None
"""
@overload
def Init(self,LI : TopOpeBRep_LineInter) -> None:
"""
None
None
"""
@overload
def Init(self) -> None: ...
def More(self) -> bool:
"""
None
"""
def Next(self) -> None:
"""
None
"""
def PLineInterDummy(self) -> TopOpeBRep_LineInter:
"""
None
"""
@overload
def __init__(self,LI : TopOpeBRep_LineInter) -> None: ...
@overload
def __init__(self) -> None: ...
pass
TopOpeBRep_ANALYTIC: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_ANALYTIC: 0>
TopOpeBRep_CIRCLE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_CIRCLE: 4>
TopOpeBRep_ELLIPSE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_ELLIPSE: 5>
TopOpeBRep_HYPERBOLA: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_HYPERBOLA: 7>
TopOpeBRep_LINE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_LINE: 3>
TopOpeBRep_OTHERTYPE: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_OTHERTYPE: 8>
TopOpeBRep_P2DINT: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DINT: 1>
TopOpeBRep_P2DNEW: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DNEW: 4>
TopOpeBRep_P2DSGF: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGF: 2>
TopOpeBRep_P2DSGL: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DSGL: 3>
TopOpeBRep_P2DUNK: OCP.TopOpeBRep.TopOpeBRep_P2Dstatus # value = <TopOpeBRep_P2Dstatus.TopOpeBRep_P2DUNK: 0>
TopOpeBRep_PARABOLA: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_PARABOLA: 6>
TopOpeBRep_RESTRICTION: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_RESTRICTION: 1>
TopOpeBRep_WALKING: OCP.TopOpeBRep.TopOpeBRep_TypeLineCurve # value = <TopOpeBRep_TypeLineCurve.TopOpeBRep_WALKING: 2>
|