https://launchpad.net/~g+smo/+archive/ubuntu/upstream/+build/28050690 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos01-arm64-031 5.4.0-176-generic #196-Ubuntu SMP Fri Mar 22 16:46:20 UTC 2024 aarch64 Buildd toolchain package versions: launchpad-buildd_236~650~ubuntu20.04.1 python3-lpbuildd_236~650~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.11 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1.1. Syncing the system clock with the buildd NTP service... 12 Apr 02:34:04 ntpdate[1841]: adjust time server 10.211.37.1 offset 0.001611 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 --image-type chroot /home/buildd/filecache-default/dd46d9f733d86372d6533c18181364bd678f1d08 Creating target for build PACKAGEBUILD-28050690 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 Starting target for build PACKAGEBUILD-28050690 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 'deb http://ppa.launchpadcontent.net/g+smo/upstream/ubuntu bionic main' 'deb http://ftpmaster.internal/ubuntu bionic main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu bionic-updates main restricted universe multiverse' Overriding sources.list in build-PACKAGEBUILD-28050690 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 Adding trusted keys to build-PACKAGEBUILD-28050690 pub rsa4096/539A16962C34F771 2015-05-15 [SC] Key fingerprint = 041F C21F 18ED 05A0 9791 1E61 539A 1696 2C34 F771 uid Launchpad PPA for Gismo RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 Updating target for build PACKAGEBUILD-28050690 Hit:1 http://ftpmaster.internal/ubuntu bionic InRelease Get:2 http://ppa.launchpadcontent.net/g+smo/upstream/ubuntu bionic InRelease [15.9 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-security InRelease [88.7 kB] Get:4 http://ppa.launchpadcontent.net/g+smo/upstream/ubuntu bionic/main arm64 Packages [460 B] Get:5 http://ftpmaster.internal/ubuntu bionic-updates InRelease [88.7 kB] Get:6 http://ppa.launchpadcontent.net/g+smo/upstream/ubuntu bionic/main Translation-en [292 B] Get:7 http://ftpmaster.internal/ubuntu bionic-security/main arm64 Packages [1559 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-security/main Translation-en [467 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-security/restricted arm64 Packages [4972 B] Get:10 http://ftpmaster.internal/ubuntu bionic-security/restricted Translation-en [182 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/universe arm64 Packages [1173 kB] Get:12 http://ftpmaster.internal/ubuntu bionic-security/universe Translation-en [308 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-security/multiverse arm64 Packages [2672 B] Get:14 http://ftpmaster.internal/ubuntu bionic-security/multiverse Translation-en [3928 B] Get:15 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 Packages [1846 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-updates/main Translation-en [553 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-updates/restricted arm64 Packages [5516 B] Get:18 http://ftpmaster.internal/ubuntu bionic-updates/restricted Translation-en [187 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-updates/universe arm64 Packages [1718 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-updates/universe Translation-en [421 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-updates/multiverse arm64 Packages [4948 B] Get:22 http://ftpmaster.internal/ubuntu bionic-updates/multiverse Translation-en [6088 B] Fetched 8635 kB in 2s (4250 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: advancecomp apt base-files bash binutils binutils-aarch64-linux-gnu binutils-common bsdutils bzip2 ca-certificates cpp cpp-7 debconf dpkg dpkg-dev e2fsprogs fdisk g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base gpg gpg-agent gpgconf gpgv grep gzip libapparmor1 libapt-pkg5.0 libasan4 libatomic1 libaudit-common libaudit1 libbinutils libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcom-err2 libcryptsetup12 libdb5.3 libdevmapper1.02.1 libdpkg-perl libext2fs2 libfdisk1 libgcc-7-dev libgcc1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libhogweed4 libidn11 libidn2-0 libip4tc0 libitm1 libjson-c3 libkmod2 liblsan0 liblz4-1 liblzma5 libmount1 libncurses5 libncursesw5 libnettle6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre3 libperl5.26 libpng16-16 libprocps6 libseccomp2 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.1 libstdc++-7-dev libstdc++6 libsystemd0 libtinfo5 libtsan0 libubsan0 libudev1 libunistring2 libuuid1 libzstd1 linux-libc-dev login mount ncurses-base ncurses-bin openssl passwd patch perl perl-base perl-modules-5.26 pkgbinarymangler procps systemd systemd-sysv tar tzdata ubuntu-keyring util-linux xz-utils zlib1g 116 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 62.2 MB of archives. After this operation, 6597 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libc6-dev arm64 2.27-3ubuntu1.6 [2048 kB] Get:2 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libc-dev-bin arm64 2.27-3ubuntu1.6 [58.6 kB] Get:3 http://ftpmaster.internal/ubuntu bionic-security/main arm64 linux-libc-dev arm64 4.15.0-213.224 [961 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libtsan0 arm64 8.4.0-1ubuntu1~18.04 [269 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-security/main arm64 liblsan0 arm64 8.4.0-1ubuntu1~18.04 [121 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libitm1 arm64 8.4.0-1ubuntu1~18.04 [24.3 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgomp1 arm64 8.4.0-1ubuntu1~18.04 [69.7 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gcc-8-base arm64 8.4.0-1ubuntu1~18.04 [18.8 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgcc1 arm64 1:8.4.0-1ubuntu1~18.04 [34.4 kB] Get:10 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libcc1-0 arm64 8.4.0-1ubuntu1~18.04 [36.5 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libatomic1 arm64 8.4.0-1ubuntu1~18.04 [9176 B] Get:12 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libstdc++6 arm64 8.4.0-1ubuntu1~18.04 [372 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libc6 arm64 2.27-3ubuntu1.6 [2274 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 base-files arm64 10.1ubuntu2.12 [60.2 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-security/main arm64 bash arm64 4.4.18-2ubuntu1.3 [546 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-security/main arm64 bsdutils arm64 1:2.31.1-0.4ubuntu3.7 [54.6 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-security/main arm64 tar arm64 1.29b-2ubuntu0.4 [208 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-security/main arm64 dpkg arm64 1.19.0.5ubuntu2.4 [1090 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libext2fs2 arm64 1.44.1-1ubuntu1.4 [137 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-security/main arm64 e2fsprogs arm64 1.44.1-1ubuntu1.4 [345 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 grep arm64 3.1-2build1 [145 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gzip arm64 1.6-5ubuntu1.2 [82.6 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-security/main arm64 login arm64 1:4.5-1ubuntu2.5 [300 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-security/main arm64 ncurses-bin arm64 6.1-1ubuntu1.18.04.1 [154 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.7 [3306 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-security/main arm64 perl arm64 5.26.1-6ubuntu0.7 [201 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-security/main arm64 perl-base arm64 5.26.1-6ubuntu0.7 [1238 kB] Get:28 http://ftpmaster.internal/ubuntu bionic-security/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.7 [2764 kB] Get:29 http://ftpmaster.internal/ubuntu bionic-security/main arm64 bzip2 arm64 1.0.6-8.1ubuntu0.2 [32.2 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libbz2-1.0 arm64 1.0.6-8.1ubuntu0.2 [29.0 kB] Get:31 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libdb5.3 arm64 5.3.28-13.1ubuntu1.1 [573 kB] Get:32 http://ftpmaster.internal/ubuntu bionic-security/main arm64 zlib1g arm64 1:1.2.11.dfsg-0ubuntu2.2 [52.8 kB] Get:33 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libuuid1 arm64 2.31.1-0.4ubuntu3.7 [18.5 kB] Get:34 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libblkid1 arm64 2.31.1-0.4ubuntu3.7 [105 kB] Get:35 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libfdisk1 arm64 2.31.1-0.4ubuntu3.7 [138 kB] Get:36 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libmount1 arm64 2.31.1-0.4ubuntu3.7 [115 kB] Get:37 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libncurses5 arm64 6.1-1ubuntu1.18.04.1 [77.1 kB] Get:38 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libtinfo5 arm64 6.1-1ubuntu1.18.04.1 [71.7 kB] Get:39 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libncursesw5 arm64 6.1-1ubuntu1.18.04.1 [96.4 kB] Get:40 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsmartcols1 arm64 2.31.1-0.4ubuntu3.7 [70.8 kB] Get:41 http://ftpmaster.internal/ubuntu bionic-security/main arm64 fdisk arm64 2.31.1-0.4ubuntu3.7 [95.1 kB] Get:42 http://ftpmaster.internal/ubuntu bionic-security/main arm64 util-linux arm64 2.31.1-0.4ubuntu3.7 [818 kB] Get:43 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libc-bin arm64 2.27-3ubuntu1.6 [475 kB] Get:44 http://ftpmaster.internal/ubuntu bionic-security/main arm64 ncurses-base all 6.1-1ubuntu1.18.04.1 [18.3 kB] Get:45 http://ftpmaster.internal/ubuntu bionic-security/main arm64 liblz4-1 arm64 0.0~r131-2ubuntu3.1 [47.8 kB] Get:46 http://ftpmaster.internal/ubuntu bionic-security/main arm64 liblzma5 arm64 5.2.2-1.3ubuntu0.1 [82.4 kB] Get:47 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libapparmor1 arm64 2.12-4ubuntu5.3 [27.9 kB] Get:48 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libaudit-common all 1:2.8.2-1ubuntu1.1 [4068 B] Get:49 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libaudit1 arm64 1:2.8.2-1ubuntu1.1 [36.3 kB] Get:50 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libudev1 arm64 237-3ubuntu10.57 [45.3 kB] Get:51 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libdevmapper1.02.1 arm64 2:1.02.145-4.1ubuntu3.18.04.3 [100 kB] Get:52 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgcrypt20 arm64 1.8.1-4ubuntu1.3 [325 kB] Get:53 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libjson-c3 arm64 0.12.1-1.3ubuntu0.3 [19.7 kB] Get:54 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libcryptsetup12 arm64 2:2.0.2-1ubuntu1.2 [112 kB] Get:55 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libkmod2 arm64 24-1ubuntu3.5 [32.8 kB] Get:56 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 debconf all 1.5.66ubuntu1 [124 kB] Get:57 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpam0g arm64 1.1.8-3.6ubuntu2.18.04.6 [50.3 kB] Get:58 http://ftpmaster.internal/ubuntu bionic-security/main arm64 mount arm64 2.31.1-0.4ubuntu3.7 [97.9 kB] Get:59 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libprocps6 arm64 2:3.3.12-3ubuntu1.2 [28.7 kB] Get:60 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 procps arm64 2:3.3.12-3ubuntu1.2 [207 kB] Get:61 http://ftpmaster.internal/ubuntu bionic-security/main arm64 systemd arm64 237-3ubuntu10.57 [2566 kB] Get:62 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsystemd0 arm64 237-3ubuntu10.57 [171 kB] Get:63 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libzstd1 arm64 1.3.3+dfsg-2ubuntu1.2 [161 kB] Get:64 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libapt-pkg5.0 arm64 1.6.17 [771 kB] Get:65 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gpgv arm64 2.2.4-1ubuntu1.6 [167 kB] Get:66 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 ubuntu-keyring all 2018.09.18.1~18.04.2 [22.3 kB] Get:67 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgmp10 arm64 2:6.1.2+dfsg-2ubuntu0.1 [204 kB] Get:68 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libnettle6 arm64 3.4.1-0ubuntu0.18.04.1 [115 kB] Get:69 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libhogweed4 arm64 3.4.1-0ubuntu0.18.04.1 [132 kB] Get:70 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libunistring2 arm64 0.9.9-0ubuntu2 [353 kB] Get:71 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libidn2-0 arm64 2.0.4-1.1ubuntu0.2 [46.2 kB] Get:72 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libp11-kit0 arm64 0.23.9-2ubuntu0.1 [137 kB] Get:73 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgnutls30 arm64 3.5.18-1ubuntu1.6 [541 kB] Get:74 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libseccomp2 arm64 2.5.1-1ubuntu1~18.04.2 [38.8 kB] Get:75 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 apt arm64 1.6.17 [1170 kB] Get:76 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpam-modules-bin arm64 1.1.8-3.6ubuntu2.18.04.6 [35.9 kB] Get:77 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpam-modules arm64 1.1.8-3.6ubuntu2.18.04.6 [232 kB] Get:78 http://ftpmaster.internal/ubuntu bionic-security/main arm64 systemd-sysv arm64 237-3ubuntu10.57 [11.8 kB] Get:79 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libcom-err2 arm64 1.44.1-1ubuntu1.4 [8152 B] Get:80 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpam-runtime all 1.1.8-3.6ubuntu2.18.04.6 [37.1 kB] Get:81 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpcre3 arm64 2:8.39-9ubuntu0.1 [202 kB] Get:82 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsepol1 arm64 2.7-1ubuntu0.1 [205 kB] Get:83 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libss2 arm64 1.44.1-1ubuntu1.4 [9988 B] Get:84 http://ftpmaster.internal/ubuntu bionic-security/main arm64 passwd arm64 1:4.5-1ubuntu2.5 [761 kB] Get:85 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libssl1.1 arm64 1.1.1-1ubuntu2.1~18.04.23 [1063 kB] Get:86 http://ftpmaster.internal/ubuntu bionic-security/main arm64 openssl arm64 1.1.1-1ubuntu2.1~18.04.23 [584 kB] Get:87 http://ftpmaster.internal/ubuntu bionic-security/main arm64 ca-certificates all 20230311ubuntu0.18.04.1 [151 kB] Get:88 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libidn11 arm64 1.33-2.1ubuntu1.2 [44.0 kB] Get:89 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libip4tc0 arm64 1.6.1-2ubuntu2.1 [18.5 kB] Get:90 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsqlite3-0 arm64 3.22.0-1ubuntu0.7 [430 kB] Get:91 http://ftpmaster.internal/ubuntu bionic-security/main arm64 tzdata all 2023c-0ubuntu0.18.04 [186 kB] Get:92 http://ftpmaster.internal/ubuntu bionic-security/main arm64 xz-utils arm64 5.2.2-1.3ubuntu0.1 [79.8 kB] Get:93 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libpng16-16 arm64 1.6.34-1ubuntu0.18.04.2 [162 kB] Get:94 http://ftpmaster.internal/ubuntu bionic-security/main arm64 advancecomp arm64 2.1-1ubuntu0.18.04.3 [177 kB] Get:95 http://ftpmaster.internal/ubuntu bionic-security/main arm64 binutils-aarch64-linux-gnu arm64 2.30-21ubuntu1~18.04.9 [2168 kB] Get:96 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libbinutils arm64 2.30-21ubuntu1~18.04.9 [417 kB] Get:97 http://ftpmaster.internal/ubuntu bionic-security/main arm64 binutils arm64 2.30-21ubuntu1~18.04.9 [3372 B] Get:98 http://ftpmaster.internal/ubuntu bionic-security/main arm64 binutils-common arm64 2.30-21ubuntu1~18.04.9 [197 kB] Get:99 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libubsan0 arm64 7.5.0-3ubuntu1~18.04 [117 kB] Get:100 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libasan4 arm64 7.5.0-3ubuntu1~18.04 [335 kB] Get:101 http://ftpmaster.internal/ubuntu bionic-security/main arm64 g++-7 arm64 7.5.0-3ubuntu1~18.04 [8077 kB] Get:102 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gcc-7 arm64 7.5.0-3ubuntu1~18.04 [7772 kB] Get:103 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libstdc++-7-dev arm64 7.5.0-3ubuntu1~18.04 [1471 kB] Get:104 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgcc-7-dev arm64 7.5.0-3ubuntu1~18.04 [833 kB] Get:105 http://ftpmaster.internal/ubuntu bionic-security/main arm64 cpp-7 arm64 7.5.0-3ubuntu1~18.04 [7046 kB] Get:106 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gcc-7-base arm64 7.5.0-3ubuntu1~18.04 [18.3 kB] Get:107 http://ftpmaster.internal/ubuntu bionic-security/main arm64 cpp arm64 4:7.4.0-1ubuntu2.3 [27.7 kB] Get:108 http://ftpmaster.internal/ubuntu bionic-security/main arm64 dpkg-dev all 1.19.0.5ubuntu2.4 [607 kB] Get:109 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libdpkg-perl all 1.19.0.5ubuntu2.4 [212 kB] Get:110 http://ftpmaster.internal/ubuntu bionic-security/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] Get:111 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gcc arm64 4:7.4.0-1ubuntu2.3 [5208 B] Get:112 http://ftpmaster.internal/ubuntu bionic-security/main arm64 g++ arm64 4:7.4.0-1ubuntu2.3 [1552 B] Get:113 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gpg arm64 2.2.4-1ubuntu1.6 [401 kB] Get:114 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gpgconf arm64 2.2.4-1ubuntu1.6 [107 kB] Get:115 http://ftpmaster.internal/ubuntu bionic-security/main arm64 gpg-agent arm64 2.2.4-1ubuntu1.6 [189 kB] Get:116 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 pkgbinarymangler all 138.18.04.2 [53.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 62.2 MB in 6s (9602 kB/s) (Reading database ... 12460 files and directories currently installed.) Preparing to unpack .../0-libc6-dev_2.27-3ubuntu1.6_arm64.deb ... Unpacking libc6-dev:arm64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... Preparing to unpack .../1-libc-dev-bin_2.27-3ubuntu1.6_arm64.deb ... Unpacking libc-dev-bin (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... Preparing to unpack .../2-linux-libc-dev_4.15.0-213.224_arm64.deb ... Unpacking linux-libc-dev:arm64 (4.15.0-213.224) over (4.15.0-20.21) ... Preparing to unpack .../3-libtsan0_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libtsan0:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../4-liblsan0_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking liblsan0:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../5-libitm1_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libitm1:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../6-libgomp1_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libgomp1:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../7-gcc-8-base_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking gcc-8-base:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Setting up gcc-8-base:arm64 (8.4.0-1ubuntu1~18.04) ... (Reading database ... 12460 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libgcc1:arm64 (1:8.4.0-1ubuntu1~18.04) over (1:8-20180414-1ubuntu2) ... Setting up libgcc1:arm64 (1:8.4.0-1ubuntu1~18.04) ... (Reading database ... 12460 files and directories currently installed.) Preparing to unpack .../libcc1-0_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libcc1-0:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libatomic1_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libatomic1:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Preparing to unpack .../libstdc++6_8.4.0-1ubuntu1~18.04_arm64.deb ... Unpacking libstdc++6:arm64 (8.4.0-1ubuntu1~18.04) over (8-20180414-1ubuntu2) ... Setting up libstdc++6:arm64 (8.4.0-1ubuntu1~18.04) ... (Reading database ... 12460 files and directories currently installed.) Preparing to unpack .../libc6_2.27-3ubuntu1.6_arm64.deb ... Unpacking libc6:arm64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... Setting up libc6:arm64 (2.27-3ubuntu1.6) ... (Reading database ... 12460 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu2.12_arm64.deb ... Unpacking base-files (10.1ubuntu2.12) over (10.1ubuntu2) ... Setting up base-files (10.1ubuntu2.12) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/update-motd.d/10-help-text ... Installing new version of config file /etc/update-motd.d/50-motd-news ... Removing obsolete conffile /etc/default/motd-news ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../bash_4.4.18-2ubuntu1.3_arm64.deb ... Unpacking bash (4.4.18-2ubuntu1.3) over (4.4.18-2ubuntu1) ... Setting up bash (4.4.18-2ubuntu1.3) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking bsdutils (1:2.31.1-0.4ubuntu3.7) over (1:2.31.1-0.4ubuntu3) ... Setting up bsdutils (1:2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../tar_1.29b-2ubuntu0.4_arm64.deb ... Unpacking tar (1.29b-2ubuntu0.4) over (1.29b-2) ... Setting up tar (1.29b-2ubuntu0.4) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5ubuntu2.4_arm64.deb ... Unpacking dpkg (1.19.0.5ubuntu2.4) over (1.19.0.5ubuntu2) ... Setting up dpkg (1.19.0.5ubuntu2.4) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libext2fs2_1.44.1-1ubuntu1.4_arm64.deb ... Unpacking libext2fs2:arm64 (1.44.1-1ubuntu1.4) over (1.44.1-1) ... Setting up libext2fs2:arm64 (1.44.1-1ubuntu1.4) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.44.1-1ubuntu1.4_arm64.deb ... Unpacking e2fsprogs (1.44.1-1ubuntu1.4) over (1.44.1-1) ... Setting up e2fsprogs (1.44.1-1ubuntu1.4) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../grep_3.1-2build1_arm64.deb ... Unpacking grep (3.1-2build1) over (3.1-2) ... Setting up grep (3.1-2build1) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../gzip_1.6-5ubuntu1.2_arm64.deb ... Unpacking gzip (1.6-5ubuntu1.2) over (1.6-5ubuntu1) ... Setting up gzip (1.6-5ubuntu1.2) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../login_1%3a4.5-1ubuntu2.5_arm64.deb ... Unpacking login (1:4.5-1ubuntu2.5) over (1:4.5-1ubuntu1) ... Setting up login (1:4.5-1ubuntu2.5) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1-1ubuntu1.18.04.1_arm64.deb ... Unpacking ncurses-bin (6.1-1ubuntu1.18.04.1) over (6.1-1ubuntu1) ... Setting up ncurses-bin (6.1-1ubuntu1.18.04.1) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libperl5.26_5.26.1-6ubuntu0.7_arm64.deb ... Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.7) over (5.26.1-6) ... Preparing to unpack .../perl_5.26.1-6ubuntu0.7_arm64.deb ... Unpacking perl (5.26.1-6ubuntu0.7) over (5.26.1-6) ... Preparing to unpack .../perl-base_5.26.1-6ubuntu0.7_arm64.deb ... Unpacking perl-base (5.26.1-6ubuntu0.7) over (5.26.1-6) ... Setting up perl-base (5.26.1-6ubuntu0.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../perl-modules-5.26_5.26.1-6ubuntu0.7_all.deb ... Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.7) over (5.26.1-6) ... Preparing to unpack .../bzip2_1.0.6-8.1ubuntu0.2_arm64.deb ... Unpacking bzip2 (1.0.6-8.1ubuntu0.2) over (1.0.6-8.1) ... Preparing to unpack .../libbz2-1.0_1.0.6-8.1ubuntu0.2_arm64.deb ... Unpacking libbz2-1.0:arm64 (1.0.6-8.1ubuntu0.2) over (1.0.6-8.1) ... Setting up libbz2-1.0:arm64 (1.0.6-8.1ubuntu0.2) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libdb5.3_5.3.28-13.1ubuntu1.1_arm64.deb ... Unpacking libdb5.3:arm64 (5.3.28-13.1ubuntu1.1) over (5.3.28-13.1ubuntu1) ... Setting up libdb5.3:arm64 (5.3.28-13.1ubuntu1.1) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-0ubuntu2.2_arm64.deb ... Unpacking zlib1g:arm64 (1:1.2.11.dfsg-0ubuntu2.2) over (1:1.2.11.dfsg-0ubuntu2) ... Setting up zlib1g:arm64 (1:1.2.11.dfsg-0ubuntu2.2) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libuuid1_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking libuuid1:arm64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up libuuid1:arm64 (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libblkid1_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking libblkid1:arm64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up libblkid1:arm64 (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking libfdisk1:arm64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up libfdisk1:arm64 (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libmount1_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking libmount1:arm64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up libmount1:arm64 (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libncurses5_6.1-1ubuntu1.18.04.1_arm64.deb ... Unpacking libncurses5:arm64 (6.1-1ubuntu1.18.04.1) over (6.1-1ubuntu1) ... Preparing to unpack .../libtinfo5_6.1-1ubuntu1.18.04.1_arm64.deb ... Unpacking libtinfo5:arm64 (6.1-1ubuntu1.18.04.1) over (6.1-1ubuntu1) ... Setting up libtinfo5:arm64 (6.1-1ubuntu1.18.04.1) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libncursesw5_6.1-1ubuntu1.18.04.1_arm64.deb ... Unpacking libncursesw5:arm64 (6.1-1ubuntu1.18.04.1) over (6.1-1ubuntu1) ... Setting up libncursesw5:arm64 (6.1-1ubuntu1.18.04.1) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking libsmartcols1:arm64 (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up libsmartcols1:arm64 (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../fdisk_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking fdisk (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up fdisk (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../util-linux_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking util-linux (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Setting up util-linux (2.31.1-0.4ubuntu3.7) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../libc-bin_2.27-3ubuntu1.6_arm64.deb ... Unpacking libc-bin (2.27-3ubuntu1.6) over (2.27-3ubuntu1) ... Setting up libc-bin (2.27-3ubuntu1.6) ... (Reading database ... 12461 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1-1ubuntu1.18.04.1_all.deb ... Unpacking ncurses-base (6.1-1ubuntu1.18.04.1) over (6.1-1ubuntu1) ... Setting up ncurses-base (6.1-1ubuntu1.18.04.1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../liblz4-1_0.0~r131-2ubuntu3.1_arm64.deb ... Unpacking liblz4-1:arm64 (0.0~r131-2ubuntu3.1) over (0.0~r131-2ubuntu3) ... Setting up liblz4-1:arm64 (0.0~r131-2ubuntu3.1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.2-1.3ubuntu0.1_arm64.deb ... Unpacking liblzma5:arm64 (5.2.2-1.3ubuntu0.1) over (5.2.2-1.3) ... Setting up liblzma5:arm64 (5.2.2-1.3ubuntu0.1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libapparmor1_2.12-4ubuntu5.3_arm64.deb ... Unpacking libapparmor1:arm64 (2.12-4ubuntu5.3) over (2.12-4ubuntu5) ... Preparing to unpack .../libaudit-common_1%3a2.8.2-1ubuntu1.1_all.deb ... Unpacking libaudit-common (1:2.8.2-1ubuntu1.1) over (1:2.8.2-1ubuntu1) ... Setting up libaudit-common (1:2.8.2-1ubuntu1.1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.2-1ubuntu1.1_arm64.deb ... Unpacking libaudit1:arm64 (1:2.8.2-1ubuntu1.1) over (1:2.8.2-1ubuntu1) ... Setting up libaudit1:arm64 (1:2.8.2-1ubuntu1.1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libudev1_237-3ubuntu10.57_arm64.deb ... Unpacking libudev1:arm64 (237-3ubuntu10.57) over (237-3ubuntu10) ... Setting up libudev1:arm64 (237-3ubuntu10.57) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu3.18.04.3_arm64.deb ... Unpacking libdevmapper1.02.1:arm64 (2:1.02.145-4.1ubuntu3.18.04.3) over (2:1.02.145-4.1ubuntu3) ... Preparing to unpack .../libgcrypt20_1.8.1-4ubuntu1.3_arm64.deb ... Unpacking libgcrypt20:arm64 (1.8.1-4ubuntu1.3) over (1.8.1-4ubuntu1) ... Setting up libgcrypt20:arm64 (1.8.1-4ubuntu1.3) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libjson-c3_0.12.1-1.3ubuntu0.3_arm64.deb ... Unpacking libjson-c3:arm64 (0.12.1-1.3ubuntu0.3) over (0.12.1-1.3) ... Preparing to unpack .../libcryptsetup12_2%3a2.0.2-1ubuntu1.2_arm64.deb ... Unpacking libcryptsetup12:arm64 (2:2.0.2-1ubuntu1.2) over (2:2.0.2-1ubuntu1) ... Preparing to unpack .../libkmod2_24-1ubuntu3.5_arm64.deb ... Unpacking libkmod2:arm64 (24-1ubuntu3.5) over (24-1ubuntu3) ... Preparing to unpack .../debconf_1.5.66ubuntu1_all.deb ... Unpacking debconf (1.5.66ubuntu1) over (1.5.66) ... Setting up debconf (1.5.66ubuntu1) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libpam0g_1.1.8-3.6ubuntu2.18.04.6_arm64.deb ... Unpacking libpam0g:arm64 (1.1.8-3.6ubuntu2.18.04.6) over (1.1.8-3.6ubuntu2) ... Setting up libpam0g:arm64 (1.1.8-3.6ubuntu2.18.04.6) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../mount_2.31.1-0.4ubuntu3.7_arm64.deb ... Unpacking mount (2.31.1-0.4ubuntu3.7) over (2.31.1-0.4ubuntu3) ... Preparing to unpack .../libprocps6_2%3a3.3.12-3ubuntu1.2_arm64.deb ... Unpacking libprocps6:arm64 (2:3.3.12-3ubuntu1.2) over (2:3.3.12-3ubuntu1) ... Preparing to unpack .../procps_2%3a3.3.12-3ubuntu1.2_arm64.deb ... Unpacking procps (2:3.3.12-3ubuntu1.2) over (2:3.3.12-3ubuntu1) ... Setting up libdevmapper1.02.1:arm64 (2:1.02.145-4.1ubuntu3.18.04.3) ... Setting up libjson-c3:arm64 (0.12.1-1.3ubuntu0.3) ... Setting up libcryptsetup12:arm64 (2:2.0.2-1ubuntu1.2) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../systemd_237-3ubuntu10.57_arm64.deb ... Unpacking systemd (237-3ubuntu10.57) over (237-3ubuntu10) ... Preparing to unpack .../libsystemd0_237-3ubuntu10.57_arm64.deb ... Unpacking libsystemd0:arm64 (237-3ubuntu10.57) over (237-3ubuntu10) ... Setting up libsystemd0:arm64 (237-3ubuntu10.57) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libzstd1_1.3.3+dfsg-2ubuntu1.2_arm64.deb ... Unpacking libzstd1:arm64 (1.3.3+dfsg-2ubuntu1.2) over (1.3.3+dfsg-2ubuntu1) ... Setting up libzstd1:arm64 (1.3.3+dfsg-2ubuntu1.2) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.6.17_arm64.deb ... Unpacking libapt-pkg5.0:arm64 (1.6.17) over (1.6.1) ... Setting up libapt-pkg5.0:arm64 (1.6.17) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.4-1ubuntu1.6_arm64.deb ... Unpacking gpgv (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1) ... Setting up gpgv (2.2.4-1ubuntu1.6) ... (Reading database ... 12463 files and directories currently installed.) Preparing to unpack .../ubuntu-keyring_2018.09.18.1~18.04.2_all.deb ... Unpacking ubuntu-keyring (2018.09.18.1~18.04.2) over (2018.02.28) ... Setting up ubuntu-keyring (2018.09.18.1~18.04.2) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-2ubuntu0.1_arm64.deb ... Unpacking libgmp10:arm64 (2:6.1.2+dfsg-2ubuntu0.1) over (2:6.1.2+dfsg-2) ... Setting up libgmp10:arm64 (2:6.1.2+dfsg-2ubuntu0.1) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libnettle6_3.4.1-0ubuntu0.18.04.1_arm64.deb ... Unpacking libnettle6:arm64 (3.4.1-0ubuntu0.18.04.1) over (3.4-1) ... Setting up libnettle6:arm64 (3.4.1-0ubuntu0.18.04.1) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libhogweed4_3.4.1-0ubuntu0.18.04.1_arm64.deb ... Unpacking libhogweed4:arm64 (3.4.1-0ubuntu0.18.04.1) over (3.4-1) ... Setting up libhogweed4:arm64 (3.4.1-0ubuntu0.18.04.1) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libunistring2_0.9.9-0ubuntu2_arm64.deb ... Unpacking libunistring2:arm64 (0.9.9-0ubuntu2) over (0.9.9-0ubuntu1) ... Setting up libunistring2:arm64 (0.9.9-0ubuntu2) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.0.4-1.1ubuntu0.2_arm64.deb ... Unpacking libidn2-0:arm64 (2.0.4-1.1ubuntu0.2) over (2.0.4-1.1build2) ... Setting up libidn2-0:arm64 (2.0.4-1.1ubuntu0.2) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.9-2ubuntu0.1_arm64.deb ... Unpacking libp11-kit0:arm64 (0.23.9-2ubuntu0.1) over (0.23.9-2) ... Setting up libp11-kit0:arm64 (0.23.9-2ubuntu0.1) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.5.18-1ubuntu1.6_arm64.deb ... Unpacking libgnutls30:arm64 (3.5.18-1ubuntu1.6) over (3.5.18-1ubuntu1) ... Setting up libgnutls30:arm64 (3.5.18-1ubuntu1.6) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.1-1ubuntu1~18.04.2_arm64.deb ... Unpacking libseccomp2:arm64 (2.5.1-1ubuntu1~18.04.2) over (2.3.1-2.1ubuntu4) ... Setting up libseccomp2:arm64 (2.5.1-1ubuntu1~18.04.2) ... (Reading database ... 12464 files and directories currently installed.) Preparing to unpack .../archives/apt_1.6.17_arm64.deb ... Unpacking apt (1.6.17) over (1.6.1) ... Setting up apt (1.6.17) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... Removing obsolete conffile /etc/kernel/postinst.d/apt-auto-removal ... (Reading database ... 12470 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.1.8-3.6ubuntu2.18.04.6_arm64.deb ... Unpacking libpam-modules-bin (1.1.8-3.6ubuntu2.18.04.6) over (1.1.8-3.6ubuntu2) ... Setting up libpam-modules-bin (1.1.8-3.6ubuntu2.18.04.6) ... (Reading database ... 12472 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.1.8-3.6ubuntu2.18.04.6_arm64.deb ... Unpacking libpam-modules:arm64 (1.1.8-3.6ubuntu2.18.04.6) over (1.1.8-3.6ubuntu2) ... Setting up libpam-modules:arm64 (1.1.8-3.6ubuntu2.18.04.6) ... Setting up libapparmor1:arm64 (2.12-4ubuntu5.3) ... Setting up libkmod2:arm64 (24-1ubuntu3.5) ... Setting up mount (2.31.1-0.4ubuntu3.7) ... Setting up libncurses5:arm64 (6.1-1ubuntu1.18.04.1) ... Setting up libprocps6:arm64 (2:3.3.12-3ubuntu1.2) ... Setting up procps (2:3.3.12-3ubuntu1.2) ... Setting up systemd (237-3ubuntu10.57) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Initializing machine ID from KVM UUID. (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../systemd-sysv_237-3ubuntu10.57_arm64.deb ... Unpacking systemd-sysv (237-3ubuntu10.57) over (237-3ubuntu10) ... Preparing to unpack .../libcom-err2_1.44.1-1ubuntu1.4_arm64.deb ... Unpacking libcom-err2:arm64 (1.44.1-1ubuntu1.4) over (1.44.1-1) ... Setting up libcom-err2:arm64 (1.44.1-1ubuntu1.4) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.1.8-3.6ubuntu2.18.04.6_all.deb ... Unpacking libpam-runtime (1.1.8-3.6ubuntu2.18.04.6) over (1.1.8-3.6ubuntu2) ... Setting up libpam-runtime (1.1.8-3.6ubuntu2.18.04.6) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-9ubuntu0.1_arm64.deb ... Unpacking libpcre3:arm64 (2:8.39-9ubuntu0.1) over (2:8.39-9) ... Setting up libpcre3:arm64 (2:8.39-9ubuntu0.1) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../libsepol1_2.7-1ubuntu0.1_arm64.deb ... Unpacking libsepol1:arm64 (2.7-1ubuntu0.1) over (2.7-1) ... Setting up libsepol1:arm64 (2.7-1ubuntu0.1) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../libss2_1.44.1-1ubuntu1.4_arm64.deb ... Unpacking libss2:arm64 (1.44.1-1ubuntu1.4) over (1.44.1-1) ... Setting up libss2:arm64 (1.44.1-1ubuntu1.4) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.5-1ubuntu2.5_arm64.deb ... Unpacking passwd (1:4.5-1ubuntu2.5) over (1:4.5-1ubuntu1) ... Setting up passwd (1:4.5-1ubuntu2.5) ... (Reading database ... 12476 files and directories currently installed.) Preparing to unpack .../00-libssl1.1_1.1.1-1ubuntu2.1~18.04.23_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1-1ubuntu2.1~18.04.23) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../01-openssl_1.1.1-1ubuntu2.1~18.04.23_arm64.deb ... Unpacking openssl (1.1.1-1ubuntu2.1~18.04.23) over (1.1.0g-2ubuntu4) ... Preparing to unpack .../02-ca-certificates_20230311ubuntu0.18.04.1_all.deb ... Unpacking ca-certificates (20230311ubuntu0.18.04.1) over (20180409) ... Preparing to unpack .../03-libidn11_1.33-2.1ubuntu1.2_arm64.deb ... Unpacking libidn11:arm64 (1.33-2.1ubuntu1.2) over (1.33-2.1ubuntu1) ... Preparing to unpack .../04-libip4tc0_1.6.1-2ubuntu2.1_arm64.deb ... Unpacking libip4tc0:arm64 (1.6.1-2ubuntu2.1) over (1.6.1-2ubuntu2) ... Preparing to unpack .../05-libsqlite3-0_3.22.0-1ubuntu0.7_arm64.deb ... Unpacking libsqlite3-0:arm64 (3.22.0-1ubuntu0.7) over (3.22.0-1) ... Preparing to unpack .../06-tzdata_2023c-0ubuntu0.18.04_all.deb ... Unpacking tzdata (2023c-0ubuntu0.18.04) over (2018d-1) ... Preparing to unpack .../07-xz-utils_5.2.2-1.3ubuntu0.1_arm64.deb ... Unpacking xz-utils (5.2.2-1.3ubuntu0.1) over (5.2.2-1.3) ... Preparing to unpack .../08-libpng16-16_1.6.34-1ubuntu0.18.04.2_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.34-1ubuntu0.18.04.2) over (1.6.34-1) ... Preparing to unpack .../09-advancecomp_2.1-1ubuntu0.18.04.3_arm64.deb ... Unpacking advancecomp (2.1-1ubuntu0.18.04.3) over (2.1-1) ... Preparing to unpack .../10-binutils-aarch64-linux-gnu_2.30-21ubuntu1~18.04.9_arm64.deb ... Unpacking binutils-aarch64-linux-gnu (2.30-21ubuntu1~18.04.9) over (2.30-15ubuntu1) ... Preparing to unpack .../11-libbinutils_2.30-21ubuntu1~18.04.9_arm64.deb ... Unpacking libbinutils:arm64 (2.30-21ubuntu1~18.04.9) over (2.30-15ubuntu1) ... Preparing to unpack .../12-binutils_2.30-21ubuntu1~18.04.9_arm64.deb ... Unpacking binutils (2.30-21ubuntu1~18.04.9) over (2.30-15ubuntu1) ... Preparing to unpack .../13-binutils-common_2.30-21ubuntu1~18.04.9_arm64.deb ... Unpacking binutils-common:arm64 (2.30-21ubuntu1~18.04.9) over (2.30-15ubuntu1) ... Preparing to unpack .../14-libubsan0_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking libubsan0:arm64 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../15-libasan4_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking libasan4:arm64 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../16-g++-7_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking g++-7 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../17-gcc-7_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../18-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking libstdc++-7-dev:arm64 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../19-libgcc-7-dev_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking libgcc-7-dev:arm64 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../20-cpp-7_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../21-gcc-7-base_7.5.0-3ubuntu1~18.04_arm64.deb ... Unpacking gcc-7-base:arm64 (7.5.0-3ubuntu1~18.04) over (7.3.0-16ubuntu3) ... Preparing to unpack .../22-cpp_4%3a7.4.0-1ubuntu2.3_arm64.deb ... Unpacking cpp (4:7.4.0-1ubuntu2.3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../23-dpkg-dev_1.19.0.5ubuntu2.4_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu2.4) over (1.19.0.5ubuntu2) ... Preparing to unpack .../24-libdpkg-perl_1.19.0.5ubuntu2.4_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu2.4) over (1.19.0.5ubuntu2) ... Preparing to unpack .../25-patch_2.7.6-2ubuntu1.1_arm64.deb ... Unpacking patch (2.7.6-2ubuntu1.1) over (2.7.6-2ubuntu1) ... Preparing to unpack .../26-gcc_4%3a7.4.0-1ubuntu2.3_arm64.deb ... Unpacking gcc (4:7.4.0-1ubuntu2.3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../27-g++_4%3a7.4.0-1ubuntu2.3_arm64.deb ... Unpacking g++ (4:7.4.0-1ubuntu2.3) over (4:7.3.0-3ubuntu2) ... Preparing to unpack .../28-gpg_2.2.4-1ubuntu1.6_arm64.deb ... Unpacking gpg (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1) ... Preparing to unpack .../29-gpgconf_2.2.4-1ubuntu1.6_arm64.deb ... Unpacking gpgconf (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1) ... Preparing to unpack .../30-gpg-agent_2.2.4-1ubuntu1.6_arm64.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1) ... Preparing to unpack .../31-pkgbinarymangler_138.18.04.2_all.deb ... Unpacking pkgbinarymangler (138.18.04.2) over (138) ... Setting up libgomp1:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up libatomic1:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up libcc1-0:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up libip4tc0:arm64 (1.6.1-2ubuntu2.1) ... Setting up libpng16-16:arm64 (1.6.34-1ubuntu0.18.04.2) ... Setting up tzdata (2023c-0ubuntu0.18.04) ... Current default time zone: 'Etc/UTC' Local time is now: Fri Apr 12 02:34:27 UTC 2024. Universal Time is now: Fri Apr 12 02:34:27 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up systemd-sysv (237-3ubuntu10.57) ... Setting up libtsan0:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up gpgconf (2.2.4-1ubuntu1.6) ... Setting up linux-libc-dev:arm64 (4.15.0-213.224) ... Setting up advancecomp (2.1-1ubuntu0.18.04.3) ... Setting up gpg-agent (2.2.4-1ubuntu1.6) ... Setting up perl-modules-5.26 (5.26.1-6ubuntu0.7) ... Setting up bzip2 (1.0.6-8.1ubuntu0.2) ... Setting up liblsan0:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up gcc-7-base:arm64 (7.5.0-3ubuntu1~18.04) ... Setting up binutils-common:arm64 (2.30-21ubuntu1~18.04.9) ... Setting up patch (2.7.6-2ubuntu1.1) ... Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.7) ... Setting up libssl1.1:arm64 (1.1.1-1ubuntu2.1~18.04.23) ... Checking for services that may need to be restarted...done. Checking for services that may need to be restarted...done. Setting up xz-utils (5.2.2-1.3ubuntu0.1) ... Setting up openssl (1.1.1-1ubuntu2.1~18.04.23) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libsqlite3-0:arm64 (3.22.0-1ubuntu0.7) ... Setting up libc-dev-bin (2.27-3ubuntu1.6) ... Setting up ca-certificates (20230311ubuntu0.18.04.1) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 49 added, 45 removed; done. Setting up libc6-dev:arm64 (2.27-3ubuntu1.6) ... Setting up libitm1:arm64 (8.4.0-1ubuntu1~18.04) ... Setting up libidn11:arm64 (1.33-2.1ubuntu1.2) ... Setting up gpg (2.2.4-1ubuntu1.6) ... Setting up pkgbinarymangler (138.18.04.2) ... Installing new version of config file /etc/pkgbinarymangler/striptranslations.blacklist ... Setting up libasan4:arm64 (7.5.0-3ubuntu1~18.04) ... Setting up libbinutils:arm64 (2.30-21ubuntu1~18.04.9) ... Setting up libubsan0:arm64 (7.5.0-3ubuntu1~18.04) ... Setting up libgcc-7-dev:arm64 (7.5.0-3ubuntu1~18.04) ... Setting up cpp-7 (7.5.0-3ubuntu1~18.04) ... Setting up libstdc++-7-dev:arm64 (7.5.0-3ubuntu1~18.04) ... Setting up perl (5.26.1-6ubuntu0.7) ... Setting up binutils-aarch64-linux-gnu (2.30-21ubuntu1~18.04.9) ... Setting up binutils (2.30-21ubuntu1~18.04.9) ... Setting up cpp (4:7.4.0-1ubuntu2.3) ... Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ... Setting up g++-7 (7.5.0-3ubuntu1~18.04) ... Setting up libdpkg-perl (1.19.0.5ubuntu2.4) ... Setting up gcc (4:7.4.0-1ubuntu2.3) ... Setting up dpkg-dev (1.19.0.5ubuntu2.4) ... Setting up g++ (4:7.4.0-1ubuntu2.3) ... Processing triggers for libc-bin (2.27-3ubuntu1.6) ... Processing triggers for ca-certificates (20230311ubuntu0.18.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-28050690 arm64 bionic -c chroot:build-PACKAGEBUILD-28050690 --arch=arm64 --dist=bionic --nolog 'gismo_202404120231-b875896c~ubuntu18.04.1.dsc' Initiating build PACKAGEBUILD-28050690 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-176-generic #196-Ubuntu SMP Fri Mar 22 16:46:20 UTC 2024 aarch64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos01-arm64-031.buildd +===================================================================================+ | gismo 202404120231-b875896c~ubuntu18.04.1 (arm64) Fri, 12 Apr 2024 02:34:30 +0000 | +===================================================================================+ Package: gismo Version: 202404120231-b875896c~ubuntu18.04.1 Source Version: 202404120231-b875896c~ubuntu18.04.1 Distribution: bionic Machine Architecture: arm64 Host Architecture: arm64 Build Architecture: arm64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-28050690/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/gismo-RkuTEi/resolver-jnWYZj' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- gismo_202404120231-b875896c~ubuntu18.04.1.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/gismo-RkuTEi/gismo-202404120231' with '<>' I: NOTICE: Log filtering will replace 'build/gismo-RkuTEi' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: cmake, build-essential, build-essential, fakeroot Filtered Build-Depends: cmake, build-essential, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [356 B] Get:5 copy:/<>/apt_archive ./ Packages [438 B] Fetched 1751 B in 0s (88.8 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cmake cmake-data libarchive13 libasn1-8-heimdal libcurl4 libexpat1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu60 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblzo2-2 libnghttp2-14 libpsl5 librhash0 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db libuv1 libwind0-heimdal libxml2 multiarch-support Suggested packages: cmake-doc ninja-build lrzip krb5-doc krb5-user Recommended packages: krb5-locales publicsuffix libsasl2-modules The following NEW packages will be installed: cmake cmake-data libarchive13 libasn1-8-heimdal libcurl4 libexpat1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu60 libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblzo2-2 libnghttp2-14 libpsl5 librhash0 libroken18-heimdal librtmp1 libsasl2-2 libsasl2-modules-db libuv1 libwind0-heimdal libxml2 multiarch-support sbuild-build-depends-main-dummy 0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 15.1 MB of archives. After this operation, 65.2 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [860 B] Get:2 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 multiarch-support arm64 2.27-3ubuntu1.6 [6960 B] Get:3 http://ftpmaster.internal/ubuntu bionic/main arm64 liblzo2-2 arm64 2.08-1.2 [42.2 kB] Get:4 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.9 [70.4 kB] Get:5 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libicu60 arm64 60.2-3ubuntu3.2 [7986 kB] Get:6 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libxml2 arm64 2.9.4+dfsg1-6.1ubuntu1.9 [548 kB] Get:7 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libkrb5support0 arm64 1.16-2ubuntu0.4 [28.1 kB] Get:8 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libk5crypto3 arm64 1.16-2ubuntu0.4 [79.7 kB] Get:9 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 libkeyutils1 arm64 1.5.9-9.2ubuntu2.1 [8172 B] Get:10 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libkrb5-3 arm64 1.16-2ubuntu0.4 [241 kB] Get:11 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgssapi-krb5-2 arm64 1.16-2ubuntu0.4 [103 kB] Get:12 http://ftpmaster.internal/ubuntu bionic/main arm64 libpsl5 arm64 0.19.1-5build1 [40.9 kB] Get:13 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 cmake-data all 3.10.2-1ubuntu2.18.04.2 [1332 kB] Get:14 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libarchive13 arm64 3.2.2-3.1ubuntu0.7 [244 kB] Get:15 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libroken18-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [36.3 kB] Get:16 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libasn1-8-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [130 kB] Get:17 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libheimbase1-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [25.9 kB] Get:18 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libhcrypto4-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [76.5 kB] Get:19 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libwind0-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [46.7 kB] Get:20 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libhx509-5-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [88.5 kB] Get:21 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libkrb5-26-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [171 kB] Get:22 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libheimntlm0-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [13.3 kB] Get:23 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libgssapi3-heimdal arm64 7.5.0+dfsg-1ubuntu0.4 [79.6 kB] Get:24 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsasl2-modules-db arm64 2.1.27~101-g0780600+dfsg-3ubuntu2.4 [13.6 kB] Get:25 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libsasl2-2 arm64 2.1.27~101-g0780600+dfsg-3ubuntu2.4 [43.2 kB] Get:26 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libldap-common all 2.4.45+dfsg-1ubuntu1.11 [15.8 kB] Get:27 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libldap-2.4-2 arm64 2.4.45+dfsg-1ubuntu1.11 [131 kB] Get:28 http://ftpmaster.internal/ubuntu bionic/main arm64 libnghttp2-14 arm64 1.30.0-1ubuntu1 [68.9 kB] Get:29 http://ftpmaster.internal/ubuntu bionic/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-1 [48.2 kB] Get:30 http://ftpmaster.internal/ubuntu bionic-security/main arm64 libcurl4 arm64 7.58.0-2ubuntu3.24 [185 kB] Get:31 http://ftpmaster.internal/ubuntu bionic/main arm64 libjsoncpp1 arm64 1.7.4-3 [69.2 kB] Get:32 http://ftpmaster.internal/ubuntu bionic/main arm64 librhash0 arm64 1.3.6-2 [71.8 kB] Get:33 http://ftpmaster.internal/ubuntu bionic/main arm64 libuv1 arm64 1.18.0-3 [53.7 kB] Get:34 http://ftpmaster.internal/ubuntu bionic-updates/main arm64 cmake arm64 3.10.2-1ubuntu2.18.04.2 [2973 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 15.1 MB in 2s (9590 kB/s) Selecting previously unselected package multiarch-support. (Reading database ... 12499 files and directories currently installed.) Preparing to unpack .../multiarch-support_2.27-3ubuntu1.6_arm64.deb ... Unpacking multiarch-support (2.27-3ubuntu1.6) ... Setting up multiarch-support (2.27-3ubuntu1.6) ... Selecting previously unselected package liblzo2-2:arm64. (Reading database ... 12502 files and directories currently installed.) Preparing to unpack .../00-liblzo2-2_2.08-1.2_arm64.deb ... Unpacking liblzo2-2:arm64 (2.08-1.2) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../01-libexpat1_2.2.5-3ubuntu0.9_arm64.deb ... Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.9) ... Selecting previously unselected package libicu60:arm64. Preparing to unpack .../02-libicu60_60.2-3ubuntu3.2_arm64.deb ... Unpacking libicu60:arm64 (60.2-3ubuntu3.2) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../03-libxml2_2.9.4+dfsg1-6.1ubuntu1.9_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-6.1ubuntu1.9) ... Selecting previously unselected package libkrb5support0:arm64. Preparing to unpack .../04-libkrb5support0_1.16-2ubuntu0.4_arm64.deb ... Unpacking libkrb5support0:arm64 (1.16-2ubuntu0.4) ... Selecting previously unselected package libk5crypto3:arm64. Preparing to unpack .../05-libk5crypto3_1.16-2ubuntu0.4_arm64.deb ... Unpacking libk5crypto3:arm64 (1.16-2ubuntu0.4) ... Selecting previously unselected package libkeyutils1:arm64. Preparing to unpack .../06-libkeyutils1_1.5.9-9.2ubuntu2.1_arm64.deb ... Unpacking libkeyutils1:arm64 (1.5.9-9.2ubuntu2.1) ... Selecting previously unselected package libkrb5-3:arm64. Preparing to unpack .../07-libkrb5-3_1.16-2ubuntu0.4_arm64.deb ... Unpacking libkrb5-3:arm64 (1.16-2ubuntu0.4) ... Selecting previously unselected package libgssapi-krb5-2:arm64. Preparing to unpack .../08-libgssapi-krb5-2_1.16-2ubuntu0.4_arm64.deb ... Unpacking libgssapi-krb5-2:arm64 (1.16-2ubuntu0.4) ... Selecting previously unselected package libpsl5:arm64. Preparing to unpack .../09-libpsl5_0.19.1-5build1_arm64.deb ... Unpacking libpsl5:arm64 (0.19.1-5build1) ... Selecting previously unselected package cmake-data. Preparing to unpack .../10-cmake-data_3.10.2-1ubuntu2.18.04.2_all.deb ... Unpacking cmake-data (3.10.2-1ubuntu2.18.04.2) ... Selecting previously unselected package libarchive13:arm64. Preparing to unpack .../11-libarchive13_3.2.2-3.1ubuntu0.7_arm64.deb ... Unpacking libarchive13:arm64 (3.2.2-3.1ubuntu0.7) ... Selecting previously unselected package libroken18-heimdal:arm64. Preparing to unpack .../12-libroken18-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libroken18-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libasn1-8-heimdal:arm64. Preparing to unpack .../13-libasn1-8-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libasn1-8-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libheimbase1-heimdal:arm64. Preparing to unpack .../14-libheimbase1-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libheimbase1-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libhcrypto4-heimdal:arm64. Preparing to unpack .../15-libhcrypto4-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libhcrypto4-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libwind0-heimdal:arm64. Preparing to unpack .../16-libwind0-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libwind0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libhx509-5-heimdal:arm64. Preparing to unpack .../17-libhx509-5-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libhx509-5-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libkrb5-26-heimdal:arm64. Preparing to unpack .../18-libkrb5-26-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libkrb5-26-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libheimntlm0-heimdal:arm64. Preparing to unpack .../19-libheimntlm0-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libheimntlm0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libgssapi3-heimdal:arm64. Preparing to unpack .../20-libgssapi3-heimdal_7.5.0+dfsg-1ubuntu0.4_arm64.deb ... Unpacking libgssapi3-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../21-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.4_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../22-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.4_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Selecting previously unselected package libldap-common. Preparing to unpack .../23-libldap-common_2.4.45+dfsg-1ubuntu1.11_all.deb ... Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.11) ... Selecting previously unselected package libldap-2.4-2:arm64. Preparing to unpack .../24-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.11_arm64.deb ... Unpacking libldap-2.4-2:arm64 (2.4.45+dfsg-1ubuntu1.11) ... Selecting previously unselected package libnghttp2-14:arm64. Preparing to unpack .../25-libnghttp2-14_1.30.0-1ubuntu1_arm64.deb ... Unpacking libnghttp2-14:arm64 (1.30.0-1ubuntu1) ... Selecting previously unselected package librtmp1:arm64. Preparing to unpack .../26-librtmp1_2.4+20151223.gitfa8646d.1-1_arm64.deb ... Unpacking librtmp1:arm64 (2.4+20151223.gitfa8646d.1-1) ... Selecting previously unselected package libcurl4:arm64. Preparing to unpack .../27-libcurl4_7.58.0-2ubuntu3.24_arm64.deb ... Unpacking libcurl4:arm64 (7.58.0-2ubuntu3.24) ... Selecting previously unselected package libjsoncpp1:arm64. Preparing to unpack .../28-libjsoncpp1_1.7.4-3_arm64.deb ... Unpacking libjsoncpp1:arm64 (1.7.4-3) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../29-librhash0_1.3.6-2_arm64.deb ... Unpacking librhash0:arm64 (1.3.6-2) ... Selecting previously unselected package libuv1:arm64. Preparing to unpack .../30-libuv1_1.18.0-3_arm64.deb ... Unpacking libuv1:arm64 (1.18.0-3) ... Selecting previously unselected package cmake. Preparing to unpack .../31-cmake_3.10.2-1ubuntu2.18.04.2_arm64.deb ... Unpacking cmake (3.10.2-1ubuntu2.18.04.2) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../32-sbuild-build-depends-main-dummy_0.invalid.0_arm64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libexpat1:arm64 (2.2.5-3ubuntu0.9) ... Setting up libicu60:arm64 (60.2-3ubuntu3.2) ... Setting up libnghttp2-14:arm64 (1.30.0-1ubuntu1) ... Setting up libldap-common (2.4.45+dfsg-1ubuntu1.11) ... Setting up libuv1:arm64 (1.18.0-3) ... Setting up libpsl5:arm64 (0.19.1-5build1) ... Setting up libsasl2-modules-db:arm64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Setting up libsasl2-2:arm64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Setting up cmake-data (3.10.2-1ubuntu2.18.04.2) ... Setting up libroken18-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-1) ... Setting up libkrb5support0:arm64 (1.16-2ubuntu0.4) ... Setting up libxml2:arm64 (2.9.4+dfsg1-6.1ubuntu1.9) ... Setting up librhash0:arm64 (1.3.6-2) ... Setting up libheimbase1-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libkeyutils1:arm64 (1.5.9-9.2ubuntu2.1) ... Setting up liblzo2-2:arm64 (2.08-1.2) ... Setting up libjsoncpp1:arm64 (1.7.4-3) ... Setting up libk5crypto3:arm64 (1.16-2ubuntu0.4) ... Setting up libwind0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libarchive13:arm64 (3.2.2-3.1ubuntu0.7) ... Setting up libasn1-8-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libhcrypto4-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libhx509-5-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libkrb5-3:arm64 (1.16-2ubuntu0.4) ... Setting up libkrb5-26-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libheimntlm0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libgssapi-krb5-2:arm64 (1.16-2ubuntu0.4) ... Setting up libgssapi3-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.4) ... Setting up libldap-2.4-2:arm64 (2.4.45+dfsg-1ubuntu1.11) ... Setting up libcurl4:arm64 (7.58.0-2ubuntu3.24) ... Setting up cmake (3.10.2-1ubuntu2.18.04.2) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.27-3ubuntu1.6) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (arm64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-176-generic #196-Ubuntu SMP Fri Mar 22 16:46:20 UTC 2024 arm64 (aarch64) Toolchain package versions: binutils_2.30-21ubuntu1~18.04.9 dpkg-dev_1.19.0.5ubuntu2.4 g++-7_7.5.0-3ubuntu1~18.04 gcc-7_7.5.0-3ubuntu1~18.04 libc6-dev_2.27-3ubuntu1.6 libstdc++-7-dev_7.5.0-3ubuntu1~18.04 libstdc++6_8.4.0-1ubuntu1~18.04 linux-libc-dev_4.15.0-213.224 Package versions: adduser_3.116ubuntu1 advancecomp_2.1-1ubuntu0.18.04.3 apt_1.6.17 base-files_10.1ubuntu2.12 base-passwd_3.5.44 bash_4.4.18-2ubuntu1.3 binutils_2.30-21ubuntu1~18.04.9 binutils-aarch64-linux-gnu_2.30-21ubuntu1~18.04.9 binutils-common_2.30-21ubuntu1~18.04.9 bsdutils_1:2.31.1-0.4ubuntu3.7 build-essential_12.4ubuntu1 bzip2_1.0.6-8.1ubuntu0.2 ca-certificates_20230311ubuntu0.18.04.1 cmake_3.10.2-1ubuntu2.18.04.2 cmake-data_3.10.2-1ubuntu2.18.04.2 coreutils_8.28-1ubuntu1 cpp_4:7.4.0-1ubuntu2.3 cpp-7_7.5.0-3ubuntu1~18.04 dash_0.5.8-2.10 debconf_1.5.66ubuntu1 debianutils_4.8.4 diffutils_1:3.6-1 dpkg_1.19.0.5ubuntu2.4 dpkg-dev_1.19.0.5ubuntu2.4 e2fsprogs_1.44.1-1ubuntu1.4 fakeroot_1.22-2ubuntu1 fdisk_2.31.1-0.4ubuntu3.7 findutils_4.6.0+git+20170828-2 g++_4:7.4.0-1ubuntu2.3 g++-7_7.5.0-3ubuntu1~18.04 gcc_4:7.4.0-1ubuntu2.3 gcc-7_7.5.0-3ubuntu1~18.04 gcc-7-base_7.5.0-3ubuntu1~18.04 gcc-8-base_8.4.0-1ubuntu1~18.04 gpg_2.2.4-1ubuntu1.6 gpg-agent_2.2.4-1ubuntu1.6 gpgconf_2.2.4-1ubuntu1.6 gpgv_2.2.4-1ubuntu1.6 grep_3.1-2build1 gzip_1.6-5ubuntu1.2 hostname_3.20 init_1.51 init-system-helpers_1.51 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu5.3 libapt-pkg5.0_1.6.17 libarchive13_3.2.2-3.1ubuntu0.7 libargon2-0_0~20161029-1.1 libasan4_7.5.0-3ubuntu1~18.04 libasn1-8-heimdal_7.5.0+dfsg-1ubuntu0.4 libassuan0_2.5.1-2 libatomic1_8.4.0-1ubuntu1~18.04 libattr1_1:2.4.47-2build1 libaudit-common_1:2.8.2-1ubuntu1.1 libaudit1_1:2.8.2-1ubuntu1.1 libbinutils_2.30-21ubuntu1~18.04.9 libblkid1_2.31.1-0.4ubuntu3.7 libbz2-1.0_1.0.6-8.1ubuntu0.2 libc-bin_2.27-3ubuntu1.6 libc-dev-bin_2.27-3ubuntu1.6 libc6_2.27-3ubuntu1.6 libc6-dev_2.27-3ubuntu1.6 libcap-ng0_0.7.7-3.1 libcap2_1:2.25-1.2 libcc1-0_8.4.0-1ubuntu1~18.04 libcom-err2_1.44.1-1ubuntu1.4 libcryptsetup12_2:2.0.2-1ubuntu1.2 libcurl4_7.58.0-2ubuntu3.24 libdb5.3_5.3.28-13.1ubuntu1.1 libdebconfclient0_0.213ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu3.18.04.3 libdpkg-perl_1.19.0.5ubuntu2.4 libexpat1_2.2.5-3ubuntu0.9 libext2fs2_1.44.1-1ubuntu1.4 libfakeroot_1.22-2ubuntu1 libfdisk1_2.31.1-0.4ubuntu3.7 libffi6_3.2.1-8 libgcc-7-dev_7.5.0-3ubuntu1~18.04 libgcc1_1:8.4.0-1ubuntu1~18.04 libgcrypt20_1.8.1-4ubuntu1.3 libgdbm-compat4_1.14.1-6 libgdbm5_1.14.1-6 libgmp10_2:6.1.2+dfsg-2ubuntu0.1 libgnutls30_3.5.18-1ubuntu1.6 libgomp1_8.4.0-1ubuntu1~18.04 libgpg-error0_1.27-6 libgssapi-krb5-2_1.16-2ubuntu0.4 libgssapi3-heimdal_7.5.0+dfsg-1ubuntu0.4 libhcrypto4-heimdal_7.5.0+dfsg-1ubuntu0.4 libheimbase1-heimdal_7.5.0+dfsg-1ubuntu0.4 libheimntlm0-heimdal_7.5.0+dfsg-1ubuntu0.4 libhogweed4_3.4.1-0ubuntu0.18.04.1 libhx509-5-heimdal_7.5.0+dfsg-1ubuntu0.4 libicu60_60.2-3ubuntu3.2 libidn11_1.33-2.1ubuntu1.2 libidn2-0_2.0.4-1.1ubuntu0.2 libip4tc0_1.6.1-2ubuntu2.1 libisl19_0.19-1 libitm1_8.4.0-1ubuntu1~18.04 libjson-c3_0.12.1-1.3ubuntu0.3 libjsoncpp1_1.7.4-3 libk5crypto3_1.16-2ubuntu0.4 libkeyutils1_1.5.9-9.2ubuntu2.1 libkmod2_24-1ubuntu3.5 libkrb5-26-heimdal_7.5.0+dfsg-1ubuntu0.4 libkrb5-3_1.16-2ubuntu0.4 libkrb5support0_1.16-2ubuntu0.4 libldap-2.4-2_2.4.45+dfsg-1ubuntu1.11 libldap-common_2.4.45+dfsg-1ubuntu1.11 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblsan0_8.4.0-1ubuntu1~18.04 liblz4-1_0.0~r131-2ubuntu3.1 liblzma5_5.2.2-1.3ubuntu0.1 liblzo2-2_2.08-1.2 libmount1_2.31.1-0.4ubuntu3.7 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libncurses5_6.1-1ubuntu1.18.04.1 libncursesw5_6.1-1ubuntu1.18.04.1 libnettle6_3.4.1-0ubuntu0.18.04.1 libnghttp2-14_1.30.0-1ubuntu1 libnpth0_1.5-3 libp11-kit0_0.23.9-2ubuntu0.1 libpam-modules_1.1.8-3.6ubuntu2.18.04.6 libpam-modules-bin_1.1.8-3.6ubuntu2.18.04.6 libpam-runtime_1.1.8-3.6ubuntu2.18.04.6 libpam0g_1.1.8-3.6ubuntu2.18.04.6 libpcre3_2:8.39-9ubuntu0.1 libperl5.26_5.26.1-6ubuntu0.7 libpng16-16_1.6.34-1ubuntu0.18.04.2 libprocps6_2:3.3.12-3ubuntu1.2 libpsl5_0.19.1-5build1 libreadline7_7.0-3 librhash0_1.3.6-2 libroken18-heimdal_7.5.0+dfsg-1ubuntu0.4 librtmp1_2.4+20151223.gitfa8646d.1-1 libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.4 libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.4 libseccomp2_2.5.1-1ubuntu1~18.04.2 libselinux1_2.7-2build2 libsemanage-common_2.7-2build2 libsemanage1_2.7-2build2 libsepol1_2.7-1ubuntu0.1 libsmartcols1_2.31.1-0.4ubuntu3.7 libsqlite3-0_3.22.0-1ubuntu0.7 libss2_1.44.1-1ubuntu1.4 libssl1.1_1.1.1-1ubuntu2.1~18.04.23 libstdc++-7-dev_7.5.0-3ubuntu1~18.04 libstdc++6_8.4.0-1ubuntu1~18.04 libsystemd0_237-3ubuntu10.57 libtasn1-6_4.13-2 libtinfo5_6.1-1ubuntu1.18.04.1 libtsan0_8.4.0-1ubuntu1~18.04 libubsan0_7.5.0-3ubuntu1~18.04 libudev1_237-3ubuntu10.57 libunistring2_0.9.9-0ubuntu2 libuuid1_2.31.1-0.4ubuntu3.7 libuv1_1.18.0-3 libwind0-heimdal_7.5.0+dfsg-1ubuntu0.4 libxml2_2.9.4+dfsg1-6.1ubuntu1.9 libzstd1_1.3.3+dfsg-2ubuntu1.2 linux-libc-dev_4.15.0-213.224 lockfile-progs_0.1.17build1 login_1:4.5-1ubuntu2.5 lsb-base_9.20170808ubuntu1 make_4.1-9.1ubuntu1 mawk_1.3.3-17ubuntu3 mount_2.31.1-0.4ubuntu3.7 multiarch-support_2.27-3ubuntu1.6 ncurses-base_6.1-1ubuntu1.18.04.1 ncurses-bin_6.1-1ubuntu1.18.04.1 openssl_1.1.1-1ubuntu2.1~18.04.23 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu2.5 patch_2.7.6-2ubuntu1.1 perl_5.26.1-6ubuntu0.7 perl-base_5.26.1-6ubuntu0.7 perl-modules-5.26_5.26.1-6ubuntu0.7 pinentry-curses_1.1.0-1 pkgbinarymangler_138.18.04.2 policyrcd-script-zg2_0.1-3 procps_2:3.3.12-3ubuntu1.2 readline-common_7.0-3 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.4-2 sensible-utils_0.0.12 systemd_237-3ubuntu10.57 systemd-sysv_237-3ubuntu10.57 sysvinit-utils_2.88dsf-59.10ubuntu1 tar_1.29b-2ubuntu0.4 tzdata_2023c-0ubuntu0.18.04 ubuntu-keyring_2018.09.18.1~18.04.2 util-linux_2.31.1-0.4ubuntu3.7 xz-utils_5.2.2-1.3ubuntu0.1 zlib1g_1:1.2.11.dfsg-0ubuntu2.2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- Format: 1.0 Source: gismo Binary: gismo Architecture: any Version: 202404120231-b875896c~ubuntu18.04.1 Maintainer: Angelos Mantzaflaris Homepage: https://github.com/gismo Build-Depends: cmake, build-essential Package-List: gismo deb devel optional arch=any Checksums-Sha1: d689d65bc0f098345d019d35733edcfa9aa3edf2 16864691 gismo_202404120231-b875896c~ubuntu18.04.1.tar.gz Checksums-Sha256: 1af1a24eccc68619be9fd51efb972a4b1c373cadc8d33cbae36024b32dc46b14 16864691 gismo_202404120231-b875896c~ubuntu18.04.1.tar.gz Files: 2466bd3253f305ce5cf9271cb9d15031 16864691 gismo_202404120231-b875896c~ubuntu18.04.1.tar.gz dpkg-source: warning: extracting unsigned source package (gismo_202404120231-b875896c~ubuntu18.04.1.dsc) dpkg-source: info: extracting gismo in /<> dpkg-source: info: unpacking gismo_202404120231-b875896c~ubuntu18.04.1.tar.gz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-28050690 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-28050690 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-28050690 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package gismo dpkg-buildpackage: info: source version 202404120231-b875896c~ubuntu18.04.1 dpkg-buildpackage: info: source distribution bionic dpkg-source --before-build gismo-202404120231 dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean rm -f build rm -rf build_dir dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing) debian/rules build mkdir build_dir; cd build_dir; cmake -DCMAKE_BUILD_TYPE=Release -DGISMO_WITH_ONURBS=ON -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr .. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Target architecture changed from "" to "auto" -- Detected Host CPU: neoverse-n1 -- Checking Host CPU features. This can take some time ... -- (!) aarch64 architecture optimization flags applied: -march=armv8.2-a+fp16+nofp+nosimd+nocrc+nocrypto+nodotprod+nolse+norcpc+nordma. In case of runtime errors re-compile with TARGET_ARCHITECTURE=none or TARGET_ARCHITECTURE=generic GGGGGGGGG GGGG GGGGGGGGG GGGGGG GGGGGG GGGGGGGGGG GGGG GGGG GGGG GGGGGG GGGGGG GGGG GGGG GGGG GGGGGGGGGGGG GGGGGGGGG G GGGG G GGGG GGGG GGGG GGGG GGGGGG GGGGGGGGGGGGG GGGGGGGGGG GG GGGG GG GGGG GGGG GGGGG GGGGG GGGGG GGGGGGGGGGGG GGGGGGGGG GG GGGGGG GGGG GGGG GGGG GGGG GGGG GGGG GGGG GG GGGG GGGG GGGG GGGG GGGGGGGGGG GGGG GGGGGGGGG GG GGG GGGG GGGGGGGGGG version 23.12.0 Configuration (cmake 3.10.2): Source folder: /<> CMAKE_BUILD_TYPE Release CMAKE_C_COMPILER /usr/bin/cc CMAKE_CXX_COMPILER /usr/bin/c++ CMAKE_CXX_STANDARD 14 GISMO_COEFF_TYPE double GISMO_INDEX_TYPE int GISMO_SHORT_TYPE int GISMO_BUILD_EXAMPLES ON GISMO_BUILD_LIB ON Files "gsConfigExt.txt" to "gsConfigExt.h" are different. GISMO_OPTIONAL gsOpennurbs -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) CMAKE_INSTALL_PREFIX /<>/debian/tmp/usr CMake Warning at cmake/gsInstall.cmake:51 (export): Cannot create package registry file: /sbuild-nonexistent/.cmake/packages/gismo/367af04c1b8e71da209a4776aa104db5 No such file or directory Call Stack (most recent call first): CMakeLists.txt:387 (include) -- Number of examples to compile: 51 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: GISMO_WITH_ONURBS -- Build files have been written to: /<>/build_dir make -C build_dir make[1]: Entering directory '/<>/build_dir' make[2]: Entering directory '/<>/build_dir' make[3]: Entering directory '/<>/build_dir' Scanning dependencies of target gsOpennurbs make[3]: Leaving directory '/<>/build_dir' make[3]: Entering directory '/<>/build_dir' [ 1%] Building CXX object optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/__/__/external/onurbs/opennurbs_3dm_attributes.cpp.o /<>/external/onurbs/opennurbs_3dm_attributes.cpp: In function ‘bool ON_3dmObjectAttributes::WriteV5Helper(ON_BinaryArchive&) const’: /<>/external/onurbs/opennurbs_3dm_attributes.cpp:543:6: error: ‘+nofp’ feature modifier is incompatible with floating-point code bool ON_3dmObjectAttributes::WriteV5Helper( ON_BinaryArchive& file ) const ^~~~~~~~~~~~~~~~~~~~~~ /<>/external/onurbs/opennurbs_3dm_attributes.cpp:543:6: error: ‘+nofp’ feature modifier is incompatible with floating-point code /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point argument rc = file.WriteDouble(m_plot_weight_mm); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point code /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point code /<>/external/onurbs/opennurbs_3dm_attributes.cpp: In member function ‘virtual ON_BOOL32 ON_3dmObjectAttributes::Write(ON_BinaryArchive&) const’: /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777:16: error: ‘+nofp’ feature modifier is incompatible with floating-point argument if (rc) rc = file.WriteDouble(0.0); ~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777:16: error: ‘+nofp’ feature modifier is incompatible with floating-point code /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777: confused by earlier errors, bailing out Preprocessed source stored into /tmp/ccHwRprl.out file, please attach this to your bugreport. === BEGIN GCC DUMP === 10182: // Target: aarch64-linux-gnu 10182: // Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu 10182: // Thread model: posix 10182: // gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 10182: // 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp: In function ‘bool ON_3dmObjectAttributes::WriteV5Helper(ON_BinaryArchive&) const’: 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:543:6: error: ‘+nofp’ feature modifier is incompatible with floating-point code 10182: // bool ON_3dmObjectAttributes::WriteV5Helper( ON_BinaryArchive& file ) const 10182: // ^~~~~~~~~~~~~~~~~~~~~~ 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:543:6: error: ‘+nofp’ feature modifier is incompatible with floating-point code 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point argument 10182: // rc = file.WriteDouble(m_plot_weight_mm); 10182: // ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point code 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:624:10: error: ‘+nofp’ feature modifier is incompatible with floating-point code 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp: In member function ‘virtual ON_BOOL32 ON_3dmObjectAttributes::Write(ON_BinaryArchive&) const’: 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777:16: error: ‘+nofp’ feature modifier is incompatible with floating-point argument 10182: // if (rc) rc = file.WriteDouble(0.0); 10182: // ~~~^~~~~~~~~~~~~~~~~~~~~~~ 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777:16: error: ‘+nofp’ feature modifier is incompatible with floating-point code 10182: // /<>/external/onurbs/opennurbs_3dm_attributes.cpp:777: confused by earlier errors, bailing out 10182: 10182: // /usr/lib/gcc/aarch64-linux-gnu/7/cc1plus -quiet -I /<>/src -I /<>/external -I /<>/build_dir -I /<>/optional -imultiarch aarch64-linux-gnu -D_GNU_SOURCE -D HAVE_SYS_STAT_H -D MY_ZCALLOC -D ON_COMPILING_OPENNURBS -D ON_NO_WINDOWS -D Z_PREFIX -D gismo_EXPORTS -D NDEBUG /<>/external/onurbs/opennurbs_3dm_attributes.cpp -quiet -dumpbase opennurbs_3dm_attributes.cpp -march=armv8.2-a+fp16+nofp+nosimd+nocrc+nocrypto+nodotprod+nolse+norcpc+nordma -mlittle-endian -mabi=lp64 -auxbase-strip CMakeFiles/gsOpennurbs.dir/__/__/external/onurbs/opennurbs_3dm_attributes.cpp.o -O3 -Wall -Wno-long-long -Wunused-variable -Wno-unknown-pragmas -w -std=c++14 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fstack-protector-strong -Wformat-security -o - -frandom-seed=0 -fdump-noaddr 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 10182: # 1 "" 10182: # 1 "" 10182: # 1 "/usr/include/stdc-predef.h" 1 3 4 10182: # 1 "" 2 10182: # 1 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 10182: # 17 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 10182: # 1 "/<>/external/onurbs/opennurbs.h" 1 10182: # 29 "/<>/external/onurbs/opennurbs.h" 10182: # 1 "/<>/external/onurbs/opennurbs_system.h" 1 10182: # 220 "/<>/external/onurbs/opennurbs_system.h" 10182: # 1 "/usr/include/c++/7/stdlib.h" 1 3 10182: # 36 "/usr/include/c++/7/stdlib.h" 3 10182: # 1 "/usr/include/c++/7/cstdlib" 1 3 10182: # 39 "/usr/include/c++/7/cstdlib" 3 10182: 10182: # 40 "/usr/include/c++/7/cstdlib" 3 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 1 3 10182: # 229 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 3 10182: 10182: # 229 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 3 10182: namespace std 10182: { 10182: typedef long unsigned int size_t; 10182: typedef long int ptrdiff_t; 10182: 10182: 10182: typedef decltype(nullptr) nullptr_t; 10182: 10182: } 10182: # 251 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 3 10182: namespace std 10182: { 10182: inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } 10182: } 10182: namespace __gnu_cxx 10182: { 10182: inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { } 10182: } 10182: # 533 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 3 10182: # 1 "/usr/include/aarch64-linux-gnu/c++/7/bits/os_defines.h" 1 3 10182: # 39 "/usr/include/aarch64-linux-gnu/c++/7/bits/os_defines.h" 3 10182: # 1 "/usr/include/features.h" 1 3 4 10182: # 424 "/usr/include/features.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/sys/cdefs.h" 1 3 4 10182: # 427 "/usr/include/aarch64-linux-gnu/sys/cdefs.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wordsize.h" 1 3 4 10182: # 428 "/usr/include/aarch64-linux-gnu/sys/cdefs.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/long-double.h" 1 3 4 10182: # 429 "/usr/include/aarch64-linux-gnu/sys/cdefs.h" 2 3 4 10182: # 425 "/usr/include/features.h" 2 3 4 10182: # 448 "/usr/include/features.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/gnu/stubs.h" 1 3 4 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wordsize.h" 1 3 4 10182: # 6 "/usr/include/aarch64-linux-gnu/gnu/stubs.h" 2 3 4 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/gnu/stubs-lp64.h" 1 3 4 10182: # 9 "/usr/include/aarch64-linux-gnu/gnu/stubs.h" 2 3 4 10182: # 449 "/usr/include/features.h" 2 3 4 10182: # 40 "/usr/include/aarch64-linux-gnu/c++/7/bits/os_defines.h" 2 3 10182: # 534 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 2 3 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/c++/7/bits/cpu_defines.h" 1 3 10182: # 537 "/usr/include/aarch64-linux-gnu/c++/7/bits/c++config.h" 2 3 10182: # 42 "/usr/include/c++/7/cstdlib" 2 3 10182: # 75 "/usr/include/c++/7/cstdlib" 3 10182: # 1 "/usr/include/stdlib.h" 1 3 4 10182: # 25 "/usr/include/stdlib.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 26 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 216 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 3 4 10182: typedef long unsigned int size_t; 10182: # 32 "/usr/include/stdlib.h" 2 3 4 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/waitflags.h" 1 3 4 10182: # 52 "/usr/include/aarch64-linux-gnu/bits/waitflags.h" 3 4 10182: typedef enum 10182: { 10182: P_ALL, 10182: P_PID, 10182: P_PGID 10182: } idtype_t; 10182: # 40 "/usr/include/stdlib.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/waitstatus.h" 1 3 4 10182: # 41 "/usr/include/stdlib.h" 2 3 4 10182: # 55 "/usr/include/stdlib.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/long-double.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 2 3 4 10182: # 80 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 3 4 10182: typedef long double _Float128; 10182: # 95 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/long-double.h" 1 3 4 10182: # 25 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 2 3 4 10182: # 207 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 3 4 10182: typedef float _Float32; 10182: # 244 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 3 4 10182: typedef double _Float64; 10182: # 261 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 3 4 10182: typedef double _Float32x; 10182: # 278 "/usr/include/aarch64-linux-gnu/bits/floatn-common.h" 3 4 10182: typedef long double _Float64x; 10182: # 96 "/usr/include/aarch64-linux-gnu/bits/floatn.h" 2 3 4 10182: # 56 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: typedef struct 10182: { 10182: int quot; 10182: int rem; 10182: } div_t; 10182: 10182: 10182: 10182: typedef struct 10182: { 10182: long int quot; 10182: long int rem; 10182: } ldiv_t; 10182: 10182: 10182: 10182: 10182: 10182: __extension__ typedef struct 10182: { 10182: long long int quot; 10182: long long int rem; 10182: } lldiv_t; 10182: # 97 "/usr/include/stdlib.h" 3 4 10182: extern size_t __ctype_get_mb_cur_max (void) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern double atof (const char *__nptr) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: extern int atoi (const char *__nptr) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: extern long int atol (const char *__nptr) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: __extension__ extern long long int atoll (const char *__nptr) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern double strtod (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern float strtof (const char *__restrict __nptr, 10182: char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: extern long double strtold (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: # 140 "/usr/include/stdlib.h" 3 4 10182: extern _Float32 strtof32 (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern _Float64 strtof64 (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern _Float128 strtof128 (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern _Float32x strtof32x (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern _Float64x strtof64x (const char *__restrict __nptr, 10182: char **__restrict __endptr) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: # 176 "/usr/include/stdlib.h" 3 4 10182: extern long int strtol (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: extern unsigned long int strtoul (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: __extension__ 10182: extern long long int strtoq (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: __extension__ 10182: extern unsigned long long int strtouq (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: __extension__ 10182: extern long long int strtoll (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: __extension__ 10182: extern unsigned long long int strtoull (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern int strfromd (char *__dest, size_t __size, const char *__format, 10182: double __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: extern int strfromf (char *__dest, size_t __size, const char *__format, 10182: float __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: extern int strfroml (char *__dest, size_t __size, const char *__format, 10182: long double __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: # 232 "/usr/include/stdlib.h" 3 4 10182: extern int strfromf32 (char *__dest, size_t __size, const char * __format, 10182: _Float32 __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: 10182: 10182: extern int strfromf64 (char *__dest, size_t __size, const char * __format, 10182: _Float64 __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: 10182: 10182: extern int strfromf128 (char *__dest, size_t __size, const char * __format, 10182: _Float128 __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: 10182: 10182: extern int strfromf32x (char *__dest, size_t __size, const char * __format, 10182: _Float32x __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: 10182: 10182: 10182: extern int strfromf64x (char *__dest, size_t __size, const char * __format, 10182: _Float64x __f) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: # 272 "/usr/include/stdlib.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/locale_t.h" 1 3 4 10182: # 22 "/usr/include/aarch64-linux-gnu/bits/types/locale_t.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/__locale_t.h" 1 3 4 10182: # 28 "/usr/include/aarch64-linux-gnu/bits/types/__locale_t.h" 3 4 10182: struct __locale_struct 10182: { 10182: 10182: struct __locale_data *__locales[13]; 10182: 10182: 10182: const unsigned short int *__ctype_b; 10182: const int *__ctype_tolower; 10182: const int *__ctype_toupper; 10182: 10182: 10182: const char *__names[13]; 10182: }; 10182: 10182: typedef struct __locale_struct *__locale_t; 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/types/locale_t.h" 2 3 4 10182: 10182: typedef __locale_t locale_t; 10182: # 273 "/usr/include/stdlib.h" 2 3 4 10182: 10182: extern long int strtol_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base, 10182: locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: extern unsigned long int strtoul_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: int __base, locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: __extension__ 10182: extern long long int strtoll_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, int __base, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: __extension__ 10182: extern unsigned long long int strtoull_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: int __base, locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: extern double strtod_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: extern float strtof_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: extern long double strtold_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: # 316 "/usr/include/stdlib.h" 3 4 10182: extern _Float32 strtof32_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: 10182: 10182: extern _Float64 strtof64_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: 10182: 10182: extern _Float128 strtof128_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: 10182: 10182: extern _Float32x strtof32x_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: 10182: 10182: extern _Float64x strtof64x_l (const char *__restrict __nptr, 10182: char **__restrict __endptr, 10182: locale_t __loc) 10182: throw () __attribute__ ((__nonnull__ (1, 3))); 10182: # 360 "/usr/include/stdlib.h" 3 4 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) atoi (const char *__nptr) throw () 10182: { 10182: return (int) strtol (__nptr, (char **) __null, 10); 10182: } 10182: extern __inline __attribute__ ((__gnu_inline__)) long int 10182: __attribute__ ((__leaf__)) atol (const char *__nptr) throw () 10182: { 10182: return strtol (__nptr, (char **) __null, 10); 10182: } 10182: 10182: 10182: __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int 10182: __attribute__ ((__leaf__)) atoll (const char *__nptr) throw () 10182: { 10182: return strtoll (__nptr, (char **) __null, 10); 10182: } 10182: # 385 "/usr/include/stdlib.h" 3 4 10182: extern char *l64a (long int __n) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern long int a64l (const char *__s) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/sys/types.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/sys/types.h" 3 4 10182: extern "C" { 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/types.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wordsize.h" 1 3 4 10182: # 28 "/usr/include/aarch64-linux-gnu/bits/types.h" 2 3 4 10182: 10182: 10182: typedef unsigned char __u_char; 10182: typedef unsigned short int __u_short; 10182: typedef unsigned int __u_int; 10182: typedef unsigned long int __u_long; 10182: 10182: 10182: typedef signed char __int8_t; 10182: typedef unsigned char __uint8_t; 10182: typedef signed short int __int16_t; 10182: typedef unsigned short int __uint16_t; 10182: typedef signed int __int32_t; 10182: typedef unsigned int __uint32_t; 10182: 10182: typedef signed long int __int64_t; 10182: typedef unsigned long int __uint64_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef long int __quad_t; 10182: typedef unsigned long int __u_quad_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef long int __intmax_t; 10182: typedef unsigned long int __uintmax_t; 10182: # 130 "/usr/include/aarch64-linux-gnu/bits/types.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/typesizes.h" 1 3 4 10182: # 131 "/usr/include/aarch64-linux-gnu/bits/types.h" 2 3 4 10182: 10182: 10182: typedef unsigned long int __dev_t; 10182: typedef unsigned int __uid_t; 10182: typedef unsigned int __gid_t; 10182: typedef unsigned long int __ino_t; 10182: typedef unsigned long int __ino64_t; 10182: typedef unsigned int __mode_t; 10182: typedef unsigned int __nlink_t; 10182: typedef long int __off_t; 10182: typedef long int __off64_t; 10182: typedef int __pid_t; 10182: typedef struct { int __val[2]; } __fsid_t; 10182: typedef long int __clock_t; 10182: typedef unsigned long int __rlim_t; 10182: typedef unsigned long int __rlim64_t; 10182: typedef unsigned int __id_t; 10182: typedef long int __time_t; 10182: typedef unsigned int __useconds_t; 10182: typedef long int __suseconds_t; 10182: 10182: typedef int __daddr_t; 10182: typedef int __key_t; 10182: 10182: 10182: typedef int __clockid_t; 10182: 10182: 10182: typedef void * __timer_t; 10182: 10182: 10182: typedef int __blksize_t; 10182: 10182: 10182: 10182: 10182: typedef long int __blkcnt_t; 10182: typedef long int __blkcnt64_t; 10182: 10182: 10182: typedef unsigned long int __fsblkcnt_t; 10182: typedef unsigned long int __fsblkcnt64_t; 10182: 10182: 10182: typedef unsigned long int __fsfilcnt_t; 10182: typedef unsigned long int __fsfilcnt64_t; 10182: 10182: 10182: typedef long int __fsword_t; 10182: 10182: typedef long int __ssize_t; 10182: 10182: 10182: typedef long int __syscall_slong_t; 10182: 10182: typedef unsigned long int __syscall_ulong_t; 10182: 10182: 10182: 10182: typedef __off64_t __loff_t; 10182: typedef char *__caddr_t; 10182: 10182: 10182: typedef long int __intptr_t; 10182: 10182: 10182: typedef unsigned int __socklen_t; 10182: 10182: 10182: 10182: 10182: typedef int __sig_atomic_t; 10182: # 30 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: 10182: typedef __u_char u_char; 10182: typedef __u_short u_short; 10182: typedef __u_int u_int; 10182: typedef __u_long u_long; 10182: typedef __quad_t quad_t; 10182: typedef __u_quad_t u_quad_t; 10182: typedef __fsid_t fsid_t; 10182: 10182: 10182: 10182: 10182: typedef __loff_t loff_t; 10182: 10182: 10182: 10182: typedef __ino_t ino_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __ino64_t ino64_t; 10182: 10182: 10182: 10182: 10182: typedef __dev_t dev_t; 10182: 10182: 10182: 10182: 10182: typedef __gid_t gid_t; 10182: 10182: 10182: 10182: 10182: typedef __mode_t mode_t; 10182: 10182: 10182: 10182: 10182: typedef __nlink_t nlink_t; 10182: 10182: 10182: 10182: 10182: typedef __uid_t uid_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef __off_t off_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __off64_t off64_t; 10182: 10182: 10182: 10182: 10182: typedef __pid_t pid_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef __id_t id_t; 10182: 10182: 10182: 10182: 10182: typedef __ssize_t ssize_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef __daddr_t daddr_t; 10182: typedef __caddr_t caddr_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef __key_t key_t; 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/clock_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __clock_t clock_t; 10182: # 128 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/clockid_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __clockid_t clockid_t; 10182: # 130 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/time_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __time_t time_t; 10182: # 131 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/timer_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __timer_t timer_t; 10182: # 132 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: 10182: typedef __useconds_t useconds_t; 10182: 10182: 10182: 10182: typedef __suseconds_t suseconds_t; 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 146 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: 10182: typedef unsigned long int ulong; 10182: typedef unsigned short int ushort; 10182: typedef unsigned int uint; 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdint-intn.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/stdint-intn.h" 3 4 10182: typedef __int8_t int8_t; 10182: typedef __int16_t int16_t; 10182: typedef __int32_t int32_t; 10182: typedef __int64_t int64_t; 10182: # 157 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: # 178 "/usr/include/aarch64-linux-gnu/sys/types.h" 3 4 10182: typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); 10182: typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); 10182: typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); 10182: typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); 10182: 10182: typedef int register_t __attribute__ ((__mode__ (__word__))); 10182: # 194 "/usr/include/aarch64-linux-gnu/sys/types.h" 3 4 10182: # 1 "/usr/include/endian.h" 1 3 4 10182: # 36 "/usr/include/endian.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/endian.h" 1 3 4 10182: # 37 "/usr/include/endian.h" 2 3 4 10182: # 60 "/usr/include/endian.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/byteswap.h" 1 3 4 10182: # 34 "/usr/include/aarch64-linux-gnu/bits/byteswap.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/byteswap-16.h" 1 3 4 10182: # 35 "/usr/include/aarch64-linux-gnu/bits/byteswap.h" 2 3 4 10182: # 43 "/usr/include/aarch64-linux-gnu/bits/byteswap.h" 3 4 10182: static __inline unsigned int 10182: __bswap_32 (unsigned int __bsx) 10182: { 10182: return __builtin_bswap32 (__bsx); 10182: } 10182: # 74 "/usr/include/aarch64-linux-gnu/bits/byteswap.h" 3 4 10182: static __inline __uint64_t 10182: __bswap_64 (__uint64_t __bsx) 10182: { 10182: return __builtin_bswap64 (__bsx); 10182: } 10182: # 61 "/usr/include/endian.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/uintn-identity.h" 1 3 4 10182: # 32 "/usr/include/aarch64-linux-gnu/bits/uintn-identity.h" 3 4 10182: static __inline __uint16_t 10182: __uint16_identity (__uint16_t __x) 10182: { 10182: return __x; 10182: } 10182: 10182: static __inline __uint32_t 10182: __uint32_identity (__uint32_t __x) 10182: { 10182: return __x; 10182: } 10182: 10182: static __inline __uint64_t 10182: __uint64_identity (__uint64_t __x) 10182: { 10182: return __x; 10182: } 10182: # 62 "/usr/include/endian.h" 2 3 4 10182: # 195 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/sys/select.h" 1 3 4 10182: # 30 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/select.h" 1 3 4 10182: # 31 "/usr/include/aarch64-linux-gnu/sys/select.h" 2 3 4 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/sigset_t.h" 1 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/__sigset_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: typedef struct 10182: { 10182: unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; 10182: } __sigset_t; 10182: # 5 "/usr/include/aarch64-linux-gnu/bits/types/sigset_t.h" 2 3 4 10182: 10182: 10182: typedef __sigset_t sigset_t; 10182: # 34 "/usr/include/aarch64-linux-gnu/sys/select.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/struct_timeval.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct timeval 10182: { 10182: __time_t tv_sec; 10182: __suseconds_t tv_usec; 10182: }; 10182: # 38 "/usr/include/aarch64-linux-gnu/sys/select.h" 2 3 4 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/struct_timespec.h" 1 3 4 10182: # 9 "/usr/include/aarch64-linux-gnu/bits/types/struct_timespec.h" 3 4 10182: struct timespec 10182: { 10182: __time_t tv_sec; 10182: __syscall_slong_t tv_nsec; 10182: }; 10182: # 40 "/usr/include/aarch64-linux-gnu/sys/select.h" 2 3 4 10182: # 49 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: typedef long int __fd_mask; 10182: # 59 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: typedef struct 10182: { 10182: 10182: 10182: 10182: __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; 10182: 10182: 10182: 10182: 10182: 10182: } fd_set; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __fd_mask fd_mask; 10182: # 91 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: extern "C" { 10182: # 101 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: extern int select (int __nfds, fd_set *__restrict __readfds, 10182: fd_set *__restrict __writefds, 10182: fd_set *__restrict __exceptfds, 10182: struct timeval *__restrict __timeout); 10182: # 113 "/usr/include/aarch64-linux-gnu/sys/select.h" 3 4 10182: extern int pselect (int __nfds, fd_set *__restrict __readfds, 10182: fd_set *__restrict __writefds, 10182: fd_set *__restrict __exceptfds, 10182: const struct timespec *__restrict __timeout, 10182: const __sigset_t *__restrict __sigmask); 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/select2.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/select2.h" 3 4 10182: extern long int __fdelt_chk (long int __d); 10182: extern long int __fdelt_warn (long int __d) 10182: __attribute__((__warning__ ("bit outside of fd_set selected"))); 10182: # 124 "/usr/include/aarch64-linux-gnu/sys/select.h" 2 3 4 10182: 10182: 10182: } 10182: # 198 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/sys/sysmacros.h" 1 3 4 10182: # 41 "/usr/include/aarch64-linux-gnu/sys/sysmacros.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/sysmacros.h" 1 3 4 10182: # 42 "/usr/include/aarch64-linux-gnu/sys/sysmacros.h" 2 3 4 10182: # 71 "/usr/include/aarch64-linux-gnu/sys/sysmacros.h" 3 4 10182: extern "C" { 10182: 10182: extern unsigned int gnu_dev_major (__dev_t __dev) throw () __attribute__ ((__const__)); 10182: extern unsigned int gnu_dev_minor (__dev_t __dev) throw () __attribute__ ((__const__)); 10182: extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_major (__dev_t __dev) throw () { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; } 10182: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__leaf__)) gnu_dev_minor (__dev_t __dev) throw () { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; } 10182: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; } 10182: 10182: 10182: 10182: } 10182: # 206 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __blksize_t blksize_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __blkcnt_t blkcnt_t; 10182: 10182: 10182: 10182: typedef __fsblkcnt_t fsblkcnt_t; 10182: 10182: 10182: 10182: typedef __fsfilcnt_t fsfilcnt_t; 10182: # 246 "/usr/include/aarch64-linux-gnu/sys/types.h" 3 4 10182: typedef __blkcnt64_t blkcnt64_t; 10182: typedef __fsblkcnt64_t fsblkcnt64_t; 10182: typedef __fsfilcnt64_t fsfilcnt64_t; 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/pthreadtypes.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/pthreadtypes.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 1 3 4 10182: # 77 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4 10182: # 54 "/usr/include/aarch64-linux-gnu/bits/pthreadtypes-arch.h" 3 4 10182: struct __pthread_rwlock_arch_t 10182: { 10182: unsigned int __readers; 10182: unsigned int __writers; 10182: unsigned int __wrphase_futex; 10182: unsigned int __writers_futex; 10182: unsigned int __pad3; 10182: unsigned int __pad4; 10182: int __cur_writer; 10182: int __shared; 10182: unsigned long int __pad1; 10182: unsigned long int __pad2; 10182: unsigned int __flags; 10182: }; 10182: # 78 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 2 3 4 10182: 10182: 10182: 10182: 10182: typedef struct __pthread_internal_list 10182: { 10182: struct __pthread_internal_list *__prev; 10182: struct __pthread_internal_list *__next; 10182: } __pthread_list_t; 10182: # 118 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 3 4 10182: struct __pthread_mutex_s 10182: { 10182: int __lock ; 10182: unsigned int __count; 10182: int __owner; 10182: 10182: unsigned int __nusers; 10182: # 148 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 3 4 10182: int __kind; 10182: 10182: 10182: 10182: 10182: 10182: int __spins; 10182: __pthread_list_t __list; 10182: # 165 "/usr/include/aarch64-linux-gnu/bits/thread-shared-types.h" 3 4 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: struct __pthread_cond_s 10182: { 10182: __extension__ union 10182: { 10182: __extension__ unsigned long long int __wseq; 10182: struct 10182: { 10182: unsigned int __low; 10182: unsigned int __high; 10182: } __wseq32; 10182: }; 10182: __extension__ union 10182: { 10182: __extension__ unsigned long long int __g1_start; 10182: struct 10182: { 10182: unsigned int __low; 10182: unsigned int __high; 10182: } __g1_start32; 10182: }; 10182: unsigned int __g_refs[2] ; 10182: unsigned int __g_size[2]; 10182: unsigned int __g1_orig_size; 10182: unsigned int __wrefs; 10182: unsigned int __g_signals[2]; 10182: }; 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/pthreadtypes.h" 2 3 4 10182: 10182: 10182: 10182: typedef unsigned long int pthread_t; 10182: 10182: 10182: 10182: 10182: typedef union 10182: { 10182: char __size[8]; 10182: int __align; 10182: } pthread_mutexattr_t; 10182: 10182: 10182: 10182: 10182: typedef union 10182: { 10182: char __size[8]; 10182: int __align; 10182: } pthread_condattr_t; 10182: 10182: 10182: 10182: typedef unsigned int pthread_key_t; 10182: 10182: 10182: 10182: typedef int pthread_once_t; 10182: 10182: 10182: union pthread_attr_t 10182: { 10182: char __size[64]; 10182: long int __align; 10182: }; 10182: 10182: typedef union pthread_attr_t pthread_attr_t; 10182: 10182: 10182: 10182: 10182: typedef union 10182: { 10182: struct __pthread_mutex_s __data; 10182: char __size[48]; 10182: long int __align; 10182: } pthread_mutex_t; 10182: 10182: 10182: typedef union 10182: { 10182: struct __pthread_cond_s __data; 10182: char __size[48]; 10182: __extension__ long long int __align; 10182: } pthread_cond_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef union 10182: { 10182: struct __pthread_rwlock_arch_t __data; 10182: char __size[56]; 10182: long int __align; 10182: } pthread_rwlock_t; 10182: 10182: typedef union 10182: { 10182: char __size[8]; 10182: long int __align; 10182: } pthread_rwlockattr_t; 10182: 10182: 10182: 10182: 10182: 10182: typedef volatile int pthread_spinlock_t; 10182: 10182: 10182: 10182: 10182: typedef union 10182: { 10182: char __size[32]; 10182: long int __align; 10182: } pthread_barrier_t; 10182: 10182: typedef union 10182: { 10182: char __size[8]; 10182: int __align; 10182: } pthread_barrierattr_t; 10182: # 255 "/usr/include/aarch64-linux-gnu/sys/types.h" 2 3 4 10182: 10182: 10182: } 10182: # 395 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int random (void) throw (); 10182: 10182: 10182: extern void srandom (unsigned int __seed) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern char *initstate (unsigned int __seed, char *__statebuf, 10182: size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct random_data 10182: { 10182: int32_t *fptr; 10182: int32_t *rptr; 10182: int32_t *state; 10182: int rand_type; 10182: int rand_deg; 10182: int rand_sep; 10182: int32_t *end_ptr; 10182: }; 10182: 10182: extern int random_r (struct random_data *__restrict __buf, 10182: int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern int srandom_r (unsigned int __seed, struct random_data *__buf) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, 10182: size_t __statelen, 10182: struct random_data *__restrict __buf) 10182: throw () __attribute__ ((__nonnull__ (2, 4))); 10182: 10182: extern int setstate_r (char *__restrict __statebuf, 10182: struct random_data *__restrict __buf) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: 10182: extern int rand (void) throw (); 10182: 10182: extern void srand (unsigned int __seed) throw (); 10182: 10182: 10182: 10182: extern int rand_r (unsigned int *__seed) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double drand48 (void) throw (); 10182: extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern long int lrand48 (void) throw (); 10182: extern long int nrand48 (unsigned short int __xsubi[3]) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern long int mrand48 (void) throw (); 10182: extern long int jrand48 (unsigned short int __xsubi[3]) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern void srand48 (long int __seedval) throw (); 10182: extern unsigned short int *seed48 (unsigned short int __seed16v[3]) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: struct drand48_data 10182: { 10182: unsigned short int __x[3]; 10182: unsigned short int __old_x[3]; 10182: unsigned short int __c; 10182: unsigned short int __init; 10182: __extension__ unsigned long long int __a; 10182: 10182: }; 10182: 10182: 10182: extern int drand48_r (struct drand48_data *__restrict __buffer, 10182: double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern int erand48_r (unsigned short int __xsubi[3], 10182: struct drand48_data *__restrict __buffer, 10182: double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int lrand48_r (struct drand48_data *__restrict __buffer, 10182: long int *__restrict __result) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern int nrand48_r (unsigned short int __xsubi[3], 10182: struct drand48_data *__restrict __buffer, 10182: long int *__restrict __result) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int mrand48_r (struct drand48_data *__restrict __buffer, 10182: long int *__restrict __result) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern int jrand48_r (unsigned short int __xsubi[3], 10182: struct drand48_data *__restrict __buffer, 10182: long int *__restrict __result) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int srand48_r (long int __seedval, struct drand48_data *__buffer) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: extern int seed48_r (unsigned short int __seed16v[3], 10182: struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern int lcong48_r (unsigned short int __param[7], 10182: struct drand48_data *__buffer) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: extern void *calloc (size_t __nmemb, size_t __size) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void *realloc (void *__ptr, size_t __size) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern void free (void *__ptr) throw (); 10182: 10182: 10182: # 1 "/usr/include/alloca.h" 1 3 4 10182: # 24 "/usr/include/alloca.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 25 "/usr/include/alloca.h" 2 3 4 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: extern void *alloca (size_t __size) throw (); 10182: 10182: 10182: 10182: 10182: 10182: } 10182: # 567 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern void *aligned_alloc (size_t __alignment, size_t __size) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern void abort (void) throw () __attribute__ ((__noreturn__)); 10182: 10182: 10182: 10182: extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern "C++" int at_quick_exit (void (*__func) (void)) 10182: throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); 10182: # 607 "/usr/include/stdlib.h" 3 4 10182: extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern void exit (int __status) throw () __attribute__ ((__noreturn__)); 10182: 10182: 10182: 10182: 10182: 10182: extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); 10182: 10182: 10182: 10182: 10182: 10182: extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); 10182: 10182: 10182: 10182: 10182: extern char *getenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern char *secure_getenv (const char *__name) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int setenv (const char *__name, const char *__value, int __replace) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: extern int unsetenv (const char *__name) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int clearenv (void) throw (); 10182: # 672 "/usr/include/stdlib.h" 3 4 10182: extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); 10182: # 685 "/usr/include/stdlib.h" 3 4 10182: extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 695 "/usr/include/stdlib.h" 3 4 10182: extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 707 "/usr/include/stdlib.h" 3 4 10182: extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 717 "/usr/include/stdlib.h" 3 4 10182: extern int mkstemps64 (char *__template, int __suffixlen) 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 728 "/usr/include/stdlib.h" 3 4 10182: extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 739 "/usr/include/stdlib.h" 3 4 10182: extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 749 "/usr/include/stdlib.h" 3 4 10182: extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 759 "/usr/include/stdlib.h" 3 4 10182: extern int mkostemps (char *__template, int __suffixlen, int __flags) 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 771 "/usr/include/stdlib.h" 3 4 10182: extern int mkostemps64 (char *__template, int __suffixlen, int __flags) 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 781 "/usr/include/stdlib.h" 3 4 10182: extern int system (const char *__command) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern char *canonicalize_file_name (const char *__name) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 797 "/usr/include/stdlib.h" 3 4 10182: extern char *realpath (const char *__restrict __name, 10182: char *__restrict __resolved) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef int (*__compar_fn_t) (const void *, const void *); 10182: 10182: 10182: typedef __compar_fn_t comparison_fn_t; 10182: 10182: 10182: 10182: typedef int (*__compar_d_fn_t) (const void *, const void *, void *); 10182: 10182: 10182: 10182: 10182: extern void *bsearch (const void *__key, const void *__base, 10182: size_t __nmemb, size_t __size, __compar_fn_t __compar) 10182: __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdlib-bsearch.h" 1 3 4 10182: # 19 "/usr/include/aarch64-linux-gnu/bits/stdlib-bsearch.h" 3 4 10182: extern __inline __attribute__ ((__gnu_inline__)) void * 10182: bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, 10182: __compar_fn_t __compar) 10182: { 10182: size_t __l, __u, __idx; 10182: const void *__p; 10182: int __comparison; 10182: 10182: __l = 0; 10182: __u = __nmemb; 10182: while (__l < __u) 10182: { 10182: __idx = (__l + __u) / 2; 10182: __p = (void *) (((const char *) __base) + (__idx * __size)); 10182: __comparison = (*__compar) (__key, __p); 10182: if (__comparison < 0) 10182: __u = __idx; 10182: else if (__comparison > 0) 10182: __l = __idx + 1; 10182: else 10182: return (void *) __p; 10182: } 10182: 10182: return __null; 10182: } 10182: # 823 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: 10182: extern void qsort (void *__base, size_t __nmemb, size_t __size, 10182: __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: extern void qsort_r (void *__base, size_t __nmemb, size_t __size, 10182: __compar_d_fn_t __compar, void *__arg) 10182: __attribute__ ((__nonnull__ (1, 4))); 10182: 10182: 10182: 10182: 10182: extern int abs (int __x) throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: extern long int labs (long int __x) throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: __extension__ extern long long int llabs (long long int __x) 10182: throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern div_t div (int __numer, int __denom) 10182: throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: extern ldiv_t ldiv (long int __numer, long int __denom) 10182: throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: __extension__ extern lldiv_t lldiv (long long int __numer, 10182: long long int __denom) 10182: throw () __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); 10182: # 869 "/usr/include/stdlib.h" 3 4 10182: extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, 10182: int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, 10182: int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern char *gcvt (double __value, int __ndigit, char *__buf) 10182: throw () __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern char *qecvt (long double __value, int __ndigit, 10182: int *__restrict __decpt, int *__restrict __sign) 10182: throw () __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); 10182: extern char *qfcvt (long double __value, int __ndigit, 10182: int *__restrict __decpt, int *__restrict __sign) 10182: throw () __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); 10182: extern char *qgcvt (long double __value, int __ndigit, char *__buf) 10182: throw () __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, 10182: int *__restrict __sign, char *__restrict __buf, 10182: size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); 10182: extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, 10182: int *__restrict __sign, char *__restrict __buf, 10182: size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); 10182: 10182: extern int qecvt_r (long double __value, int __ndigit, 10182: int *__restrict __decpt, int *__restrict __sign, 10182: char *__restrict __buf, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (3, 4, 5))); 10182: extern int qfcvt_r (long double __value, int __ndigit, 10182: int *__restrict __decpt, int *__restrict __sign, 10182: char *__restrict __buf, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (3, 4, 5))); 10182: 10182: 10182: 10182: 10182: 10182: extern int mblen (const char *__s, size_t __n) throw (); 10182: 10182: 10182: extern int mbtowc (wchar_t *__restrict __pwc, 10182: const char *__restrict __s, size_t __n) throw (); 10182: 10182: 10182: extern int wctomb (char *__s, wchar_t __wchar) throw (); 10182: 10182: 10182: 10182: extern size_t mbstowcs (wchar_t *__restrict __pwcs, 10182: const char *__restrict __s, size_t __n) throw (); 10182: 10182: extern size_t wcstombs (char *__restrict __s, 10182: const wchar_t *__restrict __pwcs, size_t __n) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int rpmatch (const char *__response) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 954 "/usr/include/stdlib.h" 3 4 10182: extern int getsubopt (char **__restrict __optionp, 10182: char *const *__restrict __tokens, 10182: char **__restrict __valuep) 10182: throw () __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern void setkey (const char *__key) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int grantpt (int __fd) throw (); 10182: 10182: 10182: 10182: extern int unlockpt (int __fd) throw (); 10182: 10182: 10182: 10182: 10182: extern char *ptsname (int __fd) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int ptsname_r (int __fd, char *__buf, size_t __buflen) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: extern int getpt (void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int getloadavg (double __loadavg[], int __nelem) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: # 1016 "/usr/include/stdlib.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdlib-float.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/stdlib-float.h" 3 4 10182: extern __inline __attribute__ ((__gnu_inline__)) double 10182: __attribute__ ((__leaf__)) atof (const char *__nptr) throw () 10182: { 10182: return strtod (__nptr, (char **) __null); 10182: } 10182: # 1017 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdlib.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/stdlib.h" 3 4 10182: extern char *__realpath_chk (const char *__restrict __name, 10182: char *__restrict __resolved, 10182: size_t __resolvedlen) throw () __attribute__ ((__warn_unused_result__)); 10182: extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) throw () __asm__ ("" "realpath") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) throw () __asm__ ("" "__realpath_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) 10182: __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * 10182: __attribute__ ((__leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved) throw () 10182: { 10182: if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) 10182: { 10182: 10182: 10182: 10182: 10182: return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); 10182: } 10182: 10182: return __realpath_alias (__name, __resolved); 10182: } 10182: 10182: 10182: extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, 10182: size_t __nreal) throw () __attribute__ ((__nonnull__ (2))); 10182: extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) throw () __asm__ ("" "ptsname_r") 10182: 10182: __attribute__ ((__nonnull__ (2))); 10182: extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) throw () __asm__ ("" "__ptsname_r_chk") 10182: 10182: 10182: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__buflen)) 10182: return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: if (__buflen > __builtin_object_size (__buf, 2 > 1)) 10182: return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __ptsname_r_alias (__fd, __buf, __buflen); 10182: } 10182: 10182: 10182: extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: extern int __wctomb_alias (char *__s, wchar_t __wchar) throw () __asm__ ("" "wctomb") 10182: __attribute__ ((__warn_unused_result__)); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int 10182: __attribute__ ((__leaf__)) wctomb (char *__s, wchar_t __wchar) throw () 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) 10182: return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); 10182: return __wctomb_alias (__s, __wchar); 10182: } 10182: 10182: 10182: extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, 10182: const char *__restrict __src, 10182: size_t __len, size_t __dstlen) throw (); 10182: extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) throw () __asm__ ("" "mbstowcs") 10182: 10182: 10182: ; 10182: extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) throw () __asm__ ("" "__mbstowcs_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __mbstowcs_chk (__dst, __src, __len, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: 10182: if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) 10182: return __mbstowcs_chk_warn (__dst, __src, __len, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: } 10182: return __mbstowcs_alias (__dst, __src, __len); 10182: } 10182: 10182: 10182: extern size_t __wcstombs_chk (char *__restrict __dst, 10182: const wchar_t *__restrict __src, 10182: size_t __len, size_t __dstlen) throw (); 10182: extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) throw () __asm__ ("" "wcstombs") 10182: 10182: 10182: ; 10182: extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) throw () __asm__ ("" "__wcstombs_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); 10182: if (__len > __builtin_object_size (__dst, 2 > 1)) 10182: return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); 10182: } 10182: return __wcstombs_alias (__dst, __src, __len); 10182: } 10182: # 1021 "/usr/include/stdlib.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: } 10182: # 76 "/usr/include/c++/7/cstdlib" 2 3 10182: 10182: # 1 "/usr/include/c++/7/bits/std_abs.h" 1 3 10182: # 33 "/usr/include/c++/7/bits/std_abs.h" 3 10182: 10182: # 34 "/usr/include/c++/7/bits/std_abs.h" 3 10182: # 46 "/usr/include/c++/7/bits/std_abs.h" 3 10182: extern "C++" 10182: { 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: using ::abs; 10182: 10182: 10182: inline long 10182: abs(long __i) { return __builtin_labs(__i); } 10182: 10182: 10182: 10182: inline long long 10182: abs(long long __x) { return __builtin_llabs (__x); } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: inline constexpr double 10182: abs(double __x) 10182: { return __builtin_fabs(__x); } 10182: 10182: inline constexpr float 10182: abs(float __x) 10182: { return __builtin_fabsf(__x); } 10182: 10182: inline constexpr long double 10182: abs(long double __x) 10182: { return __builtin_fabsl(__x); } 10182: # 106 "/usr/include/c++/7/bits/std_abs.h" 3 10182: 10182: } 10182: } 10182: # 78 "/usr/include/c++/7/cstdlib" 2 3 10182: # 121 "/usr/include/c++/7/cstdlib" 3 10182: extern "C++" 10182: { 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: using ::div_t; 10182: using ::ldiv_t; 10182: 10182: using ::abort; 10182: 10182: 10182: 10182: using ::atexit; 10182: 10182: 10182: using ::at_quick_exit; 10182: 10182: 10182: using ::atof; 10182: using ::atoi; 10182: using ::atol; 10182: using ::bsearch; 10182: using ::calloc; 10182: using ::div; 10182: using ::exit; 10182: using ::free; 10182: using ::getenv; 10182: using ::labs; 10182: using ::ldiv; 10182: using ::malloc; 10182: 10182: using ::mblen; 10182: using ::mbstowcs; 10182: using ::mbtowc; 10182: 10182: using ::qsort; 10182: 10182: 10182: using ::quick_exit; 10182: 10182: 10182: using ::rand; 10182: using ::realloc; 10182: using ::srand; 10182: using ::strtod; 10182: using ::strtol; 10182: using ::strtoul; 10182: using ::system; 10182: 10182: using ::wcstombs; 10182: using ::wctomb; 10182: 10182: 10182: 10182: inline ldiv_t 10182: div(long __i, long __j) { return ldiv(__i, __j); } 10182: 10182: 10182: 10182: 10182: } 10182: # 195 "/usr/include/c++/7/cstdlib" 3 10182: namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: 10182: using ::lldiv_t; 10182: 10182: 10182: 10182: 10182: 10182: using ::_Exit; 10182: 10182: 10182: 10182: using ::llabs; 10182: 10182: inline lldiv_t 10182: div(long long __n, long long __d) 10182: { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } 10182: 10182: using ::lldiv; 10182: # 227 "/usr/include/c++/7/cstdlib" 3 10182: using ::atoll; 10182: using ::strtoll; 10182: using ::strtoull; 10182: 10182: using ::strtof; 10182: using ::strtold; 10182: 10182: 10182: } 10182: 10182: namespace std 10182: { 10182: 10182: using ::__gnu_cxx::lldiv_t; 10182: 10182: using ::__gnu_cxx::_Exit; 10182: 10182: using ::__gnu_cxx::llabs; 10182: using ::__gnu_cxx::div; 10182: using ::__gnu_cxx::lldiv; 10182: 10182: using ::__gnu_cxx::atoll; 10182: using ::__gnu_cxx::strtof; 10182: using ::__gnu_cxx::strtoll; 10182: using ::__gnu_cxx::strtoull; 10182: using ::__gnu_cxx::strtold; 10182: } 10182: 10182: 10182: 10182: } 10182: # 37 "/usr/include/c++/7/stdlib.h" 2 3 10182: 10182: using std::abort; 10182: using std::atexit; 10182: using std::exit; 10182: 10182: 10182: using std::at_quick_exit; 10182: 10182: 10182: using std::quick_exit; 10182: 10182: 10182: 10182: 10182: using std::div_t; 10182: using std::ldiv_t; 10182: 10182: using std::abs; 10182: using std::atof; 10182: using std::atoi; 10182: using std::atol; 10182: using std::bsearch; 10182: using std::calloc; 10182: using std::div; 10182: using std::free; 10182: using std::getenv; 10182: using std::labs; 10182: using std::ldiv; 10182: using std::malloc; 10182: 10182: using std::mblen; 10182: using std::mbstowcs; 10182: using std::mbtowc; 10182: 10182: using std::qsort; 10182: using std::rand; 10182: using std::realloc; 10182: using std::srand; 10182: using std::strtod; 10182: using std::strtol; 10182: using std::strtoul; 10182: using std::system; 10182: 10182: using std::wcstombs; 10182: using std::wctomb; 10182: # 221 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/include/memory.h" 1 3 4 10182: # 29 "/usr/include/memory.h" 3 4 10182: # 1 "/usr/include/string.h" 1 3 4 10182: # 26 "/usr/include/string.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 27 "/usr/include/string.h" 2 3 4 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 34 "/usr/include/string.h" 2 3 4 10182: # 42 "/usr/include/string.h" 3 4 10182: extern void *memcpy (void *__restrict __dest, const void *__restrict __src, 10182: size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern void *memmove (void *__dest, const void *__src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: 10182: extern void *memccpy (void *__restrict __dest, const void *__restrict __src, 10182: int __c, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern int memcmp (const void *__s1, const void *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern "C++" 10182: { 10182: extern void *memchr (void *__s, int __c, size_t __n) 10182: throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern const void *memchr (const void *__s, int __c, size_t __n) 10182: throw () __asm ("memchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) void * 10182: memchr (void *__s, int __c, size_t __n) throw () 10182: { 10182: return __builtin_memchr (__s, __c, __n); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const void * 10182: memchr (const void *__s, int __c, size_t __n) throw () 10182: { 10182: return __builtin_memchr (__s, __c, __n); 10182: } 10182: 10182: } 10182: # 98 "/usr/include/string.h" 3 4 10182: extern "C++" void *rawmemchr (void *__s, int __c) 10182: throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern "C++" const void *rawmemchr (const void *__s, int __c) 10182: throw () __asm ("rawmemchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" void *memrchr (void *__s, int __c, size_t __n) 10182: throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern "C++" const void *memrchr (const void *__s, int __c, size_t __n) 10182: throw () __asm ("memrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: # 121 "/usr/include/string.h" 3 4 10182: extern char *strcpy (char *__restrict __dest, const char *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern char *strncpy (char *__restrict __dest, 10182: const char *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern char *strcat (char *__restrict __dest, const char *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern char *strncat (char *__restrict __dest, const char *__restrict __src, 10182: size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int strcmp (const char *__s1, const char *__s2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern int strncmp (const char *__s1, const char *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int strcoll (const char *__s1, const char *__s2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern size_t strxfrm (char *__restrict __dest, 10182: const char *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); 10182: 10182: 10182: extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, 10182: locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); 10182: 10182: 10182: 10182: 10182: 10182: extern char *strdup (const char *__s) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *strndup (const char *__string, size_t __n) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); 10182: # 203 "/usr/include/string.h" 3 4 10182: extern "C++" 10182: { 10182: extern char *strchr (char *__s, int __c) 10182: throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern const char *strchr (const char *__s, int __c) 10182: throw () __asm ("strchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: strchr (char *__s, int __c) throw () 10182: { 10182: return __builtin_strchr (__s, __c); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: strchr (const char *__s, int __c) throw () 10182: { 10182: return __builtin_strchr (__s, __c); 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" 10182: { 10182: extern char *strrchr (char *__s, int __c) 10182: throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern const char *strrchr (const char *__s, int __c) 10182: throw () __asm ("strrchr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: strrchr (char *__s, int __c) throw () 10182: { 10182: return __builtin_strrchr (__s, __c); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: strrchr (const char *__s, int __c) throw () 10182: { 10182: return __builtin_strrchr (__s, __c); 10182: } 10182: 10182: } 10182: # 260 "/usr/include/string.h" 3 4 10182: extern "C++" char *strchrnul (char *__s, int __c) 10182: throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern "C++" const char *strchrnul (const char *__s, int __c) 10182: throw () __asm ("strchrnul") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: # 272 "/usr/include/string.h" 3 4 10182: extern size_t strcspn (const char *__s, const char *__reject) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern size_t strspn (const char *__s, const char *__accept) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern "C++" 10182: { 10182: extern char *strpbrk (char *__s, const char *__accept) 10182: throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: extern const char *strpbrk (const char *__s, const char *__accept) 10182: throw () __asm ("strpbrk") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: strpbrk (char *__s, const char *__accept) throw () 10182: { 10182: return __builtin_strpbrk (__s, __accept); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: strpbrk (const char *__s, const char *__accept) throw () 10182: { 10182: return __builtin_strpbrk (__s, __accept); 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" 10182: { 10182: extern char *strstr (char *__haystack, const char *__needle) 10182: throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: extern const char *strstr (const char *__haystack, const char *__needle) 10182: throw () __asm ("strstr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: strstr (char *__haystack, const char *__needle) throw () 10182: { 10182: return __builtin_strstr (__haystack, __needle); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: strstr (const char *__haystack, const char *__needle) throw () 10182: { 10182: return __builtin_strstr (__haystack, __needle); 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *strtok (char *__restrict __s, const char *__restrict __delim) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern char *__strtok_r (char *__restrict __s, 10182: const char *__restrict __delim, 10182: char **__restrict __save_ptr) 10182: throw () __attribute__ ((__nonnull__ (2, 3))); 10182: 10182: extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, 10182: char **__restrict __save_ptr) 10182: throw () __attribute__ ((__nonnull__ (2, 3))); 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" char *strcasestr (char *__haystack, const char *__needle) 10182: throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: extern "C++" const char *strcasestr (const char *__haystack, 10182: const char *__needle) 10182: throw () __asm ("strcasestr") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: # 368 "/usr/include/string.h" 3 4 10182: extern void *memmem (const void *__haystack, size_t __haystacklen, 10182: const void *__needle, size_t __needlelen) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); 10182: 10182: 10182: 10182: extern void *__mempcpy (void *__restrict __dest, 10182: const void *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern void *mempcpy (void *__restrict __dest, 10182: const void *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern size_t strlen (const char *__s) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern size_t strnlen (const char *__string, size_t __maxlen) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern char *strerror (int __errnum) throw (); 10182: # 420 "/usr/include/string.h" 3 4 10182: extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) 10182: throw () __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern char *strerror_l (int __errnum, locale_t __l) throw (); 10182: 10182: 10182: 10182: # 1 "/usr/include/strings.h" 1 3 4 10182: # 23 "/usr/include/strings.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 24 "/usr/include/strings.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: extern int bcmp (const void *__s1, const void *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern void bcopy (const void *__src, void *__dest, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern "C++" 10182: { 10182: extern char *index (char *__s, int __c) 10182: throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern const char *index (const char *__s, int __c) 10182: throw () __asm ("index") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: index (char *__s, int __c) throw () 10182: { 10182: return __builtin_index (__s, __c); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: index (const char *__s, int __c) throw () 10182: { 10182: return __builtin_index (__s, __c); 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" 10182: { 10182: extern char *rindex (char *__s, int __c) 10182: throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: extern const char *rindex (const char *__s, int __c) 10182: throw () __asm ("rindex") __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) char * 10182: rindex (char *__s, int __c) throw () 10182: { 10182: return __builtin_rindex (__s, __c); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) const char * 10182: rindex (const char *__s, int __c) throw () 10182: { 10182: return __builtin_rindex (__s, __c); 10182: } 10182: 10182: } 10182: # 104 "/usr/include/strings.h" 3 4 10182: extern int ffs (int __i) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int ffsl (long int __l) throw () __attribute__ ((__const__)); 10182: __extension__ extern int ffsll (long long int __ll) 10182: throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern int strcasecmp (const char *__s1, const char *__s2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); 10182: 10182: 10182: 10182: extern int strncasecmp_l (const char *__s1, const char *__s2, 10182: size_t __n, locale_t __loc) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); 10182: 10182: 10182: } 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/strings_fortified.h" 1 3 4 10182: # 22 "/usr/include/aarch64-linux-gnu/bits/strings_fortified.h" 3 4 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void 10182: __attribute__ ((__leaf__)) bcopy (const void *__src, void *__dest, size_t __len) throw () 10182: { 10182: (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void 10182: __attribute__ ((__leaf__)) bzero (void *__dest, size_t __len) throw () 10182: { 10182: (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); 10182: } 10182: # 145 "/usr/include/strings.h" 2 3 4 10182: # 432 "/usr/include/string.h" 2 3 4 10182: 10182: 10182: 10182: extern void explicit_bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern char *strsep (char **__restrict __stringp, 10182: const char *__restrict __delim) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern char *strsignal (int __sig) throw (); 10182: 10182: 10182: extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern char *__stpncpy (char *__restrict __dest, 10182: const char *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern char *stpncpy (char *__restrict __dest, 10182: const char *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern int strverscmp (const char *__s1, const char *__s2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" char *basename (char *__filename) 10182: throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); 10182: extern "C++" const char *basename (const char *__filename) 10182: throw () __asm ("basename") __attribute__ ((__nonnull__ (1))); 10182: # 494 "/usr/include/string.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/string_fortified.h" 1 3 4 10182: # 30 "/usr/include/aarch64-linux-gnu/bits/string_fortified.h" 3 4 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * 10182: __attribute__ ((__leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * 10182: __attribute__ ((__leaf__)) memmove (void *__dest, const void *__src, size_t __len) throw () 10182: { 10182: return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * 10182: __attribute__ ((__leaf__)) mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: # 58 "/usr/include/aarch64-linux-gnu/bits/string_fortified.h" 3 4 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * 10182: __attribute__ ((__leaf__)) memset (void *__dest, int __ch, size_t __len) throw () 10182: { 10182: # 71 "/usr/include/aarch64-linux-gnu/bits/string_fortified.h" 3 4 10182: return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: 10182: 10182: 10182: 10182: void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void 10182: __attribute__ ((__leaf__)) explicit_bzero (void *__dest, size_t __len) throw () 10182: { 10182: __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0)); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src) throw () 10182: { 10182: return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src) throw () 10182: { 10182: return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); 10182: } 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); 10182: } 10182: 10182: 10182: extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, 10182: size_t __destlen) throw (); 10182: extern char *__stpncpy_alias (char *__dest, const char *__src, size_t __n) throw () __asm__ ("" "stpncpy") 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) stpncpy (char *__dest, const char *__src, size_t __n) throw () 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 10182: && (!__builtin_constant_p (__n) || __n > __builtin_object_size (__dest, 2 > 1))) 10182: return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); 10182: return __stpncpy_alias (__dest, __src, __n); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) strcat (char *__restrict __dest, const char *__restrict __src) throw () 10182: { 10182: return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * 10182: __attribute__ ((__leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len) throw () 10182: 10182: { 10182: return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); 10182: } 10182: # 495 "/usr/include/string.h" 2 3 4 10182: 10182: 10182: 10182: } 10182: # 30 "/usr/include/memory.h" 2 3 4 10182: # 222 "/<>/external/onurbs/opennurbs_system.h" 2 10182: 10182: 10182: 10182: # 1 "/usr/include/malloc.h" 1 3 4 10182: # 23 "/usr/include/malloc.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 149 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 3 4 10182: typedef long int ptrdiff_t; 10182: # 426 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 3 4 10182: typedef struct { 10182: long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); 10182: long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); 10182: # 437 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 3 4 10182: } max_align_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef decltype(nullptr) nullptr_t; 10182: # 24 "/usr/include/malloc.h" 2 3 4 10182: # 1 "/usr/include/stdio.h" 1 3 4 10182: # 27 "/usr/include/stdio.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 28 "/usr/include/stdio.h" 2 3 4 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 34 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/__FILE.h" 1 3 4 10182: 10182: 10182: 10182: struct _IO_FILE; 10182: typedef struct _IO_FILE __FILE; 10182: # 37 "/usr/include/stdio.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/FILE.h" 1 3 4 10182: 10182: 10182: 10182: struct _IO_FILE; 10182: 10182: 10182: typedef struct _IO_FILE FILE; 10182: # 38 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libio.h" 1 3 4 10182: # 35 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/_G_config.h" 1 3 4 10182: # 19 "/usr/include/aarch64-linux-gnu/bits/_G_config.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 20 "/usr/include/aarch64-linux-gnu/bits/_G_config.h" 2 3 4 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/__mbstate_t.h" 1 3 4 10182: # 13 "/usr/include/aarch64-linux-gnu/bits/types/__mbstate_t.h" 3 4 10182: typedef struct 10182: { 10182: int __count; 10182: union 10182: { 10182: unsigned int __wch; 10182: char __wchb[4]; 10182: } __value; 10182: } __mbstate_t; 10182: # 22 "/usr/include/aarch64-linux-gnu/bits/_G_config.h" 2 3 4 10182: 10182: 10182: 10182: 10182: typedef struct 10182: { 10182: __off_t __pos; 10182: __mbstate_t __state; 10182: } _G_fpos_t; 10182: typedef struct 10182: { 10182: __off64_t __pos; 10182: __mbstate_t __state; 10182: } _G_fpos64_t; 10182: # 36 "/usr/include/aarch64-linux-gnu/bits/libio.h" 2 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stdarg.h" 1 3 4 10182: # 40 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stdarg.h" 3 4 10182: typedef __builtin_va_list __gnuc_va_list; 10182: # 54 "/usr/include/aarch64-linux-gnu/bits/libio.h" 2 3 4 10182: # 149 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: struct _IO_jump_t; struct _IO_FILE; 10182: 10182: 10182: 10182: 10182: typedef void _IO_lock_t; 10182: 10182: 10182: 10182: 10182: 10182: struct _IO_marker { 10182: struct _IO_marker *_next; 10182: struct _IO_FILE *_sbuf; 10182: 10182: 10182: 10182: int _pos; 10182: # 177 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: }; 10182: 10182: 10182: enum __codecvt_result 10182: { 10182: __codecvt_ok, 10182: __codecvt_partial, 10182: __codecvt_error, 10182: __codecvt_noconv 10182: }; 10182: # 245 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: struct _IO_FILE { 10182: int _flags; 10182: 10182: 10182: 10182: 10182: char* _IO_read_ptr; 10182: char* _IO_read_end; 10182: char* _IO_read_base; 10182: char* _IO_write_base; 10182: char* _IO_write_ptr; 10182: char* _IO_write_end; 10182: char* _IO_buf_base; 10182: char* _IO_buf_end; 10182: 10182: char *_IO_save_base; 10182: char *_IO_backup_base; 10182: char *_IO_save_end; 10182: 10182: struct _IO_marker *_markers; 10182: 10182: struct _IO_FILE *_chain; 10182: 10182: int _fileno; 10182: 10182: 10182: 10182: int _flags2; 10182: 10182: __off_t _old_offset; 10182: 10182: 10182: 10182: unsigned short _cur_column; 10182: signed char _vtable_offset; 10182: char _shortbuf[1]; 10182: 10182: 10182: 10182: _IO_lock_t *_lock; 10182: # 293 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: __off64_t _offset; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void *__pad1; 10182: void *__pad2; 10182: void *__pad3; 10182: void *__pad4; 10182: 10182: size_t __pad5; 10182: int _mode; 10182: 10182: char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: struct _IO_FILE_plus; 10182: 10182: extern struct _IO_FILE_plus _IO_2_1_stdin_; 10182: extern struct _IO_FILE_plus _IO_2_1_stdout_; 10182: extern struct _IO_FILE_plus _IO_2_1_stderr_; 10182: # 337 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf, 10182: size_t __n); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); 10182: 10182: 10182: typedef int __io_close_fn (void *__cookie); 10182: 10182: 10182: 10182: 10182: typedef __io_read_fn cookie_read_function_t; 10182: typedef __io_write_fn cookie_write_function_t; 10182: typedef __io_seek_fn cookie_seek_function_t; 10182: typedef __io_close_fn cookie_close_function_t; 10182: 10182: 10182: typedef struct 10182: { 10182: __io_read_fn *read; 10182: __io_write_fn *write; 10182: __io_seek_fn *seek; 10182: __io_close_fn *close; 10182: } _IO_cookie_io_functions_t; 10182: typedef _IO_cookie_io_functions_t cookie_io_functions_t; 10182: 10182: struct _IO_cookie_file; 10182: 10182: 10182: extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, 10182: void *__cookie, _IO_cookie_io_functions_t __fns); 10182: 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: extern int __underflow (_IO_FILE *); 10182: extern int __uflow (_IO_FILE *); 10182: extern int __overflow (_IO_FILE *, int); 10182: # 433 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: extern int _IO_getc (_IO_FILE *__fp); 10182: extern int _IO_putc (int __c, _IO_FILE *__fp); 10182: extern int _IO_feof (_IO_FILE *__fp) throw (); 10182: extern int _IO_ferror (_IO_FILE *__fp) throw (); 10182: 10182: extern int _IO_peekc_locked (_IO_FILE *__fp); 10182: 10182: 10182: 10182: 10182: 10182: extern void _IO_flockfile (_IO_FILE *) throw (); 10182: extern void _IO_funlockfile (_IO_FILE *) throw (); 10182: extern int _IO_ftrylockfile (_IO_FILE *) throw (); 10182: # 462 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, 10182: __gnuc_va_list, int *__restrict); 10182: extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, 10182: __gnuc_va_list); 10182: extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); 10182: extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); 10182: 10182: extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); 10182: extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); 10182: 10182: extern void _IO_free_backup_area (_IO_FILE *) throw (); 10182: # 524 "/usr/include/aarch64-linux-gnu/bits/libio.h" 3 4 10182: } 10182: # 42 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: 10182: 10182: typedef __gnuc_va_list va_list; 10182: # 78 "/usr/include/stdio.h" 3 4 10182: typedef _G_fpos_t fpos_t; 10182: 10182: 10182: 10182: 10182: typedef _G_fpos64_t fpos64_t; 10182: # 131 "/usr/include/stdio.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdio_lim.h" 1 3 4 10182: # 132 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: 10182: extern struct _IO_FILE *stdin; 10182: extern struct _IO_FILE *stdout; 10182: extern struct _IO_FILE *stderr; 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int remove (const char *__filename) throw (); 10182: 10182: extern int rename (const char *__old, const char *__new) throw (); 10182: 10182: 10182: 10182: extern int renameat (int __oldfd, const char *__old, int __newfd, 10182: const char *__new) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); 10182: # 169 "/usr/include/stdio.h" 3 4 10182: extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern char *tmpnam (char *__s) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern char *tmpnam_r (char *__s) throw () __attribute__ ((__warn_unused_result__)); 10182: # 190 "/usr/include/stdio.h" 3 4 10182: extern char *tempnam (const char *__dir, const char *__pfx) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fclose (FILE *__stream); 10182: 10182: 10182: 10182: 10182: extern int fflush (FILE *__stream); 10182: # 213 "/usr/include/stdio.h" 3 4 10182: extern int fflush_unlocked (FILE *__stream); 10182: # 223 "/usr/include/stdio.h" 3 4 10182: extern int fcloseall (void); 10182: # 232 "/usr/include/stdio.h" 3 4 10182: extern FILE *fopen (const char *__restrict __filename, 10182: const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern FILE *freopen (const char *__restrict __filename, 10182: const char *__restrict __modes, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: # 256 "/usr/include/stdio.h" 3 4 10182: extern FILE *fopen64 (const char *__restrict __filename, 10182: const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); 10182: extern FILE *freopen64 (const char *__restrict __filename, 10182: const char *__restrict __modes, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern FILE *fdopen (int __fd, const char *__modes) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern FILE *fopencookie (void *__restrict __magic_cookie, 10182: const char *__restrict __modes, 10182: _IO_cookie_io_functions_t __io_funcs) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); 10182: 10182: 10182: 10182: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, 10182: int __modes, size_t __n) throw (); 10182: 10182: 10182: 10182: 10182: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, 10182: size_t __size) throw (); 10182: 10182: 10182: extern void setlinebuf (FILE *__stream) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fprintf (FILE *__restrict __stream, 10182: const char *__restrict __format, ...); 10182: 10182: 10182: 10182: 10182: extern int printf (const char *__restrict __format, ...); 10182: 10182: extern int sprintf (char *__restrict __s, 10182: const char *__restrict __format, ...) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, 10182: __gnuc_va_list __arg); 10182: 10182: 10182: 10182: 10182: extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); 10182: 10182: extern int vsprintf (char *__restrict __s, const char *__restrict __format, 10182: __gnuc_va_list __arg) throw (); 10182: 10182: 10182: 10182: extern int snprintf (char *__restrict __s, size_t __maxlen, 10182: const char *__restrict __format, ...) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 4))); 10182: 10182: extern int vsnprintf (char *__restrict __s, size_t __maxlen, 10182: const char *__restrict __format, __gnuc_va_list __arg) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 0))); 10182: 10182: 10182: 10182: 10182: 10182: extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, 10182: __gnuc_va_list __arg) 10182: throw () __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); 10182: extern int __asprintf (char **__restrict __ptr, 10182: const char *__restrict __fmt, ...) 10182: throw () __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); 10182: extern int asprintf (char **__restrict __ptr, 10182: const char *__restrict __fmt, ...) 10182: throw () __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int vdprintf (int __fd, const char *__restrict __fmt, 10182: __gnuc_va_list __arg) 10182: __attribute__ ((__format__ (__printf__, 2, 0))); 10182: extern int dprintf (int __fd, const char *__restrict __fmt, ...) 10182: __attribute__ ((__format__ (__printf__, 2, 3))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fscanf (FILE *__restrict __stream, 10182: const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); 10182: 10182: extern int sscanf (const char *__restrict __s, 10182: const char *__restrict __format, ...) throw (); 10182: # 420 "/usr/include/stdio.h" 3 4 10182: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, 10182: __gnuc_va_list __arg) 10182: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) 10182: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern int vsscanf (const char *__restrict __s, 10182: const char *__restrict __format, __gnuc_va_list __arg) 10182: throw () __attribute__ ((__format__ (__scanf__, 2, 0))); 10182: # 477 "/usr/include/stdio.h" 3 4 10182: extern int fgetc (FILE *__stream); 10182: extern int getc (FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: extern int getchar (void); 10182: # 495 "/usr/include/stdio.h" 3 4 10182: extern int getc_unlocked (FILE *__stream); 10182: extern int getchar_unlocked (void); 10182: # 506 "/usr/include/stdio.h" 3 4 10182: extern int fgetc_unlocked (FILE *__stream); 10182: # 517 "/usr/include/stdio.h" 3 4 10182: extern int fputc (int __c, FILE *__stream); 10182: extern int putc (int __c, FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: extern int putchar (int __c); 10182: # 537 "/usr/include/stdio.h" 3 4 10182: extern int fputc_unlocked (int __c, FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int putc_unlocked (int __c, FILE *__stream); 10182: extern int putchar_unlocked (int __c); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int getw (FILE *__stream); 10182: 10182: 10182: extern int putw (int __w, FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) 10182: __attribute__ ((__warn_unused_result__)); 10182: # 587 "/usr/include/stdio.h" 3 4 10182: extern char *fgets_unlocked (char *__restrict __s, int __n, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: # 603 "/usr/include/stdio.h" 3 4 10182: extern __ssize_t __getdelim (char **__restrict __lineptr, 10182: size_t *__restrict __n, int __delimiter, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern __ssize_t getdelim (char **__restrict __lineptr, 10182: size_t *__restrict __n, int __delimiter, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __ssize_t getline (char **__restrict __lineptr, 10182: size_t *__restrict __n, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fputs (const char *__restrict __s, FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: extern int puts (const char *__s); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int ungetc (int __c, FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern size_t fread (void *__restrict __ptr, size_t __size, 10182: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern size_t fwrite (const void *__restrict __ptr, size_t __size, 10182: size_t __n, FILE *__restrict __s); 10182: # 662 "/usr/include/stdio.h" 3 4 10182: extern int fputs_unlocked (const char *__restrict __s, 10182: FILE *__restrict __stream); 10182: # 673 "/usr/include/stdio.h" 3 4 10182: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, 10182: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, 10182: size_t __n, FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fseek (FILE *__stream, long int __off, int __whence); 10182: 10182: 10182: 10182: 10182: extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern void rewind (FILE *__stream); 10182: # 707 "/usr/include/stdio.h" 3 4 10182: extern int fseeko (FILE *__stream, __off_t __off, int __whence); 10182: 10182: 10182: 10182: 10182: extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__)); 10182: # 731 "/usr/include/stdio.h" 3 4 10182: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); 10182: 10182: 10182: 10182: 10182: extern int fsetpos (FILE *__stream, const fpos_t *__pos); 10182: # 750 "/usr/include/stdio.h" 3 4 10182: extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); 10182: extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__)); 10182: extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); 10182: extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); 10182: 10182: 10182: 10182: extern void clearerr (FILE *__stream) throw (); 10182: 10182: extern int feof (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: extern int ferror (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern void clearerr_unlocked (FILE *__stream) throw (); 10182: extern int feof_unlocked (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: extern int ferror_unlocked (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void perror (const char *__s); 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/sys_errlist.h" 1 3 4 10182: # 26 "/usr/include/aarch64-linux-gnu/bits/sys_errlist.h" 3 4 10182: extern int sys_nerr; 10182: extern const char *const sys_errlist[]; 10182: 10182: 10182: extern int _sys_nerr; 10182: extern const char *const _sys_errlist[]; 10182: # 782 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: 10182: 10182: extern int fileno (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int fileno_unlocked (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: # 800 "/usr/include/stdio.h" 3 4 10182: extern FILE *popen (const char *__command, const char *__modes) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int pclose (FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: extern char *ctermid (char *__s) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern char *cuserid (char *__s); 10182: 10182: 10182: 10182: 10182: struct obstack; 10182: 10182: 10182: extern int obstack_printf (struct obstack *__restrict __obstack, 10182: const char *__restrict __format, ...) 10182: throw () __attribute__ ((__format__ (__printf__, 2, 3))); 10182: extern int obstack_vprintf (struct obstack *__restrict __obstack, 10182: const char *__restrict __format, 10182: __gnuc_va_list __args) 10182: throw () __attribute__ ((__format__ (__printf__, 2, 0))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void flockfile (FILE *__stream) throw (); 10182: 10182: 10182: 10182: extern int ftrylockfile (FILE *__stream) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern void funlockfile (FILE *__stream) throw (); 10182: # 859 "/usr/include/stdio.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdio.h" 1 3 4 10182: # 43 "/usr/include/aarch64-linux-gnu/bits/stdio.h" 3 4 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: getchar (void) 10182: { 10182: return _IO_getc (stdin); 10182: } 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: fgetc_unlocked (FILE *__fp) 10182: { 10182: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: getc_unlocked (FILE *__fp) 10182: { 10182: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: getchar_unlocked (void) 10182: { 10182: return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); 10182: } 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: putchar (int __c) 10182: { 10182: return _IO_putc (__c, stdout); 10182: } 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: fputc_unlocked (int __c, FILE *__stream) 10182: { 10182: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: putc_unlocked (int __c, FILE *__stream) 10182: { 10182: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: putchar_unlocked (int __c) 10182: { 10182: return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) __ssize_t 10182: getline (char **__lineptr, size_t *__n, FILE *__stream) 10182: { 10182: return __getdelim (__lineptr, __n, '\n', __stream); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) feof_unlocked (FILE *__stream) throw () 10182: { 10182: return (((__stream)->_flags & 0x10) != 0); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) ferror_unlocked (FILE *__stream) throw () 10182: { 10182: return (((__stream)->_flags & 0x20) != 0); 10182: } 10182: # 860 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stdio2.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/stdio2.h" 3 4 10182: extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, 10182: const char *__restrict __format, ...) throw (); 10182: extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, 10182: const char *__restrict __format, 10182: __gnuc_va_list __ap) throw (); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...) throw () 10182: { 10182: return __builtin___sprintf_chk (__s, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap) throw () 10182: 10182: { 10182: return __builtin___vsprintf_chk (__s, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1), __fmt, __ap); 10182: } 10182: 10182: 10182: 10182: extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, 10182: size_t __slen, const char *__restrict __format, 10182: ...) throw (); 10182: extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, 10182: size_t __slen, const char *__restrict __format, 10182: __gnuc_va_list __ap) throw (); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...) throw () 10182: 10182: { 10182: return __builtin___snprintf_chk (__s, __n, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) throw () 10182: 10182: { 10182: return __builtin___vsnprintf_chk (__s, __n, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1), __fmt, __ap); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern int __fprintf_chk (FILE *__restrict __stream, int __flag, 10182: const char *__restrict __format, ...); 10182: extern int __printf_chk (int __flag, const char *__restrict __format, ...); 10182: extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, 10182: const char *__restrict __format, __gnuc_va_list __ap); 10182: extern int __vprintf_chk (int __flag, const char *__restrict __format, 10182: __gnuc_va_list __ap); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) 10182: { 10182: return __fprintf_chk (__stream, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: printf (const char *__restrict __fmt, ...) 10182: { 10182: return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: vprintf (const char *__restrict __fmt, __gnuc_va_list __ap) 10182: { 10182: 10182: return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); 10182: 10182: 10182: 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: vfprintf (FILE *__restrict __stream, 10182: const char *__restrict __fmt, __gnuc_va_list __ap) 10182: { 10182: return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); 10182: } 10182: 10182: 10182: extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt, 10182: ...) __attribute__ ((__format__ (__printf__, 3, 4))); 10182: extern int __vdprintf_chk (int __fd, int __flag, 10182: const char *__restrict __fmt, __gnuc_va_list __arg) 10182: __attribute__ ((__format__ (__printf__, 3, 0))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: dprintf (int __fd, const char *__restrict __fmt, ...) 10182: { 10182: return __dprintf_chk (__fd, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap) 10182: { 10182: return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); 10182: } 10182: 10182: 10182: 10182: 10182: extern int __asprintf_chk (char **__restrict __ptr, int __flag, 10182: const char *__restrict __fmt, ...) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__)); 10182: extern int __vasprintf_chk (char **__restrict __ptr, int __flag, 10182: const char *__restrict __fmt, __gnuc_va_list __arg) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__)); 10182: extern int __obstack_printf_chk (struct obstack *__restrict __obstack, 10182: int __flag, const char *__restrict __format, 10182: ...) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 4))); 10182: extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack, 10182: int __flag, 10182: const char *__restrict __format, 10182: __gnuc_va_list __args) 10182: throw () __attribute__ ((__format__ (__printf__, 3, 0))); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () 10182: { 10182: return __asprintf_chk (__ptr, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) throw () 10182: 10182: { 10182: return __asprintf_chk (__ptr, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __fmt, ...) throw () 10182: 10182: { 10182: return __obstack_printf_chk (__obstack, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: # 206 "/usr/include/aarch64-linux-gnu/bits/stdio2.h" 3 4 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) vasprintf (char **__restrict __ptr, const char *__restrict __fmt, __gnuc_va_list __ap) throw () 10182: 10182: { 10182: return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __fmt, __gnuc_va_list __ap) throw () 10182: 10182: { 10182: return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt, 10182: __ap); 10182: } 10182: # 240 "/usr/include/aarch64-linux-gnu/bits/stdio2.h" 3 4 10182: extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * 10182: fgets (char *__restrict __s, int __n, FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n) || __n <= 0) 10182: return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); 10182: 10182: if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) 10182: return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); 10182: } 10182: return __fgets_alias (__s, __n, __stream); 10182: } 10182: 10182: extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, 10182: size_t __size, size_t __n, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") 10182: 10182: 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t 10182: fread (void *__restrict __ptr, size_t __size, size_t __n, 10182: FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__ptr, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__size) 10182: || !__builtin_constant_p (__n) 10182: || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) 10182: return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); 10182: 10182: if (__size * __n > __builtin_object_size (__ptr, 0)) 10182: return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); 10182: } 10182: return __fread_alias (__ptr, __size, __n, __stream); 10182: } 10182: 10182: 10182: extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size, 10182: int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * 10182: fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n) || __n <= 0) 10182: return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); 10182: 10182: if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) 10182: return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); 10182: } 10182: return __fgets_unlocked_alias (__s, __n, __stream); 10182: } 10182: 10182: 10182: 10182: 10182: extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, 10182: size_t __size, size_t __n, 10182: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") 10182: 10182: 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t 10182: fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, 10182: FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__ptr, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__size) 10182: || !__builtin_constant_p (__n) 10182: || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) 10182: return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, 10182: __stream); 10182: 10182: if (__size * __n > __builtin_object_size (__ptr, 0)) 10182: return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, 10182: __stream); 10182: } 10182: 10182: 10182: if (__builtin_constant_p (__size) 10182: && __builtin_constant_p (__n) 10182: && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) 10182: && __size * __n <= 8) 10182: { 10182: size_t __cnt = __size * __n; 10182: char *__cptr = (char *) __ptr; 10182: if (__cnt == 0) 10182: return 0; 10182: 10182: for (; __cnt > 0; --__cnt) 10182: { 10182: int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); 10182: if (__c == (-1)) 10182: break; 10182: *__cptr++ = __c; 10182: } 10182: return (__cptr - (char *) __ptr) / __size; 10182: } 10182: 10182: return __fread_unlocked_alias (__ptr, __size, __n, __stream); 10182: } 10182: # 863 "/usr/include/stdio.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: } 10182: # 25 "/usr/include/malloc.h" 2 3 4 10182: # 35 "/usr/include/malloc.h" 3 4 10182: extern "C" { 10182: 10182: 10182: extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern void *calloc (size_t __nmemb, size_t __size) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void *realloc (void *__ptr, size_t __size) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern void free (void *__ptr) throw (); 10182: 10182: 10182: extern void *memalign (size_t __alignment, size_t __size) 10182: throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern void *pvalloc (size_t __size) throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern void *(*__morecore) (ptrdiff_t __size); 10182: 10182: 10182: extern void *__default_morecore (ptrdiff_t __size) 10182: throw () __attribute__ ((__malloc__)); 10182: 10182: 10182: 10182: struct mallinfo 10182: { 10182: int arena; 10182: int ordblks; 10182: int smblks; 10182: int hblks; 10182: int hblkhd; 10182: int usmblks; 10182: int fsmblks; 10182: int uordblks; 10182: int fordblks; 10182: int keepcost; 10182: }; 10182: 10182: 10182: extern struct mallinfo mallinfo (void) throw (); 10182: # 126 "/usr/include/malloc.h" 3 4 10182: extern int mallopt (int __param, int __val) throw (); 10182: 10182: 10182: 10182: extern int malloc_trim (size_t __pad) throw (); 10182: 10182: 10182: 10182: extern size_t malloc_usable_size (void *__ptr) throw (); 10182: 10182: 10182: extern void malloc_stats (void) throw (); 10182: 10182: 10182: extern int malloc_info (int __options, FILE *__fp) throw (); 10182: 10182: 10182: extern void (*volatile __free_hook) (void *__ptr, 10182: const void *) 10182: __attribute__ ((__deprecated__)); 10182: extern void *(*volatile __malloc_hook)(size_t __size, 10182: const void *) 10182: __attribute__ ((__deprecated__)); 10182: extern void *(*volatile __realloc_hook)(void *__ptr, 10182: size_t __size, 10182: const void *) 10182: __attribute__ ((__deprecated__)); 10182: extern void *(*volatile __memalign_hook)(size_t __alignment, 10182: size_t __size, 10182: const void *) 10182: __attribute__ ((__deprecated__)); 10182: extern void (*volatile __after_morecore_hook) (void); 10182: 10182: 10182: extern void __malloc_check_init (void) throw () __attribute__ ((__deprecated__)); 10182: 10182: 10182: } 10182: # 226 "/<>/external/onurbs/opennurbs_system.h" 2 10182: 10182: 10182: # 1 "/usr/include/c++/7/math.h" 1 3 10182: # 36 "/usr/include/c++/7/math.h" 3 10182: # 1 "/usr/include/c++/7/cmath" 1 3 10182: # 39 "/usr/include/c++/7/cmath" 3 10182: 10182: # 40 "/usr/include/c++/7/cmath" 3 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/cpp_type_traits.h" 1 3 10182: # 35 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 10182: 10182: # 36 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 10182: # 67 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 10182: extern "C++" { 10182: 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: struct __true_type { }; 10182: struct __false_type { }; 10182: 10182: template 10182: struct __truth_type 10182: { typedef __false_type __type; }; 10182: 10182: template<> 10182: struct __truth_type 10182: { typedef __true_type __type; }; 10182: 10182: 10182: 10182: template 10182: struct __traitor 10182: { 10182: enum { __value = bool(_Sp::__value) || bool(_Tp::__value) }; 10182: typedef typename __truth_type<__value>::__type __type; 10182: }; 10182: 10182: 10182: template 10182: struct __are_same 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: template 10182: struct __are_same<_Tp, _Tp> 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: template 10182: struct __is_void 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_void 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_integer 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_integer 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: # 278 "/usr/include/c++/7/bits/cpp_type_traits.h" 3 10182: template 10182: struct __is_floating 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: 10182: template<> 10182: struct __is_floating 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_floating 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_floating 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_pointer 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: template 10182: struct __is_pointer<_Tp*> 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_arithmetic 10182: : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> > 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_scalar 10182: : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> > 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_char 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_char 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: template<> 10182: struct __is_char 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: template 10182: struct __is_byte 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_byte 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_byte 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: template<> 10182: struct __is_byte 10182: { 10182: enum { __value = 1 }; 10182: typedef __true_type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_move_iterator 10182: { 10182: enum { __value = 0 }; 10182: typedef __false_type __type; 10182: }; 10182: 10182: 10182: 10182: template 10182: inline _Iterator 10182: __miter_base(_Iterator __it) 10182: { return __it; } 10182: 10182: 10182: } 10182: } 10182: # 43 "/usr/include/c++/7/cmath" 2 3 10182: # 1 "/usr/include/c++/7/ext/type_traits.h" 1 3 10182: # 32 "/usr/include/c++/7/ext/type_traits.h" 3 10182: 10182: # 33 "/usr/include/c++/7/ext/type_traits.h" 3 10182: 10182: 10182: 10182: 10182: extern "C++" { 10182: 10182: namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: 10182: template 10182: struct __enable_if 10182: { }; 10182: 10182: template 10182: struct __enable_if 10182: { typedef _Tp __type; }; 10182: 10182: 10182: 10182: template 10182: struct __conditional_type 10182: { typedef _Iftrue __type; }; 10182: 10182: template 10182: struct __conditional_type 10182: { typedef _Iffalse __type; }; 10182: 10182: 10182: 10182: template 10182: struct __add_unsigned 10182: { 10182: private: 10182: typedef __enable_if::__value, _Tp> __if_type; 10182: 10182: public: 10182: typedef typename __if_type::__type __type; 10182: }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned char __type; }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned char __type; }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned short __type; }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned int __type; }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned long __type; }; 10182: 10182: template<> 10182: struct __add_unsigned 10182: { typedef unsigned long long __type; }; 10182: 10182: 10182: template<> 10182: struct __add_unsigned; 10182: 10182: template<> 10182: struct __add_unsigned; 10182: 10182: 10182: 10182: template 10182: struct __remove_unsigned 10182: { 10182: private: 10182: typedef __enable_if::__value, _Tp> __if_type; 10182: 10182: public: 10182: typedef typename __if_type::__type __type; 10182: }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef signed char __type; }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef signed char __type; }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef short __type; }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef int __type; }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef long __type; }; 10182: 10182: template<> 10182: struct __remove_unsigned 10182: { typedef long long __type; }; 10182: 10182: 10182: template<> 10182: struct __remove_unsigned; 10182: 10182: template<> 10182: struct __remove_unsigned; 10182: 10182: 10182: 10182: template 10182: inline bool 10182: __is_null_pointer(_Type* __ptr) 10182: { return __ptr == 0; } 10182: 10182: template 10182: inline bool 10182: __is_null_pointer(_Type) 10182: { return false; } 10182: 10182: 10182: inline bool 10182: __is_null_pointer(std::nullptr_t) 10182: { return true; } 10182: 10182: 10182: 10182: template::__value> 10182: struct __promote 10182: { typedef double __type; }; 10182: 10182: 10182: 10182: 10182: template 10182: struct __promote<_Tp, false> 10182: { }; 10182: 10182: template<> 10182: struct __promote 10182: { typedef long double __type; }; 10182: 10182: template<> 10182: struct __promote 10182: { typedef double __type; }; 10182: 10182: template<> 10182: struct __promote 10182: { typedef float __type; }; 10182: 10182: template::__type, 10182: typename _Up2 = typename __promote<_Up>::__type> 10182: struct __promote_2 10182: { 10182: typedef __typeof__(_Tp2() + _Up2()) __type; 10182: }; 10182: 10182: template::__type, 10182: typename _Up2 = typename __promote<_Up>::__type, 10182: typename _Vp2 = typename __promote<_Vp>::__type> 10182: struct __promote_3 10182: { 10182: typedef __typeof__(_Tp2() + _Up2() + _Vp2()) __type; 10182: }; 10182: 10182: template::__type, 10182: typename _Up2 = typename __promote<_Up>::__type, 10182: typename _Vp2 = typename __promote<_Vp>::__type, 10182: typename _Wp2 = typename __promote<_Wp>::__type> 10182: struct __promote_4 10182: { 10182: typedef __typeof__(_Tp2() + _Up2() + _Vp2() + _Wp2()) __type; 10182: }; 10182: 10182: 10182: } 10182: } 10182: # 44 "/usr/include/c++/7/cmath" 2 3 10182: 10182: # 1 "/usr/include/math.h" 1 3 4 10182: # 27 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 28 "/usr/include/math.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/math-vector.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/math-vector.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libm-simd-decl-stubs.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/math-vector.h" 2 3 4 10182: # 41 "/usr/include/math.h" 2 3 4 10182: # 138 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/flt-eval-method.h" 1 3 4 10182: # 139 "/usr/include/math.h" 2 3 4 10182: # 149 "/usr/include/math.h" 3 4 10182: typedef float float_t; 10182: typedef double double_t; 10182: # 190 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/fp-logb.h" 1 3 4 10182: # 191 "/usr/include/math.h" 2 3 4 10182: # 233 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/fp-fast.h" 1 3 4 10182: # 234 "/usr/include/math.h" 2 3 4 10182: 10182: 10182: 10182: enum 10182: { 10182: FP_INT_UPWARD = 10182: 10182: 0, 10182: FP_INT_DOWNWARD = 10182: 10182: 1, 10182: FP_INT_TOWARDZERO = 10182: 10182: 2, 10182: FP_INT_TONEARESTFROMZERO = 10182: 10182: 3, 10182: FP_INT_TONEAREST = 10182: 10182: 4, 10182: }; 10182: # 289 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4 10182: # 21 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4 10182: extern int __fpclassify (double __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int __signbit (double __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern int __isinf (double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __finite (double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __isnan (double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __iseqsig (double __x, double __y) throw (); 10182: 10182: 10182: extern int __issignaling (double __value) throw () 10182: __attribute__ ((__const__)); 10182: # 290 "/usr/include/math.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern double acos (double __x) throw (); extern double __acos (double __x) throw (); 10182: 10182: extern double asin (double __x) throw (); extern double __asin (double __x) throw (); 10182: 10182: extern double atan (double __x) throw (); extern double __atan (double __x) throw (); 10182: 10182: extern double atan2 (double __y, double __x) throw (); extern double __atan2 (double __y, double __x) throw (); 10182: 10182: 10182: extern double cos (double __x) throw (); extern double __cos (double __x) throw (); 10182: 10182: extern double sin (double __x) throw (); extern double __sin (double __x) throw (); 10182: 10182: extern double tan (double __x) throw (); extern double __tan (double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern double cosh (double __x) throw (); extern double __cosh (double __x) throw (); 10182: 10182: extern double sinh (double __x) throw (); extern double __sinh (double __x) throw (); 10182: 10182: extern double tanh (double __x) throw (); extern double __tanh (double __x) throw (); 10182: 10182: 10182: 10182: extern void sincos (double __x, double *__sinx, double *__cosx) throw (); extern void __sincos (double __x, double *__sinx, double *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern double acosh (double __x) throw (); extern double __acosh (double __x) throw (); 10182: 10182: extern double asinh (double __x) throw (); extern double __asinh (double __x) throw (); 10182: 10182: extern double atanh (double __x) throw (); extern double __atanh (double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern double exp (double __x) throw (); extern double __exp (double __x) throw (); 10182: 10182: 10182: extern double frexp (double __x, int *__exponent) throw (); extern double __frexp (double __x, int *__exponent) throw (); 10182: 10182: 10182: extern double ldexp (double __x, int __exponent) throw (); extern double __ldexp (double __x, int __exponent) throw (); 10182: 10182: 10182: extern double log (double __x) throw (); extern double __log (double __x) throw (); 10182: 10182: 10182: extern double log10 (double __x) throw (); extern double __log10 (double __x) throw (); 10182: 10182: 10182: extern double modf (double __x, double *__iptr) throw (); extern double __modf (double __x, double *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern double exp10 (double __x) throw (); extern double __exp10 (double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern double expm1 (double __x) throw (); extern double __expm1 (double __x) throw (); 10182: 10182: 10182: extern double log1p (double __x) throw (); extern double __log1p (double __x) throw (); 10182: 10182: 10182: extern double logb (double __x) throw (); extern double __logb (double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern double exp2 (double __x) throw (); extern double __exp2 (double __x) throw (); 10182: 10182: 10182: extern double log2 (double __x) throw (); extern double __log2 (double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double pow (double __x, double __y) throw (); extern double __pow (double __x, double __y) throw (); 10182: 10182: 10182: extern double sqrt (double __x) throw (); extern double __sqrt (double __x) throw (); 10182: 10182: 10182: 10182: extern double hypot (double __x, double __y) throw (); extern double __hypot (double __x, double __y) throw (); 10182: 10182: 10182: 10182: 10182: extern double cbrt (double __x) throw (); extern double __cbrt (double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double ceil (double __x) throw () __attribute__ ((__const__)); extern double __ceil (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double fabs (double __x) throw () __attribute__ ((__const__)); extern double __fabs (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double floor (double __x) throw () __attribute__ ((__const__)); extern double __floor (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double fmod (double __x, double __y) throw (); extern double __fmod (double __x, double __y) throw (); 10182: # 182 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern int finite (double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double drem (double __x, double __y) throw (); extern double __drem (double __x, double __y) throw (); 10182: 10182: 10182: 10182: extern double significand (double __x) throw (); extern double __significand (double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double copysign (double __x, double __y) throw () __attribute__ ((__const__)); extern double __copysign (double __x, double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern double nan (const char *__tagb) throw () __attribute__ ((__const__)); extern double __nan (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern double j0 (double) throw (); extern double __j0 (double) throw (); 10182: extern double j1 (double) throw (); extern double __j1 (double) throw (); 10182: extern double jn (int, double) throw (); extern double __jn (int, double) throw (); 10182: extern double y0 (double) throw (); extern double __y0 (double) throw (); 10182: extern double y1 (double) throw (); extern double __y1 (double) throw (); 10182: extern double yn (int, double) throw (); extern double __yn (int, double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern double erf (double) throw (); extern double __erf (double) throw (); 10182: extern double erfc (double) throw (); extern double __erfc (double) throw (); 10182: extern double lgamma (double) throw (); extern double __lgamma (double) throw (); 10182: 10182: 10182: 10182: 10182: extern double tgamma (double) throw (); extern double __tgamma (double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern double gamma (double) throw (); extern double __gamma (double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double lgamma_r (double, int *__signgamp) throw (); extern double __lgamma_r (double, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double rint (double __x) throw (); extern double __rint (double __x) throw (); 10182: 10182: 10182: extern double nextafter (double __x, double __y) throw (); extern double __nextafter (double __x, double __y) throw (); 10182: 10182: extern double nexttoward (double __x, long double __y) throw (); extern double __nexttoward (double __x, long double __y) throw (); 10182: 10182: 10182: 10182: 10182: extern double nextdown (double __x) throw (); extern double __nextdown (double __x) throw (); 10182: 10182: extern double nextup (double __x) throw (); extern double __nextup (double __x) throw (); 10182: 10182: 10182: 10182: extern double remainder (double __x, double __y) throw (); extern double __remainder (double __x, double __y) throw (); 10182: 10182: 10182: 10182: extern double scalbn (double __x, int __n) throw (); extern double __scalbn (double __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogb (double __x) throw (); extern int __ilogb (double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogb (double __x) throw (); extern long int __llogb (double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern double scalbln (double __x, long int __n) throw (); extern double __scalbln (double __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern double nearbyint (double __x) throw (); extern double __nearbyint (double __x) throw (); 10182: 10182: 10182: 10182: extern double round (double __x) throw () __attribute__ ((__const__)); extern double __round (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern double trunc (double __x) throw () __attribute__ ((__const__)); extern double __trunc (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern double remquo (double __x, double __y, int *__quo) throw (); extern double __remquo (double __x, double __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrint (double __x) throw (); extern long int __lrint (double __x) throw (); 10182: __extension__ 10182: extern long long int llrint (double __x) throw (); extern long long int __llrint (double __x) throw (); 10182: 10182: 10182: 10182: extern long int lround (double __x) throw (); extern long int __lround (double __x) throw (); 10182: __extension__ 10182: extern long long int llround (double __x) throw (); extern long long int __llround (double __x) throw (); 10182: 10182: 10182: 10182: extern double fdim (double __x, double __y) throw (); extern double __fdim (double __x, double __y) throw (); 10182: 10182: 10182: extern double fmax (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmax (double __x, double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double fmin (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmin (double __x, double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double fma (double __x, double __y, double __z) throw (); extern double __fma (double __x, double __y, double __z) throw (); 10182: 10182: 10182: 10182: 10182: extern double roundeven (double __x) throw () __attribute__ ((__const__)); extern double __roundeven (double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfp (double __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfp (double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfp (double __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfp (double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpx (double __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpx (double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpx (double __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpx (double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern double fmaxmag (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fmaxmag (double __x, double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern double fminmag (double __x, double __y) throw () __attribute__ ((__const__)); extern double __fminmag (double __x, double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorder (double __x, double __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermag (double __x, double __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalize (double *__cx, const double *__x) throw (); 10182: 10182: 10182: extern double getpayload (const double *__x) throw (); extern double __getpayload (const double *__x) throw (); 10182: 10182: 10182: extern int setpayload (double *__x, double __payload) throw (); 10182: 10182: 10182: extern int setpayloadsig (double *__x, double __payload) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern double scalb (double __x, double __n) throw (); extern double __scalb (double __x, double __n) throw (); 10182: # 291 "/usr/include/math.h" 2 3 4 10182: # 306 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4 10182: # 21 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4 10182: extern int __fpclassifyf (float __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int __signbitf (float __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern int __isinff (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __finitef (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __isnanf (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __iseqsigf (float __x, float __y) throw (); 10182: 10182: 10182: extern int __issignalingf (float __value) throw () 10182: __attribute__ ((__const__)); 10182: # 307 "/usr/include/math.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern float acosf (float __x) throw (); extern float __acosf (float __x) throw (); 10182: 10182: extern float asinf (float __x) throw (); extern float __asinf (float __x) throw (); 10182: 10182: extern float atanf (float __x) throw (); extern float __atanf (float __x) throw (); 10182: 10182: extern float atan2f (float __y, float __x) throw (); extern float __atan2f (float __y, float __x) throw (); 10182: 10182: 10182: extern float cosf (float __x) throw (); extern float __cosf (float __x) throw (); 10182: 10182: extern float sinf (float __x) throw (); extern float __sinf (float __x) throw (); 10182: 10182: extern float tanf (float __x) throw (); extern float __tanf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: extern float coshf (float __x) throw (); extern float __coshf (float __x) throw (); 10182: 10182: extern float sinhf (float __x) throw (); extern float __sinhf (float __x) throw (); 10182: 10182: extern float tanhf (float __x) throw (); extern float __tanhf (float __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf (float __x, float *__sinx, float *__cosx) throw (); extern void __sincosf (float __x, float *__sinx, float *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern float acoshf (float __x) throw (); extern float __acoshf (float __x) throw (); 10182: 10182: extern float asinhf (float __x) throw (); extern float __asinhf (float __x) throw (); 10182: 10182: extern float atanhf (float __x) throw (); extern float __atanhf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern float expf (float __x) throw (); extern float __expf (float __x) throw (); 10182: 10182: 10182: extern float frexpf (float __x, int *__exponent) throw (); extern float __frexpf (float __x, int *__exponent) throw (); 10182: 10182: 10182: extern float ldexpf (float __x, int __exponent) throw (); extern float __ldexpf (float __x, int __exponent) throw (); 10182: 10182: 10182: extern float logf (float __x) throw (); extern float __logf (float __x) throw (); 10182: 10182: 10182: extern float log10f (float __x) throw (); extern float __log10f (float __x) throw (); 10182: 10182: 10182: extern float modff (float __x, float *__iptr) throw (); extern float __modff (float __x, float *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern float exp10f (float __x) throw (); extern float __exp10f (float __x) throw (); 10182: 10182: 10182: 10182: 10182: extern float expm1f (float __x) throw (); extern float __expm1f (float __x) throw (); 10182: 10182: 10182: extern float log1pf (float __x) throw (); extern float __log1pf (float __x) throw (); 10182: 10182: 10182: extern float logbf (float __x) throw (); extern float __logbf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: extern float exp2f (float __x) throw (); extern float __exp2f (float __x) throw (); 10182: 10182: 10182: extern float log2f (float __x) throw (); extern float __log2f (float __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float powf (float __x, float __y) throw (); extern float __powf (float __x, float __y) throw (); 10182: 10182: 10182: extern float sqrtf (float __x) throw (); extern float __sqrtf (float __x) throw (); 10182: 10182: 10182: 10182: extern float hypotf (float __x, float __y) throw (); extern float __hypotf (float __x, float __y) throw (); 10182: 10182: 10182: 10182: 10182: extern float cbrtf (float __x) throw (); extern float __cbrtf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float ceilf (float __x) throw () __attribute__ ((__const__)); extern float __ceilf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float fabsf (float __x) throw () __attribute__ ((__const__)); extern float __fabsf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float floorf (float __x) throw () __attribute__ ((__const__)); extern float __floorf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float fmodf (float __x, float __y) throw (); extern float __fmodf (float __x, float __y) throw (); 10182: # 177 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern int isinff (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern int finitef (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float dremf (float __x, float __y) throw (); extern float __dremf (float __x, float __y) throw (); 10182: 10182: 10182: 10182: extern float significandf (float __x) throw (); extern float __significandf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float copysignf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern float nanf (const char *__tagb) throw () __attribute__ ((__const__)); extern float __nanf (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 211 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern int isnanf (float __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: 10182: extern float j0f (float) throw (); extern float __j0f (float) throw (); 10182: extern float j1f (float) throw (); extern float __j1f (float) throw (); 10182: extern float jnf (int, float) throw (); extern float __jnf (int, float) throw (); 10182: extern float y0f (float) throw (); extern float __y0f (float) throw (); 10182: extern float y1f (float) throw (); extern float __y1f (float) throw (); 10182: extern float ynf (int, float) throw (); extern float __ynf (int, float) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern float erff (float) throw (); extern float __erff (float) throw (); 10182: extern float erfcf (float) throw (); extern float __erfcf (float) throw (); 10182: extern float lgammaf (float) throw (); extern float __lgammaf (float) throw (); 10182: 10182: 10182: 10182: 10182: extern float tgammaf (float) throw (); extern float __tgammaf (float) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern float gammaf (float) throw (); extern float __gammaf (float) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float lgammaf_r (float, int *__signgamp) throw (); extern float __lgammaf_r (float, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float rintf (float __x) throw (); extern float __rintf (float __x) throw (); 10182: 10182: 10182: extern float nextafterf (float __x, float __y) throw (); extern float __nextafterf (float __x, float __y) throw (); 10182: 10182: extern float nexttowardf (float __x, long double __y) throw (); extern float __nexttowardf (float __x, long double __y) throw (); 10182: 10182: 10182: 10182: 10182: extern float nextdownf (float __x) throw (); extern float __nextdownf (float __x) throw (); 10182: 10182: extern float nextupf (float __x) throw (); extern float __nextupf (float __x) throw (); 10182: 10182: 10182: 10182: extern float remainderf (float __x, float __y) throw (); extern float __remainderf (float __x, float __y) throw (); 10182: 10182: 10182: 10182: extern float scalbnf (float __x, int __n) throw (); extern float __scalbnf (float __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf (float __x) throw (); extern int __ilogbf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf (float __x) throw (); extern long int __llogbf (float __x) throw (); 10182: 10182: 10182: 10182: 10182: extern float scalblnf (float __x, long int __n) throw (); extern float __scalblnf (float __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern float nearbyintf (float __x) throw (); extern float __nearbyintf (float __x) throw (); 10182: 10182: 10182: 10182: extern float roundf (float __x) throw () __attribute__ ((__const__)); extern float __roundf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern float truncf (float __x) throw () __attribute__ ((__const__)); extern float __truncf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern float remquof (float __x, float __y, int *__quo) throw (); extern float __remquof (float __x, float __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf (float __x) throw (); extern long int __lrintf (float __x) throw (); 10182: __extension__ 10182: extern long long int llrintf (float __x) throw (); extern long long int __llrintf (float __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf (float __x) throw (); extern long int __lroundf (float __x) throw (); 10182: __extension__ 10182: extern long long int llroundf (float __x) throw (); extern long long int __llroundf (float __x) throw (); 10182: 10182: 10182: 10182: extern float fdimf (float __x, float __y) throw (); extern float __fdimf (float __x, float __y) throw (); 10182: 10182: 10182: extern float fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float fminf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fminf (float __x, float __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float fmaf (float __x, float __y, float __z) throw (); extern float __fmaf (float __x, float __y, float __z) throw (); 10182: 10182: 10182: 10182: 10182: extern float roundevenf (float __x) throw () __attribute__ ((__const__)); extern float __roundevenf (float __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf (float __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf (float __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf (float __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf (float __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf (float __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf (float __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf (float __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf (float __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern float fmaxmagf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fmaxmagf (float __x, float __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern float fminmagf (float __x, float __y) throw () __attribute__ ((__const__)); extern float __fminmagf (float __x, float __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf (float __x, float __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf (float __x, float __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef (float *__cx, const float *__x) throw (); 10182: 10182: 10182: extern float getpayloadf (const float *__x) throw (); extern float __getpayloadf (const float *__x) throw (); 10182: 10182: 10182: extern int setpayloadf (float *__x, float __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf (float *__x, float __payload) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern float scalbf (float __x, float __n) throw (); extern float __scalbf (float __x, float __n) throw (); 10182: # 308 "/usr/include/math.h" 2 3 4 10182: # 349 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 1 3 4 10182: # 21 "/usr/include/aarch64-linux-gnu/bits/mathcalls-helper-functions.h" 3 4 10182: extern int __fpclassifyl (long double __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int __signbitl (long double __value) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern int __isinfl (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __finitel (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __isnanl (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int __iseqsigl (long double __x, long double __y) throw (); 10182: 10182: 10182: extern int __issignalingl (long double __value) throw () 10182: __attribute__ ((__const__)); 10182: # 350 "/usr/include/math.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern long double acosl (long double __x) throw (); extern long double __acosl (long double __x) throw (); 10182: 10182: extern long double asinl (long double __x) throw (); extern long double __asinl (long double __x) throw (); 10182: 10182: extern long double atanl (long double __x) throw (); extern long double __atanl (long double __x) throw (); 10182: 10182: extern long double atan2l (long double __y, long double __x) throw (); extern long double __atan2l (long double __y, long double __x) throw (); 10182: 10182: 10182: extern long double cosl (long double __x) throw (); extern long double __cosl (long double __x) throw (); 10182: 10182: extern long double sinl (long double __x) throw (); extern long double __sinl (long double __x) throw (); 10182: 10182: extern long double tanl (long double __x) throw (); extern long double __tanl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long double coshl (long double __x) throw (); extern long double __coshl (long double __x) throw (); 10182: 10182: extern long double sinhl (long double __x) throw (); extern long double __sinhl (long double __x) throw (); 10182: 10182: extern long double tanhl (long double __x) throw (); extern long double __tanhl (long double __x) throw (); 10182: 10182: 10182: 10182: extern void sincosl (long double __x, long double *__sinx, long double *__cosx) throw (); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern long double acoshl (long double __x) throw (); extern long double __acoshl (long double __x) throw (); 10182: 10182: extern long double asinhl (long double __x) throw (); extern long double __asinhl (long double __x) throw (); 10182: 10182: extern long double atanhl (long double __x) throw (); extern long double __atanhl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern long double expl (long double __x) throw (); extern long double __expl (long double __x) throw (); 10182: 10182: 10182: extern long double frexpl (long double __x, int *__exponent) throw (); extern long double __frexpl (long double __x, int *__exponent) throw (); 10182: 10182: 10182: extern long double ldexpl (long double __x, int __exponent) throw (); extern long double __ldexpl (long double __x, int __exponent) throw (); 10182: 10182: 10182: extern long double logl (long double __x) throw (); extern long double __logl (long double __x) throw (); 10182: 10182: 10182: extern long double log10l (long double __x) throw (); extern long double __log10l (long double __x) throw (); 10182: 10182: 10182: extern long double modfl (long double __x, long double *__iptr) throw (); extern long double __modfl (long double __x, long double *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern long double exp10l (long double __x) throw (); extern long double __exp10l (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long double expm1l (long double __x) throw (); extern long double __expm1l (long double __x) throw (); 10182: 10182: 10182: extern long double log1pl (long double __x) throw (); extern long double __log1pl (long double __x) throw (); 10182: 10182: 10182: extern long double logbl (long double __x) throw (); extern long double __logbl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long double exp2l (long double __x) throw (); extern long double __exp2l (long double __x) throw (); 10182: 10182: 10182: extern long double log2l (long double __x) throw (); extern long double __log2l (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double powl (long double __x, long double __y) throw (); extern long double __powl (long double __x, long double __y) throw (); 10182: 10182: 10182: extern long double sqrtl (long double __x) throw (); extern long double __sqrtl (long double __x) throw (); 10182: 10182: 10182: 10182: extern long double hypotl (long double __x, long double __y) throw (); extern long double __hypotl (long double __x, long double __y) throw (); 10182: 10182: 10182: 10182: 10182: extern long double cbrtl (long double __x) throw (); extern long double __cbrtl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double ceill (long double __x) throw () __attribute__ ((__const__)); extern long double __ceill (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double fabsl (long double __x) throw () __attribute__ ((__const__)); extern long double __fabsl (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double floorl (long double __x) throw () __attribute__ ((__const__)); extern long double __floorl (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double fmodl (long double __x, long double __y) throw (); extern long double __fmodl (long double __x, long double __y) throw (); 10182: # 177 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern int isinfl (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern int finitel (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double dreml (long double __x, long double __y) throw (); extern long double __dreml (long double __x, long double __y) throw (); 10182: 10182: 10182: 10182: extern long double significandl (long double __x) throw (); extern long double __significandl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern long double nanl (const char *__tagb) throw () __attribute__ ((__const__)); extern long double __nanl (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 211 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern int isnanl (long double __value) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: 10182: extern long double j0l (long double) throw (); extern long double __j0l (long double) throw (); 10182: extern long double j1l (long double) throw (); extern long double __j1l (long double) throw (); 10182: extern long double jnl (int, long double) throw (); extern long double __jnl (int, long double) throw (); 10182: extern long double y0l (long double) throw (); extern long double __y0l (long double) throw (); 10182: extern long double y1l (long double) throw (); extern long double __y1l (long double) throw (); 10182: extern long double ynl (int, long double) throw (); extern long double __ynl (int, long double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern long double erfl (long double) throw (); extern long double __erfl (long double) throw (); 10182: extern long double erfcl (long double) throw (); extern long double __erfcl (long double) throw (); 10182: extern long double lgammal (long double) throw (); extern long double __lgammal (long double) throw (); 10182: 10182: 10182: 10182: 10182: extern long double tgammal (long double) throw (); extern long double __tgammal (long double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern long double gammal (long double) throw (); extern long double __gammal (long double) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double lgammal_r (long double, int *__signgamp) throw (); extern long double __lgammal_r (long double, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double rintl (long double __x) throw (); extern long double __rintl (long double __x) throw (); 10182: 10182: 10182: extern long double nextafterl (long double __x, long double __y) throw (); extern long double __nextafterl (long double __x, long double __y) throw (); 10182: 10182: extern long double nexttowardl (long double __x, long double __y) throw (); extern long double __nexttowardl (long double __x, long double __y) throw (); 10182: 10182: 10182: 10182: 10182: extern long double nextdownl (long double __x) throw (); extern long double __nextdownl (long double __x) throw (); 10182: 10182: extern long double nextupl (long double __x) throw (); extern long double __nextupl (long double __x) throw (); 10182: 10182: 10182: 10182: extern long double remainderl (long double __x, long double __y) throw (); extern long double __remainderl (long double __x, long double __y) throw (); 10182: 10182: 10182: 10182: extern long double scalbnl (long double __x, int __n) throw (); extern long double __scalbnl (long double __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbl (long double __x) throw (); extern int __ilogbl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbl (long double __x) throw (); extern long int __llogbl (long double __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long double scalblnl (long double __x, long int __n) throw (); extern long double __scalblnl (long double __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern long double nearbyintl (long double __x) throw (); extern long double __nearbyintl (long double __x) throw (); 10182: 10182: 10182: 10182: extern long double roundl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundl (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern long double truncl (long double __x) throw () __attribute__ ((__const__)); extern long double __truncl (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern long double remquol (long double __x, long double __y, int *__quo) throw (); extern long double __remquol (long double __x, long double __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintl (long double __x) throw (); extern long int __lrintl (long double __x) throw (); 10182: __extension__ 10182: extern long long int llrintl (long double __x) throw (); extern long long int __llrintl (long double __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundl (long double __x) throw (); extern long int __lroundl (long double __x) throw (); 10182: __extension__ 10182: extern long long int llroundl (long double __x) throw (); extern long long int __llroundl (long double __x) throw (); 10182: 10182: 10182: 10182: extern long double fdiml (long double __x, long double __y) throw (); extern long double __fdiml (long double __x, long double __y) throw (); 10182: 10182: 10182: extern long double fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double fmal (long double __x, long double __y, long double __z) throw (); extern long double __fmal (long double __x, long double __y, long double __z) throw (); 10182: 10182: 10182: 10182: 10182: extern long double roundevenl (long double __x) throw () __attribute__ ((__const__)); extern long double __roundevenl (long double __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpl (long double __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpl (long double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpl (long double __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpl (long double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxl (long double __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxl (long double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxl (long double __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxl (long double __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern long double fmaxmagl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fmaxmagl (long double __x, long double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern long double fminmagl (long double __x, long double __y) throw () __attribute__ ((__const__)); extern long double __fminmagl (long double __x, long double __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderl (long double __x, long double __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagl (long double __x, long double __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizel (long double *__cx, const long double *__x) throw (); 10182: 10182: 10182: extern long double getpayloadl (const long double *__x) throw (); extern long double __getpayloadl (const long double *__x) throw (); 10182: 10182: 10182: extern int setpayloadl (long double *__x, long double __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigl (long double *__x, long double __payload) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long double scalbl (long double __x, long double __n) throw (); extern long double __scalbl (long double __x, long double __n) throw (); 10182: # 351 "/usr/include/math.h" 2 3 4 10182: # 389 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32 acosf32 (_Float32 __x) throw (); extern _Float32 __acosf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 asinf32 (_Float32 __x) throw (); extern _Float32 __asinf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 atanf32 (_Float32 __x) throw (); extern _Float32 __atanf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 atan2f32 (_Float32 __y, _Float32 __x) throw (); extern _Float32 __atan2f32 (_Float32 __y, _Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 cosf32 (_Float32 __x) throw (); extern _Float32 __cosf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 sinf32 (_Float32 __x) throw (); extern _Float32 __sinf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 tanf32 (_Float32 __x) throw (); extern _Float32 __tanf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 coshf32 (_Float32 __x) throw (); extern _Float32 __coshf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 sinhf32 (_Float32 __x) throw (); extern _Float32 __sinhf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 tanhf32 (_Float32 __x) throw (); extern _Float32 __tanhf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf32 (_Float32 __x, _Float32 *__sinx, _Float32 *__cosx) throw (); extern void __sincosf32 (_Float32 __x, _Float32 *__sinx, _Float32 *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern _Float32 acoshf32 (_Float32 __x) throw (); extern _Float32 __acoshf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 asinhf32 (_Float32 __x) throw (); extern _Float32 __asinhf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 atanhf32 (_Float32 __x) throw (); extern _Float32 __atanhf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 expf32 (_Float32 __x) throw (); extern _Float32 __expf32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 frexpf32 (_Float32 __x, int *__exponent) throw (); extern _Float32 __frexpf32 (_Float32 __x, int *__exponent) throw (); 10182: 10182: 10182: extern _Float32 ldexpf32 (_Float32 __x, int __exponent) throw (); extern _Float32 __ldexpf32 (_Float32 __x, int __exponent) throw (); 10182: 10182: 10182: extern _Float32 logf32 (_Float32 __x) throw (); extern _Float32 __logf32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 log10f32 (_Float32 __x) throw (); extern _Float32 __log10f32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 modff32 (_Float32 __x, _Float32 *__iptr) throw (); extern _Float32 __modff32 (_Float32 __x, _Float32 *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern _Float32 exp10f32 (_Float32 __x) throw (); extern _Float32 __exp10f32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 expm1f32 (_Float32 __x) throw (); extern _Float32 __expm1f32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 log1pf32 (_Float32 __x) throw (); extern _Float32 __log1pf32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 logbf32 (_Float32 __x) throw (); extern _Float32 __logbf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 exp2f32 (_Float32 __x) throw (); extern _Float32 __exp2f32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 log2f32 (_Float32 __x) throw (); extern _Float32 __log2f32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 powf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __powf32 (_Float32 __x, _Float32 __y) throw (); 10182: 10182: 10182: extern _Float32 sqrtf32 (_Float32 __x) throw (); extern _Float32 __sqrtf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern _Float32 hypotf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __hypotf32 (_Float32 __x, _Float32 __y) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 cbrtf32 (_Float32 __x) throw (); extern _Float32 __cbrtf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 ceilf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __ceilf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 fabsf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __fabsf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 floorf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __floorf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 fmodf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __fmodf32 (_Float32 __x, _Float32 __y) throw (); 10182: # 196 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32 copysignf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); extern _Float32 __copysignf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float32 nanf32 (const char *__tagb) throw () __attribute__ ((__const__)); extern _Float32 __nanf32 (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32 j0f32 (_Float32) throw (); extern _Float32 __j0f32 (_Float32) throw (); 10182: extern _Float32 j1f32 (_Float32) throw (); extern _Float32 __j1f32 (_Float32) throw (); 10182: extern _Float32 jnf32 (int, _Float32) throw (); extern _Float32 __jnf32 (int, _Float32) throw (); 10182: extern _Float32 y0f32 (_Float32) throw (); extern _Float32 __y0f32 (_Float32) throw (); 10182: extern _Float32 y1f32 (_Float32) throw (); extern _Float32 __y1f32 (_Float32) throw (); 10182: extern _Float32 ynf32 (int, _Float32) throw (); extern _Float32 __ynf32 (int, _Float32) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 erff32 (_Float32) throw (); extern _Float32 __erff32 (_Float32) throw (); 10182: extern _Float32 erfcf32 (_Float32) throw (); extern _Float32 __erfcf32 (_Float32) throw (); 10182: extern _Float32 lgammaf32 (_Float32) throw (); extern _Float32 __lgammaf32 (_Float32) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 tgammaf32 (_Float32) throw (); extern _Float32 __tgammaf32 (_Float32) throw (); 10182: # 249 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32 lgammaf32_r (_Float32, int *__signgamp) throw (); extern _Float32 __lgammaf32_r (_Float32, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 rintf32 (_Float32 __x) throw (); extern _Float32 __rintf32 (_Float32 __x) throw (); 10182: 10182: 10182: extern _Float32 nextafterf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __nextafterf32 (_Float32 __x, _Float32 __y) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32 nextdownf32 (_Float32 __x) throw (); extern _Float32 __nextdownf32 (_Float32 __x) throw (); 10182: 10182: extern _Float32 nextupf32 (_Float32 __x) throw (); extern _Float32 __nextupf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern _Float32 remainderf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __remainderf32 (_Float32 __x, _Float32 __y) throw (); 10182: 10182: 10182: 10182: extern _Float32 scalbnf32 (_Float32 __x, int __n) throw (); extern _Float32 __scalbnf32 (_Float32 __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf32 (_Float32 __x) throw (); extern int __ilogbf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf32 (_Float32 __x) throw (); extern long int __llogbf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 scalblnf32 (_Float32 __x, long int __n) throw (); extern _Float32 __scalblnf32 (_Float32 __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern _Float32 nearbyintf32 (_Float32 __x) throw (); extern _Float32 __nearbyintf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern _Float32 roundf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __roundf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern _Float32 truncf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __truncf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float32 remquof32 (_Float32 __x, _Float32 __y, int *__quo) throw (); extern _Float32 __remquof32 (_Float32 __x, _Float32 __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf32 (_Float32 __x) throw (); extern long int __lrintf32 (_Float32 __x) throw (); 10182: __extension__ 10182: extern long long int llrintf32 (_Float32 __x) throw (); extern long long int __llrintf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf32 (_Float32 __x) throw (); extern long int __lroundf32 (_Float32 __x) throw (); 10182: __extension__ 10182: extern long long int llroundf32 (_Float32 __x) throw (); extern long long int __llroundf32 (_Float32 __x) throw (); 10182: 10182: 10182: 10182: extern _Float32 fdimf32 (_Float32 __x, _Float32 __y) throw (); extern _Float32 __fdimf32 (_Float32 __x, _Float32 __y) throw (); 10182: 10182: 10182: extern _Float32 fmaxf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); extern _Float32 __fmaxf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 fminf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); extern _Float32 __fminf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 fmaf32 (_Float32 __x, _Float32 __y, _Float32 __z) throw (); extern _Float32 __fmaf32 (_Float32 __x, _Float32 __y, _Float32 __z) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32 roundevenf32 (_Float32 __x) throw () __attribute__ ((__const__)); extern _Float32 __roundevenf32 (_Float32 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf32 (_Float32 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf32 (_Float32 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf32 (_Float32 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf32 (_Float32 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf32 (_Float32 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf32 (_Float32 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf32 (_Float32 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf32 (_Float32 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern _Float32 fmaxmagf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); extern _Float32 __fmaxmagf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32 fminmagf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); extern _Float32 __fminmagf32 (_Float32 __x, _Float32 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf32 (_Float32 __x, _Float32 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf32 (_Float32 __x, _Float32 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef32 (_Float32 *__cx, const _Float32 *__x) throw (); 10182: 10182: 10182: extern _Float32 getpayloadf32 (const _Float32 *__x) throw (); extern _Float32 __getpayloadf32 (const _Float32 *__x) throw (); 10182: 10182: 10182: extern int setpayloadf32 (_Float32 *__x, _Float32 __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf32 (_Float32 *__x, _Float32 __payload) throw (); 10182: # 390 "/usr/include/math.h" 2 3 4 10182: # 406 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64 acosf64 (_Float64 __x) throw (); extern _Float64 __acosf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 asinf64 (_Float64 __x) throw (); extern _Float64 __asinf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 atanf64 (_Float64 __x) throw (); extern _Float64 __atanf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 atan2f64 (_Float64 __y, _Float64 __x) throw (); extern _Float64 __atan2f64 (_Float64 __y, _Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 cosf64 (_Float64 __x) throw (); extern _Float64 __cosf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 sinf64 (_Float64 __x) throw (); extern _Float64 __sinf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 tanf64 (_Float64 __x) throw (); extern _Float64 __tanf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 coshf64 (_Float64 __x) throw (); extern _Float64 __coshf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 sinhf64 (_Float64 __x) throw (); extern _Float64 __sinhf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 tanhf64 (_Float64 __x) throw (); extern _Float64 __tanhf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf64 (_Float64 __x, _Float64 *__sinx, _Float64 *__cosx) throw (); extern void __sincosf64 (_Float64 __x, _Float64 *__sinx, _Float64 *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern _Float64 acoshf64 (_Float64 __x) throw (); extern _Float64 __acoshf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 asinhf64 (_Float64 __x) throw (); extern _Float64 __asinhf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 atanhf64 (_Float64 __x) throw (); extern _Float64 __atanhf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 expf64 (_Float64 __x) throw (); extern _Float64 __expf64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 frexpf64 (_Float64 __x, int *__exponent) throw (); extern _Float64 __frexpf64 (_Float64 __x, int *__exponent) throw (); 10182: 10182: 10182: extern _Float64 ldexpf64 (_Float64 __x, int __exponent) throw (); extern _Float64 __ldexpf64 (_Float64 __x, int __exponent) throw (); 10182: 10182: 10182: extern _Float64 logf64 (_Float64 __x) throw (); extern _Float64 __logf64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 log10f64 (_Float64 __x) throw (); extern _Float64 __log10f64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 modff64 (_Float64 __x, _Float64 *__iptr) throw (); extern _Float64 __modff64 (_Float64 __x, _Float64 *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern _Float64 exp10f64 (_Float64 __x) throw (); extern _Float64 __exp10f64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 expm1f64 (_Float64 __x) throw (); extern _Float64 __expm1f64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 log1pf64 (_Float64 __x) throw (); extern _Float64 __log1pf64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 logbf64 (_Float64 __x) throw (); extern _Float64 __logbf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 exp2f64 (_Float64 __x) throw (); extern _Float64 __exp2f64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 log2f64 (_Float64 __x) throw (); extern _Float64 __log2f64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 powf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __powf64 (_Float64 __x, _Float64 __y) throw (); 10182: 10182: 10182: extern _Float64 sqrtf64 (_Float64 __x) throw (); extern _Float64 __sqrtf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern _Float64 hypotf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __hypotf64 (_Float64 __x, _Float64 __y) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 cbrtf64 (_Float64 __x) throw (); extern _Float64 __cbrtf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 ceilf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __ceilf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 fabsf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __fabsf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 floorf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __floorf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 fmodf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __fmodf64 (_Float64 __x, _Float64 __y) throw (); 10182: # 196 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64 copysignf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); extern _Float64 __copysignf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float64 nanf64 (const char *__tagb) throw () __attribute__ ((__const__)); extern _Float64 __nanf64 (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64 j0f64 (_Float64) throw (); extern _Float64 __j0f64 (_Float64) throw (); 10182: extern _Float64 j1f64 (_Float64) throw (); extern _Float64 __j1f64 (_Float64) throw (); 10182: extern _Float64 jnf64 (int, _Float64) throw (); extern _Float64 __jnf64 (int, _Float64) throw (); 10182: extern _Float64 y0f64 (_Float64) throw (); extern _Float64 __y0f64 (_Float64) throw (); 10182: extern _Float64 y1f64 (_Float64) throw (); extern _Float64 __y1f64 (_Float64) throw (); 10182: extern _Float64 ynf64 (int, _Float64) throw (); extern _Float64 __ynf64 (int, _Float64) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 erff64 (_Float64) throw (); extern _Float64 __erff64 (_Float64) throw (); 10182: extern _Float64 erfcf64 (_Float64) throw (); extern _Float64 __erfcf64 (_Float64) throw (); 10182: extern _Float64 lgammaf64 (_Float64) throw (); extern _Float64 __lgammaf64 (_Float64) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 tgammaf64 (_Float64) throw (); extern _Float64 __tgammaf64 (_Float64) throw (); 10182: # 249 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64 lgammaf64_r (_Float64, int *__signgamp) throw (); extern _Float64 __lgammaf64_r (_Float64, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 rintf64 (_Float64 __x) throw (); extern _Float64 __rintf64 (_Float64 __x) throw (); 10182: 10182: 10182: extern _Float64 nextafterf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __nextafterf64 (_Float64 __x, _Float64 __y) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64 nextdownf64 (_Float64 __x) throw (); extern _Float64 __nextdownf64 (_Float64 __x) throw (); 10182: 10182: extern _Float64 nextupf64 (_Float64 __x) throw (); extern _Float64 __nextupf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern _Float64 remainderf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __remainderf64 (_Float64 __x, _Float64 __y) throw (); 10182: 10182: 10182: 10182: extern _Float64 scalbnf64 (_Float64 __x, int __n) throw (); extern _Float64 __scalbnf64 (_Float64 __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf64 (_Float64 __x) throw (); extern int __ilogbf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf64 (_Float64 __x) throw (); extern long int __llogbf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 scalblnf64 (_Float64 __x, long int __n) throw (); extern _Float64 __scalblnf64 (_Float64 __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern _Float64 nearbyintf64 (_Float64 __x) throw (); extern _Float64 __nearbyintf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern _Float64 roundf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __roundf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern _Float64 truncf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __truncf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float64 remquof64 (_Float64 __x, _Float64 __y, int *__quo) throw (); extern _Float64 __remquof64 (_Float64 __x, _Float64 __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf64 (_Float64 __x) throw (); extern long int __lrintf64 (_Float64 __x) throw (); 10182: __extension__ 10182: extern long long int llrintf64 (_Float64 __x) throw (); extern long long int __llrintf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf64 (_Float64 __x) throw (); extern long int __lroundf64 (_Float64 __x) throw (); 10182: __extension__ 10182: extern long long int llroundf64 (_Float64 __x) throw (); extern long long int __llroundf64 (_Float64 __x) throw (); 10182: 10182: 10182: 10182: extern _Float64 fdimf64 (_Float64 __x, _Float64 __y) throw (); extern _Float64 __fdimf64 (_Float64 __x, _Float64 __y) throw (); 10182: 10182: 10182: extern _Float64 fmaxf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); extern _Float64 __fmaxf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 fminf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); extern _Float64 __fminf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 fmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) throw (); extern _Float64 __fmaf64 (_Float64 __x, _Float64 __y, _Float64 __z) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64 roundevenf64 (_Float64 __x) throw () __attribute__ ((__const__)); extern _Float64 __roundevenf64 (_Float64 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf64 (_Float64 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf64 (_Float64 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf64 (_Float64 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf64 (_Float64 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf64 (_Float64 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf64 (_Float64 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf64 (_Float64 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf64 (_Float64 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern _Float64 fmaxmagf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); extern _Float64 __fmaxmagf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64 fminmagf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); extern _Float64 __fminmagf64 (_Float64 __x, _Float64 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf64 (_Float64 __x, _Float64 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf64 (_Float64 __x, _Float64 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef64 (_Float64 *__cx, const _Float64 *__x) throw (); 10182: 10182: 10182: extern _Float64 getpayloadf64 (const _Float64 *__x) throw (); extern _Float64 __getpayloadf64 (const _Float64 *__x) throw (); 10182: 10182: 10182: extern int setpayloadf64 (_Float64 *__x, _Float64 __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf64 (_Float64 *__x, _Float64 __payload) throw (); 10182: # 407 "/usr/include/math.h" 2 3 4 10182: # 423 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float128 acosf128 (_Float128 __x) throw (); extern _Float128 __acosf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 asinf128 (_Float128 __x) throw (); extern _Float128 __asinf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 atanf128 (_Float128 __x) throw (); extern _Float128 __atanf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 atan2f128 (_Float128 __y, _Float128 __x) throw (); extern _Float128 __atan2f128 (_Float128 __y, _Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 cosf128 (_Float128 __x) throw (); extern _Float128 __cosf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 sinf128 (_Float128 __x) throw (); extern _Float128 __sinf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 tanf128 (_Float128 __x) throw (); extern _Float128 __tanf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 coshf128 (_Float128 __x) throw (); extern _Float128 __coshf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 sinhf128 (_Float128 __x) throw (); extern _Float128 __sinhf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 tanhf128 (_Float128 __x) throw (); extern _Float128 __tanhf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf128 (_Float128 __x, _Float128 *__sinx, _Float128 *__cosx) throw (); extern void __sincosf128 (_Float128 __x, _Float128 *__sinx, _Float128 *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern _Float128 acoshf128 (_Float128 __x) throw (); extern _Float128 __acoshf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 asinhf128 (_Float128 __x) throw (); extern _Float128 __asinhf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 atanhf128 (_Float128 __x) throw (); extern _Float128 __atanhf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 expf128 (_Float128 __x) throw (); extern _Float128 __expf128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 frexpf128 (_Float128 __x, int *__exponent) throw (); extern _Float128 __frexpf128 (_Float128 __x, int *__exponent) throw (); 10182: 10182: 10182: extern _Float128 ldexpf128 (_Float128 __x, int __exponent) throw (); extern _Float128 __ldexpf128 (_Float128 __x, int __exponent) throw (); 10182: 10182: 10182: extern _Float128 logf128 (_Float128 __x) throw (); extern _Float128 __logf128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 log10f128 (_Float128 __x) throw (); extern _Float128 __log10f128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 modff128 (_Float128 __x, _Float128 *__iptr) throw (); extern _Float128 __modff128 (_Float128 __x, _Float128 *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern _Float128 exp10f128 (_Float128 __x) throw (); extern _Float128 __exp10f128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 expm1f128 (_Float128 __x) throw (); extern _Float128 __expm1f128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 log1pf128 (_Float128 __x) throw (); extern _Float128 __log1pf128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 logbf128 (_Float128 __x) throw (); extern _Float128 __logbf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 exp2f128 (_Float128 __x) throw (); extern _Float128 __exp2f128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 log2f128 (_Float128 __x) throw (); extern _Float128 __log2f128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 powf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __powf128 (_Float128 __x, _Float128 __y) throw (); 10182: 10182: 10182: extern _Float128 sqrtf128 (_Float128 __x) throw (); extern _Float128 __sqrtf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern _Float128 hypotf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __hypotf128 (_Float128 __x, _Float128 __y) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 cbrtf128 (_Float128 __x) throw (); extern _Float128 __cbrtf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 ceilf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __ceilf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 fabsf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __fabsf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 floorf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __floorf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 fmodf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __fmodf128 (_Float128 __x, _Float128 __y) throw (); 10182: # 196 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float128 copysignf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); extern _Float128 __copysignf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float128 nanf128 (const char *__tagb) throw () __attribute__ ((__const__)); extern _Float128 __nanf128 (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float128 j0f128 (_Float128) throw (); extern _Float128 __j0f128 (_Float128) throw (); 10182: extern _Float128 j1f128 (_Float128) throw (); extern _Float128 __j1f128 (_Float128) throw (); 10182: extern _Float128 jnf128 (int, _Float128) throw (); extern _Float128 __jnf128 (int, _Float128) throw (); 10182: extern _Float128 y0f128 (_Float128) throw (); extern _Float128 __y0f128 (_Float128) throw (); 10182: extern _Float128 y1f128 (_Float128) throw (); extern _Float128 __y1f128 (_Float128) throw (); 10182: extern _Float128 ynf128 (int, _Float128) throw (); extern _Float128 __ynf128 (int, _Float128) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 erff128 (_Float128) throw (); extern _Float128 __erff128 (_Float128) throw (); 10182: extern _Float128 erfcf128 (_Float128) throw (); extern _Float128 __erfcf128 (_Float128) throw (); 10182: extern _Float128 lgammaf128 (_Float128) throw (); extern _Float128 __lgammaf128 (_Float128) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 tgammaf128 (_Float128) throw (); extern _Float128 __tgammaf128 (_Float128) throw (); 10182: # 249 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float128 lgammaf128_r (_Float128, int *__signgamp) throw (); extern _Float128 __lgammaf128_r (_Float128, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 rintf128 (_Float128 __x) throw (); extern _Float128 __rintf128 (_Float128 __x) throw (); 10182: 10182: 10182: extern _Float128 nextafterf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __nextafterf128 (_Float128 __x, _Float128 __y) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float128 nextdownf128 (_Float128 __x) throw (); extern _Float128 __nextdownf128 (_Float128 __x) throw (); 10182: 10182: extern _Float128 nextupf128 (_Float128 __x) throw (); extern _Float128 __nextupf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern _Float128 remainderf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __remainderf128 (_Float128 __x, _Float128 __y) throw (); 10182: 10182: 10182: 10182: extern _Float128 scalbnf128 (_Float128 __x, int __n) throw (); extern _Float128 __scalbnf128 (_Float128 __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf128 (_Float128 __x) throw (); extern int __ilogbf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf128 (_Float128 __x) throw (); extern long int __llogbf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 scalblnf128 (_Float128 __x, long int __n) throw (); extern _Float128 __scalblnf128 (_Float128 __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern _Float128 nearbyintf128 (_Float128 __x) throw (); extern _Float128 __nearbyintf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern _Float128 roundf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __roundf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern _Float128 truncf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __truncf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float128 remquof128 (_Float128 __x, _Float128 __y, int *__quo) throw (); extern _Float128 __remquof128 (_Float128 __x, _Float128 __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf128 (_Float128 __x) throw (); extern long int __lrintf128 (_Float128 __x) throw (); 10182: __extension__ 10182: extern long long int llrintf128 (_Float128 __x) throw (); extern long long int __llrintf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf128 (_Float128 __x) throw (); extern long int __lroundf128 (_Float128 __x) throw (); 10182: __extension__ 10182: extern long long int llroundf128 (_Float128 __x) throw (); extern long long int __llroundf128 (_Float128 __x) throw (); 10182: 10182: 10182: 10182: extern _Float128 fdimf128 (_Float128 __x, _Float128 __y) throw (); extern _Float128 __fdimf128 (_Float128 __x, _Float128 __y) throw (); 10182: 10182: 10182: extern _Float128 fmaxf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); extern _Float128 __fmaxf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 fminf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); extern _Float128 __fminf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 fmaf128 (_Float128 __x, _Float128 __y, _Float128 __z) throw (); extern _Float128 __fmaf128 (_Float128 __x, _Float128 __y, _Float128 __z) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float128 roundevenf128 (_Float128 __x) throw () __attribute__ ((__const__)); extern _Float128 __roundevenf128 (_Float128 __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf128 (_Float128 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf128 (_Float128 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf128 (_Float128 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf128 (_Float128 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf128 (_Float128 __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf128 (_Float128 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf128 (_Float128 __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf128 (_Float128 __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern _Float128 fmaxmagf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); extern _Float128 __fmaxmagf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float128 fminmagf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); extern _Float128 __fminmagf128 (_Float128 __x, _Float128 __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf128 (_Float128 __x, _Float128 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf128 (_Float128 __x, _Float128 __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef128 (_Float128 *__cx, const _Float128 *__x) throw (); 10182: 10182: 10182: extern _Float128 getpayloadf128 (const _Float128 *__x) throw (); extern _Float128 __getpayloadf128 (const _Float128 *__x) throw (); 10182: 10182: 10182: extern int setpayloadf128 (_Float128 *__x, _Float128 __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf128 (_Float128 *__x, _Float128 __payload) throw (); 10182: # 424 "/usr/include/math.h" 2 3 4 10182: # 440 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32x acosf32x (_Float32x __x) throw (); extern _Float32x __acosf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x asinf32x (_Float32x __x) throw (); extern _Float32x __asinf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x atanf32x (_Float32x __x) throw (); extern _Float32x __atanf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x atan2f32x (_Float32x __y, _Float32x __x) throw (); extern _Float32x __atan2f32x (_Float32x __y, _Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x cosf32x (_Float32x __x) throw (); extern _Float32x __cosf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x sinf32x (_Float32x __x) throw (); extern _Float32x __sinf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x tanf32x (_Float32x __x) throw (); extern _Float32x __tanf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x coshf32x (_Float32x __x) throw (); extern _Float32x __coshf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x sinhf32x (_Float32x __x) throw (); extern _Float32x __sinhf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x tanhf32x (_Float32x __x) throw (); extern _Float32x __tanhf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf32x (_Float32x __x, _Float32x *__sinx, _Float32x *__cosx) throw (); extern void __sincosf32x (_Float32x __x, _Float32x *__sinx, _Float32x *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern _Float32x acoshf32x (_Float32x __x) throw (); extern _Float32x __acoshf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x asinhf32x (_Float32x __x) throw (); extern _Float32x __asinhf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x atanhf32x (_Float32x __x) throw (); extern _Float32x __atanhf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x expf32x (_Float32x __x) throw (); extern _Float32x __expf32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x frexpf32x (_Float32x __x, int *__exponent) throw (); extern _Float32x __frexpf32x (_Float32x __x, int *__exponent) throw (); 10182: 10182: 10182: extern _Float32x ldexpf32x (_Float32x __x, int __exponent) throw (); extern _Float32x __ldexpf32x (_Float32x __x, int __exponent) throw (); 10182: 10182: 10182: extern _Float32x logf32x (_Float32x __x) throw (); extern _Float32x __logf32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x log10f32x (_Float32x __x) throw (); extern _Float32x __log10f32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x modff32x (_Float32x __x, _Float32x *__iptr) throw (); extern _Float32x __modff32x (_Float32x __x, _Float32x *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern _Float32x exp10f32x (_Float32x __x) throw (); extern _Float32x __exp10f32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x expm1f32x (_Float32x __x) throw (); extern _Float32x __expm1f32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x log1pf32x (_Float32x __x) throw (); extern _Float32x __log1pf32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x logbf32x (_Float32x __x) throw (); extern _Float32x __logbf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x exp2f32x (_Float32x __x) throw (); extern _Float32x __exp2f32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x log2f32x (_Float32x __x) throw (); extern _Float32x __log2f32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x powf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __powf32x (_Float32x __x, _Float32x __y) throw (); 10182: 10182: 10182: extern _Float32x sqrtf32x (_Float32x __x) throw (); extern _Float32x __sqrtf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern _Float32x hypotf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __hypotf32x (_Float32x __x, _Float32x __y) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x cbrtf32x (_Float32x __x) throw (); extern _Float32x __cbrtf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x ceilf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __ceilf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x fabsf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __fabsf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x floorf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __floorf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x fmodf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __fmodf32x (_Float32x __x, _Float32x __y) throw (); 10182: # 196 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32x copysignf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); extern _Float32x __copysignf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float32x nanf32x (const char *__tagb) throw () __attribute__ ((__const__)); extern _Float32x __nanf32x (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32x j0f32x (_Float32x) throw (); extern _Float32x __j0f32x (_Float32x) throw (); 10182: extern _Float32x j1f32x (_Float32x) throw (); extern _Float32x __j1f32x (_Float32x) throw (); 10182: extern _Float32x jnf32x (int, _Float32x) throw (); extern _Float32x __jnf32x (int, _Float32x) throw (); 10182: extern _Float32x y0f32x (_Float32x) throw (); extern _Float32x __y0f32x (_Float32x) throw (); 10182: extern _Float32x y1f32x (_Float32x) throw (); extern _Float32x __y1f32x (_Float32x) throw (); 10182: extern _Float32x ynf32x (int, _Float32x) throw (); extern _Float32x __ynf32x (int, _Float32x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x erff32x (_Float32x) throw (); extern _Float32x __erff32x (_Float32x) throw (); 10182: extern _Float32x erfcf32x (_Float32x) throw (); extern _Float32x __erfcf32x (_Float32x) throw (); 10182: extern _Float32x lgammaf32x (_Float32x) throw (); extern _Float32x __lgammaf32x (_Float32x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x tgammaf32x (_Float32x) throw (); extern _Float32x __tgammaf32x (_Float32x) throw (); 10182: # 249 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float32x lgammaf32x_r (_Float32x, int *__signgamp) throw (); extern _Float32x __lgammaf32x_r (_Float32x, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x rintf32x (_Float32x __x) throw (); extern _Float32x __rintf32x (_Float32x __x) throw (); 10182: 10182: 10182: extern _Float32x nextafterf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __nextafterf32x (_Float32x __x, _Float32x __y) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float32x nextdownf32x (_Float32x __x) throw (); extern _Float32x __nextdownf32x (_Float32x __x) throw (); 10182: 10182: extern _Float32x nextupf32x (_Float32x __x) throw (); extern _Float32x __nextupf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern _Float32x remainderf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __remainderf32x (_Float32x __x, _Float32x __y) throw (); 10182: 10182: 10182: 10182: extern _Float32x scalbnf32x (_Float32x __x, int __n) throw (); extern _Float32x __scalbnf32x (_Float32x __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf32x (_Float32x __x) throw (); extern int __ilogbf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf32x (_Float32x __x) throw (); extern long int __llogbf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x scalblnf32x (_Float32x __x, long int __n) throw (); extern _Float32x __scalblnf32x (_Float32x __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern _Float32x nearbyintf32x (_Float32x __x) throw (); extern _Float32x __nearbyintf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern _Float32x roundf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __roundf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern _Float32x truncf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __truncf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float32x remquof32x (_Float32x __x, _Float32x __y, int *__quo) throw (); extern _Float32x __remquof32x (_Float32x __x, _Float32x __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf32x (_Float32x __x) throw (); extern long int __lrintf32x (_Float32x __x) throw (); 10182: __extension__ 10182: extern long long int llrintf32x (_Float32x __x) throw (); extern long long int __llrintf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf32x (_Float32x __x) throw (); extern long int __lroundf32x (_Float32x __x) throw (); 10182: __extension__ 10182: extern long long int llroundf32x (_Float32x __x) throw (); extern long long int __llroundf32x (_Float32x __x) throw (); 10182: 10182: 10182: 10182: extern _Float32x fdimf32x (_Float32x __x, _Float32x __y) throw (); extern _Float32x __fdimf32x (_Float32x __x, _Float32x __y) throw (); 10182: 10182: 10182: extern _Float32x fmaxf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); extern _Float32x __fmaxf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x fminf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); extern _Float32x __fminf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x fmaf32x (_Float32x __x, _Float32x __y, _Float32x __z) throw (); extern _Float32x __fmaf32x (_Float32x __x, _Float32x __y, _Float32x __z) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float32x roundevenf32x (_Float32x __x) throw () __attribute__ ((__const__)); extern _Float32x __roundevenf32x (_Float32x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf32x (_Float32x __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf32x (_Float32x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf32x (_Float32x __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf32x (_Float32x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf32x (_Float32x __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf32x (_Float32x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf32x (_Float32x __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf32x (_Float32x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern _Float32x fmaxmagf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); extern _Float32x __fmaxmagf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float32x fminmagf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); extern _Float32x __fminmagf32x (_Float32x __x, _Float32x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf32x (_Float32x __x, _Float32x __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf32x (_Float32x __x, _Float32x __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef32x (_Float32x *__cx, const _Float32x *__x) throw (); 10182: 10182: 10182: extern _Float32x getpayloadf32x (const _Float32x *__x) throw (); extern _Float32x __getpayloadf32x (const _Float32x *__x) throw (); 10182: 10182: 10182: extern int setpayloadf32x (_Float32x *__x, _Float32x __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf32x (_Float32x *__x, _Float32x __payload) throw (); 10182: # 441 "/usr/include/math.h" 2 3 4 10182: # 457 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 1 3 4 10182: # 53 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64x acosf64x (_Float64x __x) throw (); extern _Float64x __acosf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x asinf64x (_Float64x __x) throw (); extern _Float64x __asinf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x atanf64x (_Float64x __x) throw (); extern _Float64x __atanf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x atan2f64x (_Float64x __y, _Float64x __x) throw (); extern _Float64x __atan2f64x (_Float64x __y, _Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x cosf64x (_Float64x __x) throw (); extern _Float64x __cosf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x sinf64x (_Float64x __x) throw (); extern _Float64x __sinf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x tanf64x (_Float64x __x) throw (); extern _Float64x __tanf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x coshf64x (_Float64x __x) throw (); extern _Float64x __coshf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x sinhf64x (_Float64x __x) throw (); extern _Float64x __sinhf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x tanhf64x (_Float64x __x) throw (); extern _Float64x __tanhf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern void sincosf64x (_Float64x __x, _Float64x *__sinx, _Float64x *__cosx) throw (); extern void __sincosf64x (_Float64x __x, _Float64x *__sinx, _Float64x *__cosx) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern _Float64x acoshf64x (_Float64x __x) throw (); extern _Float64x __acoshf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x asinhf64x (_Float64x __x) throw (); extern _Float64x __asinhf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x atanhf64x (_Float64x __x) throw (); extern _Float64x __atanhf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x expf64x (_Float64x __x) throw (); extern _Float64x __expf64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x frexpf64x (_Float64x __x, int *__exponent) throw (); extern _Float64x __frexpf64x (_Float64x __x, int *__exponent) throw (); 10182: 10182: 10182: extern _Float64x ldexpf64x (_Float64x __x, int __exponent) throw (); extern _Float64x __ldexpf64x (_Float64x __x, int __exponent) throw (); 10182: 10182: 10182: extern _Float64x logf64x (_Float64x __x) throw (); extern _Float64x __logf64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x log10f64x (_Float64x __x) throw (); extern _Float64x __log10f64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x modff64x (_Float64x __x, _Float64x *__iptr) throw (); extern _Float64x __modff64x (_Float64x __x, _Float64x *__iptr) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern _Float64x exp10f64x (_Float64x __x) throw (); extern _Float64x __exp10f64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x expm1f64x (_Float64x __x) throw (); extern _Float64x __expm1f64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x log1pf64x (_Float64x __x) throw (); extern _Float64x __log1pf64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x logbf64x (_Float64x __x) throw (); extern _Float64x __logbf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x exp2f64x (_Float64x __x) throw (); extern _Float64x __exp2f64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x log2f64x (_Float64x __x) throw (); extern _Float64x __log2f64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x powf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __powf64x (_Float64x __x, _Float64x __y) throw (); 10182: 10182: 10182: extern _Float64x sqrtf64x (_Float64x __x) throw (); extern _Float64x __sqrtf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern _Float64x hypotf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __hypotf64x (_Float64x __x, _Float64x __y) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x cbrtf64x (_Float64x __x) throw (); extern _Float64x __cbrtf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x ceilf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __ceilf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x fabsf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __fabsf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x floorf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __floorf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x fmodf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __fmodf64x (_Float64x __x, _Float64x __y) throw (); 10182: # 196 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64x copysignf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); extern _Float64x __copysignf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float64x nanf64x (const char *__tagb) throw () __attribute__ ((__const__)); extern _Float64x __nanf64x (const char *__tagb) throw () __attribute__ ((__const__)); 10182: # 217 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64x j0f64x (_Float64x) throw (); extern _Float64x __j0f64x (_Float64x) throw (); 10182: extern _Float64x j1f64x (_Float64x) throw (); extern _Float64x __j1f64x (_Float64x) throw (); 10182: extern _Float64x jnf64x (int, _Float64x) throw (); extern _Float64x __jnf64x (int, _Float64x) throw (); 10182: extern _Float64x y0f64x (_Float64x) throw (); extern _Float64x __y0f64x (_Float64x) throw (); 10182: extern _Float64x y1f64x (_Float64x) throw (); extern _Float64x __y1f64x (_Float64x) throw (); 10182: extern _Float64x ynf64x (int, _Float64x) throw (); extern _Float64x __ynf64x (int, _Float64x) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x erff64x (_Float64x) throw (); extern _Float64x __erff64x (_Float64x) throw (); 10182: extern _Float64x erfcf64x (_Float64x) throw (); extern _Float64x __erfcf64x (_Float64x) throw (); 10182: extern _Float64x lgammaf64x (_Float64x) throw (); extern _Float64x __lgammaf64x (_Float64x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x tgammaf64x (_Float64x) throw (); extern _Float64x __tgammaf64x (_Float64x) throw (); 10182: # 249 "/usr/include/aarch64-linux-gnu/bits/mathcalls.h" 3 4 10182: extern _Float64x lgammaf64x_r (_Float64x, int *__signgamp) throw (); extern _Float64x __lgammaf64x_r (_Float64x, int *__signgamp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x rintf64x (_Float64x __x) throw (); extern _Float64x __rintf64x (_Float64x __x) throw (); 10182: 10182: 10182: extern _Float64x nextafterf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __nextafterf64x (_Float64x __x, _Float64x __y) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern _Float64x nextdownf64x (_Float64x __x) throw (); extern _Float64x __nextdownf64x (_Float64x __x) throw (); 10182: 10182: extern _Float64x nextupf64x (_Float64x __x) throw (); extern _Float64x __nextupf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern _Float64x remainderf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __remainderf64x (_Float64x __x, _Float64x __y) throw (); 10182: 10182: 10182: 10182: extern _Float64x scalbnf64x (_Float64x __x, int __n) throw (); extern _Float64x __scalbnf64x (_Float64x __x, int __n) throw (); 10182: 10182: 10182: 10182: extern int ilogbf64x (_Float64x __x) throw (); extern int __ilogbf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern long int llogbf64x (_Float64x __x) throw (); extern long int __llogbf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x scalblnf64x (_Float64x __x, long int __n) throw (); extern _Float64x __scalblnf64x (_Float64x __x, long int __n) throw (); 10182: 10182: 10182: 10182: extern _Float64x nearbyintf64x (_Float64x __x) throw (); extern _Float64x __nearbyintf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern _Float64x roundf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __roundf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern _Float64x truncf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __truncf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern _Float64x remquof64x (_Float64x __x, _Float64x __y, int *__quo) throw (); extern _Float64x __remquof64x (_Float64x __x, _Float64x __y, int *__quo) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int lrintf64x (_Float64x __x) throw (); extern long int __lrintf64x (_Float64x __x) throw (); 10182: __extension__ 10182: extern long long int llrintf64x (_Float64x __x) throw (); extern long long int __llrintf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern long int lroundf64x (_Float64x __x) throw (); extern long int __lroundf64x (_Float64x __x) throw (); 10182: __extension__ 10182: extern long long int llroundf64x (_Float64x __x) throw (); extern long long int __llroundf64x (_Float64x __x) throw (); 10182: 10182: 10182: 10182: extern _Float64x fdimf64x (_Float64x __x, _Float64x __y) throw (); extern _Float64x __fdimf64x (_Float64x __x, _Float64x __y) throw (); 10182: 10182: 10182: extern _Float64x fmaxf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); extern _Float64x __fmaxf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x fminf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); extern _Float64x __fminf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x fmaf64x (_Float64x __x, _Float64x __y, _Float64x __z) throw (); extern _Float64x __fmaf64x (_Float64x __x, _Float64x __y, _Float64x __z) throw (); 10182: 10182: 10182: 10182: 10182: extern _Float64x roundevenf64x (_Float64x __x) throw () __attribute__ ((__const__)); extern _Float64x __roundevenf64x (_Float64x __x) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: extern __intmax_t fromfpf64x (_Float64x __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpf64x (_Float64x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpf64x (_Float64x __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpf64x (_Float64x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __intmax_t fromfpxf64x (_Float64x __x, int __round, unsigned int __width) throw (); extern __intmax_t __fromfpxf64x (_Float64x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: 10182: 10182: extern __uintmax_t ufromfpxf64x (_Float64x __x, int __round, unsigned int __width) throw (); extern __uintmax_t __ufromfpxf64x (_Float64x __x, int __round, unsigned int __width) throw () 10182: ; 10182: 10182: 10182: extern _Float64x fmaxmagf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); extern _Float64x __fmaxmagf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern _Float64x fminmagf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); extern _Float64x __fminmagf64x (_Float64x __x, _Float64x __y) throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalorderf64x (_Float64x __x, _Float64x __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int totalordermagf64x (_Float64x __x, _Float64x __y) throw () 10182: __attribute__ ((__const__)); 10182: 10182: 10182: extern int canonicalizef64x (_Float64x *__cx, const _Float64x *__x) throw (); 10182: 10182: 10182: extern _Float64x getpayloadf64x (const _Float64x *__x) throw (); extern _Float64x __getpayloadf64x (const _Float64x *__x) throw (); 10182: 10182: 10182: extern int setpayloadf64x (_Float64x *__x, _Float64x __payload) throw (); 10182: 10182: 10182: extern int setpayloadsigf64x (_Float64x *__x, _Float64x __payload) throw (); 10182: # 458 "/usr/include/math.h" 2 3 4 10182: # 489 "/usr/include/math.h" 3 4 10182: extern int signgam; 10182: # 569 "/usr/include/math.h" 3 4 10182: enum 10182: { 10182: FP_NAN = 10182: 10182: 0, 10182: FP_INFINITE = 10182: 10182: 1, 10182: FP_ZERO = 10182: 10182: 2, 10182: FP_SUBNORMAL = 10182: 10182: 3, 10182: FP_NORMAL = 10182: 10182: 4 10182: }; 10182: # 684 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/iscanonical.h" 1 3 4 10182: # 685 "/usr/include/math.h" 2 3 4 10182: # 696 "/usr/include/math.h" 3 4 10182: extern "C++" { 10182: inline int issignaling (float __val) { return __issignalingf (__val); } 10182: inline int issignaling (double __val) { return __issignaling (__val); } 10182: inline int 10182: issignaling (long double __val) 10182: { 10182: 10182: 10182: 10182: return __issignalingl (__val); 10182: 10182: } 10182: 10182: 10182: 10182: } 10182: # 725 "/usr/include/math.h" 3 4 10182: extern "C++" { 10182: # 754 "/usr/include/math.h" 3 4 10182: template inline bool 10182: iszero (__T __val) 10182: { 10182: return __val == 0; 10182: } 10182: 10182: } 10182: # 952 "/usr/include/math.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/mathinline.h" 1 3 4 10182: # 953 "/usr/include/math.h" 2 3 4 10182: # 1205 "/usr/include/math.h" 3 4 10182: extern "C++" { 10182: template struct __iseqsig_type; 10182: 10182: template<> struct __iseqsig_type 10182: { 10182: static int __call (float __x, float __y) throw () 10182: { 10182: return __iseqsigf (__x, __y); 10182: } 10182: }; 10182: 10182: template<> struct __iseqsig_type 10182: { 10182: static int __call (double __x, double __y) throw () 10182: { 10182: return __iseqsig (__x, __y); 10182: } 10182: }; 10182: 10182: template<> struct __iseqsig_type 10182: { 10182: static int __call (long double __x, long double __y) throw () 10182: { 10182: 10182: return __iseqsigl (__x, __y); 10182: 10182: 10182: 10182: } 10182: }; 10182: # 1246 "/usr/include/math.h" 3 4 10182: template 10182: inline int 10182: iseqsig (_T1 __x, _T2 __y) throw () 10182: { 10182: 10182: typedef decltype (((__x) + (__y) + 0.0f)) _T3; 10182: 10182: 10182: 10182: return __iseqsig_type<_T3>::__call (__x, __y); 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: 10182: } 10182: # 46 "/usr/include/c++/7/cmath" 2 3 10182: # 77 "/usr/include/c++/7/cmath" 3 10182: extern "C++" 10182: { 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: using ::acos; 10182: 10182: 10182: inline constexpr float 10182: acos(float __x) 10182: { return __builtin_acosf(__x); } 10182: 10182: inline constexpr long double 10182: acos(long double __x) 10182: { return __builtin_acosl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: acos(_Tp __x) 10182: { return __builtin_acos(__x); } 10182: 10182: using ::asin; 10182: 10182: 10182: inline constexpr float 10182: asin(float __x) 10182: { return __builtin_asinf(__x); } 10182: 10182: inline constexpr long double 10182: asin(long double __x) 10182: { return __builtin_asinl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: asin(_Tp __x) 10182: { return __builtin_asin(__x); } 10182: 10182: using ::atan; 10182: 10182: 10182: inline constexpr float 10182: atan(float __x) 10182: { return __builtin_atanf(__x); } 10182: 10182: inline constexpr long double 10182: atan(long double __x) 10182: { return __builtin_atanl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: atan(_Tp __x) 10182: { return __builtin_atan(__x); } 10182: 10182: using ::atan2; 10182: 10182: 10182: inline constexpr float 10182: atan2(float __y, float __x) 10182: { return __builtin_atan2f(__y, __x); } 10182: 10182: inline constexpr long double 10182: atan2(long double __y, long double __x) 10182: { return __builtin_atan2l(__y, __x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: atan2(_Tp __y, _Up __x) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return atan2(__type(__y), __type(__x)); 10182: } 10182: 10182: using ::ceil; 10182: 10182: 10182: inline constexpr float 10182: ceil(float __x) 10182: { return __builtin_ceilf(__x); } 10182: 10182: inline constexpr long double 10182: ceil(long double __x) 10182: { return __builtin_ceill(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: ceil(_Tp __x) 10182: { return __builtin_ceil(__x); } 10182: 10182: using ::cos; 10182: 10182: 10182: inline constexpr float 10182: cos(float __x) 10182: { return __builtin_cosf(__x); } 10182: 10182: inline constexpr long double 10182: cos(long double __x) 10182: { return __builtin_cosl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: cos(_Tp __x) 10182: { return __builtin_cos(__x); } 10182: 10182: using ::cosh; 10182: 10182: 10182: inline constexpr float 10182: cosh(float __x) 10182: { return __builtin_coshf(__x); } 10182: 10182: inline constexpr long double 10182: cosh(long double __x) 10182: { return __builtin_coshl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: cosh(_Tp __x) 10182: { return __builtin_cosh(__x); } 10182: 10182: using ::exp; 10182: 10182: 10182: inline constexpr float 10182: exp(float __x) 10182: { return __builtin_expf(__x); } 10182: 10182: inline constexpr long double 10182: exp(long double __x) 10182: { return __builtin_expl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: exp(_Tp __x) 10182: { return __builtin_exp(__x); } 10182: 10182: using ::fabs; 10182: 10182: 10182: inline constexpr float 10182: fabs(float __x) 10182: { return __builtin_fabsf(__x); } 10182: 10182: inline constexpr long double 10182: fabs(long double __x) 10182: { return __builtin_fabsl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: fabs(_Tp __x) 10182: { return __builtin_fabs(__x); } 10182: 10182: using ::floor; 10182: 10182: 10182: inline constexpr float 10182: floor(float __x) 10182: { return __builtin_floorf(__x); } 10182: 10182: inline constexpr long double 10182: floor(long double __x) 10182: { return __builtin_floorl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: floor(_Tp __x) 10182: { return __builtin_floor(__x); } 10182: 10182: using ::fmod; 10182: 10182: 10182: inline constexpr float 10182: fmod(float __x, float __y) 10182: { return __builtin_fmodf(__x, __y); } 10182: 10182: inline constexpr long double 10182: fmod(long double __x, long double __y) 10182: { return __builtin_fmodl(__x, __y); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: fmod(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return fmod(__type(__x), __type(__y)); 10182: } 10182: 10182: using ::frexp; 10182: 10182: 10182: inline float 10182: frexp(float __x, int* __exp) 10182: { return __builtin_frexpf(__x, __exp); } 10182: 10182: inline long double 10182: frexp(long double __x, int* __exp) 10182: { return __builtin_frexpl(__x, __exp); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: frexp(_Tp __x, int* __exp) 10182: { return __builtin_frexp(__x, __exp); } 10182: 10182: using ::ldexp; 10182: 10182: 10182: inline constexpr float 10182: ldexp(float __x, int __exp) 10182: { return __builtin_ldexpf(__x, __exp); } 10182: 10182: inline constexpr long double 10182: ldexp(long double __x, int __exp) 10182: { return __builtin_ldexpl(__x, __exp); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: ldexp(_Tp __x, int __exp) 10182: { return __builtin_ldexp(__x, __exp); } 10182: 10182: using ::log; 10182: 10182: 10182: inline constexpr float 10182: log(float __x) 10182: { return __builtin_logf(__x); } 10182: 10182: inline constexpr long double 10182: log(long double __x) 10182: { return __builtin_logl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: log(_Tp __x) 10182: { return __builtin_log(__x); } 10182: 10182: using ::log10; 10182: 10182: 10182: inline constexpr float 10182: log10(float __x) 10182: { return __builtin_log10f(__x); } 10182: 10182: inline constexpr long double 10182: log10(long double __x) 10182: { return __builtin_log10l(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: log10(_Tp __x) 10182: { return __builtin_log10(__x); } 10182: 10182: using ::modf; 10182: 10182: 10182: inline float 10182: modf(float __x, float* __iptr) 10182: { return __builtin_modff(__x, __iptr); } 10182: 10182: inline long double 10182: modf(long double __x, long double* __iptr) 10182: { return __builtin_modfl(__x, __iptr); } 10182: 10182: 10182: using ::pow; 10182: 10182: 10182: inline constexpr float 10182: pow(float __x, float __y) 10182: { return __builtin_powf(__x, __y); } 10182: 10182: inline constexpr long double 10182: pow(long double __x, long double __y) 10182: { return __builtin_powl(__x, __y); } 10182: # 412 "/usr/include/c++/7/cmath" 3 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: pow(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return pow(__type(__x), __type(__y)); 10182: } 10182: 10182: using ::sin; 10182: 10182: 10182: inline constexpr float 10182: sin(float __x) 10182: { return __builtin_sinf(__x); } 10182: 10182: inline constexpr long double 10182: sin(long double __x) 10182: { return __builtin_sinl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: sin(_Tp __x) 10182: { return __builtin_sin(__x); } 10182: 10182: using ::sinh; 10182: 10182: 10182: inline constexpr float 10182: sinh(float __x) 10182: { return __builtin_sinhf(__x); } 10182: 10182: inline constexpr long double 10182: sinh(long double __x) 10182: { return __builtin_sinhl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: sinh(_Tp __x) 10182: { return __builtin_sinh(__x); } 10182: 10182: using ::sqrt; 10182: 10182: 10182: inline constexpr float 10182: sqrt(float __x) 10182: { return __builtin_sqrtf(__x); } 10182: 10182: inline constexpr long double 10182: sqrt(long double __x) 10182: { return __builtin_sqrtl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: sqrt(_Tp __x) 10182: { return __builtin_sqrt(__x); } 10182: 10182: using ::tan; 10182: 10182: 10182: inline constexpr float 10182: tan(float __x) 10182: { return __builtin_tanf(__x); } 10182: 10182: inline constexpr long double 10182: tan(long double __x) 10182: { return __builtin_tanl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: tan(_Tp __x) 10182: { return __builtin_tan(__x); } 10182: 10182: using ::tanh; 10182: 10182: 10182: inline constexpr float 10182: tanh(float __x) 10182: { return __builtin_tanhf(__x); } 10182: 10182: inline constexpr long double 10182: tanh(long double __x) 10182: { return __builtin_tanhl(__x); } 10182: 10182: 10182: template 10182: inline constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: tanh(_Tp __x) 10182: { return __builtin_tanh(__x); } 10182: 10182: 10182: } 10182: # 536 "/usr/include/c++/7/cmath" 3 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: constexpr int 10182: fpclassify(float __x) 10182: { return __builtin_fpclassify(0, 1, 4, 10182: 3, 2, __x); } 10182: 10182: constexpr int 10182: fpclassify(double __x) 10182: { return __builtin_fpclassify(0, 1, 4, 10182: 3, 2, __x); } 10182: 10182: constexpr int 10182: fpclassify(long double __x) 10182: { return __builtin_fpclassify(0, 1, 4, 10182: 3, 2, __x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: int>::__type 10182: fpclassify(_Tp __x) 10182: { return __x != 0 ? 4 : 2; } 10182: 10182: 10182: 10182: constexpr bool 10182: isfinite(float __x) 10182: { return __builtin_isfinite(__x); } 10182: 10182: constexpr bool 10182: isfinite(double __x) 10182: { return __builtin_isfinite(__x); } 10182: 10182: constexpr bool 10182: isfinite(long double __x) 10182: { return __builtin_isfinite(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: bool>::__type 10182: isfinite(_Tp __x) 10182: { return true; } 10182: 10182: 10182: 10182: constexpr bool 10182: isinf(float __x) 10182: { return __builtin_isinf(__x); } 10182: 10182: 10182: 10182: 10182: 10182: constexpr bool 10182: isinf(double __x) 10182: { return __builtin_isinf(__x); } 10182: 10182: 10182: constexpr bool 10182: isinf(long double __x) 10182: { return __builtin_isinf(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: bool>::__type 10182: isinf(_Tp __x) 10182: { return false; } 10182: 10182: 10182: 10182: constexpr bool 10182: isnan(float __x) 10182: { return __builtin_isnan(__x); } 10182: 10182: 10182: 10182: 10182: 10182: constexpr bool 10182: isnan(double __x) 10182: { return __builtin_isnan(__x); } 10182: 10182: 10182: constexpr bool 10182: isnan(long double __x) 10182: { return __builtin_isnan(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: bool>::__type 10182: isnan(_Tp __x) 10182: { return false; } 10182: 10182: 10182: 10182: constexpr bool 10182: isnormal(float __x) 10182: { return __builtin_isnormal(__x); } 10182: 10182: constexpr bool 10182: isnormal(double __x) 10182: { return __builtin_isnormal(__x); } 10182: 10182: constexpr bool 10182: isnormal(long double __x) 10182: { return __builtin_isnormal(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: bool>::__type 10182: isnormal(_Tp __x) 10182: { return __x != 0 ? true : false; } 10182: 10182: 10182: 10182: 10182: constexpr bool 10182: signbit(float __x) 10182: { return __builtin_signbit(__x); } 10182: 10182: constexpr bool 10182: signbit(double __x) 10182: { return __builtin_signbit(__x); } 10182: 10182: constexpr bool 10182: signbit(long double __x) 10182: { return __builtin_signbit(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: bool>::__type 10182: signbit(_Tp __x) 10182: { return __x < 0 ? true : false; } 10182: 10182: 10182: 10182: constexpr bool 10182: isgreater(float __x, float __y) 10182: { return __builtin_isgreater(__x, __y); } 10182: 10182: constexpr bool 10182: isgreater(double __x, double __y) 10182: { return __builtin_isgreater(__x, __y); } 10182: 10182: constexpr bool 10182: isgreater(long double __x, long double __y) 10182: { return __builtin_isgreater(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: isgreater(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_isgreater(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr bool 10182: isgreaterequal(float __x, float __y) 10182: { return __builtin_isgreaterequal(__x, __y); } 10182: 10182: constexpr bool 10182: isgreaterequal(double __x, double __y) 10182: { return __builtin_isgreaterequal(__x, __y); } 10182: 10182: constexpr bool 10182: isgreaterequal(long double __x, long double __y) 10182: { return __builtin_isgreaterequal(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: isgreaterequal(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_isgreaterequal(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr bool 10182: isless(float __x, float __y) 10182: { return __builtin_isless(__x, __y); } 10182: 10182: constexpr bool 10182: isless(double __x, double __y) 10182: { return __builtin_isless(__x, __y); } 10182: 10182: constexpr bool 10182: isless(long double __x, long double __y) 10182: { return __builtin_isless(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: isless(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_isless(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr bool 10182: islessequal(float __x, float __y) 10182: { return __builtin_islessequal(__x, __y); } 10182: 10182: constexpr bool 10182: islessequal(double __x, double __y) 10182: { return __builtin_islessequal(__x, __y); } 10182: 10182: constexpr bool 10182: islessequal(long double __x, long double __y) 10182: { return __builtin_islessequal(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: islessequal(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_islessequal(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr bool 10182: islessgreater(float __x, float __y) 10182: { return __builtin_islessgreater(__x, __y); } 10182: 10182: constexpr bool 10182: islessgreater(double __x, double __y) 10182: { return __builtin_islessgreater(__x, __y); } 10182: 10182: constexpr bool 10182: islessgreater(long double __x, long double __y) 10182: { return __builtin_islessgreater(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: islessgreater(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_islessgreater(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr bool 10182: isunordered(float __x, float __y) 10182: { return __builtin_isunordered(__x, __y); } 10182: 10182: constexpr bool 10182: isunordered(double __x, double __y) 10182: { return __builtin_isunordered(__x, __y); } 10182: 10182: constexpr bool 10182: isunordered(long double __x, long double __y) 10182: { return __builtin_isunordered(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename 10182: __gnu_cxx::__enable_if<(__is_arithmetic<_Tp>::__value 10182: && __is_arithmetic<_Up>::__value), bool>::__type 10182: isunordered(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return __builtin_isunordered(__type(__x), __type(__y)); 10182: } 10182: # 957 "/usr/include/c++/7/cmath" 3 10182: 10182: } 10182: # 1075 "/usr/include/c++/7/cmath" 3 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: 10182: using ::double_t; 10182: using ::float_t; 10182: 10182: 10182: using ::acosh; 10182: using ::acoshf; 10182: using ::acoshl; 10182: 10182: using ::asinh; 10182: using ::asinhf; 10182: using ::asinhl; 10182: 10182: using ::atanh; 10182: using ::atanhf; 10182: using ::atanhl; 10182: 10182: using ::cbrt; 10182: using ::cbrtf; 10182: using ::cbrtl; 10182: 10182: using ::copysign; 10182: using ::copysignf; 10182: using ::copysignl; 10182: 10182: using ::erf; 10182: using ::erff; 10182: using ::erfl; 10182: 10182: using ::erfc; 10182: using ::erfcf; 10182: using ::erfcl; 10182: 10182: using ::exp2; 10182: using ::exp2f; 10182: using ::exp2l; 10182: 10182: using ::expm1; 10182: using ::expm1f; 10182: using ::expm1l; 10182: 10182: using ::fdim; 10182: using ::fdimf; 10182: using ::fdiml; 10182: 10182: using ::fma; 10182: using ::fmaf; 10182: using ::fmal; 10182: 10182: using ::fmax; 10182: using ::fmaxf; 10182: using ::fmaxl; 10182: 10182: using ::fmin; 10182: using ::fminf; 10182: using ::fminl; 10182: 10182: using ::hypot; 10182: using ::hypotf; 10182: using ::hypotl; 10182: 10182: using ::ilogb; 10182: using ::ilogbf; 10182: using ::ilogbl; 10182: 10182: using ::lgamma; 10182: using ::lgammaf; 10182: using ::lgammal; 10182: 10182: 10182: using ::llrint; 10182: using ::llrintf; 10182: using ::llrintl; 10182: 10182: using ::llround; 10182: using ::llroundf; 10182: using ::llroundl; 10182: 10182: 10182: using ::log1p; 10182: using ::log1pf; 10182: using ::log1pl; 10182: 10182: using ::log2; 10182: using ::log2f; 10182: using ::log2l; 10182: 10182: using ::logb; 10182: using ::logbf; 10182: using ::logbl; 10182: 10182: using ::lrint; 10182: using ::lrintf; 10182: using ::lrintl; 10182: 10182: using ::lround; 10182: using ::lroundf; 10182: using ::lroundl; 10182: 10182: using ::nan; 10182: using ::nanf; 10182: using ::nanl; 10182: 10182: using ::nearbyint; 10182: using ::nearbyintf; 10182: using ::nearbyintl; 10182: 10182: using ::nextafter; 10182: using ::nextafterf; 10182: using ::nextafterl; 10182: 10182: using ::nexttoward; 10182: using ::nexttowardf; 10182: using ::nexttowardl; 10182: 10182: using ::remainder; 10182: using ::remainderf; 10182: using ::remainderl; 10182: 10182: using ::remquo; 10182: using ::remquof; 10182: using ::remquol; 10182: 10182: using ::rint; 10182: using ::rintf; 10182: using ::rintl; 10182: 10182: using ::round; 10182: using ::roundf; 10182: using ::roundl; 10182: 10182: using ::scalbln; 10182: using ::scalblnf; 10182: using ::scalblnl; 10182: 10182: using ::scalbn; 10182: using ::scalbnf; 10182: using ::scalbnl; 10182: 10182: using ::tgamma; 10182: using ::tgammaf; 10182: using ::tgammal; 10182: 10182: using ::trunc; 10182: using ::truncf; 10182: using ::truncl; 10182: 10182: 10182: 10182: constexpr float 10182: acosh(float __x) 10182: { return __builtin_acoshf(__x); } 10182: 10182: constexpr long double 10182: acosh(long double __x) 10182: { return __builtin_acoshl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: acosh(_Tp __x) 10182: { return __builtin_acosh(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: asinh(float __x) 10182: { return __builtin_asinhf(__x); } 10182: 10182: constexpr long double 10182: asinh(long double __x) 10182: { return __builtin_asinhl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: asinh(_Tp __x) 10182: { return __builtin_asinh(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: atanh(float __x) 10182: { return __builtin_atanhf(__x); } 10182: 10182: constexpr long double 10182: atanh(long double __x) 10182: { return __builtin_atanhl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: atanh(_Tp __x) 10182: { return __builtin_atanh(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: cbrt(float __x) 10182: { return __builtin_cbrtf(__x); } 10182: 10182: constexpr long double 10182: cbrt(long double __x) 10182: { return __builtin_cbrtl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: cbrt(_Tp __x) 10182: { return __builtin_cbrt(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: copysign(float __x, float __y) 10182: { return __builtin_copysignf(__x, __y); } 10182: 10182: constexpr long double 10182: copysign(long double __x, long double __y) 10182: { return __builtin_copysignl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: copysign(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return copysign(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: erf(float __x) 10182: { return __builtin_erff(__x); } 10182: 10182: constexpr long double 10182: erf(long double __x) 10182: { return __builtin_erfl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: erf(_Tp __x) 10182: { return __builtin_erf(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: erfc(float __x) 10182: { return __builtin_erfcf(__x); } 10182: 10182: constexpr long double 10182: erfc(long double __x) 10182: { return __builtin_erfcl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: erfc(_Tp __x) 10182: { return __builtin_erfc(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: exp2(float __x) 10182: { return __builtin_exp2f(__x); } 10182: 10182: constexpr long double 10182: exp2(long double __x) 10182: { return __builtin_exp2l(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: exp2(_Tp __x) 10182: { return __builtin_exp2(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: expm1(float __x) 10182: { return __builtin_expm1f(__x); } 10182: 10182: constexpr long double 10182: expm1(long double __x) 10182: { return __builtin_expm1l(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: expm1(_Tp __x) 10182: { return __builtin_expm1(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: fdim(float __x, float __y) 10182: { return __builtin_fdimf(__x, __y); } 10182: 10182: constexpr long double 10182: fdim(long double __x, long double __y) 10182: { return __builtin_fdiml(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: fdim(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return fdim(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: fma(float __x, float __y, float __z) 10182: { return __builtin_fmaf(__x, __y, __z); } 10182: 10182: constexpr long double 10182: fma(long double __x, long double __y, long double __z) 10182: { return __builtin_fmal(__x, __y, __z); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type 10182: fma(_Tp __x, _Up __y, _Vp __z) 10182: { 10182: typedef typename __gnu_cxx::__promote_3<_Tp, _Up, _Vp>::__type __type; 10182: return fma(__type(__x), __type(__y), __type(__z)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: fmax(float __x, float __y) 10182: { return __builtin_fmaxf(__x, __y); } 10182: 10182: constexpr long double 10182: fmax(long double __x, long double __y) 10182: { return __builtin_fmaxl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: fmax(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return fmax(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: fmin(float __x, float __y) 10182: { return __builtin_fminf(__x, __y); } 10182: 10182: constexpr long double 10182: fmin(long double __x, long double __y) 10182: { return __builtin_fminl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: fmin(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return fmin(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: hypot(float __x, float __y) 10182: { return __builtin_hypotf(__x, __y); } 10182: 10182: constexpr long double 10182: hypot(long double __x, long double __y) 10182: { return __builtin_hypotl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: hypot(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return hypot(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr int 10182: ilogb(float __x) 10182: { return __builtin_ilogbf(__x); } 10182: 10182: constexpr int 10182: ilogb(long double __x) 10182: { return __builtin_ilogbl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr 10182: typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: int>::__type 10182: ilogb(_Tp __x) 10182: { return __builtin_ilogb(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: lgamma(float __x) 10182: { return __builtin_lgammaf(__x); } 10182: 10182: constexpr long double 10182: lgamma(long double __x) 10182: { return __builtin_lgammal(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: lgamma(_Tp __x) 10182: { return __builtin_lgamma(__x); } 10182: 10182: 10182: 10182: constexpr long long 10182: llrint(float __x) 10182: { return __builtin_llrintf(__x); } 10182: 10182: constexpr long long 10182: llrint(long double __x) 10182: { return __builtin_llrintl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: long long>::__type 10182: llrint(_Tp __x) 10182: { return __builtin_llrint(__x); } 10182: 10182: 10182: 10182: constexpr long long 10182: llround(float __x) 10182: { return __builtin_llroundf(__x); } 10182: 10182: constexpr long long 10182: llround(long double __x) 10182: { return __builtin_llroundl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: long long>::__type 10182: llround(_Tp __x) 10182: { return __builtin_llround(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: log1p(float __x) 10182: { return __builtin_log1pf(__x); } 10182: 10182: constexpr long double 10182: log1p(long double __x) 10182: { return __builtin_log1pl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: log1p(_Tp __x) 10182: { return __builtin_log1p(__x); } 10182: 10182: 10182: 10182: 10182: constexpr float 10182: log2(float __x) 10182: { return __builtin_log2f(__x); } 10182: 10182: constexpr long double 10182: log2(long double __x) 10182: { return __builtin_log2l(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: log2(_Tp __x) 10182: { return __builtin_log2(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: logb(float __x) 10182: { return __builtin_logbf(__x); } 10182: 10182: constexpr long double 10182: logb(long double __x) 10182: { return __builtin_logbl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: logb(_Tp __x) 10182: { return __builtin_logb(__x); } 10182: 10182: 10182: 10182: constexpr long 10182: lrint(float __x) 10182: { return __builtin_lrintf(__x); } 10182: 10182: constexpr long 10182: lrint(long double __x) 10182: { return __builtin_lrintl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: long>::__type 10182: lrint(_Tp __x) 10182: { return __builtin_lrint(__x); } 10182: 10182: 10182: 10182: constexpr long 10182: lround(float __x) 10182: { return __builtin_lroundf(__x); } 10182: 10182: constexpr long 10182: lround(long double __x) 10182: { return __builtin_lroundl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: long>::__type 10182: lround(_Tp __x) 10182: { return __builtin_lround(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: nearbyint(float __x) 10182: { return __builtin_nearbyintf(__x); } 10182: 10182: constexpr long double 10182: nearbyint(long double __x) 10182: { return __builtin_nearbyintl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: nearbyint(_Tp __x) 10182: { return __builtin_nearbyint(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: nextafter(float __x, float __y) 10182: { return __builtin_nextafterf(__x, __y); } 10182: 10182: constexpr long double 10182: nextafter(long double __x, long double __y) 10182: { return __builtin_nextafterl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: nextafter(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return nextafter(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: nexttoward(float __x, long double __y) 10182: { return __builtin_nexttowardf(__x, __y); } 10182: 10182: constexpr long double 10182: nexttoward(long double __x, long double __y) 10182: { return __builtin_nexttowardl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: nexttoward(_Tp __x, long double __y) 10182: { return __builtin_nexttoward(__x, __y); } 10182: 10182: 10182: 10182: constexpr float 10182: remainder(float __x, float __y) 10182: { return __builtin_remainderf(__x, __y); } 10182: 10182: constexpr long double 10182: remainder(long double __x, long double __y) 10182: { return __builtin_remainderl(__x, __y); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: remainder(_Tp __x, _Up __y) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return remainder(__type(__x), __type(__y)); 10182: } 10182: 10182: 10182: 10182: inline float 10182: remquo(float __x, float __y, int* __pquo) 10182: { return __builtin_remquof(__x, __y, __pquo); } 10182: 10182: inline long double 10182: remquo(long double __x, long double __y, int* __pquo) 10182: { return __builtin_remquol(__x, __y, __pquo); } 10182: 10182: 10182: 10182: template 10182: inline typename __gnu_cxx::__promote_2<_Tp, _Up>::__type 10182: remquo(_Tp __x, _Up __y, int* __pquo) 10182: { 10182: typedef typename __gnu_cxx::__promote_2<_Tp, _Up>::__type __type; 10182: return remquo(__type(__x), __type(__y), __pquo); 10182: } 10182: 10182: 10182: 10182: constexpr float 10182: rint(float __x) 10182: { return __builtin_rintf(__x); } 10182: 10182: constexpr long double 10182: rint(long double __x) 10182: { return __builtin_rintl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: rint(_Tp __x) 10182: { return __builtin_rint(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: round(float __x) 10182: { return __builtin_roundf(__x); } 10182: 10182: constexpr long double 10182: round(long double __x) 10182: { return __builtin_roundl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: round(_Tp __x) 10182: { return __builtin_round(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: scalbln(float __x, long __ex) 10182: { return __builtin_scalblnf(__x, __ex); } 10182: 10182: constexpr long double 10182: scalbln(long double __x, long __ex) 10182: { return __builtin_scalblnl(__x, __ex); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: scalbln(_Tp __x, long __ex) 10182: { return __builtin_scalbln(__x, __ex); } 10182: 10182: 10182: 10182: constexpr float 10182: scalbn(float __x, int __ex) 10182: { return __builtin_scalbnf(__x, __ex); } 10182: 10182: constexpr long double 10182: scalbn(long double __x, int __ex) 10182: { return __builtin_scalbnl(__x, __ex); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: scalbn(_Tp __x, int __ex) 10182: { return __builtin_scalbn(__x, __ex); } 10182: 10182: 10182: 10182: constexpr float 10182: tgamma(float __x) 10182: { return __builtin_tgammaf(__x); } 10182: 10182: constexpr long double 10182: tgamma(long double __x) 10182: { return __builtin_tgammal(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: tgamma(_Tp __x) 10182: { return __builtin_tgamma(__x); } 10182: 10182: 10182: 10182: constexpr float 10182: trunc(float __x) 10182: { return __builtin_truncf(__x); } 10182: 10182: constexpr long double 10182: trunc(long double __x) 10182: { return __builtin_truncl(__x); } 10182: 10182: 10182: 10182: template 10182: constexpr typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, 10182: double>::__type 10182: trunc(_Tp __x) 10182: { return __builtin_trunc(__x); } 10182: 10182: 10182: 10182: } 10182: # 1917 "/usr/include/c++/7/cmath" 3 10182: } 10182: # 37 "/usr/include/c++/7/math.h" 2 3 10182: 10182: using std::abs; 10182: using std::acos; 10182: using std::asin; 10182: using std::atan; 10182: using std::atan2; 10182: using std::cos; 10182: using std::sin; 10182: using std::tan; 10182: using std::cosh; 10182: using std::sinh; 10182: using std::tanh; 10182: using std::exp; 10182: using std::frexp; 10182: using std::ldexp; 10182: using std::log; 10182: using std::log10; 10182: using std::modf; 10182: using std::pow; 10182: using std::sqrt; 10182: using std::ceil; 10182: using std::fabs; 10182: using std::floor; 10182: using std::fmod; 10182: 10182: 10182: using std::fpclassify; 10182: using std::isfinite; 10182: using std::isinf; 10182: using std::isnan; 10182: using std::isnormal; 10182: using std::signbit; 10182: using std::isgreater; 10182: using std::isgreaterequal; 10182: using std::isless; 10182: using std::islessequal; 10182: using std::islessgreater; 10182: using std::isunordered; 10182: 10182: 10182: 10182: using std::acosh; 10182: using std::asinh; 10182: using std::atanh; 10182: using std::cbrt; 10182: using std::copysign; 10182: using std::erf; 10182: using std::erfc; 10182: using std::exp2; 10182: using std::expm1; 10182: using std::fdim; 10182: using std::fma; 10182: using std::fmax; 10182: using std::fmin; 10182: using std::hypot; 10182: using std::ilogb; 10182: using std::lgamma; 10182: using std::llrint; 10182: using std::llround; 10182: using std::log1p; 10182: using std::log2; 10182: using std::logb; 10182: using std::lrint; 10182: using std::lround; 10182: using std::nearbyint; 10182: using std::nextafter; 10182: using std::nexttoward; 10182: using std::remainder; 10182: using std::remquo; 10182: using std::rint; 10182: using std::round; 10182: using std::scalbln; 10182: using std::scalbn; 10182: using std::tgamma; 10182: using std::trunc; 10182: # 229 "/<>/external/onurbs/opennurbs_system.h" 2 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stdarg.h" 1 3 4 10182: # 231 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/float.h" 1 3 4 10182: # 232 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/include/time.h" 1 3 4 10182: # 29 "/usr/include/time.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 30 "/usr/include/time.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/time.h" 1 3 4 10182: # 73 "/usr/include/aarch64-linux-gnu/bits/time.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/timex.h" 1 3 4 10182: # 26 "/usr/include/aarch64-linux-gnu/bits/timex.h" 3 4 10182: struct timex 10182: { 10182: unsigned int modes; 10182: __syscall_slong_t offset; 10182: __syscall_slong_t freq; 10182: __syscall_slong_t maxerror; 10182: __syscall_slong_t esterror; 10182: int status; 10182: __syscall_slong_t constant; 10182: __syscall_slong_t precision; 10182: __syscall_slong_t tolerance; 10182: struct timeval time; 10182: __syscall_slong_t tick; 10182: __syscall_slong_t ppsfreq; 10182: __syscall_slong_t jitter; 10182: int shift; 10182: __syscall_slong_t stabil; 10182: __syscall_slong_t jitcnt; 10182: __syscall_slong_t calcnt; 10182: __syscall_slong_t errcnt; 10182: __syscall_slong_t stbcnt; 10182: 10182: int tai; 10182: 10182: 10182: int :32; int :32; int :32; int :32; 10182: int :32; int :32; int :32; int :32; 10182: int :32; int :32; int :32; 10182: }; 10182: # 74 "/usr/include/aarch64-linux-gnu/bits/time.h" 2 3 4 10182: 10182: extern "C" { 10182: 10182: 10182: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) throw (); 10182: 10182: } 10182: # 34 "/usr/include/time.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/struct_tm.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct tm 10182: { 10182: int tm_sec; 10182: int tm_min; 10182: int tm_hour; 10182: int tm_mday; 10182: int tm_mon; 10182: int tm_year; 10182: int tm_wday; 10182: int tm_yday; 10182: int tm_isdst; 10182: 10182: 10182: long int tm_gmtoff; 10182: const char *tm_zone; 10182: 10182: 10182: 10182: 10182: }; 10182: # 40 "/usr/include/time.h" 2 3 4 10182: # 48 "/usr/include/time.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/struct_itimerspec.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct itimerspec 10182: { 10182: struct timespec it_interval; 10182: struct timespec it_value; 10182: }; 10182: # 49 "/usr/include/time.h" 2 3 4 10182: struct sigevent; 10182: # 68 "/usr/include/time.h" 3 4 10182: extern "C" { 10182: 10182: 10182: 10182: extern clock_t clock (void) throw (); 10182: 10182: 10182: extern time_t time (time_t *__timer) throw (); 10182: 10182: 10182: extern double difftime (time_t __time1, time_t __time0) 10182: throw () __attribute__ ((__const__)); 10182: 10182: 10182: extern time_t mktime (struct tm *__tp) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern size_t strftime (char *__restrict __s, size_t __maxsize, 10182: const char *__restrict __format, 10182: const struct tm *__restrict __tp) throw (); 10182: 10182: 10182: 10182: 10182: extern char *strptime (const char *__restrict __s, 10182: const char *__restrict __fmt, struct tm *__tp) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern size_t strftime_l (char *__restrict __s, size_t __maxsize, 10182: const char *__restrict __format, 10182: const struct tm *__restrict __tp, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: extern char *strptime_l (const char *__restrict __s, 10182: const char *__restrict __fmt, struct tm *__tp, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern struct tm *gmtime (const time_t *__timer) throw (); 10182: 10182: 10182: 10182: extern struct tm *localtime (const time_t *__timer) throw (); 10182: 10182: 10182: 10182: 10182: extern struct tm *gmtime_r (const time_t *__restrict __timer, 10182: struct tm *__restrict __tp) throw (); 10182: 10182: 10182: 10182: extern struct tm *localtime_r (const time_t *__restrict __timer, 10182: struct tm *__restrict __tp) throw (); 10182: 10182: 10182: 10182: 10182: extern char *asctime (const struct tm *__tp) throw (); 10182: 10182: 10182: extern char *ctime (const time_t *__timer) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *asctime_r (const struct tm *__restrict __tp, 10182: char *__restrict __buf) throw (); 10182: 10182: 10182: extern char *ctime_r (const time_t *__restrict __timer, 10182: char *__restrict __buf) throw (); 10182: 10182: 10182: 10182: 10182: extern char *__tzname[2]; 10182: extern int __daylight; 10182: extern long int __timezone; 10182: 10182: 10182: 10182: 10182: extern char *tzname[2]; 10182: 10182: 10182: 10182: extern void tzset (void) throw (); 10182: 10182: 10182: 10182: extern int daylight; 10182: extern long int timezone; 10182: 10182: 10182: 10182: 10182: 10182: extern int stime (const time_t *__when) throw (); 10182: # 196 "/usr/include/time.h" 3 4 10182: extern time_t timegm (struct tm *__tp) throw (); 10182: 10182: 10182: extern time_t timelocal (struct tm *__tp) throw (); 10182: 10182: 10182: extern int dysize (int __year) throw () __attribute__ ((__const__)); 10182: # 211 "/usr/include/time.h" 3 4 10182: extern int nanosleep (const struct timespec *__requested_time, 10182: struct timespec *__remaining); 10182: 10182: 10182: 10182: extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); 10182: 10182: 10182: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); 10182: 10182: 10182: extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int clock_nanosleep (clockid_t __clock_id, int __flags, 10182: const struct timespec *__req, 10182: struct timespec *__rem); 10182: 10182: 10182: extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); 10182: 10182: 10182: 10182: 10182: extern int timer_create (clockid_t __clock_id, 10182: struct sigevent *__restrict __evp, 10182: timer_t *__restrict __timerid) throw (); 10182: 10182: 10182: extern int timer_delete (timer_t __timerid) throw (); 10182: 10182: 10182: extern int timer_settime (timer_t __timerid, int __flags, 10182: const struct itimerspec *__restrict __value, 10182: struct itimerspec *__restrict __ovalue) throw (); 10182: 10182: 10182: extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) 10182: throw (); 10182: 10182: 10182: extern int timer_getoverrun (timer_t __timerid) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int timespec_get (struct timespec *__ts, int __base) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: # 280 "/usr/include/time.h" 3 4 10182: extern int getdate_err; 10182: # 289 "/usr/include/time.h" 3 4 10182: extern struct tm *getdate (const char *__string); 10182: # 303 "/usr/include/time.h" 3 4 10182: extern int getdate_r (const char *__restrict __string, 10182: struct tm *__restrict __resbufp); 10182: 10182: 10182: } 10182: # 233 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 1 3 4 10182: # 34 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/syslimits.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 1 3 4 10182: # 194 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 3 4 10182: # 1 "/usr/include/limits.h" 1 3 4 10182: # 26 "/usr/include/limits.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 27 "/usr/include/limits.h" 2 3 4 10182: # 183 "/usr/include/limits.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/posix1_lim.h" 1 3 4 10182: # 160 "/usr/include/aarch64-linux-gnu/bits/posix1_lim.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/local_lim.h" 1 3 4 10182: # 39 "/usr/include/aarch64-linux-gnu/bits/local_lim.h" 3 4 10182: # 1 "/usr/include/linux/limits.h" 1 3 4 10182: # 40 "/usr/include/aarch64-linux-gnu/bits/local_lim.h" 2 3 4 10182: # 161 "/usr/include/aarch64-linux-gnu/bits/posix1_lim.h" 2 3 4 10182: # 184 "/usr/include/limits.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/posix2_lim.h" 1 3 4 10182: # 188 "/usr/include/limits.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/xopen_lim.h" 1 3 4 10182: # 64 "/usr/include/aarch64-linux-gnu/bits/xopen_lim.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/uio_lim.h" 1 3 4 10182: # 65 "/usr/include/aarch64-linux-gnu/bits/xopen_lim.h" 2 3 4 10182: # 192 "/usr/include/limits.h" 2 3 4 10182: # 195 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 2 3 4 10182: # 8 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/syslimits.h" 2 3 4 10182: # 35 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 2 3 4 10182: # 234 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/include/ctype.h" 1 3 4 10182: # 28 "/usr/include/ctype.h" 3 4 10182: extern "C" { 10182: # 46 "/usr/include/ctype.h" 3 4 10182: enum 10182: { 10182: _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), 10182: _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), 10182: _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), 10182: _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), 10182: _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), 10182: _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), 10182: _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), 10182: _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), 10182: _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), 10182: _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), 10182: _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), 10182: _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) 10182: }; 10182: # 79 "/usr/include/ctype.h" 3 4 10182: extern const unsigned short int **__ctype_b_loc (void) 10182: throw () __attribute__ ((__const__)); 10182: extern const __int32_t **__ctype_tolower_loc (void) 10182: throw () __attribute__ ((__const__)); 10182: extern const __int32_t **__ctype_toupper_loc (void) 10182: throw () __attribute__ ((__const__)); 10182: # 108 "/usr/include/ctype.h" 3 4 10182: extern int isalnum (int) throw (); 10182: extern int isalpha (int) throw (); 10182: extern int iscntrl (int) throw (); 10182: extern int isdigit (int) throw (); 10182: extern int islower (int) throw (); 10182: extern int isgraph (int) throw (); 10182: extern int isprint (int) throw (); 10182: extern int ispunct (int) throw (); 10182: extern int isspace (int) throw (); 10182: extern int isupper (int) throw (); 10182: extern int isxdigit (int) throw (); 10182: 10182: 10182: 10182: extern int tolower (int __c) throw (); 10182: 10182: 10182: extern int toupper (int __c) throw (); 10182: 10182: 10182: 10182: 10182: extern int isblank (int) throw (); 10182: 10182: 10182: 10182: 10182: extern int isctype (int __c, int __mask) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int isascii (int __c) throw (); 10182: 10182: 10182: 10182: extern int toascii (int __c) throw (); 10182: 10182: 10182: 10182: extern int _toupper (int) throw (); 10182: extern int _tolower (int) throw (); 10182: # 251 "/usr/include/ctype.h" 3 4 10182: extern int isalnum_l (int, locale_t) throw (); 10182: extern int isalpha_l (int, locale_t) throw (); 10182: extern int iscntrl_l (int, locale_t) throw (); 10182: extern int isdigit_l (int, locale_t) throw (); 10182: extern int islower_l (int, locale_t) throw (); 10182: extern int isgraph_l (int, locale_t) throw (); 10182: extern int isprint_l (int, locale_t) throw (); 10182: extern int ispunct_l (int, locale_t) throw (); 10182: extern int isspace_l (int, locale_t) throw (); 10182: extern int isupper_l (int, locale_t) throw (); 10182: extern int isxdigit_l (int, locale_t) throw (); 10182: 10182: extern int isblank_l (int, locale_t) throw (); 10182: 10182: 10182: 10182: extern int __tolower_l (int __c, locale_t __l) throw (); 10182: extern int tolower_l (int __c, locale_t __l) throw (); 10182: 10182: 10182: extern int __toupper_l (int __c, locale_t __l) throw (); 10182: extern int toupper_l (int __c, locale_t __l) throw (); 10182: # 327 "/usr/include/ctype.h" 3 4 10182: } 10182: # 235 "/<>/external/onurbs/opennurbs_system.h" 2 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/wchar.h" 1 3 4 10182: # 27 "/usr/include/wchar.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/libc-header-start.h" 1 3 4 10182: # 28 "/usr/include/wchar.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 36 "/usr/include/wchar.h" 2 3 4 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wchar.h" 1 3 4 10182: # 41 "/usr/include/wchar.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/wint_t.h" 1 3 4 10182: # 20 "/usr/include/aarch64-linux-gnu/bits/types/wint_t.h" 3 4 10182: typedef unsigned int wint_t; 10182: # 42 "/usr/include/wchar.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/types/mbstate_t.h" 1 3 4 10182: 10182: 10182: 10182: 10182: 10182: typedef __mbstate_t mbstate_t; 10182: # 43 "/usr/include/wchar.h" 2 3 4 10182: # 79 "/usr/include/wchar.h" 3 4 10182: extern "C" { 10182: 10182: 10182: 10182: struct tm; 10182: 10182: 10182: 10182: extern wchar_t *wcscpy (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern wchar_t *wcsncpy (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern wchar_t *wcscat (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern wchar_t *wcsncat (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, size_t __n) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: extern int wcscmp (const wchar_t *__s1, const wchar_t *__s2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern int wcscasecmp (const wchar_t *__s1, const wchar_t *__s2) throw (); 10182: 10182: 10182: extern int wcsncasecmp (const wchar_t *__s1, const wchar_t *__s2, 10182: size_t __n) throw (); 10182: 10182: 10182: 10182: extern int wcscasecmp_l (const wchar_t *__s1, const wchar_t *__s2, 10182: locale_t __loc) throw (); 10182: 10182: extern int wcsncasecmp_l (const wchar_t *__s1, const wchar_t *__s2, 10182: size_t __n, locale_t __loc) throw (); 10182: 10182: 10182: 10182: 10182: extern int wcscoll (const wchar_t *__s1, const wchar_t *__s2) throw (); 10182: 10182: 10182: 10182: extern size_t wcsxfrm (wchar_t *__restrict __s1, 10182: const wchar_t *__restrict __s2, size_t __n) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int wcscoll_l (const wchar_t *__s1, const wchar_t *__s2, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: 10182: extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2, 10182: size_t __n, locale_t __loc) throw (); 10182: 10182: 10182: extern wchar_t *wcsdup (const wchar_t *__s) throw () __attribute__ ((__malloc__)); 10182: 10182: 10182: 10182: 10182: extern "C++" wchar_t *wcschr (wchar_t *__wcs, wchar_t __wc) 10182: throw () __asm ("wcschr") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wcschr (const wchar_t *__wcs, wchar_t __wc) 10182: throw () __asm ("wcschr") __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" wchar_t *wcsrchr (wchar_t *__wcs, wchar_t __wc) 10182: throw () __asm ("wcsrchr") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wcsrchr (const wchar_t *__wcs, wchar_t __wc) 10182: throw () __asm ("wcsrchr") __attribute__ ((__pure__)); 10182: # 181 "/usr/include/wchar.h" 3 4 10182: extern wchar_t *wcschrnul (const wchar_t *__s, wchar_t __wc) 10182: throw () __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject) 10182: throw () __attribute__ ((__pure__)); 10182: 10182: 10182: extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept) 10182: throw () __attribute__ ((__pure__)); 10182: 10182: 10182: extern "C++" wchar_t *wcspbrk (wchar_t *__wcs, const wchar_t *__accept) 10182: throw () __asm ("wcspbrk") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wcspbrk (const wchar_t *__wcs, 10182: const wchar_t *__accept) 10182: throw () __asm ("wcspbrk") __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" wchar_t *wcsstr (wchar_t *__haystack, const wchar_t *__needle) 10182: throw () __asm ("wcsstr") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wcsstr (const wchar_t *__haystack, 10182: const wchar_t *__needle) 10182: throw () __asm ("wcsstr") __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wchar_t *wcstok (wchar_t *__restrict __s, 10182: const wchar_t *__restrict __delim, 10182: wchar_t **__restrict __ptr) throw (); 10182: 10182: 10182: extern size_t wcslen (const wchar_t *__s) throw () __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: extern "C++" wchar_t *wcswcs (wchar_t *__haystack, const wchar_t *__needle) 10182: throw () __asm ("wcswcs") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wcswcs (const wchar_t *__haystack, 10182: const wchar_t *__needle) 10182: throw () __asm ("wcswcs") __attribute__ ((__pure__)); 10182: # 240 "/usr/include/wchar.h" 3 4 10182: extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen) 10182: throw () __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: 10182: extern "C++" wchar_t *wmemchr (wchar_t *__s, wchar_t __c, size_t __n) 10182: throw () __asm ("wmemchr") __attribute__ ((__pure__)); 10182: extern "C++" const wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, 10182: size_t __n) 10182: throw () __asm ("wmemchr") __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n) 10182: throw () __attribute__ ((__pure__)); 10182: 10182: 10182: extern wchar_t *wmemcpy (wchar_t *__restrict __s1, 10182: const wchar_t *__restrict __s2, size_t __n) throw (); 10182: 10182: 10182: 10182: extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) 10182: throw (); 10182: 10182: 10182: extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw (); 10182: 10182: 10182: 10182: 10182: extern wchar_t *wmempcpy (wchar_t *__restrict __s1, 10182: const wchar_t *__restrict __s2, size_t __n) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t btowc (int __c) throw (); 10182: 10182: 10182: 10182: extern int wctob (wint_t __c) throw (); 10182: 10182: 10182: 10182: extern int mbsinit (const mbstate_t *__ps) throw () __attribute__ ((__pure__)); 10182: 10182: 10182: 10182: extern size_t mbrtowc (wchar_t *__restrict __pwc, 10182: const char *__restrict __s, size_t __n, 10182: mbstate_t *__restrict __p) throw (); 10182: 10182: 10182: extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, 10182: mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: extern size_t __mbrlen (const char *__restrict __s, size_t __n, 10182: mbstate_t *__restrict __ps) throw (); 10182: extern size_t mbrlen (const char *__restrict __s, size_t __n, 10182: mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t __btowc_alias (int __c) __asm ("btowc"); 10182: extern __inline __attribute__ ((__gnu_inline__)) wint_t 10182: __attribute__ ((__leaf__)) btowc (int __c) throw () 10182: { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f' 10182: ? (wint_t) __c : __btowc_alias (__c)); } 10182: 10182: extern int __wctob_alias (wint_t __c) __asm ("wctob"); 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) wctob (wint_t __wc) throw () 10182: { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f' 10182: ? (int) __wc : __wctob_alias (__wc)); } 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) size_t 10182: __attribute__ ((__leaf__)) mbrlen (const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) throw () 10182: 10182: { return (__ps != __null 10182: ? mbrtowc (__null, __s, __n, __ps) : __mbrlen (__s, __n, __null)); } 10182: 10182: 10182: 10182: 10182: extern size_t mbsrtowcs (wchar_t *__restrict __dst, 10182: const char **__restrict __src, size_t __len, 10182: mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: 10182: extern size_t wcsrtombs (char *__restrict __dst, 10182: const wchar_t **__restrict __src, size_t __len, 10182: mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern size_t mbsnrtowcs (wchar_t *__restrict __dst, 10182: const char **__restrict __src, size_t __nmc, 10182: size_t __len, mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: 10182: extern size_t wcsnrtombs (char *__restrict __dst, 10182: const wchar_t **__restrict __src, 10182: size_t __nwc, size_t __len, 10182: mbstate_t *__restrict __ps) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int wcwidth (wchar_t __c) throw (); 10182: 10182: 10182: 10182: extern int wcswidth (const wchar_t *__s, size_t __n) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern double wcstod (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: 10182: 10182: 10182: extern float wcstof (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: extern long double wcstold (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: # 396 "/usr/include/wchar.h" 3 4 10182: extern _Float32 wcstof32 (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: 10182: 10182: 10182: extern _Float64 wcstof64 (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: 10182: 10182: 10182: extern _Float128 wcstof128 (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: 10182: 10182: 10182: extern _Float32x wcstof32x (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: 10182: 10182: 10182: extern _Float64x wcstof64x (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr) throw (); 10182: # 428 "/usr/include/wchar.h" 3 4 10182: extern long int wcstol (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, int __base) throw (); 10182: 10182: 10182: 10182: extern unsigned long int wcstoul (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, int __base) 10182: throw (); 10182: 10182: 10182: 10182: 10182: __extension__ 10182: extern long long int wcstoll (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, int __base) 10182: throw (); 10182: 10182: 10182: 10182: __extension__ 10182: extern unsigned long long int wcstoull (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: int __base) throw (); 10182: 10182: 10182: 10182: 10182: 10182: __extension__ 10182: extern long long int wcstoq (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, int __base) 10182: throw (); 10182: 10182: 10182: 10182: __extension__ 10182: extern unsigned long long int wcstouq (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: int __base) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int wcstol_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, int __base, 10182: locale_t __loc) throw (); 10182: 10182: extern unsigned long int wcstoul_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: int __base, locale_t __loc) throw (); 10182: 10182: __extension__ 10182: extern long long int wcstoll_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: int __base, locale_t __loc) throw (); 10182: 10182: __extension__ 10182: extern unsigned long long int wcstoull_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: int __base, locale_t __loc) 10182: throw (); 10182: 10182: extern double wcstod_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, locale_t __loc) 10182: throw (); 10182: 10182: extern float wcstof_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, locale_t __loc) 10182: throw (); 10182: 10182: extern long double wcstold_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: # 511 "/usr/include/wchar.h" 3 4 10182: extern _Float32 wcstof32_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: extern _Float64 wcstof64_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: extern _Float128 wcstof128_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: extern _Float32x wcstof32x_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: extern _Float64x wcstof64x_l (const wchar_t *__restrict __nptr, 10182: wchar_t **__restrict __endptr, 10182: locale_t __loc) throw (); 10182: # 551 "/usr/include/wchar.h" 3 4 10182: extern wchar_t *wcpcpy (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src) throw (); 10182: 10182: 10182: 10182: extern wchar_t *wcpncpy (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, size_t __n) 10182: throw (); 10182: # 567 "/usr/include/wchar.h" 3 4 10182: extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int fwide (__FILE *__fp, int __mode) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fwprintf (__FILE *__restrict __stream, 10182: const wchar_t *__restrict __format, ...) 10182: ; 10182: 10182: 10182: 10182: 10182: extern int wprintf (const wchar_t *__restrict __format, ...) 10182: ; 10182: 10182: extern int swprintf (wchar_t *__restrict __s, size_t __n, 10182: const wchar_t *__restrict __format, ...) 10182: throw () ; 10182: 10182: 10182: 10182: 10182: 10182: extern int vfwprintf (__FILE *__restrict __s, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: ; 10182: 10182: 10182: 10182: 10182: extern int vwprintf (const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: ; 10182: 10182: 10182: extern int vswprintf (wchar_t *__restrict __s, size_t __n, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: throw () ; 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fwscanf (__FILE *__restrict __stream, 10182: const wchar_t *__restrict __format, ...) 10182: ; 10182: 10182: 10182: 10182: 10182: extern int wscanf (const wchar_t *__restrict __format, ...) 10182: ; 10182: 10182: extern int swscanf (const wchar_t *__restrict __s, 10182: const wchar_t *__restrict __format, ...) 10182: throw () ; 10182: # 673 "/usr/include/wchar.h" 3 4 10182: extern int vfwscanf (__FILE *__restrict __s, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: ; 10182: 10182: 10182: 10182: 10182: extern int vwscanf (const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: ; 10182: 10182: extern int vswscanf (const wchar_t *__restrict __s, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: throw () ; 10182: # 727 "/usr/include/wchar.h" 3 4 10182: extern wint_t fgetwc (__FILE *__stream); 10182: extern wint_t getwc (__FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t getwchar (void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t fputwc (wchar_t __wc, __FILE *__stream); 10182: extern wint_t putwc (wchar_t __wc, __FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t putwchar (wchar_t __wc); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, 10182: __FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: extern int fputws (const wchar_t *__restrict __ws, 10182: __FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t ungetwc (wint_t __wc, __FILE *__stream); 10182: # 782 "/usr/include/wchar.h" 3 4 10182: extern wint_t getwc_unlocked (__FILE *__stream); 10182: extern wint_t getwchar_unlocked (void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t fgetwc_unlocked (__FILE *__stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); 10182: # 808 "/usr/include/wchar.h" 3 4 10182: extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); 10182: extern wint_t putwchar_unlocked (wchar_t __wc); 10182: # 818 "/usr/include/wchar.h" 3 4 10182: extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, 10182: __FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fputws_unlocked (const wchar_t *__restrict __ws, 10182: __FILE *__restrict __stream); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, 10182: const wchar_t *__restrict __format, 10182: const struct tm *__restrict __tp) throw (); 10182: 10182: 10182: 10182: 10182: extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, 10182: const wchar_t *__restrict __format, 10182: const struct tm *__restrict __tp, 10182: locale_t __loc) throw (); 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wchar2.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/wchar2.h" 3 4 10182: extern wchar_t *__wmemcpy_chk (wchar_t *__restrict __s1, 10182: const wchar_t *__restrict __s2, size_t __n, 10182: size_t __ns1) throw (); 10182: extern wchar_t *__wmemcpy_alias (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () __asm__ ("" "wmemcpy") 10182: 10182: 10182: ; 10182: extern wchar_t *__wmemcpy_chk_warn (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmemcpy_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wmemcpy called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () 10182: 10182: { 10182: if (__builtin_object_size (__s1, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wmemcpy_chk (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: 10182: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t)) 10182: return __wmemcpy_chk_warn (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: } 10182: return __wmemcpy_alias (__s1, __s2, __n); 10182: } 10182: 10182: 10182: extern wchar_t *__wmemmove_chk (wchar_t *__s1, const wchar_t *__s2, 10182: size_t __n, size_t __ns1) throw (); 10182: extern wchar_t *__wmemmove_alias (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () __asm__ ("" "wmemmove") 10182: 10182: ; 10182: extern wchar_t *__wmemmove_chk_warn (wchar_t *__s1, const wchar_t *__s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmemmove_chk") 10182: 10182: 10182: __attribute__((__warning__ ("wmemmove called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n) throw () 10182: { 10182: if (__builtin_object_size (__s1, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wmemmove_chk (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: 10182: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t)) 10182: return __wmemmove_chk_warn (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: } 10182: return __wmemmove_alias (__s1, __s2, __n); 10182: } 10182: 10182: 10182: 10182: extern wchar_t *__wmempcpy_chk (wchar_t *__restrict __s1, 10182: const wchar_t *__restrict __s2, size_t __n, 10182: size_t __ns1) throw (); 10182: extern wchar_t *__wmempcpy_alias (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () __asm__ ("" "wmempcpy") 10182: 10182: 10182: ; 10182: extern wchar_t *__wmempcpy_chk_warn (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n, size_t __ns1) throw () __asm__ ("" "__wmempcpy_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wmempcpy called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, size_t __n) throw () 10182: 10182: { 10182: if (__builtin_object_size (__s1, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wmempcpy_chk (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: 10182: if (__n > __builtin_object_size (__s1, 0) / sizeof (wchar_t)) 10182: return __wmempcpy_chk_warn (__s1, __s2, __n, 10182: __builtin_object_size (__s1, 0) / sizeof (wchar_t)); 10182: } 10182: return __wmempcpy_alias (__s1, __s2, __n); 10182: } 10182: 10182: 10182: 10182: extern wchar_t *__wmemset_chk (wchar_t *__s, wchar_t __c, size_t __n, 10182: size_t __ns) throw (); 10182: extern wchar_t *__wmemset_alias (wchar_t *__s, wchar_t __c, size_t __n) throw () __asm__ ("" "wmemset") 10182: ; 10182: extern wchar_t *__wmemset_chk_warn (wchar_t *__s, wchar_t __c, size_t __n, size_t __ns) throw () __asm__ ("" "__wmemset_chk") 10182: 10182: 10182: __attribute__((__warning__ ("wmemset called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wmemset (wchar_t *__s, wchar_t __c, size_t __n) throw () 10182: { 10182: if (__builtin_object_size (__s, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wmemset_chk (__s, __c, __n, __builtin_object_size (__s, 0) / sizeof (wchar_t)); 10182: 10182: if (__n > __builtin_object_size (__s, 0) / sizeof (wchar_t)) 10182: return __wmemset_chk_warn (__s, __c, __n, 10182: __builtin_object_size (__s, 0) / sizeof (wchar_t)); 10182: } 10182: return __wmemset_alias (__s, __c, __n); 10182: } 10182: 10182: 10182: extern wchar_t *__wcscpy_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, 10182: size_t __n) throw (); 10182: extern wchar_t *__wcscpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcscpy") 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: return __wcscpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: return __wcscpy_alias (__dest, __src); 10182: } 10182: 10182: 10182: extern wchar_t *__wcpcpy_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, 10182: size_t __destlen) throw (); 10182: extern wchar_t *__wcpcpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcpcpy") 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: return __wcpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: return __wcpcpy_alias (__dest, __src); 10182: } 10182: 10182: 10182: extern wchar_t *__wcsncpy_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, size_t __n, 10182: size_t __destlen) throw (); 10182: extern wchar_t *__wcsncpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcsncpy") 10182: 10182: 10182: ; 10182: extern wchar_t *__wcsncpy_chk_warn (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n, size_t __destlen) throw () __asm__ ("" "__wcsncpy_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wcsncpy called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wcsncpy_chk (__dest, __src, __n, 10182: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: if (__n > __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)) 10182: return __wcsncpy_chk_warn (__dest, __src, __n, 10182: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: } 10182: return __wcsncpy_alias (__dest, __src, __n); 10182: } 10182: 10182: 10182: extern wchar_t *__wcpncpy_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, size_t __n, 10182: size_t __destlen) throw (); 10182: extern wchar_t *__wcpncpy_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcpncpy") 10182: 10182: 10182: ; 10182: extern wchar_t *__wcpncpy_chk_warn (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n, size_t __destlen) throw () __asm__ ("" "__wcpncpy_chk") 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wcpncpy called with length bigger than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n)) 10182: return __wcpncpy_chk (__dest, __src, __n, 10182: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: if (__n > __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)) 10182: return __wcpncpy_chk_warn (__dest, __src, __n, 10182: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: } 10182: return __wcpncpy_alias (__dest, __src, __n); 10182: } 10182: 10182: 10182: extern wchar_t *__wcscat_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, 10182: size_t __destlen) throw (); 10182: extern wchar_t *__wcscat_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () __asm__ ("" "wcscat") 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src) throw () 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: return __wcscat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: return __wcscat_alias (__dest, __src); 10182: } 10182: 10182: 10182: extern wchar_t *__wcsncat_chk (wchar_t *__restrict __dest, 10182: const wchar_t *__restrict __src, 10182: size_t __n, size_t __destlen) throw (); 10182: extern wchar_t *__wcsncat_alias (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () __asm__ ("" "wcsncat") 10182: 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) wchar_t * 10182: __attribute__ ((__leaf__)) wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, size_t __n) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1) 10182: return __wcsncat_chk (__dest, __src, __n, 10182: __builtin_object_size (__dest, 2 > 1) / sizeof (wchar_t)); 10182: return __wcsncat_alias (__dest, __src, __n); 10182: } 10182: 10182: 10182: extern int __swprintf_chk (wchar_t *__restrict __s, size_t __n, 10182: int __flag, size_t __s_len, 10182: const wchar_t *__restrict __format, ...) 10182: throw () ; 10182: 10182: extern int __swprintf_alias (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, ...) throw () __asm__ ("" "swprintf") 10182: 10182: 10182: ; 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) swprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, ...) throw () 10182: 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 || 2 > 1) 10182: return __swprintf_chk (__s, __n, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), 10182: __fmt, __builtin_va_arg_pack ()); 10182: return __swprintf_alias (__s, __n, __fmt, __builtin_va_arg_pack ()); 10182: } 10182: # 303 "/usr/include/aarch64-linux-gnu/bits/wchar2.h" 3 4 10182: extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n, 10182: int __flag, size_t __s_len, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __arg) 10182: throw () ; 10182: 10182: extern int __vswprintf_alias (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, __gnuc_va_list __ap) throw () __asm__ ("" "vswprintf") 10182: 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) vswprintf (wchar_t *__restrict __s, size_t __n, const wchar_t *__restrict __fmt, __gnuc_va_list __ap) throw () 10182: 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 || 2 > 1) 10182: return __vswprintf_chk (__s, __n, 2 - 1, 10182: __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), __fmt, __ap); 10182: return __vswprintf_alias (__s, __n, __fmt, __ap); 10182: } 10182: 10182: 10182: 10182: 10182: extern int __fwprintf_chk (__FILE *__restrict __stream, int __flag, 10182: const wchar_t *__restrict __format, ...); 10182: extern int __wprintf_chk (int __flag, const wchar_t *__restrict __format, 10182: ...); 10182: extern int __vfwprintf_chk (__FILE *__restrict __stream, int __flag, 10182: const wchar_t *__restrict __format, 10182: __gnuc_va_list __ap); 10182: extern int __vwprintf_chk (int __flag, const wchar_t *__restrict __format, 10182: __gnuc_va_list __ap); 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: wprintf (const wchar_t *__restrict __fmt, ...) 10182: { 10182: return __wprintf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: fwprintf (__FILE *__restrict __stream, const wchar_t *__restrict __fmt, ...) 10182: { 10182: return __fwprintf_chk (__stream, 2 - 1, __fmt, 10182: __builtin_va_arg_pack ()); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: vwprintf (const wchar_t *__restrict __fmt, __gnuc_va_list __ap) 10182: { 10182: return __vwprintf_chk (2 - 1, __fmt, __ap); 10182: } 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: vfwprintf (__FILE *__restrict __stream, 10182: const wchar_t *__restrict __fmt, __gnuc_va_list __ap) 10182: { 10182: return __vfwprintf_chk (__stream, 2 - 1, __fmt, __ap); 10182: } 10182: 10182: 10182: 10182: extern wchar_t *__fgetws_chk (wchar_t *__restrict __s, size_t __size, int __n, 10182: __FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); 10182: extern wchar_t *__fgetws_alias (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) __asm__ ("" "fgetws") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern wchar_t *__fgetws_chk_warn (wchar_t *__restrict __s, size_t __size, int __n, __FILE *__restrict __stream) __asm__ ("" "__fgetws_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgetws called with bigger size than length " "of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) wchar_t * 10182: fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n) || __n <= 0) 10182: return __fgetws_chk (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), 10182: __n, __stream); 10182: 10182: if ((size_t) __n > __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t)) 10182: return __fgetws_chk_warn (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), 10182: __n, __stream); 10182: } 10182: return __fgetws_alias (__s, __n, __stream); 10182: } 10182: 10182: 10182: extern wchar_t *__fgetws_unlocked_chk (wchar_t *__restrict __s, size_t __size, 10182: int __n, __FILE *__restrict __stream) 10182: __attribute__ ((__warn_unused_result__)); 10182: extern wchar_t *__fgetws_unlocked_alias (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) __asm__ ("" "fgetws_unlocked") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern wchar_t *__fgetws_unlocked_chk_warn (wchar_t *__restrict __s, size_t __size, int __n, __FILE *__restrict __stream) __asm__ ("" "__fgetws_unlocked_chk") 10182: 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgetws_unlocked called with bigger size than length " "of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) wchar_t * 10182: fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) 10182: { 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__n) || __n <= 0) 10182: return __fgetws_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), 10182: __n, __stream); 10182: 10182: if ((size_t) __n > __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t)) 10182: return __fgetws_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1) / sizeof (wchar_t), 10182: __n, __stream); 10182: } 10182: return __fgetws_unlocked_alias (__s, __n, __stream); 10182: } 10182: 10182: 10182: 10182: extern size_t __wcrtomb_chk (char *__restrict __s, wchar_t __wchar, 10182: mbstate_t *__restrict __p, 10182: size_t __buflen) throw () __attribute__ ((__warn_unused_result__)); 10182: extern size_t __wcrtomb_alias (char *__restrict __s, wchar_t __wchar, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcrtomb") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t 10182: __attribute__ ((__leaf__)) wcrtomb (char *__restrict __s, wchar_t __wchar, mbstate_t *__restrict __ps) throw () 10182: 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) 10182: return __wcrtomb_chk (__s, __wchar, __ps, __builtin_object_size (__s, 2 > 1)); 10182: return __wcrtomb_alias (__s, __wchar, __ps); 10182: } 10182: 10182: 10182: extern size_t __mbsrtowcs_chk (wchar_t *__restrict __dst, 10182: const char **__restrict __src, 10182: size_t __len, mbstate_t *__restrict __ps, 10182: size_t __dstlen) throw (); 10182: extern size_t __mbsrtowcs_alias (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "mbsrtowcs") 10182: 10182: 10182: 10182: ; 10182: extern size_t __mbsrtowcs_chk_warn (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__mbsrtowcs_chk") 10182: 10182: 10182: 10182: 10182: __attribute__((__warning__ ("mbsrtowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __mbsrtowcs_chk (__dst, __src, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: 10182: if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) 10182: return __mbsrtowcs_chk_warn (__dst, __src, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: } 10182: return __mbsrtowcs_alias (__dst, __src, __len, __ps); 10182: } 10182: 10182: 10182: extern size_t __wcsrtombs_chk (char *__restrict __dst, 10182: const wchar_t **__restrict __src, 10182: size_t __len, mbstate_t *__restrict __ps, 10182: size_t __dstlen) throw (); 10182: extern size_t __wcsrtombs_alias (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcsrtombs") 10182: 10182: 10182: 10182: ; 10182: extern size_t __wcsrtombs_chk_warn (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__wcsrtombs_chk") 10182: 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wcsrtombs called with dst buffer smaller than len"))); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __len, mbstate_t *__restrict __ps) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __wcsrtombs_chk (__dst, __src, __len, __ps, __builtin_object_size (__dst, 2 > 1)); 10182: 10182: if (__len > __builtin_object_size (__dst, 2 > 1)) 10182: return __wcsrtombs_chk_warn (__dst, __src, __len, __ps, __builtin_object_size (__dst, 2 > 1)); 10182: } 10182: return __wcsrtombs_alias (__dst, __src, __len, __ps); 10182: } 10182: 10182: 10182: 10182: extern size_t __mbsnrtowcs_chk (wchar_t *__restrict __dst, 10182: const char **__restrict __src, size_t __nmc, 10182: size_t __len, mbstate_t *__restrict __ps, 10182: size_t __dstlen) throw (); 10182: extern size_t __mbsnrtowcs_alias (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "mbsnrtowcs") 10182: 10182: 10182: 10182: ; 10182: extern size_t __mbsnrtowcs_chk_warn (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__mbsnrtowcs_chk") 10182: 10182: 10182: 10182: 10182: __attribute__((__warning__ ("mbsnrtowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, size_t __nmc, size_t __len, mbstate_t *__restrict __ps) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __mbsnrtowcs_chk (__dst, __src, __nmc, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: 10182: if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) 10182: return __mbsnrtowcs_chk_warn (__dst, __src, __nmc, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); 10182: } 10182: return __mbsnrtowcs_alias (__dst, __src, __nmc, __len, __ps); 10182: } 10182: 10182: 10182: extern size_t __wcsnrtombs_chk (char *__restrict __dst, 10182: const wchar_t **__restrict __src, 10182: size_t __nwc, size_t __len, 10182: mbstate_t *__restrict __ps, size_t __dstlen) 10182: throw (); 10182: extern size_t __wcsnrtombs_alias (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw () __asm__ ("" "wcsnrtombs") 10182: 10182: 10182: 10182: ; 10182: extern size_t __wcsnrtombs_chk_warn (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps, size_t __dstlen) throw () __asm__ ("" "__wcsnrtombs_chk") 10182: 10182: 10182: 10182: 10182: 10182: __attribute__((__warning__ ("wcsnrtombs called with dst buffer smaller than len"))); 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, size_t __nwc, size_t __len, mbstate_t *__restrict __ps) throw () 10182: 10182: { 10182: if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __wcsnrtombs_chk (__dst, __src, __nwc, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1)); 10182: 10182: if (__len > __builtin_object_size (__dst, 2 > 1)) 10182: return __wcsnrtombs_chk_warn (__dst, __src, __nwc, __len, __ps, 10182: __builtin_object_size (__dst, 2 > 1)); 10182: } 10182: return __wcsnrtombs_alias (__dst, __src, __nwc, __len, __ps); 10182: } 10182: # 851 "/usr/include/wchar.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: } 10182: # 242 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 257 "/<>/external/onurbs/opennurbs_system.h" 10182: # 1 "/usr/include/aarch64-linux-gnu/sys/stat.h" 1 3 4 10182: # 99 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern "C" { 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/stat.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/stat.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wordsize.h" 1 3 4 10182: # 28 "/usr/include/aarch64-linux-gnu/bits/stat.h" 2 3 4 10182: # 55 "/usr/include/aarch64-linux-gnu/bits/stat.h" 3 4 10182: struct stat 10182: { 10182: __dev_t st_dev; 10182: __ino_t st_ino; 10182: __mode_t st_mode; 10182: __nlink_t st_nlink; 10182: __uid_t st_uid; 10182: __gid_t st_gid; 10182: __dev_t st_rdev; 10182: __dev_t __pad1; 10182: __off_t st_size; 10182: __blksize_t st_blksize; 10182: int __pad2; 10182: __blkcnt_t st_blocks; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct timespec st_atim; 10182: struct timespec st_mtim; 10182: struct timespec st_ctim; 10182: # 90 "/usr/include/aarch64-linux-gnu/bits/stat.h" 3 4 10182: int __glibc_reserved[2]; 10182: }; 10182: 10182: 10182: 10182: 10182: struct stat64 10182: { 10182: __dev_t st_dev; 10182: __ino64_t st_ino; 10182: __mode_t st_mode; 10182: __nlink_t st_nlink; 10182: __uid_t st_uid; 10182: __gid_t st_gid; 10182: __dev_t st_rdev; 10182: __dev_t __pad1; 10182: __off64_t st_size; 10182: __blksize_t st_blksize; 10182: int __pad2; 10182: __blkcnt64_t st_blocks; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct timespec st_atim; 10182: struct timespec st_mtim; 10182: struct timespec st_ctim; 10182: # 128 "/usr/include/aarch64-linux-gnu/bits/stat.h" 3 4 10182: int __glibc_reserved[2]; 10182: }; 10182: # 102 "/usr/include/aarch64-linux-gnu/sys/stat.h" 2 3 4 10182: # 205 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int stat (const char *__restrict __file, 10182: struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern int fstat (int __fd, struct stat *__buf) throw () __attribute__ ((__nonnull__ (2))); 10182: # 224 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int stat64 (const char *__restrict __file, 10182: struct stat64 *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: extern int fstat64 (int __fd, struct stat64 *__buf) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fstatat (int __fd, const char *__restrict __file, 10182: struct stat *__restrict __buf, int __flag) 10182: throw () __attribute__ ((__nonnull__ (2, 3))); 10182: # 249 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int fstatat64 (int __fd, const char *__restrict __file, 10182: struct stat64 *__restrict __buf, int __flag) 10182: throw () __attribute__ ((__nonnull__ (2, 3))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int lstat (const char *__restrict __file, 10182: struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: # 272 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int lstat64 (const char *__restrict __file, 10182: struct stat64 *__restrict __buf) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: 10182: extern int chmod (const char *__file, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int lchmod (const char *__file, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern int fchmod (int __fd, __mode_t __mode) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int fchmodat (int __fd, const char *__file, __mode_t __mode, 10182: int __flag) 10182: throw () __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __mode_t umask (__mode_t __mask) throw (); 10182: 10182: 10182: 10182: 10182: extern __mode_t getumask (void) throw (); 10182: 10182: 10182: 10182: extern int mkdir (const char *__path, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int mkdirat (int __fd, const char *__path, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int mknodat (int __fd, const char *__path, __mode_t __mode, 10182: __dev_t __dev) throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: 10182: extern int mkfifo (const char *__path, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: 10182: extern int utimensat (int __fd, const char *__path, 10182: const struct timespec __times[2], 10182: int __flags) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: extern int futimens (int __fd, const struct timespec __times[2]) throw (); 10182: # 395 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: extern int __xstat (int __ver, const char *__filename, 10182: struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); 10182: extern int __lxstat (int __ver, const char *__filename, 10182: struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); 10182: extern int __fxstatat (int __ver, int __fildes, const char *__filename, 10182: struct stat *__stat_buf, int __flag) 10182: throw () __attribute__ ((__nonnull__ (3, 4))); 10182: # 428 "/usr/include/aarch64-linux-gnu/sys/stat.h" 3 4 10182: extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) 10182: throw () __attribute__ ((__nonnull__ (3))); 10182: extern int __xstat64 (int __ver, const char *__filename, 10182: struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); 10182: extern int __lxstat64 (int __ver, const char *__filename, 10182: struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); 10182: extern int __fxstatat64 (int __ver, int __fildes, const char *__filename, 10182: struct stat64 *__stat_buf, int __flag) 10182: throw () __attribute__ ((__nonnull__ (3, 4))); 10182: 10182: extern int __xmknod (int __ver, const char *__path, __mode_t __mode, 10182: __dev_t *__dev) throw () __attribute__ ((__nonnull__ (2, 4))); 10182: 10182: extern int __xmknodat (int __ver, int __fd, const char *__path, 10182: __mode_t __mode, __dev_t *__dev) 10182: throw () __attribute__ ((__nonnull__ (3, 5))); 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) stat (const char *__path, struct stat *__statbuf) throw () 10182: { 10182: return __xstat (0, __path, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) lstat (const char *__path, struct stat *__statbuf) throw () 10182: { 10182: return __lxstat (0, __path, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) fstat (int __fd, struct stat *__statbuf) throw () 10182: { 10182: return __fxstat (0, __fd, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) fstatat (int __fd, const char *__filename, struct stat *__statbuf, int __flag) throw () 10182: 10182: { 10182: return __fxstatat (0, __fd, __filename, __statbuf, __flag); 10182: } 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) mknod (const char *__path, __mode_t __mode, __dev_t __dev) throw () 10182: { 10182: return __xmknod (0, __path, __mode, &__dev); 10182: } 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) mknodat (int __fd, const char *__path, __mode_t __mode, __dev_t __dev) throw () 10182: 10182: { 10182: return __xmknodat (0, __fd, __path, __mode, &__dev); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) stat64 (const char *__path, struct stat64 *__statbuf) throw () 10182: { 10182: return __xstat64 (0, __path, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) lstat64 (const char *__path, struct stat64 *__statbuf) throw () 10182: { 10182: return __lxstat64 (0, __path, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) fstat64 (int __fd, struct stat64 *__statbuf) throw () 10182: { 10182: return __fxstat64 (0, __fd, __statbuf); 10182: } 10182: 10182: 10182: extern __inline __attribute__ ((__gnu_inline__)) int 10182: __attribute__ ((__leaf__)) fstatat64 (int __fd, const char *__filename, struct stat64 *__statbuf, int __flag) throw () 10182: 10182: { 10182: return __fxstatat64 (0, __fd, __filename, __statbuf, __flag); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: } 10182: # 258 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/include/wctype.h" 1 3 4 10182: # 38 "/usr/include/wctype.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wctype-wchar.h" 1 3 4 10182: # 38 "/usr/include/aarch64-linux-gnu/bits/wctype-wchar.h" 3 4 10182: typedef unsigned long int wctype_t; 10182: # 56 "/usr/include/aarch64-linux-gnu/bits/wctype-wchar.h" 3 4 10182: enum 10182: { 10182: __ISwupper = 0, 10182: __ISwlower = 1, 10182: __ISwalpha = 2, 10182: __ISwdigit = 3, 10182: __ISwxdigit = 4, 10182: __ISwspace = 5, 10182: __ISwprint = 6, 10182: __ISwgraph = 7, 10182: __ISwblank = 8, 10182: __ISwcntrl = 9, 10182: __ISwpunct = 10, 10182: __ISwalnum = 11, 10182: 10182: _ISwupper = ((__ISwupper) < 8 ? (int) ((1UL << (__ISwupper)) << 24) : ((__ISwupper) < 16 ? (int) ((1UL << (__ISwupper)) << 8) : ((__ISwupper) < 24 ? (int) ((1UL << (__ISwupper)) >> 8) : (int) ((1UL << (__ISwupper)) >> 24)))), 10182: _ISwlower = ((__ISwlower) < 8 ? (int) ((1UL << (__ISwlower)) << 24) : ((__ISwlower) < 16 ? (int) ((1UL << (__ISwlower)) << 8) : ((__ISwlower) < 24 ? (int) ((1UL << (__ISwlower)) >> 8) : (int) ((1UL << (__ISwlower)) >> 24)))), 10182: _ISwalpha = ((__ISwalpha) < 8 ? (int) ((1UL << (__ISwalpha)) << 24) : ((__ISwalpha) < 16 ? (int) ((1UL << (__ISwalpha)) << 8) : ((__ISwalpha) < 24 ? (int) ((1UL << (__ISwalpha)) >> 8) : (int) ((1UL << (__ISwalpha)) >> 24)))), 10182: _ISwdigit = ((__ISwdigit) < 8 ? (int) ((1UL << (__ISwdigit)) << 24) : ((__ISwdigit) < 16 ? (int) ((1UL << (__ISwdigit)) << 8) : ((__ISwdigit) < 24 ? (int) ((1UL << (__ISwdigit)) >> 8) : (int) ((1UL << (__ISwdigit)) >> 24)))), 10182: _ISwxdigit = ((__ISwxdigit) < 8 ? (int) ((1UL << (__ISwxdigit)) << 24) : ((__ISwxdigit) < 16 ? (int) ((1UL << (__ISwxdigit)) << 8) : ((__ISwxdigit) < 24 ? (int) ((1UL << (__ISwxdigit)) >> 8) : (int) ((1UL << (__ISwxdigit)) >> 24)))), 10182: _ISwspace = ((__ISwspace) < 8 ? (int) ((1UL << (__ISwspace)) << 24) : ((__ISwspace) < 16 ? (int) ((1UL << (__ISwspace)) << 8) : ((__ISwspace) < 24 ? (int) ((1UL << (__ISwspace)) >> 8) : (int) ((1UL << (__ISwspace)) >> 24)))), 10182: _ISwprint = ((__ISwprint) < 8 ? (int) ((1UL << (__ISwprint)) << 24) : ((__ISwprint) < 16 ? (int) ((1UL << (__ISwprint)) << 8) : ((__ISwprint) < 24 ? (int) ((1UL << (__ISwprint)) >> 8) : (int) ((1UL << (__ISwprint)) >> 24)))), 10182: _ISwgraph = ((__ISwgraph) < 8 ? (int) ((1UL << (__ISwgraph)) << 24) : ((__ISwgraph) < 16 ? (int) ((1UL << (__ISwgraph)) << 8) : ((__ISwgraph) < 24 ? (int) ((1UL << (__ISwgraph)) >> 8) : (int) ((1UL << (__ISwgraph)) >> 24)))), 10182: _ISwblank = ((__ISwblank) < 8 ? (int) ((1UL << (__ISwblank)) << 24) : ((__ISwblank) < 16 ? (int) ((1UL << (__ISwblank)) << 8) : ((__ISwblank) < 24 ? (int) ((1UL << (__ISwblank)) >> 8) : (int) ((1UL << (__ISwblank)) >> 24)))), 10182: _ISwcntrl = ((__ISwcntrl) < 8 ? (int) ((1UL << (__ISwcntrl)) << 24) : ((__ISwcntrl) < 16 ? (int) ((1UL << (__ISwcntrl)) << 8) : ((__ISwcntrl) < 24 ? (int) ((1UL << (__ISwcntrl)) >> 8) : (int) ((1UL << (__ISwcntrl)) >> 24)))), 10182: _ISwpunct = ((__ISwpunct) < 8 ? (int) ((1UL << (__ISwpunct)) << 24) : ((__ISwpunct) < 16 ? (int) ((1UL << (__ISwpunct)) << 8) : ((__ISwpunct) < 24 ? (int) ((1UL << (__ISwpunct)) >> 8) : (int) ((1UL << (__ISwpunct)) >> 24)))), 10182: _ISwalnum = ((__ISwalnum) < 8 ? (int) ((1UL << (__ISwalnum)) << 24) : ((__ISwalnum) < 16 ? (int) ((1UL << (__ISwalnum)) << 8) : ((__ISwalnum) < 24 ? (int) ((1UL << (__ISwalnum)) >> 8) : (int) ((1UL << (__ISwalnum)) >> 24)))) 10182: }; 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int iswalnum (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int iswalpha (wint_t __wc) throw (); 10182: 10182: 10182: extern int iswcntrl (wint_t __wc) throw (); 10182: 10182: 10182: 10182: extern int iswdigit (wint_t __wc) throw (); 10182: 10182: 10182: 10182: extern int iswgraph (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswlower (wint_t __wc) throw (); 10182: 10182: 10182: extern int iswprint (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswpunct (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswspace (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswupper (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswxdigit (wint_t __wc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int iswblank (wint_t __wc) throw (); 10182: # 155 "/usr/include/aarch64-linux-gnu/bits/wctype-wchar.h" 3 4 10182: extern wctype_t wctype (const char *__property) throw (); 10182: 10182: 10182: 10182: extern int iswctype (wint_t __wc, wctype_t __desc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t towlower (wint_t __wc) throw (); 10182: 10182: 10182: extern wint_t towupper (wint_t __wc) throw (); 10182: 10182: } 10182: # 39 "/usr/include/wctype.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: typedef const __int32_t *wctrans_t; 10182: 10182: 10182: 10182: extern wctrans_t wctrans (const char *__property) throw (); 10182: 10182: 10182: extern wint_t towctrans (wint_t __wc, wctrans_t __desc) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int iswalnum_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int iswalpha_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: extern int iswcntrl_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: extern int iswdigit_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: extern int iswgraph_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswlower_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: extern int iswprint_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswpunct_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswspace_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswupper_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswxdigit_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: 10182: extern int iswblank_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: extern wctype_t wctype_l (const char *__property, locale_t __locale) 10182: throw (); 10182: 10182: 10182: 10182: extern int iswctype_l (wint_t __wc, wctype_t __desc, locale_t __locale) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern wint_t towlower_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: extern wint_t towupper_l (wint_t __wc, locale_t __locale) throw (); 10182: 10182: 10182: 10182: extern wctrans_t wctrans_l (const char *__property, locale_t __locale) 10182: throw (); 10182: 10182: 10182: extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc, 10182: locale_t __locale) throw (); 10182: 10182: 10182: 10182: } 10182: # 259 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 1 "/usr/include/dirent.h" 1 3 4 10182: # 27 "/usr/include/dirent.h" 3 4 10182: extern "C" { 10182: # 61 "/usr/include/dirent.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/dirent.h" 1 3 4 10182: # 22 "/usr/include/aarch64-linux-gnu/bits/dirent.h" 3 4 10182: struct dirent 10182: { 10182: 10182: __ino_t d_ino; 10182: __off_t d_off; 10182: 10182: 10182: 10182: 10182: unsigned short int d_reclen; 10182: unsigned char d_type; 10182: char d_name[256]; 10182: }; 10182: 10182: 10182: struct dirent64 10182: { 10182: __ino64_t d_ino; 10182: __off64_t d_off; 10182: unsigned short int d_reclen; 10182: unsigned char d_type; 10182: char d_name[256]; 10182: }; 10182: # 62 "/usr/include/dirent.h" 2 3 4 10182: # 97 "/usr/include/dirent.h" 3 4 10182: enum 10182: { 10182: DT_UNKNOWN = 0, 10182: 10182: DT_FIFO = 1, 10182: 10182: DT_CHR = 2, 10182: 10182: DT_DIR = 4, 10182: 10182: DT_BLK = 6, 10182: 10182: DT_REG = 8, 10182: 10182: DT_LNK = 10, 10182: 10182: DT_SOCK = 12, 10182: 10182: DT_WHT = 14 10182: 10182: }; 10182: # 127 "/usr/include/dirent.h" 3 4 10182: typedef struct __dirstream DIR; 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern DIR *opendir (const char *__name) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern DIR *fdopendir (int __fd); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); 10182: # 162 "/usr/include/dirent.h" 3 4 10182: extern struct dirent *readdir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); 10182: # 173 "/usr/include/dirent.h" 3 4 10182: extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); 10182: # 183 "/usr/include/dirent.h" 3 4 10182: extern int readdir_r (DIR *__restrict __dirp, 10182: struct dirent *__restrict __entry, 10182: struct dirent **__restrict __result) 10182: __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__deprecated__)); 10182: # 201 "/usr/include/dirent.h" 3 4 10182: extern int readdir64_r (DIR *__restrict __dirp, 10182: struct dirent64 *__restrict __entry, 10182: struct dirent64 **__restrict __result) 10182: __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__deprecated__)); 10182: 10182: 10182: 10182: 10182: extern void rewinddir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern void seekdir (DIR *__dirp, long int __pos) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern long int telldir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int dirfd (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); 10182: # 245 "/usr/include/dirent.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 246 "/usr/include/dirent.h" 2 3 4 10182: # 255 "/usr/include/dirent.h" 3 4 10182: extern int scandir (const char *__restrict __dir, 10182: struct dirent ***__restrict __namelist, 10182: int (*__selector) (const struct dirent *), 10182: int (*__cmp) (const struct dirent **, 10182: const struct dirent **)) 10182: __attribute__ ((__nonnull__ (1, 2))); 10182: # 278 "/usr/include/dirent.h" 3 4 10182: extern int scandir64 (const char *__restrict __dir, 10182: struct dirent64 ***__restrict __namelist, 10182: int (*__selector) (const struct dirent64 *), 10182: int (*__cmp) (const struct dirent64 **, 10182: const struct dirent64 **)) 10182: __attribute__ ((__nonnull__ (1, 2))); 10182: # 293 "/usr/include/dirent.h" 3 4 10182: extern int scandirat (int __dfd, const char *__restrict __dir, 10182: struct dirent ***__restrict __namelist, 10182: int (*__selector) (const struct dirent *), 10182: int (*__cmp) (const struct dirent **, 10182: const struct dirent **)) 10182: __attribute__ ((__nonnull__ (2, 3))); 10182: # 315 "/usr/include/dirent.h" 3 4 10182: extern int scandirat64 (int __dfd, const char *__restrict __dir, 10182: struct dirent64 ***__restrict __namelist, 10182: int (*__selector) (const struct dirent64 *), 10182: int (*__cmp) (const struct dirent64 **, 10182: const struct dirent64 **)) 10182: __attribute__ ((__nonnull__ (2, 3))); 10182: 10182: 10182: 10182: 10182: extern int alphasort (const struct dirent **__e1, 10182: const struct dirent **__e2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: # 340 "/usr/include/dirent.h" 3 4 10182: extern int alphasort64 (const struct dirent64 **__e1, 10182: const struct dirent64 **__e2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: # 353 "/usr/include/dirent.h" 3 4 10182: extern __ssize_t getdirentries (int __fd, char *__restrict __buf, 10182: size_t __nbytes, 10182: __off_t *__restrict __basep) 10182: throw () __attribute__ ((__nonnull__ (2, 4))); 10182: # 370 "/usr/include/dirent.h" 3 4 10182: extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, 10182: size_t __nbytes, 10182: __off64_t *__restrict __basep) 10182: throw () __attribute__ ((__nonnull__ (2, 4))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int versionsort (const struct dirent **__e1, 10182: const struct dirent **__e2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: # 396 "/usr/include/dirent.h" 3 4 10182: extern int versionsort64 (const struct dirent64 **__e1, 10182: const struct dirent64 **__e2) 10182: throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: } 10182: # 260 "/<>/external/onurbs/opennurbs_system.h" 2 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/errno.h" 1 3 4 10182: # 28 "/usr/include/errno.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/errno.h" 1 3 4 10182: # 26 "/usr/include/aarch64-linux-gnu/bits/errno.h" 3 4 10182: # 1 "/usr/include/linux/errno.h" 1 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/asm/errno.h" 1 3 4 10182: # 1 "/usr/include/asm-generic/errno.h" 1 3 4 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 10182: # 6 "/usr/include/asm-generic/errno.h" 2 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/asm/errno.h" 2 3 4 10182: # 1 "/usr/include/linux/errno.h" 2 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/errno.h" 2 3 4 10182: # 29 "/usr/include/errno.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: extern int *__errno_location (void) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *program_invocation_name; 10182: extern char *program_invocation_short_name; 10182: 10182: 10182: 10182: 10182: 10182: typedef int error_t; 10182: 10182: 10182: 10182: 10182: } 10182: # 266 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 274 "/<>/external/onurbs/opennurbs_system.h" 10182: # 1 "/usr/include/c++/7/new" 1 3 10182: # 37 "/usr/include/c++/7/new" 3 10182: 10182: # 38 "/usr/include/c++/7/new" 3 10182: 10182: 10182: # 1 "/usr/include/c++/7/exception" 1 3 10182: # 33 "/usr/include/c++/7/exception" 3 10182: 10182: # 34 "/usr/include/c++/7/exception" 3 10182: 10182: #pragma GCC visibility push(default) 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/exception.h" 1 3 10182: # 34 "/usr/include/c++/7/bits/exception.h" 3 10182: 10182: # 35 "/usr/include/c++/7/bits/exception.h" 3 10182: 10182: #pragma GCC visibility push(default) 10182: 10182: 10182: 10182: extern "C++" { 10182: 10182: namespace std 10182: { 10182: # 60 "/usr/include/c++/7/bits/exception.h" 3 10182: class exception 10182: { 10182: public: 10182: exception() noexcept { } 10182: virtual ~exception() noexcept; 10182: 10182: 10182: 10182: virtual const char* 10182: what() const noexcept; 10182: }; 10182: 10182: } 10182: 10182: } 10182: 10182: #pragma GCC visibility pop 10182: # 39 "/usr/include/c++/7/exception" 2 3 10182: 10182: extern "C++" { 10182: 10182: namespace std 10182: { 10182: 10182: 10182: class bad_exception : public exception 10182: { 10182: public: 10182: bad_exception() noexcept { } 10182: 10182: 10182: 10182: virtual ~bad_exception() noexcept; 10182: 10182: 10182: virtual const char* 10182: what() const noexcept; 10182: }; 10182: 10182: 10182: typedef void (*terminate_handler) (); 10182: 10182: 10182: typedef void (*unexpected_handler) (); 10182: 10182: 10182: terminate_handler set_terminate(terminate_handler) noexcept; 10182: 10182: 10182: 10182: terminate_handler get_terminate() noexcept; 10182: 10182: 10182: 10182: 10182: void terminate() noexcept __attribute__ ((__noreturn__)); 10182: 10182: 10182: unexpected_handler set_unexpected(unexpected_handler) noexcept; 10182: 10182: 10182: 10182: unexpected_handler get_unexpected() noexcept; 10182: 10182: 10182: 10182: 10182: void unexpected() __attribute__ ((__noreturn__)); 10182: # 101 "/usr/include/c++/7/exception" 3 10182: bool uncaught_exception() noexcept __attribute__ ((__pure__)); 10182: # 110 "/usr/include/c++/7/exception" 3 10182: } 10182: 10182: namespace __gnu_cxx 10182: { 10182: 10182: # 132 "/usr/include/c++/7/exception" 3 10182: void __verbose_terminate_handler(); 10182: 10182: 10182: } 10182: 10182: } 10182: 10182: #pragma GCC visibility pop 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/exception_ptr.h" 1 3 10182: # 34 "/usr/include/c++/7/bits/exception_ptr.h" 3 10182: #pragma GCC visibility push(default) 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/exception_defines.h" 1 3 10182: # 38 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 10182: # 1 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 1 3 10182: # 34 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 10182: 10182: # 35 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 10182: 10182: #pragma GCC visibility push(default) 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 39 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 2 3 10182: # 50 "/usr/include/c++/7/bits/cxxabi_init_exception.h" 3 10182: namespace std 10182: { 10182: class type_info; 10182: } 10182: 10182: namespace __cxxabiv1 10182: { 10182: struct __cxa_refcounted_exception; 10182: 10182: extern "C" 10182: { 10182: 10182: void* 10182: __cxa_allocate_exception(size_t) noexcept; 10182: 10182: void 10182: __cxa_free_exception(void*) noexcept; 10182: 10182: 10182: __cxa_refcounted_exception* 10182: __cxa_init_primary_exception(void *object, std::type_info *tinfo, 10182: void ( *dest) (void *)) noexcept; 10182: 10182: } 10182: } 10182: 10182: 10182: 10182: #pragma GCC visibility pop 10182: # 39 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 10182: # 1 "/usr/include/c++/7/typeinfo" 1 3 10182: # 32 "/usr/include/c++/7/typeinfo" 3 10182: 10182: # 33 "/usr/include/c++/7/typeinfo" 3 10182: 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/hash_bytes.h" 1 3 10182: # 33 "/usr/include/c++/7/bits/hash_bytes.h" 3 10182: 10182: # 34 "/usr/include/c++/7/bits/hash_bytes.h" 3 10182: 10182: 10182: 10182: namespace std 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: size_t 10182: _Hash_bytes(const void* __ptr, size_t __len, size_t __seed); 10182: 10182: 10182: 10182: 10182: 10182: size_t 10182: _Fnv_hash_bytes(const void* __ptr, size_t __len, size_t __seed); 10182: 10182: 10182: } 10182: # 37 "/usr/include/c++/7/typeinfo" 2 3 10182: 10182: 10182: #pragma GCC visibility push(default) 10182: 10182: extern "C++" { 10182: 10182: namespace __cxxabiv1 10182: { 10182: class __class_type_info; 10182: } 10182: # 80 "/usr/include/c++/7/typeinfo" 3 10182: namespace std 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: class type_info 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: virtual ~type_info(); 10182: 10182: 10182: 10182: const char* name() const noexcept 10182: { return __name[0] == '*' ? __name + 1 : __name; } 10182: # 115 "/usr/include/c++/7/typeinfo" 3 10182: bool before(const type_info& __arg) const noexcept 10182: { return (__name[0] == '*' && __arg.__name[0] == '*') 10182: ? __name < __arg.__name 10182: : __builtin_strcmp (__name, __arg.__name) < 0; } 10182: 10182: bool operator==(const type_info& __arg) const noexcept 10182: { 10182: return ((__name == __arg.__name) 10182: || (__name[0] != '*' && 10182: __builtin_strcmp (__name, __arg.__name) == 0)); 10182: } 10182: # 136 "/usr/include/c++/7/typeinfo" 3 10182: bool operator!=(const type_info& __arg) const noexcept 10182: { return !operator==(__arg); } 10182: 10182: 10182: size_t hash_code() const noexcept 10182: { 10182: 10182: return _Hash_bytes(name(), __builtin_strlen(name()), 10182: static_cast(0xc70f6907UL)); 10182: 10182: 10182: 10182: } 10182: 10182: 10182: 10182: virtual bool __is_pointer_p() const; 10182: 10182: 10182: virtual bool __is_function_p() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj, 10182: unsigned __outer) const; 10182: 10182: 10182: virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target, 10182: void **__obj_ptr) const; 10182: 10182: protected: 10182: const char *__name; 10182: 10182: explicit type_info(const char *__n): __name(__n) { } 10182: 10182: private: 10182: 10182: type_info& operator=(const type_info&); 10182: type_info(const type_info&); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class bad_cast : public exception 10182: { 10182: public: 10182: bad_cast() noexcept { } 10182: 10182: 10182: 10182: virtual ~bad_cast() noexcept; 10182: 10182: 10182: virtual const char* what() const noexcept; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class bad_typeid : public exception 10182: { 10182: public: 10182: bad_typeid () noexcept { } 10182: 10182: 10182: 10182: virtual ~bad_typeid() noexcept; 10182: 10182: 10182: virtual const char* what() const noexcept; 10182: }; 10182: } 10182: 10182: } 10182: 10182: #pragma GCC visibility pop 10182: # 40 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 10182: # 1 "/usr/include/c++/7/new" 1 3 10182: # 41 "/usr/include/c++/7/bits/exception_ptr.h" 2 3 10182: 10182: extern "C++" { 10182: 10182: namespace std 10182: { 10182: class type_info; 10182: 10182: 10182: 10182: 10182: 10182: namespace __exception_ptr 10182: { 10182: class exception_ptr; 10182: } 10182: 10182: using __exception_ptr::exception_ptr; 10182: 10182: 10182: 10182: 10182: 10182: exception_ptr current_exception() noexcept; 10182: 10182: template 10182: exception_ptr make_exception_ptr(_Ex) noexcept; 10182: 10182: 10182: void rethrow_exception(exception_ptr) __attribute__ ((__noreturn__)); 10182: 10182: namespace __exception_ptr 10182: { 10182: using std::rethrow_exception; 10182: 10182: 10182: 10182: 10182: 10182: class exception_ptr 10182: { 10182: void* _M_exception_object; 10182: 10182: explicit exception_ptr(void* __e) noexcept; 10182: 10182: void _M_addref() noexcept; 10182: void _M_release() noexcept; 10182: 10182: void *_M_get() const noexcept __attribute__ ((__pure__)); 10182: 10182: friend exception_ptr std::current_exception() noexcept; 10182: friend void std::rethrow_exception(exception_ptr); 10182: template 10182: friend exception_ptr std::make_exception_ptr(_Ex) noexcept; 10182: 10182: public: 10182: exception_ptr() noexcept; 10182: 10182: exception_ptr(const exception_ptr&) noexcept; 10182: 10182: 10182: exception_ptr(nullptr_t) noexcept 10182: : _M_exception_object(0) 10182: { } 10182: 10182: exception_ptr(exception_ptr&& __o) noexcept 10182: : _M_exception_object(__o._M_exception_object) 10182: { __o._M_exception_object = 0; } 10182: # 117 "/usr/include/c++/7/bits/exception_ptr.h" 3 10182: exception_ptr& 10182: operator=(const exception_ptr&) noexcept; 10182: 10182: 10182: exception_ptr& 10182: operator=(exception_ptr&& __o) noexcept 10182: { 10182: exception_ptr(static_cast(__o)).swap(*this); 10182: return *this; 10182: } 10182: 10182: 10182: ~exception_ptr() noexcept; 10182: 10182: void 10182: swap(exception_ptr&) noexcept; 10182: # 144 "/usr/include/c++/7/bits/exception_ptr.h" 3 10182: explicit operator bool() const 10182: { return _M_exception_object; } 10182: 10182: 10182: friend bool 10182: operator==(const exception_ptr&, const exception_ptr&) 10182: noexcept __attribute__ ((__pure__)); 10182: 10182: const class std::type_info* 10182: __cxa_exception_type() const noexcept 10182: __attribute__ ((__pure__)); 10182: }; 10182: 10182: bool 10182: operator==(const exception_ptr&, const exception_ptr&) 10182: noexcept __attribute__ ((__pure__)); 10182: 10182: bool 10182: operator!=(const exception_ptr&, const exception_ptr&) 10182: noexcept __attribute__ ((__pure__)); 10182: 10182: inline void 10182: swap(exception_ptr& __lhs, exception_ptr& __rhs) 10182: { __lhs.swap(__rhs); } 10182: 10182: template 10182: inline void 10182: __dest_thunk(void* __x) 10182: { static_cast<_Ex*>(__x)->~_Ex(); } 10182: 10182: } 10182: 10182: 10182: template 10182: exception_ptr 10182: make_exception_ptr(_Ex __ex) noexcept 10182: { 10182: 10182: void* __e = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ex)); 10182: (void) __cxxabiv1::__cxa_init_primary_exception( 10182: __e, const_cast(&typeid(__ex)), 10182: __exception_ptr::__dest_thunk<_Ex>); 10182: try 10182: { 10182: ::new (__e) _Ex(__ex); 10182: return exception_ptr(__e); 10182: } 10182: catch(...) 10182: { 10182: __cxxabiv1::__cxa_free_exception(__e); 10182: return current_exception(); 10182: } 10182: # 208 "/usr/include/c++/7/bits/exception_ptr.h" 3 10182: } 10182: 10182: 10182: 10182: 10182: 10182: template 10182: exception_ptr 10182: copy_exception(_Ex __ex) noexcept __attribute__ ((__deprecated__)); 10182: 10182: template 10182: exception_ptr 10182: copy_exception(_Ex __ex) noexcept 10182: { return std::make_exception_ptr<_Ex>(__ex); } 10182: 10182: 10182: } 10182: 10182: } 10182: 10182: #pragma GCC visibility pop 10182: # 143 "/usr/include/c++/7/exception" 2 3 10182: # 1 "/usr/include/c++/7/bits/nested_exception.h" 1 3 10182: # 33 "/usr/include/c++/7/bits/nested_exception.h" 3 10182: #pragma GCC visibility push(default) 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/c++/7/bits/move.h" 1 3 10182: # 34 "/usr/include/c++/7/bits/move.h" 3 10182: # 1 "/usr/include/c++/7/bits/concept_check.h" 1 3 10182: # 33 "/usr/include/c++/7/bits/concept_check.h" 3 10182: 10182: # 34 "/usr/include/c++/7/bits/concept_check.h" 3 10182: # 35 "/usr/include/c++/7/bits/move.h" 2 3 10182: 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: inline constexpr _Tp* 10182: __addressof(_Tp& __r) noexcept 10182: { return __builtin_addressof(__r); } 10182: 10182: 10182: } 10182: 10182: 10182: # 1 "/usr/include/c++/7/type_traits" 1 3 10182: # 32 "/usr/include/c++/7/type_traits" 3 10182: 10182: # 33 "/usr/include/c++/7/type_traits" 3 10182: # 42 "/usr/include/c++/7/type_traits" 3 10182: namespace std 10182: { 10182: typedef short unsigned int uint_least16_t; 10182: typedef unsigned int uint_least32_t; 10182: } 10182: 10182: 10182: 10182: 10182: 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: # 68 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct integral_constant 10182: { 10182: static constexpr _Tp value = __v; 10182: typedef _Tp value_type; 10182: typedef integral_constant<_Tp, __v> type; 10182: constexpr operator value_type() const noexcept { return value; } 10182: 10182: 10182: 10182: 10182: constexpr value_type operator()() const noexcept { return value; } 10182: 10182: }; 10182: 10182: template 10182: constexpr _Tp integral_constant<_Tp, __v>::value; 10182: 10182: 10182: typedef integral_constant true_type; 10182: 10182: 10182: typedef integral_constant false_type; 10182: 10182: template 10182: using __bool_constant = integral_constant; 10182: # 103 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct conditional; 10182: 10182: template 10182: struct __or_; 10182: 10182: template<> 10182: struct __or_<> 10182: : public false_type 10182: { }; 10182: 10182: template 10182: struct __or_<_B1> 10182: : public _B1 10182: { }; 10182: 10182: template 10182: struct __or_<_B1, _B2> 10182: : public conditional<_B1::value, _B1, _B2>::type 10182: { }; 10182: 10182: template 10182: struct __or_<_B1, _B2, _B3, _Bn...> 10182: : public conditional<_B1::value, _B1, __or_<_B2, _B3, _Bn...>>::type 10182: { }; 10182: 10182: template 10182: struct __and_; 10182: 10182: template<> 10182: struct __and_<> 10182: : public true_type 10182: { }; 10182: 10182: template 10182: struct __and_<_B1> 10182: : public _B1 10182: { }; 10182: 10182: template 10182: struct __and_<_B1, _B2> 10182: : public conditional<_B1::value, _B2, _B1>::type 10182: { }; 10182: 10182: template 10182: struct __and_<_B1, _B2, _B3, _Bn...> 10182: : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type 10182: { }; 10182: 10182: template 10182: struct __not_ 10182: : public __bool_constant 10182: { }; 10182: # 192 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct __success_type 10182: { typedef _Tp type; }; 10182: 10182: struct __failure_type 10182: { }; 10182: 10182: 10182: 10182: template 10182: struct remove_cv; 10182: 10182: template 10182: struct __is_void_helper 10182: : public false_type { }; 10182: 10182: template<> 10182: struct __is_void_helper 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_void 10182: : public __is_void_helper::type>::type 10182: { }; 10182: 10182: template 10182: struct __is_integral_helper 10182: : public false_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_integral_helper 10182: : public true_type { }; 10182: # 324 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct is_integral 10182: : public __is_integral_helper::type>::type 10182: { }; 10182: 10182: template 10182: struct __is_floating_point_helper 10182: : public false_type { }; 10182: 10182: template<> 10182: struct __is_floating_point_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_floating_point_helper 10182: : public true_type { }; 10182: 10182: template<> 10182: struct __is_floating_point_helper 10182: : public true_type { }; 10182: # 352 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct is_floating_point 10182: : public __is_floating_point_helper::type>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_array 10182: : public false_type { }; 10182: 10182: template 10182: struct is_array<_Tp[_Size]> 10182: : public true_type { }; 10182: 10182: template 10182: struct is_array<_Tp[]> 10182: : public true_type { }; 10182: 10182: template 10182: struct __is_pointer_helper 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_pointer_helper<_Tp*> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_pointer 10182: : public __is_pointer_helper::type>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_lvalue_reference 10182: : public false_type { }; 10182: 10182: template 10182: struct is_lvalue_reference<_Tp&> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_rvalue_reference 10182: : public false_type { }; 10182: 10182: template 10182: struct is_rvalue_reference<_Tp&&> 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function; 10182: 10182: template 10182: struct __is_member_object_pointer_helper 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_member_object_pointer_helper<_Tp _Cp::*> 10182: : public integral_constant::value> { }; 10182: 10182: 10182: template 10182: struct is_member_object_pointer 10182: : public __is_member_object_pointer_helper< 10182: typename remove_cv<_Tp>::type>::type 10182: { }; 10182: 10182: template 10182: struct __is_member_function_pointer_helper 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_member_function_pointer_helper<_Tp _Cp::*> 10182: : public integral_constant::value> { }; 10182: 10182: 10182: template 10182: struct is_member_function_pointer 10182: : public __is_member_function_pointer_helper< 10182: typename remove_cv<_Tp>::type>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_enum 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_union 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_class 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_function 10182: : public false_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) volatile > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) volatile & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) volatile && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) volatile > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) volatile & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) volatile && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const volatile > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const volatile & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes...) const volatile && > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const volatile > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const volatile & > 10182: : public true_type { }; 10182: 10182: template 10182: struct is_function<_Res(_ArgTypes......) const volatile && > 10182: : public true_type { }; 10182: 10182: 10182: 10182: template 10182: struct __is_null_pointer_helper 10182: : public false_type { }; 10182: 10182: template<> 10182: struct __is_null_pointer_helper 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_null_pointer 10182: : public __is_null_pointer_helper::type>::type 10182: { }; 10182: 10182: 10182: template 10182: struct __is_nullptr_t 10182: : public is_null_pointer<_Tp> 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct is_reference 10182: : public __or_, 10182: is_rvalue_reference<_Tp>>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_arithmetic 10182: : public __or_, is_floating_point<_Tp>>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_fundamental 10182: : public __or_, is_void<_Tp>, 10182: is_null_pointer<_Tp>>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_object 10182: : public __not_<__or_, is_reference<_Tp>, 10182: is_void<_Tp>>>::type 10182: { }; 10182: 10182: template 10182: struct is_member_pointer; 10182: 10182: 10182: template 10182: struct is_scalar 10182: : public __or_, is_enum<_Tp>, is_pointer<_Tp>, 10182: is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_compound 10182: : public integral_constant::value> { }; 10182: 10182: template 10182: struct __is_member_pointer_helper 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_member_pointer_helper<_Tp _Cp::*> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_member_pointer 10182: : public __is_member_pointer_helper::type>::type 10182: { }; 10182: 10182: 10182: 10182: template 10182: struct __is_referenceable 10182: : public __or_, is_reference<_Tp>>::type 10182: { }; 10182: 10182: template 10182: struct __is_referenceable<_Res(_Args...) > 10182: : public true_type 10182: { }; 10182: 10182: template 10182: struct __is_referenceable<_Res(_Args......) > 10182: : public true_type 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct is_const 10182: : public false_type { }; 10182: 10182: template 10182: struct is_const<_Tp const> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_volatile 10182: : public false_type { }; 10182: 10182: template 10182: struct is_volatile<_Tp volatile> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_trivial 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_copyable 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_standard_layout 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: 10182: template 10182: struct is_pod 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_literal_type 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_empty 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_polymorphic 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct is_final 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: 10182: template 10182: struct is_abstract 10182: : public integral_constant 10182: { }; 10182: 10182: template::value> 10182: struct __is_signed_helper 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_signed_helper<_Tp, true> 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: template 10182: struct is_signed 10182: : public __is_signed_helper<_Tp>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_unsigned 10182: : public __and_, __not_>> 10182: { }; 10182: 10182: 10182: 10182: 10182: template 10182: struct add_rvalue_reference; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: typename add_rvalue_reference<_Tp>::type declval() noexcept; 10182: 10182: template 10182: struct extent; 10182: 10182: template 10182: struct remove_all_extents; 10182: 10182: template 10182: struct __is_array_known_bounds 10182: : public integral_constant::value > 0)> 10182: { }; 10182: 10182: template 10182: struct __is_array_unknown_bounds 10182: : public __and_, __not_>> 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct __do_is_destructible_impl 10182: { 10182: template().~_Tp())> 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_destructible_impl 10182: : public __do_is_destructible_impl 10182: { 10182: typedef decltype(__test<_Tp>(0)) type; 10182: }; 10182: 10182: template, 10182: __is_array_unknown_bounds<_Tp>, 10182: is_function<_Tp>>::value, 10182: bool = __or_, is_scalar<_Tp>>::value> 10182: struct __is_destructible_safe; 10182: 10182: template 10182: struct __is_destructible_safe<_Tp, false, false> 10182: : public __is_destructible_impl::type>::type 10182: { }; 10182: 10182: template 10182: struct __is_destructible_safe<_Tp, true, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_destructible_safe<_Tp, false, true> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_destructible 10182: : public __is_destructible_safe<_Tp>::type 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: struct __do_is_nt_destructible_impl 10182: { 10182: template 10182: static integral_constant().~_Tp())> 10182: __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_nt_destructible_impl 10182: : public __do_is_nt_destructible_impl 10182: { 10182: typedef decltype(__test<_Tp>(0)) type; 10182: }; 10182: 10182: template, 10182: __is_array_unknown_bounds<_Tp>, 10182: is_function<_Tp>>::value, 10182: bool = __or_, is_scalar<_Tp>>::value> 10182: struct __is_nt_destructible_safe; 10182: 10182: template 10182: struct __is_nt_destructible_safe<_Tp, false, false> 10182: : public __is_nt_destructible_impl::type>::type 10182: { }; 10182: 10182: template 10182: struct __is_nt_destructible_safe<_Tp, true, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_nt_destructible_safe<_Tp, false, true> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_nothrow_destructible 10182: : public __is_nt_destructible_safe<_Tp>::type 10182: { }; 10182: 10182: struct __do_is_default_constructible_impl 10182: { 10182: template 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_default_constructible_impl 10182: : public __do_is_default_constructible_impl 10182: { 10182: typedef decltype(__test<_Tp>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_default_constructible_atom 10182: : public __and_<__not_>, 10182: __is_default_constructible_impl<_Tp>> 10182: { }; 10182: 10182: template::value> 10182: struct __is_default_constructible_safe; 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_default_constructible_safe<_Tp, true> 10182: : public __and_<__is_array_known_bounds<_Tp>, 10182: __is_default_constructible_atom::type>> 10182: { }; 10182: 10182: template 10182: struct __is_default_constructible_safe<_Tp, false> 10182: : public __is_default_constructible_atom<_Tp>::type 10182: { }; 10182: 10182: 10182: template 10182: struct is_default_constructible 10182: : public __is_default_constructible_safe<_Tp>::type 10182: { }; 10182: # 936 "/usr/include/c++/7/type_traits" 3 10182: struct __do_is_static_castable_impl 10182: { 10182: template(declval<_From>()))> 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_static_castable_impl 10182: : public __do_is_static_castable_impl 10182: { 10182: typedef decltype(__test<_From, _To>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_static_castable_safe 10182: : public __is_static_castable_impl<_From, _To>::type 10182: { }; 10182: 10182: 10182: template 10182: struct __is_static_castable 10182: : public integral_constant::value)> 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct __do_is_direct_constructible_impl 10182: { 10182: template()))> 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_direct_constructible_impl 10182: : public __do_is_direct_constructible_impl 10182: { 10182: typedef decltype(__test<_Tp, _Arg>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_direct_constructible_new_safe 10182: : public __and_, 10182: __is_direct_constructible_impl<_Tp, _Arg>> 10182: { }; 10182: 10182: template 10182: struct is_same; 10182: 10182: template 10182: struct is_base_of; 10182: 10182: template 10182: struct remove_reference; 10182: 10182: template, 10182: is_function<_From>>>::value> 10182: struct __is_base_to_derived_ref; 10182: 10182: template 10182: struct is_constructible; 10182: 10182: 10182: 10182: template 10182: struct __is_base_to_derived_ref<_From, _To, true> 10182: { 10182: typedef typename remove_cv::type>::type __src_t; 10182: typedef typename remove_cv::type>::type __dst_t; 10182: typedef __and_<__not_>, 10182: is_base_of<__src_t, __dst_t>, 10182: __not_>> type; 10182: static constexpr bool value = type::value; 10182: }; 10182: 10182: template 10182: struct __is_base_to_derived_ref<_From, _To, false> 10182: : public false_type 10182: { }; 10182: 10182: template, 10182: is_rvalue_reference<_To>>::value> 10182: struct __is_lvalue_to_rvalue_ref; 10182: 10182: 10182: 10182: template 10182: struct __is_lvalue_to_rvalue_ref<_From, _To, true> 10182: { 10182: typedef typename remove_cv::type>::type __src_t; 10182: typedef typename remove_cv::type>::type __dst_t; 10182: typedef __and_<__not_>, 10182: __or_, 10182: is_base_of<__dst_t, __src_t>>> type; 10182: static constexpr bool value = type::value; 10182: }; 10182: 10182: template 10182: struct __is_lvalue_to_rvalue_ref<_From, _To, false> 10182: : public false_type 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct __is_direct_constructible_ref_cast 10182: : public __and_<__is_static_castable<_Arg, _Tp>, 10182: __not_<__or_<__is_base_to_derived_ref<_Arg, _Tp>, 10182: __is_lvalue_to_rvalue_ref<_Arg, _Tp> 10182: >>> 10182: { }; 10182: 10182: template 10182: struct __is_direct_constructible_new 10182: : public conditional::value, 10182: __is_direct_constructible_ref_cast<_Tp, _Arg>, 10182: __is_direct_constructible_new_safe<_Tp, _Arg> 10182: >::type 10182: { }; 10182: 10182: template 10182: struct __is_direct_constructible 10182: : public __is_direct_constructible_new<_Tp, _Arg>::type 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct __do_is_nary_constructible_impl 10182: { 10182: template()...))> 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_nary_constructible_impl 10182: : public __do_is_nary_constructible_impl 10182: { 10182: typedef decltype(__test<_Tp, _Args...>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_nary_constructible 10182: : public __is_nary_constructible_impl<_Tp, _Args...>::type 10182: { 10182: static_assert(sizeof...(_Args) > 1, 10182: "Only useful for > 1 arguments"); 10182: }; 10182: 10182: template 10182: struct __is_constructible_impl 10182: : public __is_nary_constructible<_Tp, _Args...> 10182: { }; 10182: 10182: template 10182: struct __is_constructible_impl<_Tp, _Arg> 10182: : public __is_direct_constructible<_Tp, _Arg> 10182: { }; 10182: 10182: template 10182: struct __is_constructible_impl<_Tp> 10182: : public is_default_constructible<_Tp> 10182: { }; 10182: 10182: 10182: template 10182: struct is_constructible 10182: : public __is_constructible_impl<_Tp, _Args...>::type 10182: { }; 10182: 10182: template::value> 10182: struct __is_copy_constructible_impl; 10182: 10182: template 10182: struct __is_copy_constructible_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_copy_constructible_impl<_Tp, true> 10182: : public is_constructible<_Tp, const _Tp&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_copy_constructible 10182: : public __is_copy_constructible_impl<_Tp> 10182: { }; 10182: 10182: template::value> 10182: struct __is_move_constructible_impl; 10182: 10182: template 10182: struct __is_move_constructible_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_move_constructible_impl<_Tp, true> 10182: : public is_constructible<_Tp, _Tp&&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_move_constructible 10182: : public __is_move_constructible_impl<_Tp> 10182: { }; 10182: 10182: template 10182: struct __is_nt_default_constructible_atom 10182: : public integral_constant 10182: { }; 10182: 10182: template::value> 10182: struct __is_nt_default_constructible_impl; 10182: 10182: template 10182: struct __is_nt_default_constructible_impl<_Tp, true> 10182: : public __and_<__is_array_known_bounds<_Tp>, 10182: __is_nt_default_constructible_atom::type>> 10182: { }; 10182: 10182: template 10182: struct __is_nt_default_constructible_impl<_Tp, false> 10182: : public __is_nt_default_constructible_atom<_Tp> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_default_constructible 10182: : public __and_, 10182: __is_nt_default_constructible_impl<_Tp>> 10182: { }; 10182: 10182: template 10182: struct __is_nt_constructible_impl 10182: : public integral_constant()...))> 10182: { }; 10182: 10182: template 10182: struct __is_nt_constructible_impl<_Tp, _Arg> 10182: : public integral_constant(declval<_Arg>()))> 10182: { }; 10182: 10182: template 10182: struct __is_nt_constructible_impl<_Tp> 10182: : public is_nothrow_default_constructible<_Tp> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_constructible 10182: : public __and_, 10182: __is_nt_constructible_impl<_Tp, _Args...>> 10182: { }; 10182: 10182: template::value> 10182: struct __is_nothrow_copy_constructible_impl; 10182: 10182: template 10182: struct __is_nothrow_copy_constructible_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_nothrow_copy_constructible_impl<_Tp, true> 10182: : public is_nothrow_constructible<_Tp, const _Tp&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_copy_constructible 10182: : public __is_nothrow_copy_constructible_impl<_Tp> 10182: { }; 10182: 10182: template::value> 10182: struct __is_nothrow_move_constructible_impl; 10182: 10182: template 10182: struct __is_nothrow_move_constructible_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_nothrow_move_constructible_impl<_Tp, true> 10182: : public is_nothrow_constructible<_Tp, _Tp&&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_move_constructible 10182: : public __is_nothrow_move_constructible_impl<_Tp> 10182: { }; 10182: 10182: template 10182: class __is_assignable_helper 10182: { 10182: template() = declval<_Up1>())> 10182: static true_type 10182: __test(int); 10182: 10182: template 10182: static false_type 10182: __test(...); 10182: 10182: public: 10182: typedef decltype(__test<_Tp, _Up>(0)) type; 10182: }; 10182: 10182: 10182: template 10182: struct is_assignable 10182: : public __is_assignable_helper<_Tp, _Up>::type 10182: { }; 10182: 10182: template::value> 10182: struct __is_copy_assignable_impl; 10182: 10182: template 10182: struct __is_copy_assignable_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_copy_assignable_impl<_Tp, true> 10182: : public is_assignable<_Tp&, const _Tp&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_copy_assignable 10182: : public __is_copy_assignable_impl<_Tp> 10182: { }; 10182: 10182: template::value> 10182: struct __is_move_assignable_impl; 10182: 10182: template 10182: struct __is_move_assignable_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_move_assignable_impl<_Tp, true> 10182: : public is_assignable<_Tp&, _Tp&&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_move_assignable 10182: : public __is_move_assignable_impl<_Tp> 10182: { }; 10182: 10182: template 10182: struct __is_nt_assignable_impl 10182: : public integral_constant() = declval<_Up>())> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_assignable 10182: : public __and_, 10182: __is_nt_assignable_impl<_Tp, _Up>> 10182: { }; 10182: 10182: template::value> 10182: struct __is_nt_copy_assignable_impl; 10182: 10182: template 10182: struct __is_nt_copy_assignable_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_nt_copy_assignable_impl<_Tp, true> 10182: : public is_nothrow_assignable<_Tp&, const _Tp&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_copy_assignable 10182: : public __is_nt_copy_assignable_impl<_Tp> 10182: { }; 10182: 10182: template::value> 10182: struct __is_nt_move_assignable_impl; 10182: 10182: template 10182: struct __is_nt_move_assignable_impl<_Tp, false> 10182: : public false_type { }; 10182: 10182: template 10182: struct __is_nt_move_assignable_impl<_Tp, true> 10182: : public is_nothrow_assignable<_Tp&, _Tp&&> 10182: { }; 10182: 10182: 10182: template 10182: struct is_nothrow_move_assignable 10182: : public __is_nt_move_assignable_impl<_Tp> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_constructible 10182: : public __and_, integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_default_constructible 10182: : public is_trivially_constructible<_Tp>::type 10182: { }; 10182: 10182: struct __do_is_implicitly_default_constructible_impl 10182: { 10182: template 10182: static void __helper(const _Tp&); 10182: 10182: template 10182: static true_type __test(const _Tp&, 10182: decltype(__helper({}))* = 0); 10182: 10182: static false_type __test(...); 10182: }; 10182: 10182: template 10182: struct __is_implicitly_default_constructible_impl 10182: : public __do_is_implicitly_default_constructible_impl 10182: { 10182: typedef decltype(__test(declval<_Tp>())) type; 10182: }; 10182: 10182: template 10182: struct __is_implicitly_default_constructible_safe 10182: : public __is_implicitly_default_constructible_impl<_Tp>::type 10182: { }; 10182: 10182: template 10182: struct __is_implicitly_default_constructible 10182: : public __and_, 10182: __is_implicitly_default_constructible_safe<_Tp>> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_copy_constructible 10182: : public __and_, 10182: integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_move_constructible 10182: : public __and_, 10182: integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_assignable 10182: : public __and_, 10182: integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_copy_assignable 10182: : public __and_, 10182: integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_move_assignable 10182: : public __and_, 10182: integral_constant> 10182: { }; 10182: 10182: 10182: template 10182: struct is_trivially_destructible 10182: : public __and_, integral_constant> 10182: { }; 10182: 10182: 10182: 10182: template 10182: struct has_virtual_destructor 10182: : public integral_constant 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct alignment_of 10182: : public integral_constant { }; 10182: 10182: 10182: template 10182: struct rank 10182: : public integral_constant { }; 10182: 10182: template 10182: struct rank<_Tp[_Size]> 10182: : public integral_constant::value> { }; 10182: 10182: template 10182: struct rank<_Tp[]> 10182: : public integral_constant::value> { }; 10182: 10182: 10182: template 10182: struct extent 10182: : public integral_constant { }; 10182: 10182: template 10182: struct extent<_Tp[_Size], _Uint> 10182: : public integral_constant::value> 10182: { }; 10182: 10182: template 10182: struct extent<_Tp[], _Uint> 10182: : public integral_constant::value> 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct is_same 10182: : public false_type { }; 10182: 10182: template 10182: struct is_same<_Tp, _Tp> 10182: : public true_type { }; 10182: 10182: 10182: template 10182: struct is_base_of 10182: : public integral_constant 10182: { }; 10182: 10182: template, is_function<_To>, 10182: is_array<_To>>::value> 10182: struct __is_convertible_helper 10182: { typedef typename is_void<_To>::type type; }; 10182: 10182: template 10182: class __is_convertible_helper<_From, _To, false> 10182: { 10182: template 10182: static void __test_aux(_To1); 10182: 10182: template(std::declval<_From1>()))> 10182: static true_type 10182: __test(int); 10182: 10182: template 10182: static false_type 10182: __test(...); 10182: 10182: public: 10182: typedef decltype(__test<_From, _To>(0)) type; 10182: }; 10182: 10182: 10182: 10182: template 10182: struct is_convertible 10182: : public __is_convertible_helper<_From, _To>::type 10182: { }; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct remove_const 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_const<_Tp const> 10182: { typedef _Tp type; }; 10182: 10182: 10182: template 10182: struct remove_volatile 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_volatile<_Tp volatile> 10182: { typedef _Tp type; }; 10182: 10182: 10182: template 10182: struct remove_cv 10182: { 10182: typedef typename 10182: remove_const::type>::type type; 10182: }; 10182: 10182: 10182: template 10182: struct add_const 10182: { typedef _Tp const type; }; 10182: 10182: 10182: template 10182: struct add_volatile 10182: { typedef _Tp volatile type; }; 10182: 10182: 10182: template 10182: struct add_cv 10182: { 10182: typedef typename 10182: add_const::type>::type type; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: using remove_const_t = typename remove_const<_Tp>::type; 10182: 10182: 10182: template 10182: using remove_volatile_t = typename remove_volatile<_Tp>::type; 10182: 10182: 10182: template 10182: using remove_cv_t = typename remove_cv<_Tp>::type; 10182: 10182: 10182: template 10182: using add_const_t = typename add_const<_Tp>::type; 10182: 10182: 10182: template 10182: using add_volatile_t = typename add_volatile<_Tp>::type; 10182: 10182: 10182: template 10182: using add_cv_t = typename add_cv<_Tp>::type; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct remove_reference 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_reference<_Tp&> 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_reference<_Tp&&> 10182: { typedef _Tp type; }; 10182: 10182: template::value> 10182: struct __add_lvalue_reference_helper 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct __add_lvalue_reference_helper<_Tp, true> 10182: { typedef _Tp& type; }; 10182: 10182: 10182: template 10182: struct add_lvalue_reference 10182: : public __add_lvalue_reference_helper<_Tp> 10182: { }; 10182: 10182: template::value> 10182: struct __add_rvalue_reference_helper 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct __add_rvalue_reference_helper<_Tp, true> 10182: { typedef _Tp&& type; }; 10182: 10182: 10182: template 10182: struct add_rvalue_reference 10182: : public __add_rvalue_reference_helper<_Tp> 10182: { }; 10182: 10182: 10182: 10182: template 10182: using remove_reference_t = typename remove_reference<_Tp>::type; 10182: 10182: 10182: template 10182: using add_lvalue_reference_t = typename add_lvalue_reference<_Tp>::type; 10182: 10182: 10182: template 10182: using add_rvalue_reference_t = typename add_rvalue_reference<_Tp>::type; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct __cv_selector; 10182: 10182: template 10182: struct __cv_selector<_Unqualified, false, false> 10182: { typedef _Unqualified __type; }; 10182: 10182: template 10182: struct __cv_selector<_Unqualified, false, true> 10182: { typedef volatile _Unqualified __type; }; 10182: 10182: template 10182: struct __cv_selector<_Unqualified, true, false> 10182: { typedef const _Unqualified __type; }; 10182: 10182: template 10182: struct __cv_selector<_Unqualified, true, true> 10182: { typedef const volatile _Unqualified __type; }; 10182: 10182: template::value, 10182: bool _IsVol = is_volatile<_Qualified>::value> 10182: class __match_cv_qualifiers 10182: { 10182: typedef __cv_selector<_Unqualified, _IsConst, _IsVol> __match; 10182: 10182: public: 10182: typedef typename __match::__type __type; 10182: }; 10182: 10182: 10182: template 10182: struct __make_unsigned 10182: { typedef _Tp __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned char __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned char __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned short __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned int __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned long __type; }; 10182: 10182: template<> 10182: struct __make_unsigned 10182: { typedef unsigned long long __type; }; 10182: # 1771 "/usr/include/c++/7/type_traits" 3 10182: template::value, 10182: bool _IsEnum = is_enum<_Tp>::value> 10182: class __make_unsigned_selector; 10182: 10182: template 10182: class __make_unsigned_selector<_Tp, true, false> 10182: { 10182: typedef __make_unsigned::type> __unsignedt; 10182: typedef typename __unsignedt::__type __unsigned_type; 10182: typedef __match_cv_qualifiers<_Tp, __unsigned_type> __cv_unsigned; 10182: 10182: public: 10182: typedef typename __cv_unsigned::__type __type; 10182: }; 10182: 10182: template 10182: class __make_unsigned_selector<_Tp, false, true> 10182: { 10182: 10182: typedef unsigned char __smallest; 10182: static const bool __b0 = sizeof(_Tp) <= sizeof(__smallest); 10182: static const bool __b1 = sizeof(_Tp) <= sizeof(unsigned short); 10182: static const bool __b2 = sizeof(_Tp) <= sizeof(unsigned int); 10182: static const bool __b3 = sizeof(_Tp) <= sizeof(unsigned long); 10182: typedef conditional<__b3, unsigned long, unsigned long long> __cond3; 10182: typedef typename __cond3::type __cond3_type; 10182: typedef conditional<__b2, unsigned int, __cond3_type> __cond2; 10182: typedef typename __cond2::type __cond2_type; 10182: typedef conditional<__b1, unsigned short, __cond2_type> __cond1; 10182: typedef typename __cond1::type __cond1_type; 10182: 10182: typedef typename conditional<__b0, __smallest, __cond1_type>::type 10182: __unsigned_type; 10182: typedef __match_cv_qualifiers<_Tp, __unsigned_type> __cv_unsigned; 10182: 10182: public: 10182: typedef typename __cv_unsigned::__type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct make_unsigned 10182: { typedef typename __make_unsigned_selector<_Tp>::__type type; }; 10182: 10182: 10182: template<> 10182: struct make_unsigned; 10182: 10182: 10182: 10182: template 10182: struct __make_signed 10182: { typedef _Tp __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed char __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed char __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed short __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed int __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed long __type; }; 10182: 10182: template<> 10182: struct __make_signed 10182: { typedef signed long long __type; }; 10182: 10182: 10182: template<> 10182: struct __make_signed : __make_signed 10182: { }; 10182: 10182: 10182: 10182: template<> 10182: struct __make_signed : __make_signed 10182: { }; 10182: template<> 10182: struct __make_signed : __make_signed 10182: { }; 10182: # 1890 "/usr/include/c++/7/type_traits" 3 10182: template::value, 10182: bool _IsEnum = is_enum<_Tp>::value> 10182: class __make_signed_selector; 10182: 10182: template 10182: class __make_signed_selector<_Tp, true, false> 10182: { 10182: typedef __make_signed::type> __signedt; 10182: typedef typename __signedt::__type __signed_type; 10182: typedef __match_cv_qualifiers<_Tp, __signed_type> __cv_signed; 10182: 10182: public: 10182: typedef typename __cv_signed::__type __type; 10182: }; 10182: 10182: template 10182: class __make_signed_selector<_Tp, false, true> 10182: { 10182: typedef typename __make_unsigned_selector<_Tp>::__type __unsigned_type; 10182: 10182: public: 10182: typedef typename __make_signed_selector<__unsigned_type>::__type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct make_signed 10182: { typedef typename __make_signed_selector<_Tp>::__type type; }; 10182: 10182: 10182: template<> 10182: struct make_signed; 10182: 10182: 10182: 10182: template 10182: using make_signed_t = typename make_signed<_Tp>::type; 10182: 10182: 10182: template 10182: using make_unsigned_t = typename make_unsigned<_Tp>::type; 10182: 10182: 10182: 10182: 10182: 10182: template 10182: struct remove_extent 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_extent<_Tp[_Size]> 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_extent<_Tp[]> 10182: { typedef _Tp type; }; 10182: 10182: 10182: template 10182: struct remove_all_extents 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct remove_all_extents<_Tp[_Size]> 10182: { typedef typename remove_all_extents<_Tp>::type type; }; 10182: 10182: template 10182: struct remove_all_extents<_Tp[]> 10182: { typedef typename remove_all_extents<_Tp>::type type; }; 10182: 10182: 10182: 10182: template 10182: using remove_extent_t = typename remove_extent<_Tp>::type; 10182: 10182: 10182: template 10182: using remove_all_extents_t = typename remove_all_extents<_Tp>::type; 10182: 10182: 10182: 10182: 10182: template 10182: struct __remove_pointer_helper 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct __remove_pointer_helper<_Tp, _Up*> 10182: { typedef _Up type; }; 10182: 10182: 10182: template 10182: struct remove_pointer 10182: : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type> 10182: { }; 10182: 10182: 10182: template, 10182: is_void<_Tp>>::value> 10182: struct __add_pointer_helper 10182: { typedef _Tp type; }; 10182: 10182: template 10182: struct __add_pointer_helper<_Tp, true> 10182: { typedef typename remove_reference<_Tp>::type* type; }; 10182: 10182: template 10182: struct add_pointer 10182: : public __add_pointer_helper<_Tp> 10182: { }; 10182: 10182: 10182: 10182: template 10182: using remove_pointer_t = typename remove_pointer<_Tp>::type; 10182: 10182: 10182: template 10182: using add_pointer_t = typename add_pointer<_Tp>::type; 10182: 10182: 10182: template 10182: struct __aligned_storage_msa 10182: { 10182: union __type 10182: { 10182: unsigned char __data[_Len]; 10182: struct __attribute__((__aligned__)) { } __align; 10182: }; 10182: }; 10182: # 2036 "/usr/include/c++/7/type_traits" 3 10182: template::__type)> 10182: struct aligned_storage 10182: { 10182: union type 10182: { 10182: unsigned char __data[_Len]; 10182: struct __attribute__((__aligned__((_Align)))) { } __align; 10182: }; 10182: }; 10182: 10182: template 10182: struct __strictest_alignment 10182: { 10182: static const size_t _S_alignment = 0; 10182: static const size_t _S_size = 0; 10182: }; 10182: 10182: template 10182: struct __strictest_alignment<_Tp, _Types...> 10182: { 10182: static const size_t _S_alignment = 10182: alignof(_Tp) > __strictest_alignment<_Types...>::_S_alignment 10182: ? alignof(_Tp) : __strictest_alignment<_Types...>::_S_alignment; 10182: static const size_t _S_size = 10182: sizeof(_Tp) > __strictest_alignment<_Types...>::_S_size 10182: ? sizeof(_Tp) : __strictest_alignment<_Types...>::_S_size; 10182: }; 10182: # 2075 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct aligned_union 10182: { 10182: private: 10182: static_assert(sizeof...(_Types) != 0, "At least one type is required"); 10182: 10182: using __strictest = __strictest_alignment<_Types...>; 10182: static const size_t _S_len = _Len > __strictest::_S_size 10182: ? _Len : __strictest::_S_size; 10182: public: 10182: 10182: static const size_t alignment_value = __strictest::_S_alignment; 10182: 10182: typedef typename aligned_storage<_S_len, alignment_value>::type type; 10182: }; 10182: 10182: template 10182: const size_t aligned_union<_Len, _Types...>::alignment_value; 10182: 10182: 10182: 10182: template::value, 10182: bool _IsFunction = is_function<_Up>::value> 10182: struct __decay_selector; 10182: 10182: 10182: template 10182: struct __decay_selector<_Up, false, false> 10182: { typedef typename remove_cv<_Up>::type __type; }; 10182: 10182: template 10182: struct __decay_selector<_Up, true, false> 10182: { typedef typename remove_extent<_Up>::type* __type; }; 10182: 10182: template 10182: struct __decay_selector<_Up, false, true> 10182: { typedef typename add_pointer<_Up>::type __type; }; 10182: 10182: 10182: template 10182: class decay 10182: { 10182: typedef typename remove_reference<_Tp>::type __remove_type; 10182: 10182: public: 10182: typedef typename __decay_selector<__remove_type>::__type type; 10182: }; 10182: 10182: template 10182: class reference_wrapper; 10182: 10182: 10182: template 10182: struct __strip_reference_wrapper 10182: { 10182: typedef _Tp __type; 10182: }; 10182: 10182: template 10182: struct __strip_reference_wrapper > 10182: { 10182: typedef _Tp& __type; 10182: }; 10182: 10182: template 10182: struct __decay_and_strip 10182: { 10182: typedef typename __strip_reference_wrapper< 10182: typename decay<_Tp>::type>::__type __type; 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: struct enable_if 10182: { }; 10182: 10182: 10182: template 10182: struct enable_if 10182: { typedef _Tp type; }; 10182: 10182: template 10182: using _Require = typename enable_if<__and_<_Cond...>::value>::type; 10182: 10182: 10182: 10182: template 10182: struct conditional 10182: { typedef _Iftrue type; }; 10182: 10182: 10182: template 10182: struct conditional 10182: { typedef _Iffalse type; }; 10182: 10182: 10182: template 10182: struct common_type; 10182: 10182: 10182: 10182: struct __do_common_type_impl 10182: { 10182: template 10182: static __success_type() 10182: : std::declval<_Up>())>::type> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __common_type_impl 10182: : private __do_common_type_impl 10182: { 10182: typedef decltype(_S_test<_Tp, _Up>(0)) type; 10182: }; 10182: 10182: struct __do_member_type_wrapper 10182: { 10182: template 10182: static __success_type _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __member_type_wrapper 10182: : private __do_member_type_wrapper 10182: { 10182: typedef decltype(_S_test<_Tp>(0)) type; 10182: }; 10182: 10182: template 10182: struct __expanded_common_type_wrapper 10182: { 10182: typedef common_type type; 10182: }; 10182: 10182: template 10182: struct __expanded_common_type_wrapper<__failure_type, _Args...> 10182: { typedef __failure_type type; }; 10182: 10182: template 10182: struct common_type<_Tp> 10182: { typedef typename decay<_Tp>::type type; }; 10182: 10182: template 10182: struct common_type<_Tp, _Up> 10182: : public __common_type_impl<_Tp, _Up>::type 10182: { }; 10182: 10182: template 10182: struct common_type<_Tp, _Up, _Vp...> 10182: : public __expanded_common_type_wrapper>::type, _Vp...>::type 10182: { }; 10182: 10182: 10182: template 10182: struct underlying_type 10182: { 10182: typedef __underlying_type(_Tp) type; 10182: }; 10182: 10182: template 10182: struct __declval_protector 10182: { 10182: static const bool __stop = false; 10182: static typename add_rvalue_reference<_Tp>::type __delegate(); 10182: }; 10182: 10182: template 10182: inline typename add_rvalue_reference<_Tp>::type 10182: declval() noexcept 10182: { 10182: static_assert(__declval_protector<_Tp>::__stop, 10182: "declval() must not be used!"); 10182: return __declval_protector<_Tp>::__delegate(); 10182: } 10182: 10182: 10182: template 10182: class result_of; 10182: 10182: 10182: 10182: 10182: 10182: struct __invoke_memfun_ref { }; 10182: struct __invoke_memfun_deref { }; 10182: struct __invoke_memobj_ref { }; 10182: struct __invoke_memobj_deref { }; 10182: struct __invoke_other { }; 10182: 10182: 10182: template 10182: struct __result_of_success : __success_type<_Tp> 10182: { using __invoke_type = _Tag; }; 10182: 10182: 10182: struct __result_of_memfun_ref_impl 10182: { 10182: template 10182: static __result_of_success().*std::declval<_Fp>())(std::declval<_Args>()...) 10182: ), __invoke_memfun_ref> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __result_of_memfun_ref 10182: : private __result_of_memfun_ref_impl 10182: { 10182: typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; 10182: }; 10182: 10182: 10182: struct __result_of_memfun_deref_impl 10182: { 10182: template 10182: static __result_of_success()).*std::declval<_Fp>())(std::declval<_Args>()...) 10182: ), __invoke_memfun_deref> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __result_of_memfun_deref 10182: : private __result_of_memfun_deref_impl 10182: { 10182: typedef decltype(_S_test<_MemPtr, _Arg, _Args...>(0)) type; 10182: }; 10182: 10182: 10182: struct __result_of_memobj_ref_impl 10182: { 10182: template 10182: static __result_of_success().*std::declval<_Fp>() 10182: ), __invoke_memobj_ref> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __result_of_memobj_ref 10182: : private __result_of_memobj_ref_impl 10182: { 10182: typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; 10182: }; 10182: 10182: 10182: struct __result_of_memobj_deref_impl 10182: { 10182: template 10182: static __result_of_success()).*std::declval<_Fp>() 10182: ), __invoke_memobj_deref> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __result_of_memobj_deref 10182: : private __result_of_memobj_deref_impl 10182: { 10182: typedef decltype(_S_test<_MemPtr, _Arg>(0)) type; 10182: }; 10182: 10182: template 10182: struct __result_of_memobj; 10182: 10182: template 10182: struct __result_of_memobj<_Res _Class::*, _Arg> 10182: { 10182: typedef typename remove_cv::type>::type _Argval; 10182: typedef _Res _Class::* _MemPtr; 10182: typedef typename conditional<__or_, 10182: is_base_of<_Class, _Argval>>::value, 10182: __result_of_memobj_ref<_MemPtr, _Arg>, 10182: __result_of_memobj_deref<_MemPtr, _Arg> 10182: >::type::type type; 10182: }; 10182: 10182: template 10182: struct __result_of_memfun; 10182: 10182: template 10182: struct __result_of_memfun<_Res _Class::*, _Arg, _Args...> 10182: { 10182: typedef typename remove_cv::type>::type _Argval; 10182: typedef _Res _Class::* _MemPtr; 10182: typedef typename conditional<__or_, 10182: is_base_of<_Class, _Argval>>::value, 10182: __result_of_memfun_ref<_MemPtr, _Arg, _Args...>, 10182: __result_of_memfun_deref<_MemPtr, _Arg, _Args...> 10182: >::type::type type; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: template::type> 10182: struct __inv_unwrap 10182: { 10182: using type = _Tp; 10182: }; 10182: 10182: template 10182: struct __inv_unwrap<_Tp, reference_wrapper<_Up>> 10182: { 10182: using type = _Up&; 10182: }; 10182: 10182: template 10182: struct __result_of_impl 10182: { 10182: typedef __failure_type type; 10182: }; 10182: 10182: template 10182: struct __result_of_impl 10182: : public __result_of_memobj::type, 10182: typename __inv_unwrap<_Arg>::type> 10182: { }; 10182: 10182: template 10182: struct __result_of_impl 10182: : public __result_of_memfun::type, 10182: typename __inv_unwrap<_Arg>::type, _Args...> 10182: { }; 10182: 10182: 10182: struct __result_of_other_impl 10182: { 10182: template 10182: static __result_of_success()(std::declval<_Args>()...) 10182: ), __invoke_other> _S_test(int); 10182: 10182: template 10182: static __failure_type _S_test(...); 10182: }; 10182: 10182: template 10182: struct __result_of_impl 10182: : private __result_of_other_impl 10182: { 10182: typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type; 10182: }; 10182: 10182: 10182: template 10182: struct __invoke_result 10182: : public __result_of_impl< 10182: is_member_object_pointer< 10182: typename remove_reference<_Functor>::type 10182: >::value, 10182: is_member_function_pointer< 10182: typename remove_reference<_Functor>::type 10182: >::value, 10182: _Functor, _ArgTypes... 10182: >::type 10182: { }; 10182: 10182: template 10182: struct result_of<_Functor(_ArgTypes...)> 10182: : public __invoke_result<_Functor, _ArgTypes...> 10182: { }; 10182: 10182: 10182: 10182: template::__type)> 10182: using aligned_storage_t = typename aligned_storage<_Len, _Align>::type; 10182: 10182: template 10182: using aligned_union_t = typename aligned_union<_Len, _Types...>::type; 10182: 10182: 10182: template 10182: using decay_t = typename decay<_Tp>::type; 10182: 10182: 10182: template 10182: using enable_if_t = typename enable_if<_Cond, _Tp>::type; 10182: 10182: 10182: template 10182: using conditional_t = typename conditional<_Cond, _Iftrue, _Iffalse>::type; 10182: 10182: 10182: template 10182: using common_type_t = typename common_type<_Tp...>::type; 10182: 10182: 10182: template 10182: using underlying_type_t = typename underlying_type<_Tp>::type; 10182: 10182: 10182: template 10182: using result_of_t = typename result_of<_Tp>::type; 10182: 10182: 10182: 10182: template 10182: using __enable_if_t = typename enable_if<_Cond, _Tp>::type; 10182: 10182: 10182: template using __void_t = void; 10182: # 2509 "/usr/include/c++/7/type_traits" 3 10182: template class _Op, typename... _Args> 10182: struct __detector 10182: { 10182: using value_t = false_type; 10182: using type = _Default; 10182: }; 10182: 10182: 10182: template class _Op, 10182: typename... _Args> 10182: struct __detector<_Default, __void_t<_Op<_Args...>>, _Op, _Args...> 10182: { 10182: using value_t = true_type; 10182: using type = _Op<_Args...>; 10182: }; 10182: 10182: 10182: template class _Op, 10182: typename... _Args> 10182: using __detected_or = __detector<_Default, void, _Op, _Args...>; 10182: 10182: 10182: template class _Op, 10182: typename... _Args> 10182: using __detected_or_t 10182: = typename __detected_or<_Default, _Op, _Args...>::type; 10182: # 2553 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct __is_swappable; 10182: 10182: template 10182: struct __is_nothrow_swappable; 10182: 10182: template 10182: class tuple; 10182: 10182: template 10182: struct __is_tuple_like_impl : false_type 10182: { }; 10182: 10182: template 10182: struct __is_tuple_like_impl> : true_type 10182: { }; 10182: 10182: 10182: template 10182: struct __is_tuple_like 10182: : public __is_tuple_like_impl::type>::type>::type 10182: { }; 10182: 10182: template 10182: inline 10182: typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, 10182: is_move_constructible<_Tp>, 10182: is_move_assignable<_Tp>>::value>::type 10182: swap(_Tp&, _Tp&) 10182: noexcept(__and_, 10182: is_nothrow_move_assignable<_Tp>>::value); 10182: 10182: template 10182: inline 10182: typename enable_if<__is_swappable<_Tp>::value>::type 10182: swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) 10182: noexcept(__is_nothrow_swappable<_Tp>::value); 10182: 10182: namespace __swappable_details { 10182: using std::swap; 10182: 10182: struct __do_is_swappable_impl 10182: { 10182: template(), std::declval<_Tp&>()))> 10182: static true_type __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: struct __do_is_nothrow_swappable_impl 10182: { 10182: template 10182: static __bool_constant< 10182: noexcept(swap(std::declval<_Tp&>(), std::declval<_Tp&>())) 10182: > __test(int); 10182: 10182: template 10182: static false_type __test(...); 10182: }; 10182: 10182: } 10182: 10182: template 10182: struct __is_swappable_impl 10182: : public __swappable_details::__do_is_swappable_impl 10182: { 10182: typedef decltype(__test<_Tp>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_nothrow_swappable_impl 10182: : public __swappable_details::__do_is_nothrow_swappable_impl 10182: { 10182: typedef decltype(__test<_Tp>(0)) type; 10182: }; 10182: 10182: template 10182: struct __is_swappable 10182: : public __is_swappable_impl<_Tp>::type 10182: { }; 10182: 10182: template 10182: struct __is_nothrow_swappable 10182: : public __is_nothrow_swappable_impl<_Tp>::type 10182: { }; 10182: # 2758 "/usr/include/c++/7/type_traits" 3 10182: template 10182: struct __is_invocable_impl : false_type { }; 10182: 10182: template 10182: struct __is_invocable_impl<_Result, _Ret, __void_t> 10182: : __or_, is_convertible>::type 10182: { }; 10182: 10182: template 10182: struct __is_invocable 10182: : __is_invocable_impl<__invoke_result<_Fn, _ArgTypes...>, void>::type 10182: { }; 10182: 10182: template 10182: constexpr bool __call_is_nt(__invoke_memfun_ref) 10182: { 10182: using _Up = typename __inv_unwrap<_Tp>::type; 10182: return noexcept((std::declval<_Up>().*std::declval<_Fn>())( 10182: std::declval<_Args>()...)); 10182: } 10182: 10182: template 10182: constexpr bool __call_is_nt(__invoke_memfun_deref) 10182: { 10182: return noexcept(((*std::declval<_Tp>()).*std::declval<_Fn>())( 10182: std::declval<_Args>()...)); 10182: } 10182: 10182: template 10182: constexpr bool __call_is_nt(__invoke_memobj_ref) 10182: { 10182: using _Up = typename __inv_unwrap<_Tp>::type; 10182: return noexcept(std::declval<_Up>().*std::declval<_Fn>()); 10182: } 10182: 10182: template 10182: constexpr bool __call_is_nt(__invoke_memobj_deref) 10182: { 10182: return noexcept((*std::declval<_Tp>()).*std::declval<_Fn>()); 10182: } 10182: 10182: template 10182: constexpr bool __call_is_nt(__invoke_other) 10182: { 10182: return noexcept(std::declval<_Fn>()(std::declval<_Args>()...)); 10182: } 10182: 10182: template 10182: struct __call_is_nothrow 10182: : __bool_constant< 10182: std::__call_is_nt<_Fn, _Args...>(typename _Result::__invoke_type{}) 10182: > 10182: { }; 10182: 10182: template 10182: using __call_is_nothrow_ 10182: = __call_is_nothrow<__invoke_result<_Fn, _Args...>, _Fn, _Args...>; 10182: 10182: 10182: template 10182: struct __is_nothrow_invocable 10182: : __and_<__is_invocable<_Fn, _Args...>, 10182: __call_is_nothrow_<_Fn, _Args...>>::type 10182: { }; 10182: 10182: struct __nonesuch { 10182: __nonesuch() = delete; 10182: ~__nonesuch() = delete; 10182: __nonesuch(__nonesuch const&) = delete; 10182: void operator=(__nonesuch const&) = delete; 10182: }; 10182: # 3108 "/usr/include/c++/7/type_traits" 3 10182: 10182: } 10182: # 55 "/usr/include/c++/7/bits/move.h" 2 3 10182: 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: # 71 "/usr/include/c++/7/bits/move.h" 3 10182: template 10182: constexpr _Tp&& 10182: forward(typename std::remove_reference<_Tp>::type& __t) noexcept 10182: { return static_cast<_Tp&&>(__t); } 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: constexpr _Tp&& 10182: forward(typename std::remove_reference<_Tp>::type&& __t) noexcept 10182: { 10182: static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument" 10182: " substituting _Tp is an lvalue reference type"); 10182: return static_cast<_Tp&&>(__t); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: 10182: template 10182: constexpr typename std::remove_reference<_Tp>::type&& 10182: move(_Tp&& __t) noexcept 10182: { return static_cast::type&&>(__t); } 10182: 10182: 10182: template 10182: struct __move_if_noexcept_cond 10182: : public __and_<__not_>, 10182: is_copy_constructible<_Tp>>::type { }; 10182: # 115 "/usr/include/c++/7/bits/move.h" 3 10182: template 10182: constexpr typename 10182: conditional<__move_if_noexcept_cond<_Tp>::value, const _Tp&, _Tp&&>::type 10182: move_if_noexcept(_Tp& __x) noexcept 10182: { return std::move(__x); } 10182: # 135 "/usr/include/c++/7/bits/move.h" 3 10182: template 10182: inline _Tp* 10182: addressof(_Tp& __r) noexcept 10182: { return std::__addressof(__r); } 10182: 10182: 10182: 10182: template 10182: const _Tp* addressof(const _Tp&&) = delete; 10182: 10182: 10182: template 10182: inline _Tp 10182: __exchange(_Tp& __obj, _Up&& __new_val) 10182: { 10182: _Tp __old_val = std::move(__obj); 10182: __obj = std::forward<_Up>(__new_val); 10182: return __old_val; 10182: } 10182: 10182: 10182: 10182: } 10182: # 166 "/usr/include/c++/7/bits/move.h" 3 10182: namespace std __attribute__ ((__visibility__ ("default"))) 10182: { 10182: 10182: # 181 "/usr/include/c++/7/bits/move.h" 3 10182: template 10182: inline 10182: 10182: typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>, 10182: is_move_constructible<_Tp>, 10182: is_move_assignable<_Tp>>::value>::type 10182: swap(_Tp& __a, _Tp& __b) 10182: noexcept(__and_, 10182: is_nothrow_move_assignable<_Tp>>::value) 10182: 10182: 10182: 10182: 10182: { 10182: 10182: 10182: 10182: _Tp __tmp = std::move(__a); 10182: __a = std::move(__b); 10182: __b = std::move(__tmp); 10182: } 10182: 10182: 10182: 10182: 10182: template 10182: inline 10182: 10182: typename enable_if<__is_swappable<_Tp>::value>::type 10182: swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) 10182: noexcept(__is_nothrow_swappable<_Tp>::value) 10182: 10182: 10182: 10182: 10182: { 10182: for (size_t __n = 0; __n < _Nm; ++__n) 10182: swap(__a[__n], __b[__n]); 10182: } 10182: 10182: 10182: 10182: } 10182: # 41 "/usr/include/c++/7/bits/nested_exception.h" 2 3 10182: 10182: extern "C++" { 10182: 10182: namespace std 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: class nested_exception 10182: { 10182: exception_ptr _M_ptr; 10182: 10182: public: 10182: nested_exception() noexcept : _M_ptr(current_exception()) { } 10182: 10182: nested_exception(const nested_exception&) noexcept = default; 10182: 10182: nested_exception& operator=(const nested_exception&) noexcept = default; 10182: 10182: virtual ~nested_exception() noexcept; 10182: 10182: [[noreturn]] 10182: void 10182: rethrow_nested() const 10182: { 10182: if (_M_ptr) 10182: rethrow_exception(_M_ptr); 10182: std::terminate(); 10182: } 10182: 10182: exception_ptr 10182: nested_ptr() const noexcept 10182: { return _M_ptr; } 10182: }; 10182: 10182: template 10182: struct _Nested_exception : public _Except, public nested_exception 10182: { 10182: explicit _Nested_exception(const _Except& __ex) 10182: : _Except(__ex) 10182: { } 10182: 10182: explicit _Nested_exception(_Except&& __ex) 10182: : _Except(static_cast<_Except&&>(__ex)) 10182: { } 10182: }; 10182: 10182: 10182: 10182: 10182: template 10182: inline void 10182: __throw_with_nested_impl(_Tp&& __t, true_type) 10182: { 10182: using _Up = typename remove_reference<_Tp>::type; 10182: throw _Nested_exception<_Up>{std::forward<_Tp>(__t)}; 10182: } 10182: 10182: template 10182: inline void 10182: __throw_with_nested_impl(_Tp&& __t, false_type) 10182: { throw std::forward<_Tp>(__t); } 10182: 10182: 10182: 10182: template 10182: [[noreturn]] 10182: inline void 10182: throw_with_nested(_Tp&& __t) 10182: { 10182: using _Up = typename decay<_Tp>::type; 10182: using _CopyConstructible 10182: = __and_, is_move_constructible<_Up>>; 10182: static_assert(_CopyConstructible::value, 10182: "throw_with_nested argument must be CopyConstructible"); 10182: using __nest = __and_, __bool_constant, 10182: __not_>>; 10182: std::__throw_with_nested_impl(std::forward<_Tp>(__t), __nest{}); 10182: } 10182: 10182: 10182: template 10182: using __rethrow_if_nested_cond = typename enable_if< 10182: __and_, 10182: __or_<__not_>, 10182: is_convertible<_Tp*, nested_exception*>>>::value 10182: >::type; 10182: 10182: 10182: template 10182: inline __rethrow_if_nested_cond<_Ex> 10182: __rethrow_if_nested_impl(const _Ex* __ptr) 10182: { 10182: if (auto __ne_ptr = dynamic_cast(__ptr)) 10182: __ne_ptr->rethrow_nested(); 10182: } 10182: 10182: 10182: inline void 10182: __rethrow_if_nested_impl(const void*) 10182: { } 10182: 10182: 10182: template 10182: inline void 10182: rethrow_if_nested(const _Ex& __ex) 10182: { std::__rethrow_if_nested_impl(std::__addressof(__ex)); } 10182: 10182: 10182: } 10182: 10182: } 10182: 10182: 10182: 10182: #pragma GCC visibility pop 10182: # 144 "/usr/include/c++/7/exception" 2 3 10182: # 41 "/usr/include/c++/7/new" 2 3 10182: 10182: #pragma GCC visibility push(default) 10182: 10182: extern "C++" { 10182: 10182: namespace std 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: class bad_alloc : public exception 10182: { 10182: public: 10182: bad_alloc() throw() { } 10182: 10182: 10182: 10182: virtual ~bad_alloc() throw(); 10182: 10182: 10182: virtual const char* what() const throw(); 10182: }; 10182: 10182: 10182: class bad_array_new_length : public bad_alloc 10182: { 10182: public: 10182: bad_array_new_length() throw() { }; 10182: 10182: 10182: 10182: virtual ~bad_array_new_length() throw(); 10182: 10182: 10182: virtual const char* what() const throw(); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct nothrow_t 10182: { 10182: 10182: explicit nothrow_t() = default; 10182: 10182: }; 10182: 10182: extern const nothrow_t nothrow; 10182: 10182: 10182: 10182: typedef void (*new_handler)(); 10182: 10182: 10182: 10182: new_handler set_new_handler(new_handler) throw(); 10182: 10182: 10182: 10182: new_handler get_new_handler() noexcept; 10182: 10182: } 10182: # 120 "/usr/include/c++/7/new" 3 10182: void* operator new(std::size_t) 10182: __attribute__((__externally_visible__)); 10182: void* operator new[](std::size_t) 10182: __attribute__((__externally_visible__)); 10182: void operator delete(void*) noexcept 10182: __attribute__((__externally_visible__)); 10182: void operator delete[](void*) noexcept 10182: __attribute__((__externally_visible__)); 10182: 10182: void operator delete(void*, std::size_t) noexcept 10182: __attribute__((__externally_visible__)); 10182: void operator delete[](void*, std::size_t) noexcept 10182: __attribute__((__externally_visible__)); 10182: 10182: void* operator new(std::size_t, const std::nothrow_t&) noexcept 10182: __attribute__((__externally_visible__)); 10182: void* operator new[](std::size_t, const std::nothrow_t&) noexcept 10182: __attribute__((__externally_visible__)); 10182: void operator delete(void*, const std::nothrow_t&) noexcept 10182: __attribute__((__externally_visible__)); 10182: void operator delete[](void*, const std::nothrow_t&) noexcept 10182: __attribute__((__externally_visible__)); 10182: # 168 "/usr/include/c++/7/new" 3 10182: inline void* operator new(std::size_t, void* __p) noexcept 10182: { return __p; } 10182: inline void* operator new[](std::size_t, void* __p) noexcept 10182: { return __p; } 10182: 10182: 10182: inline void operator delete (void*, void*) noexcept { } 10182: inline void operator delete[](void*, void*) noexcept { } 10182: 10182: } 10182: # 216 "/usr/include/c++/7/new" 3 10182: #pragma GCC visibility pop 10182: # 275 "/<>/external/onurbs/opennurbs_system.h" 2 10182: # 343 "/<>/external/onurbs/opennurbs_system.h" 10182: 10182: # 343 "/<>/external/onurbs/opennurbs_system.h" 10182: typedef char ON__INT8; 10182: 10182: 10182: typedef unsigned char ON__UINT8; 10182: 10182: 10182: typedef short ON__INT16; 10182: 10182: 10182: typedef unsigned short ON__UINT16; 10182: 10182: 10182: typedef int ON__INT32; 10182: 10182: 10182: typedef unsigned int ON__UINT32; 10182: # 375 "/<>/external/onurbs/opennurbs_system.h" 10182: typedef long long ON__INT64; 10182: 10182: 10182: typedef unsigned long long ON__UINT64; 10182: # 394 "/<>/external/onurbs/opennurbs_system.h" 10182: typedef int ON_BOOL32; 10182: 10182: 10182: 10182: 10182: 10182: typedef long long ON__INT_PTR; 10182: typedef unsigned long long ON__UINT_PTR; 10182: # 464 "/<>/external/onurbs/opennurbs_system.h" 10182: int on_vsnprintf( char *buffer, size_t count, const char *format, va_list argptr ); 10182: 10182: int on_vsnwprintf( wchar_t *buffer, size_t count, const wchar_t *format, va_list argptr ); 10182: # 30 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_3dm.h" 1 10182: # 32 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_defines.h" 1 10182: # 213 "/<>/external/onurbs/opennurbs_defines.h" 10182: extern "C" { 10182: 10182: 10182: extern const double ON_DBL_QNAN; 10182: extern const double ON_DBL_PINF; 10182: extern const double ON_DBL_NINF; 10182: 10182: extern const float ON_FLT_QNAN; 10182: extern const float ON_FLT_PINF; 10182: extern const float ON_FLT_NINF; 10182: # 244 "/<>/external/onurbs/opennurbs_defines.h" 10182: 10182: void ON_DBL_SNAN( double* x ); 10182: 10182: 10182: void ON_FLT_SNAN( float* x ); 10182: 10182: } 10182: # 312 "/<>/external/onurbs/opennurbs_defines.h" 10182: struct tagON_2dex 10182: { 10182: int i; 10182: int j; 10182: }; 10182: 10182: typedef struct tagON_2dex ON_2dex; 10182: 10182: 10182: 10182: 10182: 10182: struct tagON_3dex 10182: { 10182: int i; 10182: int j; 10182: int k; 10182: }; 10182: 10182: typedef struct tagON_3dex ON_3dex; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct tagON_4dex 10182: { 10182: int i; 10182: int j; 10182: int k; 10182: int l; 10182: }; 10182: 10182: typedef struct tagON_4dex ON_4dex; 10182: 10182: union ON_U 10182: { 10182: char b[8]; 10182: ON__INT64 h; 10182: ON__INT32 i; 10182: int j[2]; 10182: void* p; 10182: double d; 10182: }; 10182: 10182: 10182: 10182: 10182: class ON 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: static void Begin(); 10182: # 378 "/<>/external/onurbs/opennurbs_defines.h" 10182: static void End(); 10182: 10182: 10182: 10182: static 10182: int Version(); 10182: 10182: 10182: 10182: static 10182: const char* SourceRevision(); 10182: 10182: static 10182: const char* DocumentationRevision(); 10182: 10182: static 10182: const char* SourceBranch(); 10182: 10182: static 10182: const char* DocumentationBranch(); 10182: 10182: 10182: 10182: 10182: static 10182: FILE* OpenFile( 10182: const char* filename, 10182: const char* filemode 10182: ); 10182: 10182: static 10182: FILE* OpenFile( 10182: const wchar_t* filename, 10182: const wchar_t* filemode 10182: ); 10182: 10182: static 10182: int CloseFile( 10182: FILE* 10182: ); 10182: 10182: static 10182: int CloseAllFiles(); 10182: # 434 "/<>/external/onurbs/opennurbs_defines.h" 10182: static 10182: bool GetFileStats( const wchar_t* filename, 10182: size_t* filesize, 10182: time_t* create_time, 10182: time_t* lastmodify_time 10182: ); 10182: 10182: static 10182: bool GetFileStats( FILE* fp, 10182: size_t* filesize, 10182: time_t* create_time, 10182: time_t* lastmodify_time 10182: ); 10182: 10182: 10182: 10182: 10182: static bool IsDirectory( const wchar_t* pathname ); 10182: static bool IsDirectory( const char* utf8pathname ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static int IsOpenNURBSFile( const wchar_t* pathname ); 10182: static int IsOpenNURBSFile( const char* utf8pathname ); 10182: static int IsOpenNURBSFile( FILE* fp ); 10182: 10182: 10182: enum eAnnotationType 10182: { 10182: dtNothing, 10182: dtDimLinear, 10182: dtDimAligned, 10182: dtDimAngular, 10182: dtDimDiameter, 10182: dtDimRadius, 10182: dtLeader, 10182: dtTextBlock, 10182: dtDimOrdinate, 10182: }; 10182: 10182: static eAnnotationType AnnotationType(int); 10182: 10182: 10182: 10182: enum eTextDisplayMode 10182: { 10182: dtNormal = 0, 10182: dtHorizontal = 1, 10182: dtAboveLine = 2, 10182: dtInLine = 3, 10182: }; 10182: 10182: static eTextDisplayMode TextDisplayMode( int); 10182: 10182: 10182: enum active_space 10182: { 10182: no_space = 0, 10182: model_space = 1, 10182: page_space = 2 10182: }; 10182: 10182: static active_space ActiveSpace(int); 10182: 10182: 10182: 10182: 10182: enum unit_system 10182: { 10182: 10182: 10182: 10182: no_unit_system = 0, 10182: 10182: 10182: angstroms = 12, 10182: 10182: 10182: nanometers = 13, 10182: microns = 1, 10182: millimeters = 2, 10182: centimeters = 3, 10182: decimeters = 14, 10182: meters = 4, 10182: dekameters = 15, 10182: hectometers = 16, 10182: kilometers = 5, 10182: megameters = 17, 10182: gigameters = 18, 10182: 10182: 10182: microinches = 6, 10182: mils = 7, 10182: inches = 8, 10182: feet = 9, 10182: yards = 19, 10182: miles = 10, 10182: 10182: 10182: printer_point = 20, 10182: printer_pica = 21, 10182: 10182: 10182: nautical_mile = 22, 10182: 10182: 10182: 10182: 10182: astronomical = 23, 10182: 10182: 10182: 10182: lightyears = 24, 10182: 10182: 10182: 10182: 10182: 10182: parsecs = 25, 10182: 10182: 10182: 10182: custom_unit_system = 11 10182: }; 10182: 10182: static unit_system UnitSystem(int); 10182: # 582 "/<>/external/onurbs/opennurbs_defines.h" 10182: static double UnitScale( 10182: ON::unit_system us_from, 10182: ON::unit_system us_to 10182: ); 10182: static double UnitScale( 10182: const class ON_UnitSystem& us_from, 10182: const class ON_UnitSystem& us_to 10182: ); 10182: static double UnitScale( 10182: ON::unit_system us_from, 10182: const class ON_UnitSystem& us_to 10182: ); 10182: static double UnitScale( 10182: const class ON_UnitSystem& us_from, 10182: ON::unit_system us_to 10182: ); 10182: static double UnitScale( 10182: const class ON_3dmUnitsAndTolerances& us_from, 10182: const class ON_3dmUnitsAndTolerances& us_to 10182: ); 10182: # 614 "/<>/external/onurbs/opennurbs_defines.h" 10182: static const wchar_t* NameReferenceDelimiter(); 10182: # 624 "/<>/external/onurbs/opennurbs_defines.h" 10182: static unsigned int NameReferenceDelimiterLength(); 10182: # 646 "/<>/external/onurbs/opennurbs_defines.h" 10182: static const wchar_t* IsNameReferenceDelimiter(const wchar_t* s); 10182: 10182: 10182: enum distance_display_mode 10182: { 10182: decimal = 0, 10182: fractional = 1, 10182: feet_inches = 2 10182: }; 10182: 10182: static distance_display_mode DistanceDisplayMode(int); 10182: 10182: 10182: 10182: enum point_style 10182: { 10182: unknown_point_style = 0, 10182: not_rational = 1, 10182: homogeneous_rational = 2, 10182: euclidean_rational = 3, 10182: intrinsic_point_style = 4, 10182: point_style_count = 5 10182: }; 10182: 10182: static point_style PointStyle(int); 10182: 10182: 10182: enum knot_style 10182: { 10182: unknown_knot_style = 0, 10182: uniform_knots = 1, 10182: quasi_uniform_knots = 2, 10182: piecewise_bezier_knots = 3, 10182: clamped_end_knots = 4, 10182: non_uniform_knots = 5, 10182: knot_style_count = 6 10182: }; 10182: 10182: static knot_style KnotStyle(int); 10182: 10182: 10182: enum continuity 10182: { 10182: unknown_continuity = 0, 10182: 10182: 10182: 10182: 10182: C0_continuous = 1, 10182: C1_continuous = 2, 10182: C2_continuous = 3, 10182: G1_continuous = 4, 10182: G2_continuous = 5, 10182: # 715 "/<>/external/onurbs/opennurbs_defines.h" 10182: C0_locus_continuous = 6, 10182: C1_locus_continuous = 7, 10182: C2_locus_continuous = 8, 10182: G1_locus_continuous = 9, 10182: G2_locus_continuous = 10, 10182: 10182: Cinfinity_continuous = 11, 10182: Gsmooth_continuous = 12 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: static continuity Continuity(int); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static continuity ParametricContinuity(int); 10182: # 746 "/<>/external/onurbs/opennurbs_defines.h" 10182: static continuity PolylineContinuity(int); 10182: 10182: 10182: enum curve_style 10182: { 10182: unknown_curve_style = 0, 10182: line = 1, 10182: circle = 2, 10182: ellipse = 3, 10182: parabola = 4, 10182: hyperbola = 5, 10182: planar_polyline = 6, 10182: polyline = 7, 10182: planar_freeform_curve = 8, 10182: freeform_curve = 9, 10182: curve_style_count = 10 10182: }; 10182: 10182: static curve_style CurveStyle(int); 10182: 10182: 10182: enum surface_style 10182: { 10182: unknown_surface_style = 0, 10182: plane = 1, 10182: circular_cylinder = 2, 10182: elliptical_cylinder = 3, 10182: circular_cone = 4, 10182: elliptical_cone = 5, 10182: sphere = 6, 10182: torus = 7, 10182: surface_of_revolution = 8, 10182: ruled_surface = 9, 10182: freeform_surface = 10, 10182: surface_style_count = 11 10182: }; 10182: 10182: static surface_style SurfaceStyle(int); 10182: 10182: 10182: enum sort_algorithm 10182: { 10182: heap_sort = 0, 10182: quick_sort = 1 10182: }; 10182: 10182: static sort_algorithm SortAlgorithm(int); 10182: 10182: 10182: enum endian { 10182: little_endian = 0, 10182: big_endian = 1 10182: }; 10182: 10182: static endian Endian(int); 10182: static endian Endian(); 10182: 10182: 10182: enum archive_mode 10182: { 10182: unknown_archive_mode = 0, 10182: read = 1, 10182: write = 2, 10182: readwrite = 3, 10182: read3dm = 5, 10182: write3dm = 6 10182: }; 10182: static archive_mode ArchiveMode(int); 10182: # 822 "/<>/external/onurbs/opennurbs_defines.h" 10182: enum view_projection 10182: { 10182: unknown_view = 0, 10182: parallel_view = 1, 10182: perspective_view = 2 10182: }; 10182: # 839 "/<>/external/onurbs/opennurbs_defines.h" 10182: static view_projection ViewProjection(int i); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static bool IsPerspectiveProjection( ON::view_projection projection ); 10182: # 856 "/<>/external/onurbs/opennurbs_defines.h" 10182: static bool IsParallelProjection( ON::view_projection projection ); 10182: 10182: 10182: 10182: enum coordinate_system 10182: { 10182: world_cs = 0, 10182: camera_cs = 1, 10182: clip_cs = 2, 10182: screen_cs = 3 10182: }; 10182: 10182: static coordinate_system CoordinateSystem(int); 10182: 10182: 10182: enum exception_type 10182: { 10182: unknown_exception = 0, 10182: out_of_memory, 10182: corrupt_object, 10182: 10182: unable_to_write_archive, 10182: unable_to_read_archive, 10182: unable_to_seek_archive, 10182: unexpected_end_of_archive, 10182: unexpected_value_in_archive 10182: }; 10182: static exception_type ExceptionType(int); 10182: 10182: 10182: 10182: enum layer_mode 10182: { 10182: normal_layer = 0, 10182: hidden_layer = 1, 10182: locked_layer = 2, 10182: layer_mode_count = 3 10182: }; 10182: static layer_mode LayerMode(int); 10182: 10182: 10182: enum object_mode 10182: { 10182: normal_object = 0, 10182: hidden_object = 1, 10182: locked_object = 2, 10182: idef_object = 3, 10182: 10182: 10182: object_mode_count = 4 10182: }; 10182: static object_mode ObjectMode(int); 10182: 10182: 10182: enum object_color_source 10182: { 10182: color_from_layer = 0, 10182: color_from_object = 1, 10182: color_from_material = 2, 10182: color_from_parent = 3 10182: 10182: }; 10182: static object_color_source ObjectColorSource(int); 10182: 10182: 10182: enum plot_color_source 10182: { 10182: plot_color_from_layer = 0, 10182: plot_color_from_object = 1, 10182: plot_color_from_display = 2, 10182: plot_color_from_parent = 3 10182: 10182: }; 10182: static plot_color_source PlotColorSource(int); 10182: 10182: 10182: enum plot_weight_source 10182: { 10182: plot_weight_from_layer = 0, 10182: plot_weight_from_object = 1, 10182: plot_weight_from_parent = 3 10182: 10182: }; 10182: static plot_weight_source PlotWeightSource(int); 10182: 10182: 10182: enum object_linetype_source 10182: { 10182: linetype_from_layer = 0, 10182: linetype_from_object = 1, 10182: linetype_from_parent = 3 10182: 10182: }; 10182: static object_linetype_source ObjectLinetypeSource(int); 10182: 10182: 10182: enum object_material_source 10182: { 10182: material_from_layer = 0, 10182: material_from_object = 1, 10182: material_from_parent = 3 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: }; 10182: static object_material_source ObjectMaterialSource(int); 10182: 10182: 10182: enum light_style 10182: { 10182: unknown_light_style = 0, 10182: 10182: 10182: 10182: camera_directional_light = 4, 10182: camera_point_light = 5, 10182: camera_spot_light = 6, 10182: world_directional_light = 7, 10182: world_point_light = 8, 10182: world_spot_light = 9, 10182: ambient_light = 10, 10182: world_linear_light = 11, 10182: world_rectangular_light = 12, 10182: light_style_count = 13 10182: }; 10182: static light_style LightStyle(int); 10182: 10182: 10182: enum curvature_style 10182: { 10182: unknown_curvature_style = 0, 10182: gaussian_curvature = 1, 10182: mean_curvature = 2, 10182: min_curvature = 3, 10182: max_curvature = 4, 10182: curvature_style_count = 5 10182: }; 10182: static curvature_style CurvatureStyle(int); 10182: 10182: 10182: enum display_mode 10182: { 10182: default_display = 0, 10182: wireframe_display = 1, 10182: shaded_display = 2, 10182: renderpreview_display = 3 10182: }; 10182: static display_mode DisplayMode(int); 10182: 10182: 10182: enum view_type 10182: { 10182: model_view_type = 0, 10182: page_view_type = 1, 10182: 10182: 10182: 10182: 10182: nested_view_type = 2, 10182: 10182: 10182: }; 10182: static view_type ViewType(int); 10182: 10182: 10182: 10182: 10182: 10182: enum texture_mode 10182: { 10182: no_texture = 0, 10182: modulate_texture = 1, 10182: decal_texture = 2 10182: }; 10182: 10182: static texture_mode TextureMode(int); 10182: 10182: 10182: 10182: 10182: 10182: enum object_type 10182: { 10182: 10182: 10182: 10182: 10182: unknown_object_type = 0, 10182: 10182: point_object = 1, 10182: pointset_object = 2, 10182: curve_object = 4, 10182: surface_object = 8, 10182: brep_object = 0x10, 10182: mesh_object = 0x20, 10182: layer_object = 0x40, 10182: material_object = 0x80, 10182: light_object = 0x100, 10182: annotation_object = 0x200, 10182: userdata_object = 0x400, 10182: instance_definition = 0x800, 10182: instance_reference = 0x1000, 10182: text_dot = 0x2000, 10182: grip_object = 0x4000, 10182: detail_object = 0x8000, 10182: hatch_object = 0x10000, 10182: morph_control_object = 0x20000, 10182: loop_object = 0x80000, 10182: polysrf_filter = 0x200000, 10182: edge_filter = 0x400000, 10182: polyedge_filter = 0x800000, 10182: meshvertex_object = 0x01000000, 10182: meshedge_object = 0x02000000, 10182: meshface_object = 0x04000000, 10182: cage_object = 0x08000000, 10182: phantom_object = 0x10000000, 10182: clipplane_object = 0x20000000, 10182: beam_object = 0x40000000, 10182: extrusion_object = 0x40000000, 10182: 10182: any_object = 0xFFFFFFFF 10182: 10182: 10182: }; 10182: 10182: static object_type ObjectType(int); 10182: 10182: 10182: enum bitmap_type 10182: { 10182: unknown_bitmap_type = 0, 10182: windows_bitmap = 1, 10182: opengl_bitmap = 2, 10182: png_bitmap = 3 10182: }; 10182: static bitmap_type BitmapType(int); 10182: 10182: enum object_decoration 10182: { 10182: no_object_decoration = 0, 10182: start_arrowhead = 0x08, 10182: end_arrowhead = 0x10, 10182: both_arrowhead = 0x18 10182: }; 10182: static object_decoration ObjectDecoration(int); 10182: 10182: enum mesh_type 10182: { 10182: default_mesh = 0, 10182: render_mesh = 1, 10182: analysis_mesh = 2, 10182: preview_mesh = 3, 10182: any_mesh = 4 10182: }; 10182: static mesh_type MeshType(int); 10182: # 1125 "/<>/external/onurbs/opennurbs_defines.h" 10182: enum osnap_mode 10182: { 10182: os_none = 0, 10182: os_near = 2, 10182: os_focus = 8, 10182: os_center = 0x20, 10182: os_vertex = 0x40, 10182: os_knot = 0x80, 10182: os_quadrant = 0x200, 10182: os_midpoint = 0x800, 10182: os_intersection = 0x2000, 10182: os_end = 0x20000, 10182: os_perpendicular = 0x80000, 10182: os_tangent = 0x200000, 10182: os_point = 0x08000000, 10182: os_all_snaps = 0xFFFFFFFF 10182: }; 10182: static osnap_mode OSnapMode(int); 10182: 10182: 10182: 10182: enum eCurveType 10182: { 10182: ctCurve, 10182: ctArc, 10182: ctCircle, 10182: ctLine, 10182: ctNurbs, 10182: ctOnsurface, 10182: ctProxy, 10182: ctPolycurve, 10182: ctPolyline, 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: enum cubic_loft_end_condition 10182: { 10182: cubic_loft_ec_quadratic = 0, 10182: cubic_loft_ec_linear = 1, 10182: cubic_loft_ec_cubic = 2, 10182: cubic_loft_ec_natural = 3, 10182: cubic_loft_ec_unit_tangent = 4, 10182: cubic_loft_ec_1st_derivative = 5, 10182: cubic_loft_ec_2nd_derivative = 6, 10182: cubic_loft_ec_free_cv = 7 10182: }; 10182: # 1187 "/<>/external/onurbs/opennurbs_defines.h" 10182: static 10182: cubic_loft_end_condition CubicLoftEndCondition(int i); 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: }; 10182: # 1204 "/<>/external/onurbs/opennurbs_defines.h" 10182: class ON_COMPONENT_INDEX 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: enum TYPE 10182: { 10182: invalid_type = 0, 10182: 10182: brep_vertex = 1, 10182: brep_edge = 2, 10182: brep_face = 3, 10182: brep_trim = 4, 10182: brep_loop = 5, 10182: 10182: mesh_vertex = 11, 10182: meshtop_vertex = 12, 10182: meshtop_edge = 13, 10182: mesh_face = 14, 10182: 10182: idef_part = 21, 10182: 10182: polycurve_segment = 31, 10182: 10182: pointcloud_point = 41, 10182: 10182: group_member = 51, 10182: 10182: 10182: extrusion_bottom_profile = 61, 10182: 10182: extrusion_top_profile = 62, 10182: 10182: extrusion_wall_edge = 63, 10182: 10182: 10182: extrusion_wall_surface = 64, 10182: 10182: extrusion_cap_surface = 65, 10182: 10182: extrusion_path = 66, 10182: 10182: 10182: dim_linear_point = 100, 10182: dim_radial_point = 101, 10182: dim_angular_point = 102, 10182: dim_ordinate_point = 103, 10182: dim_text_point = 104, 10182: 10182: no_type = 0xFFFFFFFF 10182: }; 10182: # 1268 "/<>/external/onurbs/opennurbs_defines.h" 10182: static 10182: TYPE Type(int i); 10182: # 1279 "/<>/external/onurbs/opennurbs_defines.h" 10182: static 10182: int Compare( const ON_COMPONENT_INDEX* a, const ON_COMPONENT_INDEX* b); 10182: 10182: 10182: 10182: 10182: 10182: ON_COMPONENT_INDEX(); 10182: 10182: 10182: 10182: 10182: 10182: ON_COMPONENT_INDEX(TYPE type,int index); 10182: 10182: bool operator==(const ON_COMPONENT_INDEX& other) const; 10182: bool operator!=(const ON_COMPONENT_INDEX& other) const; 10182: bool operator<(const ON_COMPONENT_INDEX& other) const; 10182: bool operator<=(const ON_COMPONENT_INDEX& other) const; 10182: bool operator>(const ON_COMPONENT_INDEX& other) const; 10182: bool operator>=(const ON_COMPONENT_INDEX& other) const; 10182: 10182: void Set(TYPE type,int index); 10182: 10182: 10182: 10182: 10182: 10182: void UnSet(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsMeshComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsBrepComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsIDefComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsPolyCurveComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsGroupMemberComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionProfileComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionPathComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionWallEdgeComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionWallSurfaceComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionWallComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsExtrusionComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsPointCloudComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsAnnotationComponentIndex() const; 10182: 10182: TYPE m_type; 10182: # 1433 "/<>/external/onurbs/opennurbs_defines.h" 10182: int m_index; 10182: }; 10182: 10182: 10182: 10182: extern "C" { 10182: # 1467 "/<>/external/onurbs/opennurbs_defines.h" 10182: 10182: unsigned int ON_SetStringConversionWindowsCodePage( 10182: unsigned int code_page 10182: ); 10182: # 1496 "/<>/external/onurbs/opennurbs_defines.h" 10182: 10182: unsigned int ON_GetStringConversionWindowsCodePage(); 10182: # 1517 "/<>/external/onurbs/opennurbs_defines.h" 10182: 10182: unsigned int ON_SetStringConversionWindowsLocaleID( 10182: unsigned int locale_id, 10182: ON_BOOL32 bWin9X 10182: ); 10182: # 1536 "/<>/external/onurbs/opennurbs_defines.h" 10182: 10182: unsigned int ON_GetStringConversionWindowsLocaleID(); 10182: 10182: 10182: 10182: 10182: int on_wcsicmp( const wchar_t*, const wchar_t* ); 10182: 10182: 10182: 10182: wchar_t* on_wcsupr(wchar_t*); 10182: 10182: 10182: 10182: wchar_t* on_wcslwr(wchar_t*); 10182: 10182: 10182: 10182: wchar_t* on_wcsrev(wchar_t*); 10182: 10182: 10182: 10182: 10182: 10182: int on_stricmp(const char*, const char*); 10182: 10182: 10182: 10182: 10182: 10182: int on_strnicmp(const char * s1, const char * s2, int n); 10182: 10182: 10182: 10182: char* on_strupr(char*); 10182: 10182: 10182: 10182: char* on_strlwr(char*); 10182: 10182: 10182: 10182: char* on_strrev(char*); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int on_WideCharToMultiByte( 10182: const wchar_t*, 10182: int, 10182: char*, 10182: int 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int on_MultiByteToWideChar( 10182: const char*, 10182: int, 10182: wchar_t*, 10182: int 10182: ); 10182: # 1647 "/<>/external/onurbs/opennurbs_defines.h" 10182: void on_splitpath( 10182: const char* path, 10182: const char** drive, 10182: const char** dir, 10182: const char** fname, 10182: const char** ext 10182: ); 10182: # 1699 "/<>/external/onurbs/opennurbs_defines.h" 10182: void on_wsplitpath( 10182: const wchar_t* path, 10182: const wchar_t** drive, 10182: const wchar_t** dir, 10182: const wchar_t** fname, 10182: const wchar_t** ext 10182: ); 10182: 10182: } 10182: # 34 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_error.h" 1 10182: # 40 "/<>/external/onurbs/opennurbs_error.h" 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void ON_ErrorMessage( 10182: int, 10182: const char* 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ON_GetErrorCount(void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ON_GetWarningCount(void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ON_GetMathErrorCount(void); 10182: 10182: 10182: int ON_GetDebugErrorMessage(void); 10182: 10182: 10182: void ON_EnableDebugErrorMessage( int bEnableDebugErrorMessage ); 10182: 10182: 10182: 10182: void ON_Error( const char*, 10182: int, 10182: const char*, 10182: ... 10182: ); 10182: 10182: 10182: void ON_ErrorEx( const char*, 10182: int, 10182: const char*, 10182: const char*, 10182: ... 10182: ); 10182: 10182: void ON_Warning( const char*, 10182: int, 10182: const char*, 10182: ... 10182: ); 10182: 10182: void ON_WarningEx( const char*, 10182: int, 10182: const char*, 10182: const char*, 10182: ... 10182: ); 10182: 10182: 10182: 10182: void ON_Assert( int, 10182: const char*, 10182: int, 10182: const char*, 10182: ... 10182: ); 10182: 10182: 10182: void ON_AssertEx( int, 10182: const char*, 10182: int, 10182: const char*, 10182: const char*, 10182: ... 10182: ); 10182: 10182: 10182: void ON_MathError( 10182: const char*, 10182: const char*, 10182: const char* 10182: ); 10182: 10182: } 10182: # 35 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_memory.h" 1 10182: # 21 "/<>/external/onurbs/opennurbs_memory.h" 10182: extern "C" { 10182: 10182: 10182: 10182: size_t ON_MemoryPageSize(); 10182: 10182: 10182: 10182: 10182: void* ON_MainMemoryPool(void); 10182: 10182: 10182: void* ON_WorkerMemoryPool(void); 10182: 10182: 10182: void* onmalloc( size_t ); 10182: 10182: 10182: void* onmalloc_from_pool( void*, size_t ); 10182: 10182: 10182: void* oncalloc( size_t, size_t ); 10182: 10182: 10182: void* oncalloc_from_pool( void*, size_t, size_t ); 10182: 10182: 10182: void onfree( void* ); 10182: 10182: 10182: void* onrealloc( void*, size_t ); 10182: 10182: 10182: void* onrealloc_from_pool( void*, void*, size_t ); 10182: 10182: 10182: size_t onmsize( const void* ); 10182: 10182: 10182: void* onmemdup( const void*, size_t ); 10182: 10182: 10182: char* onstrdup( const char* ); 10182: 10182: 10182: wchar_t* onwcsdup( const wchar_t* ); 10182: 10182: 10182: unsigned char* onmbsdup( const unsigned char* ); 10182: 10182: 10182: size_t onmemoryusecount( 10182: size_t* malloc_count, 10182: size_t* realloc_count, 10182: size_t* free_count, 10182: size_t* pool_count 10182: ); 10182: 10182: 10182: size_t onmemoryusecountex( 10182: size_t* malloc_count, 10182: size_t* realloc_count, 10182: size_t* free_count, 10182: size_t* pool_count, 10182: size_t* malloc_zero_count, 10182: size_t* free_null_count 10182: ); 10182: # 99 "/<>/external/onurbs/opennurbs_memory.h" 10182: } 10182: # 36 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_rand.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_rand.h" 10182: extern "C" { 10182: 10182: struct ON_RANDOM_NUMBER_CONTEXT 10182: { 10182: ON__UINT32 mti; 10182: ON__UINT32 mt[624]; 10182: }; 10182: # 48 "/<>/external/onurbs/opennurbs_rand.h" 10182: void on_random_number_seed( 10182: ON__UINT32 s, 10182: struct ON_RANDOM_NUMBER_CONTEXT* rand_context 10182: ); 10182: # 76 "/<>/external/onurbs/opennurbs_rand.h" 10182: ON__UINT32 on_random_number( 10182: struct ON_RANDOM_NUMBER_CONTEXT* rand_context 10182: ); 10182: # 90 "/<>/external/onurbs/opennurbs_rand.h" 10182: void on_srand(ON__UINT32 s); 10182: # 101 "/<>/external/onurbs/opennurbs_rand.h" 10182: ON__UINT32 on_rand(void); 10182: 10182: 10182: } 10182: 10182: 10182: 10182: 10182: class ON_RandomNumberGenerator 10182: { 10182: public: 10182: ON_RandomNumberGenerator(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Seed( ON__UINT32 s ); 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 RandomNumber(); 10182: 10182: 10182: 10182: 10182: 10182: double RandomDouble(); 10182: 10182: 10182: 10182: 10182: 10182: double RandomDouble(double t0, double t1); 10182: # 151 "/<>/external/onurbs/opennurbs_rand.h" 10182: void RandomPermutation(void* base, size_t nel, size_t sizeof_element ); 10182: 10182: private: 10182: struct ON_RANDOM_NUMBER_CONTEXT m_rand_context; 10182: }; 10182: # 37 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_crc.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_crc.h" 10182: extern "C" { 10182: # 64 "/<>/external/onurbs/opennurbs_crc.h" 10182: 10182: ON__UINT16 ON_CRC16( 10182: ON__UINT16 current_remainder, 10182: size_t sizeof_buffer, 10182: const void* buffer 10182: ); 10182: # 112 "/<>/external/onurbs/opennurbs_crc.h" 10182: 10182: ON__UINT32 ON_CRC32( 10182: ON__UINT32 current_remainder, 10182: size_t sizeof_buffer, 10182: const void* buffer 10182: ); 10182: # 150 "/<>/external/onurbs/opennurbs_crc.h" 10182: } 10182: # 38 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_uuid.h" 1 10182: # 31 "/<>/external/onurbs/opennurbs_uuid.h" 10182: class ON_UUID 10182: { 10182: public: 10182: ON__UINT32 Data1; 10182: ON__UINT16 Data2; 10182: ON__UINT16 Data3; 10182: unsigned char Data4[8]; 10182: 10182: bool operator==(const ON_UUID& other) const; 10182: bool operator!=(const ON_UUID& other) const; 10182: }; 10182: 10182: 10182: 10182: extern "C" { 10182: 10182: 10182: 10182: extern const ON_UUID ON_nil_uuid; 10182: 10182: 10182: 10182: extern const ON_UUID ON_max_uuid; 10182: # 63 "/<>/external/onurbs/opennurbs_uuid.h" 10182: extern const ON_UUID ON_rhino2_id; 10182: extern const ON_UUID ON_rhino3_id; 10182: extern const ON_UUID ON_rhino4_id; 10182: extern const ON_UUID ON_rhino5_id; 10182: extern const ON_UUID ON_rhino_id; 10182: 10182: 10182: 10182: extern const ON_UUID ON_v2_userdata_id; 10182: extern const ON_UUID ON_v3_userdata_id; 10182: extern const ON_UUID ON_v4_userdata_id; 10182: # 87 "/<>/external/onurbs/opennurbs_uuid.h" 10182: extern const ON_UUID ON_opennurbs4_id; 10182: extern const ON_UUID ON_opennurbs5_id; 10182: extern const ON_UUID ON_opennurbs_id; 10182: 10182: } 10182: # 105 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: bool ON_CreateUuid( ON_UUID& uuid ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_UuidIndex 10182: { 10182: public: 10182: ON_UuidIndex(); 10182: 10182: 10182: 10182: 10182: static 10182: int CompareIdAndIndex( const ON_UuidIndex* a, const ON_UuidIndex* b ); 10182: 10182: 10182: 10182: 10182: static 10182: int CompareIndexAndId( const ON_UuidIndex* a, const ON_UuidIndex* b ); 10182: 10182: 10182: 10182: 10182: static 10182: int CompareId( const ON_UuidIndex* a, const ON_UuidIndex* b ); 10182: 10182: 10182: 10182: 10182: static 10182: int CompareIndex( const ON_UuidIndex* a, const ON_UuidIndex* b ); 10182: 10182: 10182: 10182: 10182: ON_UUID m_id; 10182: int m_i; 10182: }; 10182: # 164 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: int ON_UuidCompare( 10182: const ON_UUID* a, 10182: const ON_UUID* b 10182: ); 10182: # 182 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: int ON_UuidCompare( 10182: const ON_UUID& a, 10182: const ON_UUID& b 10182: ); 10182: # 196 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: bool ON_UuidIsNil( 10182: const ON_UUID& uuid 10182: ); 10182: # 209 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: bool ON_UuidIsNotNil( 10182: const ON_UUID& uuid 10182: ); 10182: # 228 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: ON_UUID ON_UuidFromString( const char* s ); 10182: # 245 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: ON_UUID ON_UuidFromString( const wchar_t* s ); 10182: # 260 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: char* ON_UuidToString( const ON_UUID& uuid, char* s ); 10182: # 276 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: wchar_t* ON_UuidToString( const ON_UUID& uuid, wchar_t* s ); 10182: 10182: class ON_String; 10182: # 291 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: const char* ON_UuidToString( const ON_UUID& uuid, ON_String& s); 10182: 10182: class ON_wString; 10182: # 306 "/<>/external/onurbs/opennurbs_uuid.h" 10182: 10182: const wchar_t* ON_UuidToString( const ON_UUID& uuid, ON_wString& s); 10182: # 39 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_unicode.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_unicode.h" 10182: extern "C" { 10182: 10182: enum ON_UnicodeEncoding 10182: { 10182: ON_UTF_unset=0, 10182: ON_not_UTF, 10182: ON_UTF_8, 10182: ON_UTF_16, 10182: ON_UTF_16BE, 10182: ON_UTF_16LE, 10182: ON_UTF_32, 10182: ON_UTF_32BE, 10182: ON_UTF_32LE 10182: }; 10182: # 42 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: enum ON_UnicodeEncoding ON_UnicodeNativeCPU_UTF16(); 10182: # 52 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: enum ON_UnicodeEncoding ON_UnicodeNativeCPU_UTF32(); 10182: # 83 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: enum ON_UnicodeEncoding ON_IsUTFByteOrderMark( 10182: const void* buffer, 10182: size_t sizeof_buffer 10182: ); 10182: # 101 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_IsValidUnicodeCodePoint( 10182: ON__UINT32 u 10182: ); 10182: 10182: struct ON_UnicodeErrorParameters 10182: { 10182: # 147 "/<>/external/onurbs/opennurbs_unicode.h" 10182: unsigned int m_error_status; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int m_error_mask; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 m_error_code_point; 10182: }; 10182: # 199 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_DecodeUTF32( 10182: const ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: struct ON_UnicodeErrorParameters* e, 10182: ON__UINT32* unicode_code_point 10182: ); 10182: # 243 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_DecodeSwapByteUTF32( 10182: const ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: struct ON_UnicodeErrorParameters* e, 10182: ON__UINT32* unicode_code_point 10182: ); 10182: # 280 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_EncodeUTF8( ON__UINT32 u, ON__UINT8 sUTF8[6] ); 10182: # 308 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_DecodeUTF8( 10182: const ON__UINT8* sUTF8, 10182: int sUTF8_count, 10182: struct ON_UnicodeErrorParameters* e, 10182: ON__UINT32* unicode_code_point 10182: ); 10182: # 339 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_EncodeUTF16( ON__UINT32 unicode_code_point, ON__UINT16 sUTF16[2] ); 10182: # 380 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_DecodeUTF16( 10182: const ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: struct ON_UnicodeErrorParameters* e, 10182: ON__UINT32* unicode_code_point 10182: ); 10182: # 428 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_DecodeSwapByteUTF16( 10182: const ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: struct ON_UnicodeErrorParameters* e, 10182: ON__UINT32* unicode_code_point 10182: ); 10182: # 531 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF8ToUTF16( 10182: int bTestByteOrder, 10182: const ON__UINT8* sUTF8, 10182: int sUTF8_count, 10182: ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT8** sNextUTF8 10182: ); 10182: # 640 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF8ToUTF32( 10182: int bTestByteOrder, 10182: const ON__UINT8* sUTF8, 10182: int sUTF8_count, 10182: ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT8** sNextUTF8 10182: ); 10182: # 753 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF16ToUTF8( 10182: int bTestByteOrder, 10182: const ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: ON__UINT8* sUTF8, 10182: int sUTF8_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT16** sNextUTF16 10182: ); 10182: # 867 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF16ToUTF32( 10182: int bTestByteOrder, 10182: const ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: unsigned int* sUTF32, 10182: int sUTF32_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT16** sNextUTF16 10182: ); 10182: # 986 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF32ToUTF8( 10182: int bTestByteOrder, 10182: const ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: ON__UINT8* sUTF8, 10182: int sUTF8_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT32** sNextUTF32 10182: ); 10182: # 1105 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF32ToUTF16( 10182: int bTestByteOrder, 10182: const ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: ON__UINT16* sUTF16, 10182: int sUTF16_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT32** sNextUTF32 10182: ); 10182: # 1231 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF32ToUTF32( 10182: int bTestByteOrder, 10182: const ON__UINT32* sInputUTF32, 10182: int sInputUTF32_count, 10182: ON__UINT32* sOuputUTF32, 10182: int sOutputUTF32_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const ON__UINT32** sNextInputUTF32 10182: ); 10182: # 1352 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertWideCharToUTF8( 10182: int bTestByteOrder, 10182: const wchar_t* sWideChar, 10182: int sWideChar_count, 10182: char* sUTF8, 10182: int sUTF8_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const wchar_t** sNextWideChar 10182: ); 10182: # 1476 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertWideCharToUTF32( 10182: int bTestByteOrder, 10182: const wchar_t* sWideChar, 10182: int sWideChar_count, 10182: ON__UINT32* sUTF32, 10182: int sUTF32_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const wchar_t** sNextWideChar 10182: ); 10182: # 1593 "/<>/external/onurbs/opennurbs_unicode.h" 10182: 10182: int ON_ConvertUTF8ToWideChar( 10182: int bTestByteOrder, 10182: const char* sUTF8, 10182: int sUTF8_count, 10182: wchar_t* sWideChar, 10182: int sWideChar_count, 10182: unsigned int* error_status, 10182: unsigned int error_mask, 10182: ON__UINT32 error_code_point, 10182: const char** sNextUTF8 10182: ); 10182: 10182: } 10182: # 40 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_fsp.h" 1 10182: # 19 "/<>/external/onurbs/opennurbs_fsp.h" 10182: class ON_FixedSizePool 10182: { 10182: public: 10182: ON_FixedSizePool(); 10182: ~ON_FixedSizePool(); 10182: # 52 "/<>/external/onurbs/opennurbs_fsp.h" 10182: bool Create( 10182: size_t sizeof_element, 10182: size_t element_count_estimate, 10182: size_t block_element_capacity 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeofElement() const; 10182: 10182: 10182: 10182: 10182: 10182: void* AllocateElement(); 10182: # 104 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void ReturnElement(void* p); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void ReturnAll(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: 10182: 10182: 10182: 10182: size_t ActiveElementCount() const; 10182: 10182: 10182: 10182: 10182: 10182: size_t TotalElementCount() const; 10182: # 177 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* FirstElement(); 10182: void* FirstElement( size_t element_index ); 10182: # 202 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* NextElement(); 10182: # 249 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* FirstBlock( size_t* block_element_count ); 10182: # 274 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* NextBlock( size_t* block_element_count ); 10182: # 298 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* Element(size_t element_index) const; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetHeap( void* heap ); 10182: # 317 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* Heap(); 10182: # 326 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void EmergencyDestroy(); 10182: 10182: private: 10182: friend class ON_FixedSizePoolIterator; 10182: 10182: void* m_first_block; 10182: 10182: 10182: 10182: void* m_al_element_stack; 10182: 10182: 10182: void* m_qwerty_it_block; 10182: void* m_qwerty_it_element; 10182: 10182: void* m_al_block; 10182: 10182: void* m_al_element_array; 10182: size_t m_al_count; 10182: size_t m_sizeof_element; 10182: size_t m_block_element_count; 10182: size_t m_active_element_count; 10182: size_t m_total_element_count; 10182: void* m_heap; 10182: 10182: private: 10182: 10182: size_t BlockElementCapacity( const void* block ) const; 10182: 10182: 10182: size_t BlockElementCount( const void* block ) const; 10182: private: 10182: 10182: ON_FixedSizePool(const ON_FixedSizePool&); 10182: ON_FixedSizePool& operator=(const ON_FixedSizePool&); 10182: }; 10182: 10182: class ON_FixedSizePoolIterator 10182: { 10182: public: 10182: ON_FixedSizePoolIterator( const class ON_FixedSizePool& fsp ); 10182: 10182: const class ON_FixedSizePool& m_fsp; 10182: # 408 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* FirstElement(); 10182: void* FirstElement( size_t element_index ); 10182: # 427 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* NextElement(); 10182: # 468 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* FirstBlock( size_t* block_element_count ); 10182: # 487 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* NextBlock( size_t* block_element_count ); 10182: 10182: private: 10182: void* m_it_block; 10182: void* m_it_element; 10182: 10182: 10182: ON_FixedSizePoolIterator& operator=(const ON_FixedSizePoolIterator&); 10182: }; 10182: 10182: 10182: template class ON_SimpleFixedSizePool : private ON_FixedSizePool 10182: { 10182: public: 10182: 10182: 10182: ON_SimpleFixedSizePool(); 10182: ~ON_SimpleFixedSizePool(); 10182: # 528 "/<>/external/onurbs/opennurbs_fsp.h" 10182: bool Create( 10182: size_t element_count_estimate, 10182: size_t block_element_count 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeofElement() const; 10182: 10182: 10182: 10182: 10182: 10182: T* AllocateElement(); 10182: # 579 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void ReturnElement(T* p); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void ReturnAll(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: 10182: 10182: 10182: 10182: size_t ActiveElementCount() const; 10182: 10182: 10182: 10182: 10182: 10182: size_t TotalElementCount() const; 10182: # 636 "/<>/external/onurbs/opennurbs_fsp.h" 10182: T* FirstElement(); 10182: # 650 "/<>/external/onurbs/opennurbs_fsp.h" 10182: T* NextElement(); 10182: # 674 "/<>/external/onurbs/opennurbs_fsp.h" 10182: T* FirstBlock( size_t* block_element_count ); 10182: # 687 "/<>/external/onurbs/opennurbs_fsp.h" 10182: T* NextBlock( size_t* block_element_count ); 10182: # 712 "/<>/external/onurbs/opennurbs_fsp.h" 10182: T* Element(size_t element_index) const; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetHeap( void* heap ); 10182: # 731 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void* Heap(); 10182: # 740 "/<>/external/onurbs/opennurbs_fsp.h" 10182: void EmergencyDestroy(); 10182: 10182: private: 10182: 10182: ON_SimpleFixedSizePool(const ON_SimpleFixedSizePool&); 10182: ON_SimpleFixedSizePool& operator=(const ON_SimpleFixedSizePool&); 10182: }; 10182: 10182: 10182: 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_fsp_defs.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_fsp_defs.h" 10182: template 10182: ON_SimpleFixedSizePool::ON_SimpleFixedSizePool() 10182: : ON_FixedSizePool() 10182: {} 10182: 10182: template 10182: ON_SimpleFixedSizePool::~ON_SimpleFixedSizePool() 10182: { 10182: ON_FixedSizePool::Destroy(); 10182: } 10182: 10182: template 10182: bool ON_SimpleFixedSizePool::Create( 10182: size_t element_count_estimate, 10182: size_t block_element_count 10182: ) 10182: { 10182: return ON_FixedSizePool::Create(sizeof(T),element_count_estimate,block_element_count); 10182: } 10182: 10182: template 10182: size_t ON_SimpleFixedSizePool::SizeofElement() const 10182: { 10182: return ON_FixedSizePool::SizeofElement(); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::AllocateElement() 10182: { 10182: return (T *)ON_FixedSizePool::AllocateElement(); 10182: } 10182: 10182: template 10182: void ON_SimpleFixedSizePool::ReturnElement(T* p) 10182: { 10182: ON_FixedSizePool::ReturnElement(p); 10182: } 10182: 10182: template 10182: void ON_SimpleFixedSizePool::ReturnAll() 10182: { 10182: ON_FixedSizePool::ReturnAll(); 10182: } 10182: 10182: template 10182: void ON_SimpleFixedSizePool::Destroy() 10182: { 10182: ON_FixedSizePool::Destroy(); 10182: } 10182: 10182: template 10182: size_t ON_SimpleFixedSizePool::ActiveElementCount() const 10182: { 10182: return ON_FixedSizePool::ActiveElementCount(); 10182: } 10182: 10182: template 10182: size_t ON_SimpleFixedSizePool::TotalElementCount() const 10182: { 10182: return ON_FixedSizePool::TotalElementCount(); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::FirstElement() 10182: { 10182: return (T *)ON_FixedSizePool::FirstElement(); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::NextElement() 10182: { 10182: return (T *)ON_FixedSizePool::NextElement(); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::FirstBlock( size_t* block_element_count ) 10182: { 10182: return (T *)ON_FixedSizePool::FirstBlock(block_element_count); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::NextBlock( size_t* block_element_count ) 10182: { 10182: return (T *)ON_FixedSizePool::NextBlock(block_element_count); 10182: } 10182: 10182: template 10182: T* ON_SimpleFixedSizePool::Element(size_t element_index) const 10182: { 10182: return (T *)ON_FixedSizePool::Element(element_index); 10182: } 10182: 10182: template 10182: void ON_SimpleFixedSizePool::SetHeap( void* heap ) 10182: { 10182: ON_FixedSizePool::SetHeap(heap); 10182: } 10182: 10182: template 10182: void* ON_SimpleFixedSizePool::Heap() 10182: { 10182: return ON_FixedSizePool::Heap(); 10182: } 10182: 10182: template 10182: void ON_SimpleFixedSizePool::EmergencyDestroy() 10182: { 10182: ON_FixedSizePool::EmergencyDestroy(); 10182: } 10182: # 752 "/<>/external/onurbs/opennurbs_fsp.h" 2 10182: # 44 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_string.h" 1 10182: # 46 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_Sort( 10182: ON::sort_algorithm method, 10182: int* index, 10182: const void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(const void*,const void*) 10182: ); 10182: # 85 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_Sort( 10182: ON::sort_algorithm method, 10182: int* index, 10182: const void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(const void*,const void*,void*), 10182: void* context 10182: ); 10182: # 127 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_hsort( 10182: void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(const void*,const void*) 10182: ); 10182: 10182: 10182: void ON_qsort( 10182: void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(const void*,const void*) 10182: ); 10182: 10182: 10182: void ON_hsort( 10182: void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(void*,const void*,const void*), 10182: void* context 10182: ); 10182: 10182: 10182: void ON_qsort( 10182: void* base, 10182: size_t count, 10182: size_t sizeof_element, 10182: int (*compare)(void*,const void*,const void*), 10182: void* context 10182: ); 10182: # 176 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_SortDoubleArray( 10182: ON::sort_algorithm sort_algorithm, 10182: double* a, 10182: size_t nel 10182: ); 10182: # 197 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_SortIntArray( 10182: ON::sort_algorithm sort_algorithm, 10182: int* a, 10182: size_t nel 10182: ); 10182: # 218 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_SortUnsignedIntArray( 10182: ON::sort_algorithm sort_algorithm, 10182: unsigned int* a, 10182: size_t nel 10182: ); 10182: # 239 "/<>/external/onurbs/opennurbs_string.h" 10182: 10182: void ON_SortStringArray( 10182: ON::sort_algorithm sort_algorithm, 10182: char** a, 10182: size_t nel 10182: ); 10182: 10182: 10182: const int* ON_BinarySearchIntArray( 10182: int key, 10182: const int* base, 10182: size_t nel 10182: ); 10182: 10182: 10182: const unsigned int* ON_BinarySearchUnsignedIntArray( 10182: unsigned int key, 10182: const unsigned int* base, 10182: size_t nel 10182: ); 10182: 10182: 10182: const double* ON_BinarySearchDoubleArray( 10182: double key, 10182: const double* base, 10182: size_t nel 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_CheckSum 10182: { 10182: public: 10182: ON_CheckSum(); 10182: ~ON_CheckSum(); 10182: 10182: static const ON_CheckSum UnsetCheckSum; 10182: 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: # 305 "/<>/external/onurbs/opennurbs_string.h" 10182: bool SetBufferCheckSum( 10182: size_t size, 10182: const void* buffer, 10182: time_t time 10182: ); 10182: # 319 "/<>/external/onurbs/opennurbs_string.h" 10182: bool SetFileCheckSum( 10182: FILE* fp 10182: ); 10182: # 331 "/<>/external/onurbs/opennurbs_string.h" 10182: bool SetFileCheckSum( 10182: const wchar_t* filename 10182: ); 10182: # 344 "/<>/external/onurbs/opennurbs_string.h" 10182: bool CheckBuffer( 10182: size_t size, 10182: const void* buffer 10182: ) const; 10182: # 359 "/<>/external/onurbs/opennurbs_string.h" 10182: bool CheckFile( 10182: FILE* fp, 10182: bool bSkipTimeCheck = false 10182: ) const; 10182: # 374 "/<>/external/onurbs/opennurbs_string.h" 10182: bool CheckFile( 10182: const wchar_t* filename, 10182: bool bSkipTimeCheck = false 10182: ) const; 10182: 10182: bool Write(class ON_BinaryArchive&) const; 10182: bool Read(class ON_BinaryArchive&); 10182: 10182: void Dump(class ON_TextLog&) const; 10182: 10182: public: 10182: size_t m_size; 10182: time_t m_time; 10182: ON__UINT32 m_crc[8]; 10182: }; 10182: # 397 "/<>/external/onurbs/opennurbs_string.h" 10182: class ON_String; 10182: class ON_wString; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_String 10182: { 10182: public: 10182: 10182: 10182: ON_String(); 10182: ON_String( const ON_String& ); 10182: 10182: ON_String( const char* ); 10182: ON_String( const char*, int ); 10182: ON_String( char, int = 1 ); 10182: 10182: ON_String( const unsigned char* ); 10182: ON_String( const unsigned char*, int ); 10182: ON_String( unsigned char, int = 1 ); 10182: 10182: 10182: ON_String( const wchar_t* src ); 10182: ON_String( const wchar_t* src, int length ); 10182: ON_String( const ON_wString& src ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Create(); 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 447 "/<>/external/onurbs/opennurbs_string.h" 10182: void EnableReferenceCounting( bool bEnable ); 10182: 10182: 10182: 10182: 10182: 10182: bool IsReferenceCounted() const; 10182: 10182: 10182: 10182: 10182: int Length() const; 10182: bool IsEmpty() const; 10182: void Empty(); 10182: 10182: char& operator[](int); 10182: char operator[](int) const; 10182: char GetAt(int) const; 10182: void SetAt(int, char); 10182: void SetAt(int, unsigned char); 10182: operator const char*() const; 10182: 10182: 10182: ON_String& operator=(const ON_String&); 10182: ON_String& operator=(char); 10182: ON_String& operator=(const char*); 10182: ON_String& operator=(unsigned char); 10182: ON_String& operator=(const unsigned char*); 10182: ON_String& operator=(const wchar_t* src); 10182: ON_String& operator=(const ON_wString& src); 10182: 10182: 10182: ON_String operator+(const ON_String&) const; 10182: ON_String operator+(char) const; 10182: ON_String operator+(unsigned char) const; 10182: ON_String operator+(const char*) const; 10182: ON_String operator+(const unsigned char*) const; 10182: 10182: 10182: bool operator==(const ON_String&) const; 10182: bool operator==(const char*)const ; 10182: bool operator!=(const ON_String&)const ; 10182: bool operator!=(const char*)const ; 10182: bool operator<(const ON_String&)const ; 10182: bool operator<(const char*)const ; 10182: bool operator>(const ON_String&)const ; 10182: bool operator>(const char*)const ; 10182: bool operator<=(const ON_String&)const ; 10182: bool operator<=(const char*)const ; 10182: bool operator>=(const ON_String&)const ; 10182: bool operator>=(const char*)const ; 10182: 10182: 10182: void Append( const char*, int ); 10182: void Append( const unsigned char*, int ); 10182: const ON_String& operator+=(const ON_String&); 10182: const ON_String& operator+=(char); 10182: const ON_String& operator+=(unsigned char); 10182: const ON_String& operator+=(const char*); 10182: const ON_String& operator+=(const unsigned char*); 10182: 10182: 10182: 10182: 10182: 10182: int Compare( const char* ) const; 10182: int Compare( const unsigned char* ) const; 10182: 10182: int CompareNoCase( const char* ) const; 10182: int CompareNoCase( const unsigned char* ) const; 10182: # 528 "/<>/external/onurbs/opennurbs_string.h" 10182: bool WildCardMatch( const char* ) const; 10182: bool WildCardMatch( const unsigned char* ) const; 10182: # 541 "/<>/external/onurbs/opennurbs_string.h" 10182: bool WildCardMatchNoCase( const char* ) const; 10182: bool WildCardMatchNoCase( const unsigned char* ) const; 10182: # 553 "/<>/external/onurbs/opennurbs_string.h" 10182: int Replace( const char* token1, const char* token2 ); 10182: int Replace( const unsigned char* token1, const unsigned char* token2 ); 10182: int Replace( char token1, char token2 ); 10182: int Replace( unsigned char token1, unsigned char token2 ); 10182: 10182: 10182: 10182: ON_String Mid( 10182: int, 10182: int 10182: ) const; 10182: ON_String Mid( 10182: int 10182: ) const; 10182: ON_String Left( 10182: int 10182: ) const; 10182: ON_String Right( 10182: int 10182: ) const; 10182: 10182: 10182: void MakeUpper(); 10182: void MakeLower(); 10182: void MakeReverse(); 10182: void TrimLeft(const char* = 10182: # 578 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 578 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: void TrimRight(const char* = 10182: # 579 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 579 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: void TrimLeftAndRight(const char* = 10182: # 580 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 580 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: 10182: 10182: int Remove( const char chRemove); 10182: 10182: 10182: 10182: int Find(char) const; 10182: int Find(unsigned char) const; 10182: int ReverseFind(char) const; 10182: int ReverseFind(unsigned char) const; 10182: 10182: 10182: int Find(const char*) const; 10182: int Find(const unsigned char*) const; 10182: 10182: 10182: void Format( const char*, ...); 10182: void Format( const unsigned char*, ...); 10182: 10182: 10182: void ReserveArray(size_t); 10182: 10182: void ShrinkArray(); 10182: void SetLength(size_t); 10182: char* Array(); 10182: const char* Array() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 660 "/<>/external/onurbs/opennurbs_string.h" 10182: static void SplitPath( 10182: const char* path, 10182: ON_String* drive, 10182: ON_String* dir, 10182: ON_String* fname, 10182: ON_String* ext 10182: ); 10182: 10182: 10182: public: 10182: ~ON_String(); 10182: 10182: protected: 10182: char* m_s; 10182: 10182: 10182: 10182: struct ON_aStringHeader* Header() const; 10182: void CreateArray(int); 10182: void CopyArray(); 10182: void CopyToArray( const ON_String& ); 10182: void CopyToArray( int, const char* ); 10182: void CopyToArray( int, const unsigned char* ); 10182: void CopyToArray( int, const wchar_t* ); 10182: void AppendToArray( const ON_String& ); 10182: void AppendToArray( int, const char* ); 10182: void AppendToArray( int, const unsigned char* ); 10182: static int Length(const char*); 10182: static int Length(const unsigned char*); 10182: }; 10182: # 700 "/<>/external/onurbs/opennurbs_string.h" 10182: class ON_wString 10182: { 10182: public: 10182: 10182: 10182: ON_wString(); 10182: ON_wString( const ON_wString& ); 10182: 10182: ON_wString( const ON_String& src ); 10182: 10182: ON_wString( const char* src ); 10182: ON_wString( const char* src, int ); 10182: ON_wString( char, int = 1 ); 10182: 10182: ON_wString( const unsigned char* src); 10182: ON_wString( const unsigned char*src, int ); 10182: ON_wString( unsigned char, int = 1 ); 10182: 10182: ON_wString( const wchar_t* ); 10182: ON_wString( const wchar_t*, int ); 10182: ON_wString( wchar_t, int = 1 ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Create(); 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 743 "/<>/external/onurbs/opennurbs_string.h" 10182: void EnableReferenceCounting( bool bEnable ); 10182: 10182: 10182: 10182: 10182: 10182: bool IsReferenceCounted() const; 10182: 10182: 10182: 10182: int Length() const; 10182: bool IsEmpty() const; 10182: void Empty(); 10182: 10182: wchar_t& operator[](int); 10182: wchar_t operator[](int) const; 10182: wchar_t GetAt(int) const; 10182: void SetAt(int, char); 10182: void SetAt(int, unsigned char); 10182: void SetAt(int, wchar_t); 10182: operator const wchar_t*() const; 10182: 10182: 10182: const ON_wString& operator=(const ON_wString&); 10182: const ON_wString& operator=(const ON_String& src); 10182: const ON_wString& operator=(char); 10182: const ON_wString& operator=(const char* src); 10182: const ON_wString& operator=(unsigned char); 10182: const ON_wString& operator=(const unsigned char* src); 10182: const ON_wString& operator=(wchar_t); 10182: const ON_wString& operator=(const wchar_t*); 10182: 10182: 10182: void Append( const char* sUTF8, int ); 10182: void Append( const unsigned char* sUTF8, int ); 10182: void Append( const wchar_t*, int ); 10182: const ON_wString& operator+=(const ON_wString&); 10182: const ON_wString& operator+=(const ON_String& sUTF8); 10182: const ON_wString& operator+=(char); 10182: const ON_wString& operator+=(unsigned char); 10182: const ON_wString& operator+=(wchar_t); 10182: const ON_wString& operator+=(const char* sUTF8); 10182: const ON_wString& operator+=(const unsigned char* sUTF8); 10182: const ON_wString& operator+=(const wchar_t*); 10182: 10182: 10182: ON_wString operator+(const ON_wString&) const; 10182: ON_wString operator+(const ON_String& sUTF8) const; 10182: ON_wString operator+(char) const; 10182: ON_wString operator+(unsigned char) const; 10182: ON_wString operator+(wchar_t) const; 10182: ON_wString operator+(const char* sUTF8) const; 10182: ON_wString operator+(const unsigned char* sUTF8) const; 10182: ON_wString operator+(const wchar_t*) const; 10182: 10182: 10182: bool operator==(const ON_wString&) const; 10182: bool operator==(const wchar_t*) const; 10182: bool operator!=(const ON_wString&) const; 10182: bool operator!=(const wchar_t*) const; 10182: bool operator<(const ON_wString&) const; 10182: bool operator<(const wchar_t*) const; 10182: bool operator>(const ON_wString&) const; 10182: bool operator>(const wchar_t*) const; 10182: bool operator<=(const ON_wString&) const; 10182: bool operator<=(const wchar_t*) const; 10182: bool operator>=(const ON_wString&) const; 10182: bool operator>=(const wchar_t*) const; 10182: 10182: 10182: 10182: 10182: 10182: int Compare( const char* sUTF8 ) const; 10182: int Compare( const unsigned char* sUTF8 ) const; 10182: int Compare( const wchar_t* ) const; 10182: 10182: int CompareNoCase( const char* sUTF8) const; 10182: int CompareNoCase( const unsigned char* sUTF8) const; 10182: int CompareNoCase( const wchar_t* ) const; 10182: # 834 "/<>/external/onurbs/opennurbs_string.h" 10182: bool WildCardMatch( const wchar_t* ) const; 10182: # 846 "/<>/external/onurbs/opennurbs_string.h" 10182: bool WildCardMatchNoCase( const wchar_t* ) const; 10182: # 857 "/<>/external/onurbs/opennurbs_string.h" 10182: int Replace( const wchar_t* token1, const wchar_t* token2 ); 10182: int Replace( wchar_t token1, wchar_t token2 ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void UrlEncode(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool UrlDecode(); 10182: # 891 "/<>/external/onurbs/opennurbs_string.h" 10182: int ReplaceWhiteSpace( wchar_t token, const wchar_t* whitespace = 0 ); 10182: # 905 "/<>/external/onurbs/opennurbs_string.h" 10182: int RemoveWhiteSpace( const wchar_t* whitespace = 0 ); 10182: 10182: 10182: ON_wString Mid( 10182: int, 10182: int 10182: ) const; 10182: ON_wString Mid( 10182: int 10182: ) const; 10182: ON_wString Left( 10182: int 10182: ) const; 10182: ON_wString Right( 10182: int 10182: ) const; 10182: 10182: 10182: void MakeUpper(); 10182: void MakeLower(); 10182: void MakeReverse(); 10182: void TrimLeft(const wchar_t* = 10182: # 926 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 926 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: void TrimRight(const wchar_t* = 10182: # 927 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 927 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: void TrimLeftAndRight(const wchar_t* = 10182: # 928 "/<>/external/onurbs/opennurbs_string.h" 3 4 10182: __null 10182: # 928 "/<>/external/onurbs/opennurbs_string.h" 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: int Remove( wchar_t c); 10182: 10182: 10182: 10182: int Find(char) const; 10182: int Find(unsigned char) const; 10182: int Find(wchar_t) const; 10182: int ReverseFind(char) const; 10182: int ReverseFind(unsigned char) const; 10182: int ReverseFind(wchar_t) const; 10182: 10182: 10182: int Find(const char*) const; 10182: int Find(const unsigned char*) const; 10182: int Find(const wchar_t*) const; 10182: 10182: 10182: 10182: void Format( const char*, ...); 10182: void Format( const unsigned char*, ...); 10182: void Format( const wchar_t*, ...); 10182: 10182: 10182: void ReserveArray(size_t); 10182: 10182: void ShrinkArray(); 10182: void SetLength(size_t); 10182: wchar_t* Array(); 10182: const wchar_t* Array() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 DataCRCLower(ON__UINT32 current_remainder) const; 10182: # 1028 "/<>/external/onurbs/opennurbs_string.h" 10182: static void SplitPath( 10182: const char* path, 10182: ON_wString* drive, 10182: ON_wString* dir, 10182: ON_wString* fname, 10182: ON_wString* ext 10182: ); 10182: 10182: static void SplitPath( 10182: const wchar_t* path, 10182: ON_wString* drive, 10182: ON_wString* dir, 10182: ON_wString* fname, 10182: ON_wString* ext 10182: ); 10182: 10182: public: 10182: ~ON_wString(); 10182: 10182: protected: 10182: wchar_t* m_s; 10182: 10182: 10182: 10182: struct ON_wStringHeader* Header() const; 10182: void CreateArray(int); 10182: void CopyArray(); 10182: void CopyToArray( const ON_wString& ); 10182: void CopyToArray( int, const char* ); 10182: void CopyToArray( int, const unsigned char* ); 10182: void CopyToArray( int, const wchar_t* ); 10182: void AppendToArray( const ON_wString& ); 10182: void AppendToArray( int, const char* ); 10182: void AppendToArray( int, const unsigned char* ); 10182: void AppendToArray( int, const wchar_t* ); 10182: static int Length(const char*); 10182: static int Length(const unsigned char*); 10182: static int Length(const wchar_t*); 10182: }; 10182: 10182: class ON_UnitSystem 10182: { 10182: public: 10182: ON_UnitSystem(); 10182: ~ON_UnitSystem(); 10182: 10182: ON_UnitSystem(ON::unit_system); 10182: ON_UnitSystem& operator=(ON::unit_system); 10182: 10182: bool operator==(const ON_UnitSystem&); 10182: bool operator!=(const ON_UnitSystem&); 10182: # 1090 "/<>/external/onurbs/opennurbs_string.h" 10182: bool IsValid() const; 10182: 10182: void Default(); 10182: 10182: bool Read( class ON_BinaryArchive& ); 10182: bool Write( class ON_BinaryArchive& ) const; 10182: void Dump( class ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Unset(); 10182: 10182: ON::unit_system m_unit_system; 10182: 10182: 10182: double m_custom_unit_scale; 10182: ON_wString m_custom_unit_name; 10182: # 1125 "/<>/external/onurbs/opennurbs_string.h" 10182: }; 10182: # 45 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_compress.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_compress.h" 10182: typedef bool (*ON_StreamCallbackFunction)( void* context, ON__UINT32 size, const void* buffer ); 10182: 10182: class ON_CompressStream 10182: { 10182: public: 10182: ON_CompressStream(); 10182: virtual ~ON_CompressStream(); 10182: # 57 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool SetCallback( 10182: ON_StreamCallbackFunction callback_function, 10182: void* callback_context 10182: ); 10182: # 69 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON_StreamCallbackFunction CallbackFunction() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void* CallbackContext() const; 10182: # 88 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool Begin(); 10182: # 102 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool In( 10182: ON__UINT64 in_buffer_size, 10182: const void* in_buffer 10182: ); 10182: # 123 "/<>/external/onurbs/opennurbs_compress.h" 10182: virtual bool Out( 10182: void* callback_context, 10182: ON__UINT32 out_buffer_size, 10182: const void* out_buffer 10182: ); 10182: # 137 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool End(); 10182: # 148 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT64 InSize() const; 10182: # 158 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT64 OutSize() const; 10182: # 168 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT32 InCRC() const; 10182: # 178 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT32 OutCRC() const; 10182: 10182: private: 10182: ON_StreamCallbackFunction m_out_callback_function; 10182: void* m_out_callback_context; 10182: ON__UINT64 m_in_size; 10182: ON__UINT64 m_out_size; 10182: ON__UINT32 m_in_crc; 10182: ON__UINT32 m_out_crc; 10182: void* m_implementation; 10182: void* m_reserved; 10182: 10182: void ErrorHandler(); 10182: 10182: private: 10182: 10182: ON_CompressStream(const ON_CompressStream&); 10182: ON_CompressStream& operator=(const ON_CompressStream&); 10182: }; 10182: 10182: 10182: class ON_UncompressStream 10182: { 10182: public: 10182: ON_UncompressStream(); 10182: virtual ~ON_UncompressStream(); 10182: # 234 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool SetCallback( 10182: ON_StreamCallbackFunction callback_function, 10182: void* callback_context 10182: ); 10182: # 246 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON_StreamCallbackFunction CallbackFunction() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void* CallbackContext() const; 10182: # 265 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool Begin(); 10182: # 279 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool In( 10182: ON__UINT64 in_buffer_size, 10182: const void* in_buffer 10182: ); 10182: # 300 "/<>/external/onurbs/opennurbs_compress.h" 10182: virtual bool Out( 10182: void* callback_context, 10182: ON__UINT32 out_buffer_size, 10182: const void* out_buffer 10182: ); 10182: # 314 "/<>/external/onurbs/opennurbs_compress.h" 10182: bool End(); 10182: # 325 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT64 InSize() const; 10182: # 335 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT64 OutSize() const; 10182: # 345 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT32 InCRC() const; 10182: # 355 "/<>/external/onurbs/opennurbs_compress.h" 10182: ON__UINT32 OutCRC() const; 10182: 10182: private: 10182: ON_StreamCallbackFunction m_out_callback_function; 10182: void* m_out_callback_context; 10182: ON__UINT64 m_in_size; 10182: ON__UINT64 m_out_size; 10182: ON__UINT32 m_in_crc; 10182: ON__UINT32 m_out_crc; 10182: void* m_implementation; 10182: void* m_reserved; 10182: 10182: void ErrorHandler(); 10182: 10182: private: 10182: 10182: ON_UncompressStream(const ON_UncompressStream&); 10182: ON_UncompressStream& operator=(const ON_UncompressStream&); 10182: }; 10182: # 46 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_base64.h" 1 10182: # 22 "/<>/external/onurbs/opennurbs_base64.h" 10182: class ON_Base64EncodeStream 10182: { 10182: public: 10182: ON_Base64EncodeStream(); 10182: virtual ~ON_Base64EncodeStream(); 10182: # 57 "/<>/external/onurbs/opennurbs_base64.h" 10182: bool SetCallback( 10182: ON_StreamCallbackFunction callback_function, 10182: void* callback_context 10182: ); 10182: # 69 "/<>/external/onurbs/opennurbs_base64.h" 10182: ON_StreamCallbackFunction CallbackFunction() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void* CallbackContext() const; 10182: # 88 "/<>/external/onurbs/opennurbs_base64.h" 10182: bool Begin(); 10182: # 104 "/<>/external/onurbs/opennurbs_base64.h" 10182: bool In( 10182: ON__UINT64 in_buffer_size, 10182: const void* in_buffer 10182: ); 10182: # 137 "/<>/external/onurbs/opennurbs_base64.h" 10182: virtual bool Out( 10182: void* callback_context, 10182: ON__UINT32 out_buffer_size, 10182: const char* out_buffer 10182: ); 10182: # 151 "/<>/external/onurbs/opennurbs_base64.h" 10182: bool End(); 10182: # 162 "/<>/external/onurbs/opennurbs_base64.h" 10182: ON__UINT64 InSize() const; 10182: # 173 "/<>/external/onurbs/opennurbs_base64.h" 10182: ON__UINT64 OutSize() const; 10182: # 183 "/<>/external/onurbs/opennurbs_base64.h" 10182: ON__UINT32 InCRC() const; 10182: # 193 "/<>/external/onurbs/opennurbs_base64.h" 10182: ON__UINT32 OutCRC() const; 10182: 10182: private: 10182: ON_StreamCallbackFunction m_out_callback_function; 10182: void* m_out_callback_context; 10182: ON__UINT64 m_in_size; 10182: ON__UINT64 m_out_size; 10182: ON__UINT32 m_in_crc; 10182: ON__UINT32 m_out_crc; 10182: void* m_implementation; 10182: void* m_reserved; 10182: 10182: void ErrorHandler(); 10182: 10182: private: 10182: 10182: ON_Base64EncodeStream(const ON_Base64EncodeStream&); 10182: ON_Base64EncodeStream& operator=(const ON_Base64EncodeStream&); 10182: }; 10182: 10182: 10182: 10182: class ON_DecodeBase64 10182: { 10182: public: 10182: ON_DecodeBase64(); 10182: virtual ~ON_DecodeBase64(); 10182: 10182: void Begin(); 10182: # 235 "/<>/external/onurbs/opennurbs_base64.h" 10182: const char* Decode(const char* base64str); 10182: const char* Decode(const char* base64str, size_t base64str_count); 10182: const wchar_t* Decode(const wchar_t* base64str); 10182: const wchar_t* Decode(const wchar_t* base64str, size_t base64str_count); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool End(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual void Output(); 10182: 10182: 10182: 10182: unsigned int m_decode_count; 10182: 10182: int m_output_count; 10182: unsigned char m_output[512]; 10182: 10182: 10182: 10182: void SetError(); 10182: 10182: 10182: 10182: bool Error() const; 10182: 10182: private: 10182: int m_status; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_cache_count; 10182: int m_cache[4]; 10182: 10182: void DecodeHelper1(); 10182: void DecodeHelper2(); 10182: }; 10182: # 47 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_color.h" 1 10182: # 24 "/<>/external/onurbs/opennurbs_color.h" 10182: class ON_Color 10182: { 10182: public: 10182: 10182: 10182: static const ON_Color UnsetColor; 10182: 10182: 10182: ON_Color(); 10182: 10182: 10182: ON_Color( 10182: int red, 10182: int green, 10182: int blue 10182: ); 10182: 10182: ON_Color( 10182: int red, 10182: int green, 10182: int blue, 10182: int alpha 10182: ); 10182: 10182: 10182: ON_Color(unsigned int); 10182: 10182: 10182: operator unsigned int() const; 10182: # 61 "/<>/external/onurbs/opennurbs_color.h" 10182: unsigned int WindowsRGB() const; 10182: 10182: 10182: int Compare( const ON_Color& ) const; 10182: 10182: int Red() const; 10182: int Green() const; 10182: int Blue() const; 10182: int Alpha() const; 10182: 10182: double FractionRed() const; 10182: double FractionGreen() const; 10182: double FractionBlue() const; 10182: double FractionAlpha() const; 10182: 10182: void SetRGB( 10182: int red, 10182: int green, 10182: int blue 10182: ); 10182: 10182: void SetFractionalRGB( 10182: double red, 10182: double green, 10182: double blue 10182: ); 10182: 10182: void SetAlpha( 10182: int alpha 10182: ); 10182: 10182: void SetFractionalAlpha( 10182: double alpha 10182: ); 10182: 10182: void SetRGBA( 10182: int red, 10182: int green, 10182: int blue, 10182: int alpha 10182: ); 10182: 10182: 10182: void SetFractionalRGBA( 10182: double red, 10182: double green, 10182: double blue, 10182: double alpha 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: double Hue() const; 10182: 10182: 10182: double Saturation() const; 10182: 10182: 10182: double Value() const; 10182: 10182: void SetHSV( 10182: double h, 10182: double s, 10182: double v 10182: ); 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: unsigned int m_color; 10182: }; 10182: # 48 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_linestyle.h" 1 10182: # 43 "/<>/external/onurbs/opennurbs_linestyle.h" 10182: class ON_DisplayMaterialRef 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: ON_DisplayMaterialRef(); 10182: int Compare(const ON_DisplayMaterialRef& other) const; 10182: bool operator==(const ON_DisplayMaterialRef& other) const; 10182: bool operator!=(const ON_DisplayMaterialRef& other) const; 10182: bool operator<(const ON_DisplayMaterialRef& other) const; 10182: bool operator<=(const ON_DisplayMaterialRef& other) const; 10182: bool operator>(const ON_DisplayMaterialRef& other) const; 10182: bool operator>=(const ON_DisplayMaterialRef& other) const; 10182: 10182: 10182: 10182: 10182: ON_UUID m_viewport_id; 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_display_material_id; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const ON_UUID m_invisible_in_detail_id; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_LinetypeSegment 10182: { 10182: public: 10182: ON_LinetypeSegment(); 10182: 10182: bool operator==( const ON_LinetypeSegment& src) const; 10182: bool operator!=( const ON_LinetypeSegment& src) const; 10182: 10182: 10182: 10182: 10182: enum eSegType 10182: { 10182: stLine, 10182: stSpace, 10182: }; 10182: 10182: void Dump( class ON_TextLog& ) const; 10182: 10182: 10182: 10182: double m_length; 10182: eSegType m_seg_type; 10182: }; 10182: # 49 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_point.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_point.h" 10182: class ON_BoundingBox; 10182: class ON_Xform; 10182: class ON_Line; 10182: class ON_Plane; 10182: 10182: class ON_2dPoint; 10182: class ON_3dPoint; 10182: class ON_4dPoint; 10182: 10182: class ON_2dVector; 10182: class ON_3dVector; 10182: 10182: class ON_2fVector; 10182: class ON_3fVector; 10182: 10182: class ON_Interval; 10182: 10182: 10182: 10182: 10182: 10182: class ON_Interval 10182: { 10182: public: 10182: 10182: static const ON_Interval EmptyInterval; 10182: 10182: 10182: 10182: ON_Interval(); 10182: 10182: ON_Interval(double t0,double t1); 10182: 10182: ~ON_Interval(); 10182: 10182: bool operator!=(const ON_Interval&) const; 10182: bool operator==(const ON_Interval&) const; 10182: 10182: 10182: double m_t[2]; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: # 83 "/<>/external/onurbs/opennurbs_point.h" 10182: void Set( 10182: double t0, 10182: double t1 10182: ); 10182: # 99 "/<>/external/onurbs/opennurbs_point.h" 10182: double ParameterAt ( 10182: double normalized_parameter 10182: ) const; 10182: ON_Interval ParameterAt ( 10182: ON_Interval normalized_interval 10182: ) const; 10182: # 117 "/<>/external/onurbs/opennurbs_point.h" 10182: double NormalizedParameterAt ( 10182: double interval_parameter 10182: ) const; 10182: ON_Interval NormalizedParameterAt ( 10182: ON_Interval interval_parameter 10182: ) const; 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: double Min() const; 10182: double Max() const; 10182: double Mid() const; 10182: double Length() const; 10182: 10182: bool IsIncreasing() const; 10182: bool IsDecreasing() const; 10182: bool IsInterval() const; 10182: bool IsSingleton() const; 10182: bool IsEmptyInterval() const; 10182: bool IsValid() const; 10182: 10182: 10182: bool IsEmptySet() const; 10182: 10182: bool MakeIncreasing(); 10182: # 155 "/<>/external/onurbs/opennurbs_point.h" 10182: int Compare( const ON_Interval& other ) const; 10182: # 169 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Includes( 10182: double t, 10182: bool bTestOpenInterval = false 10182: ) const; 10182: # 187 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Includes( 10182: const ON_Interval& other, 10182: bool bProperSubSet = false 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: void Reverse(); 10182: 10182: 10182: 10182: 10182: 10182: void Swap(); 10182: # 211 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Intersection( 10182: const ON_Interval& 10182: ); 10182: # 222 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Intersection( 10182: const ON_Interval&, 10182: const ON_Interval& 10182: ); 10182: # 234 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Union( 10182: const ON_Interval& 10182: ); 10182: 10182: bool Union( 10182: double t 10182: ); 10182: 10182: bool Union( 10182: int count, 10182: const double* t 10182: ); 10182: # 254 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Union( 10182: const ON_Interval&, 10182: const ON_Interval& 10182: ); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_2dPoint 10182: { 10182: public: 10182: double x, y; 10182: 10182: static const ON_2dPoint Origin; 10182: static const ON_2dPoint UnsetPoint; 10182: 10182: 10182: ON_2dPoint(); 10182: ON_2dPoint(double x,double y); 10182: ON_2dPoint(const ON_3dPoint& ); 10182: ON_2dPoint(const ON_4dPoint& ); 10182: ON_2dPoint(const ON_2dVector& ); 10182: ON_2dPoint(const ON_3dVector& ); 10182: ON_2dPoint(const double*); 10182: 10182: ON_2dPoint(const class ON_2fPoint&); 10182: ON_2dPoint(const class ON_3fPoint&); 10182: ON_2dPoint(const class ON_4fPoint&); 10182: ON_2dPoint(const class ON_2fVector&); 10182: ON_2dPoint(const class ON_3fVector&); 10182: ON_2dPoint(const float*); 10182: 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: 10182: 10182: ON_2dPoint& operator=(const ON_3dPoint&); 10182: ON_2dPoint& operator=(const ON_4dPoint&); 10182: ON_2dPoint& operator=(const ON_2dVector&); 10182: ON_2dPoint& operator=(const ON_3dVector&); 10182: ON_2dPoint& operator=(const double*); 10182: 10182: ON_2dPoint& operator=(const ON_2fPoint&); 10182: ON_2dPoint& operator=(const ON_3fPoint&); 10182: ON_2dPoint& operator=(const ON_4fPoint&); 10182: ON_2dPoint& operator=(const ON_2fVector&); 10182: ON_2dPoint& operator=(const ON_3fVector&); 10182: ON_2dPoint& operator=(const float*); 10182: 10182: ON_2dPoint& operator*=(double); 10182: ON_2dPoint& operator/=(double); 10182: ON_2dPoint& operator+=(const ON_2dPoint&); 10182: ON_2dPoint& operator+=(const ON_2dVector&); 10182: ON_2dPoint& operator+=(const ON_3dVector&); 10182: ON_2dPoint& operator-=(const ON_2dPoint&); 10182: ON_2dPoint& operator-=(const ON_2dVector&); 10182: ON_2dPoint& operator-=(const ON_3dVector&); 10182: 10182: ON_2dPoint operator*(int) const; 10182: ON_2dPoint operator/(int) const; 10182: ON_2dPoint operator*(float) const; 10182: ON_2dPoint operator/(float) const; 10182: ON_2dPoint operator*(double) const; 10182: ON_2dPoint operator/(double) const; 10182: 10182: ON_2dPoint operator+(const ON_2dPoint&) const; 10182: ON_2dPoint operator+(const ON_2dVector&) const; 10182: ON_2dVector operator-(const ON_2dPoint&) const; 10182: ON_2dPoint operator-(const ON_2dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dPoint operator+(const ON_3dVector&) const; 10182: ON_3dVector operator-(const ON_3dPoint&) const; 10182: ON_3dPoint operator-(const ON_3dVector&) const; 10182: 10182: ON_2dPoint operator+(const ON_2fPoint&) const; 10182: ON_2dPoint operator+(const ON_2fVector&) const; 10182: ON_2dVector operator-(const ON_2fPoint&) const; 10182: ON_2dPoint operator-(const ON_2fVector&) const; 10182: ON_3dPoint operator+(const ON_3fPoint&) const; 10182: ON_3dPoint operator+(const ON_3fVector&) const; 10182: ON_3dVector operator-(const ON_3fPoint&) const; 10182: ON_3dPoint operator-(const ON_3fVector&) const; 10182: 10182: double operator*(const ON_2dPoint&) const; 10182: double operator*(const ON_2dVector&) const; 10182: double operator*(const ON_4dPoint&) const; 10182: ON_2dPoint operator*(const ON_Xform&) const; 10182: 10182: bool operator==(const ON_2dPoint&) const; 10182: bool operator!=(const ON_2dPoint&) const; 10182: 10182: 10182: bool operator<=(const ON_2dPoint&) const; 10182: bool operator>=(const ON_2dPoint&) const; 10182: bool operator<(const ON_2dPoint&) const; 10182: bool operator>(const ON_2dPoint&) const; 10182: 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsUnsetPoint() const; 10182: 10182: 10182: void Set(double x,double y); 10182: 10182: double DistanceTo( const ON_2dPoint& ) const; 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: int MinimumCoordinateIndex() const; 10182: double MinimumCoordinate() const; 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double angle, 10182: const ON_2dPoint& center 10182: ); 10182: 10182: void Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_2dPoint& center 10182: ); 10182: }; 10182: 10182: 10182: ON_2dPoint operator*(int, const ON_2dPoint&); 10182: 10182: 10182: ON_2dPoint operator*(float, const ON_2dPoint&); 10182: 10182: 10182: ON_2dPoint operator*(double, const ON_2dPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dPoint 10182: { 10182: public: 10182: double x, y, z; 10182: 10182: static const ON_3dPoint Origin; 10182: static const ON_3dPoint UnsetPoint; 10182: 10182: 10182: ON_3dPoint(); 10182: ON_3dPoint(double x,double y,double z); 10182: ON_3dPoint(const ON_2dPoint& ); 10182: ON_3dPoint(const ON_4dPoint& ); 10182: ON_3dPoint(const ON_2dVector& ); 10182: ON_3dPoint(const ON_3dVector& ); 10182: ON_3dPoint(const double*); 10182: 10182: ON_3dPoint(const class ON_2fPoint&); 10182: ON_3dPoint(const class ON_3fPoint&); 10182: ON_3dPoint(const class ON_4fPoint&); 10182: ON_3dPoint(const class ON_2fVector&); 10182: ON_3dPoint(const class ON_3fVector&); 10182: ON_3dPoint(const float*); 10182: 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: 10182: 10182: ON_3dPoint& operator=(const ON_2dPoint&); 10182: ON_3dPoint& operator=(const ON_4dPoint&); 10182: ON_3dPoint& operator=(const ON_2dVector&); 10182: ON_3dPoint& operator=(const ON_3dVector&); 10182: ON_3dPoint& operator=(const double*); 10182: 10182: ON_3dPoint& operator=(const class ON_2fPoint&); 10182: ON_3dPoint& operator=(const class ON_3fPoint&); 10182: ON_3dPoint& operator=(const class ON_4fPoint&); 10182: ON_3dPoint& operator=(const class ON_2fVector&); 10182: ON_3dPoint& operator=(const class ON_3fVector&); 10182: ON_3dPoint& operator=(const float*); 10182: 10182: ON_3dPoint& operator*=(double); 10182: ON_3dPoint& operator/=(double); 10182: ON_3dPoint& operator+=(const ON_3dPoint&); 10182: ON_3dPoint& operator+=(const ON_3dVector&); 10182: ON_3dPoint& operator-=(const ON_3dPoint&); 10182: ON_3dPoint& operator-=(const ON_3dVector&); 10182: 10182: ON_3dPoint operator*(int) const; 10182: ON_3dPoint operator/(int) const; 10182: ON_3dPoint operator*(float) const; 10182: ON_3dPoint operator/(float) const; 10182: ON_3dPoint operator*(double) const; 10182: ON_3dPoint operator/(double) const; 10182: 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dPoint operator+(const ON_3dVector&) const; 10182: ON_3dVector operator-(const ON_3dPoint&) const; 10182: ON_3dPoint operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_2dPoint&) const; 10182: ON_3dPoint operator+(const ON_2dVector&) const; 10182: ON_3dVector operator-(const ON_2dPoint&) const; 10182: ON_3dPoint operator-(const ON_2dVector&) const; 10182: 10182: ON_3dPoint operator+(const ON_3fPoint&) const; 10182: ON_3dPoint operator+(const ON_3fVector&) const; 10182: ON_3dVector operator-(const ON_3fPoint&) const; 10182: ON_3dPoint operator-(const ON_3fVector&) const; 10182: ON_3dPoint operator+(const ON_2fPoint&) const; 10182: ON_3dPoint operator+(const ON_2fVector&) const; 10182: ON_3dVector operator-(const ON_2fPoint&) const; 10182: ON_3dPoint operator-(const ON_2fVector&) const; 10182: 10182: double operator*(const ON_3dPoint&) const; 10182: double operator*(const ON_3dVector&) const; 10182: double operator*(const ON_4dPoint&) const; 10182: ON_3dPoint operator*(const ON_Xform&) const; 10182: 10182: bool operator==(const ON_3dPoint&) const; 10182: bool operator!=(const ON_3dPoint&) const; 10182: 10182: 10182: bool operator<=(const ON_3dPoint&) const; 10182: bool operator>=(const ON_3dPoint&) const; 10182: bool operator<(const ON_3dPoint&) const; 10182: bool operator>(const ON_3dPoint&) const; 10182: 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsUnsetPoint() const; 10182: 10182: 10182: void Set(double x,double y,double z); 10182: 10182: double DistanceTo( const ON_3dPoint& ) const; 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: int MinimumCoordinateIndex() const; 10182: double MinimumCoordinate() const; 10182: 10182: double Fuzz( double tolerance = 2.3283064365386962890625e-10 ) const; 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double angle, 10182: const ON_3dVector& axis, 10182: const ON_3dPoint& center 10182: ); 10182: 10182: void Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis, 10182: const ON_3dPoint& center 10182: ); 10182: }; 10182: 10182: 10182: ON_3dPoint operator*(int, const ON_3dPoint&); 10182: 10182: 10182: ON_3dPoint operator*(float, const ON_3dPoint&); 10182: 10182: 10182: ON_3dPoint operator*(double, const ON_3dPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_4dPoint 10182: { 10182: public: 10182: double x, y, z, w; 10182: 10182: 10182: ON_4dPoint(); 10182: ON_4dPoint(double x,double y,double z,double w); 10182: 10182: ON_4dPoint(const ON_2dPoint& ); 10182: ON_4dPoint(const ON_3dPoint& ); 10182: ON_4dPoint(const ON_2dVector& ); 10182: ON_4dPoint(const ON_3dVector& ); 10182: ON_4dPoint(const double*); 10182: 10182: ON_4dPoint(const ON_2fPoint& ); 10182: ON_4dPoint(const ON_3fPoint& ); 10182: ON_4dPoint(const ON_4fPoint& ); 10182: ON_4dPoint(const ON_2fVector& ); 10182: ON_4dPoint(const ON_3fVector& ); 10182: ON_4dPoint(const float*); 10182: 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: 10182: 10182: ON_4dPoint& operator=(const ON_2dPoint&); 10182: ON_4dPoint& operator=(const ON_3dPoint&); 10182: ON_4dPoint& operator=(const ON_2dVector&); 10182: ON_4dPoint& operator=(const ON_3dVector&); 10182: ON_4dPoint& operator=(const double*); 10182: 10182: ON_4dPoint& operator=(const class ON_2fPoint&); 10182: ON_4dPoint& operator=(const class ON_3fPoint&); 10182: ON_4dPoint& operator=(const class ON_4fPoint&); 10182: ON_4dPoint& operator=(const class ON_2fVector&); 10182: ON_4dPoint& operator=(const class ON_3fVector&); 10182: ON_4dPoint& operator=(const float*); 10182: 10182: ON_4dPoint& operator*=(double); 10182: ON_4dPoint& operator/=(double); 10182: ON_4dPoint& operator+=(const ON_4dPoint&); 10182: ON_4dPoint& operator-=(const ON_4dPoint&); 10182: 10182: ON_4dPoint operator*(double) const; 10182: ON_4dPoint operator/(double) const; 10182: ON_4dPoint operator+(const ON_4dPoint&) const; 10182: ON_4dPoint operator-(const ON_4dPoint&) const; 10182: 10182: double operator*(const ON_4dPoint&) const; 10182: ON_4dPoint operator*(const ON_Xform&) const; 10182: 10182: 10182: 10182: bool operator==(ON_4dPoint) const; 10182: bool operator!=(const ON_4dPoint&) const; 10182: 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsUnsetPoint() const; 10182: 10182: 10182: void Set(double x,double y,double z,double w); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: int MinimumCoordinateIndex() const; 10182: double MinimumCoordinate() const; 10182: 10182: void Zero(); 10182: bool Normalize(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: }; 10182: 10182: 10182: ON_4dPoint operator*(double, const ON_4dPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_2dVector 10182: { 10182: public: 10182: double x, y; 10182: 10182: static const ON_2dVector ZeroVector; 10182: static const ON_2dVector XAxis; 10182: static const ON_2dVector YAxis; 10182: static const ON_2dVector UnsetVector; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const ON_2dVector& UnitVector( 10182: int 10182: ); 10182: 10182: 10182: ON_2dVector(); 10182: ON_2dVector(double x,double y); 10182: 10182: ON_2dVector(const ON_3dVector& ); 10182: ON_2dVector(const ON_2dPoint& ); 10182: ON_2dVector(const ON_3dPoint& ); 10182: ON_2dVector(const double*); 10182: 10182: ON_2dVector(const ON_2fVector& ); 10182: ON_2dVector(const ON_3fVector& ); 10182: ON_2dVector(const ON_2fPoint& ); 10182: ON_2dVector(const ON_3fPoint& ); 10182: ON_2dVector(const float*); 10182: 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: 10182: 10182: ON_2dVector& operator=(const ON_3dVector&); 10182: ON_2dVector& operator=(const ON_2dPoint&); 10182: ON_2dVector& operator=(const ON_3dPoint&); 10182: ON_2dVector& operator=(const double*); 10182: 10182: ON_2dVector& operator=(const ON_2fVector&); 10182: ON_2dVector& operator=(const ON_3fVector&); 10182: ON_2dVector& operator=(const ON_2fPoint&); 10182: ON_2dVector& operator=(const ON_3fPoint&); 10182: ON_2dVector& operator=(const float*); 10182: 10182: ON_2dVector operator-() const; 10182: 10182: ON_2dVector& operator*=(double); 10182: ON_2dVector& operator/=(double); 10182: ON_2dVector& operator+=(const ON_2dVector&); 10182: ON_2dVector& operator-=(const ON_2dVector&); 10182: 10182: 10182: double operator*(const ON_2dVector&) const; 10182: double operator*(const ON_2dPoint&) const; 10182: double operator*(const ON_2fVector&) const; 10182: 10182: ON_2dVector operator*(int) const; 10182: ON_2dVector operator/(int) const; 10182: ON_2dVector operator*(float) const; 10182: ON_2dVector operator/(float) const; 10182: ON_2dVector operator*(double) const; 10182: ON_2dVector operator/(double) const; 10182: 10182: ON_2dVector operator+(const ON_2dVector&) const; 10182: ON_2dPoint operator+(const ON_2dPoint&) const; 10182: ON_2dVector operator-(const ON_2dVector&) const; 10182: ON_2dPoint operator-(const ON_2dPoint&) const; 10182: ON_3dVector operator+(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dVector operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator-(const ON_3dPoint&) const; 10182: 10182: ON_2dVector operator+(const ON_2fVector&) const; 10182: ON_2dPoint operator+(const ON_2fPoint&) const; 10182: ON_2dVector operator-(const ON_2fVector&) const; 10182: ON_2dPoint operator-(const ON_2fPoint&) const; 10182: ON_3dVector operator+(const ON_3fVector&) const; 10182: ON_3dPoint operator+(const ON_3fPoint&) const; 10182: ON_3dVector operator-(const ON_3fVector&) const; 10182: ON_3dPoint operator-(const ON_3fPoint&) const; 10182: 10182: double operator*(const ON_4dPoint&) const; 10182: ON_2dVector operator*(const ON_Xform&) const; 10182: 10182: bool operator==(const ON_2dVector&) const; 10182: bool operator!=(const ON_2dVector&) const; 10182: 10182: 10182: bool operator<=(const ON_2dVector&) const; 10182: bool operator>=(const ON_2dVector&) const; 10182: bool operator<(const ON_2dVector&) const; 10182: bool operator>(const ON_2dVector&) const; 10182: 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsUnsetVector() const; 10182: 10182: 10182: void Set(double x,double y); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: int MinimumCoordinateIndex() const; 10182: double MinimumCoordinate() const; 10182: 10182: double LengthSquared() const; 10182: double Length() const; 10182: 10182: 10182: 10182: double WedgeProduct(const ON_2dVector& B) const; 10182: 10182: bool Decompose( 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_2dVector&, 10182: const ON_2dVector&, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: int IsParallelTo( 10182: 10182: 10182: 10182: 10182: const ON_2dVector& other, 10182: double angle_tolerance = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: bool IsPerpendicularTo( 10182: 10182: 10182: 10182: const ON_2dVector& other, 10182: double angle_tolerance = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: void Zero(); 10182: void Reverse(); 10182: bool Unitize(); 10182: # 850 "/<>/external/onurbs/opennurbs_point.h" 10182: bool IsTiny( 10182: double tiny_tol = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: bool IsZero() const; 10182: 10182: 10182: 10182: bool IsUnitVector() const; 10182: 10182: 10182: bool PerpendicularTo( 10182: 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: bool PerpendicularTo( 10182: const ON_2dPoint&, 10182: const ON_2dPoint& 10182: ); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double angle 10182: ); 10182: 10182: void Rotate( 10182: double sin_angle, 10182: double cos_angle 10182: ); 10182: }; 10182: 10182: 10182: ON_2dVector operator*(int, const ON_2dVector&); 10182: 10182: 10182: ON_2dVector operator*(float, const ON_2dVector&); 10182: 10182: 10182: ON_2dVector operator*(double, const ON_2dVector&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double 10182: ON_DotProduct( 10182: const ON_2dVector&, 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: ON_3dVector 10182: ON_CrossProduct( 10182: const ON_2dVector&, 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: double 10182: ON_WedgeProduct( 10182: const ON_2dVector& A, 10182: const ON_2dVector& B 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthogonalFrame( 10182: const ON_2dVector&, 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthonormalFrame( 10182: const ON_2dVector&, 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsRightHandFrame( 10182: const ON_2dVector&, 10182: const ON_2dVector& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dVector 10182: { 10182: public: 10182: double x, y, z; 10182: 10182: static const ON_3dVector ZeroVector; 10182: static const ON_3dVector XAxis; 10182: static const ON_3dVector YAxis; 10182: static const ON_3dVector ZAxis; 10182: static const ON_3dVector UnsetVector; 10182: # 968 "/<>/external/onurbs/opennurbs_point.h" 10182: static const ON_3dVector& UnitVector( 10182: int 10182: ); 10182: 10182: 10182: ON_3dVector(); 10182: ON_3dVector(double x,double y,double z); 10182: ON_3dVector(const ON_2dVector& ); 10182: ON_3dVector(const ON_2dPoint& ); 10182: ON_3dVector(const ON_3dPoint& ); 10182: ON_3dVector(const double*); 10182: 10182: ON_3dVector(const ON_2fVector& ); 10182: ON_3dVector(const ON_3fVector& ); 10182: ON_3dVector(const ON_2fPoint& ); 10182: ON_3dVector(const ON_3fPoint& ); 10182: ON_3dVector(const float*); 10182: 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: 10182: 10182: ON_3dVector& operator=(const ON_2dVector&); 10182: ON_3dVector& operator=(const ON_2dPoint&); 10182: ON_3dVector& operator=(const ON_3dPoint&); 10182: ON_3dVector& operator=(const double*); 10182: 10182: ON_3dVector& operator=(const ON_2fVector&); 10182: ON_3dVector& operator=(const ON_3fVector&); 10182: ON_3dVector& operator=(const ON_2fPoint&); 10182: ON_3dVector& operator=(const ON_3fPoint&); 10182: ON_3dVector& operator=(const float*); 10182: 10182: ON_3dVector operator-() const; 10182: 10182: ON_3dVector& operator*=(double); 10182: ON_3dVector& operator/=(double); 10182: ON_3dVector& operator+=(const ON_3dVector&); 10182: ON_3dVector& operator-=(const ON_3dVector&); 10182: 10182: 10182: double operator*(const ON_3dVector&) const; 10182: double operator*(const ON_3dPoint&) const; 10182: double operator*(const ON_3fVector&) const; 10182: 10182: ON_3dVector operator*(int) const; 10182: ON_3dVector operator/(int) const; 10182: ON_3dVector operator*(float) const; 10182: ON_3dVector operator/(float) const; 10182: ON_3dVector operator*(double) const; 10182: ON_3dVector operator/(double) const; 10182: 10182: ON_3dVector operator+(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dVector operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator-(const ON_3dPoint&) const; 10182: ON_3dVector operator+(const ON_2dVector&) const; 10182: ON_3dPoint operator+(const ON_2dPoint&) const; 10182: ON_3dVector operator-(const ON_2dVector&) const; 10182: ON_3dPoint operator-(const ON_2dPoint&) const; 10182: 10182: ON_3dVector operator+(const ON_3fVector&) const; 10182: ON_3dPoint operator+(const ON_3fPoint&) const; 10182: ON_3dVector operator-(const ON_3fVector&) const; 10182: ON_3dPoint operator-(const ON_3fPoint&) const; 10182: ON_3dVector operator+(const ON_2fVector&) const; 10182: ON_3dPoint operator+(const ON_2fPoint&) const; 10182: ON_3dVector operator-(const ON_2fVector&) const; 10182: ON_3dPoint operator-(const ON_2fPoint&) const; 10182: 10182: double operator*(const ON_4dPoint&) const; 10182: ON_3dVector operator*(const ON_Xform&) const; 10182: 10182: bool operator==(const ON_3dVector&) const; 10182: bool operator!=(const ON_3dVector&) const; 10182: 10182: 10182: bool operator<=(const ON_3dVector&) const; 10182: bool operator>=(const ON_3dVector&) const; 10182: bool operator<(const ON_3dVector&) const; 10182: bool operator>(const ON_3dVector&) const; 10182: 10182: 10182: double& operator[](int); 10182: double operator[](int) const; 10182: double& operator[](unsigned int); 10182: double operator[](unsigned int) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsUnsetVector() const; 10182: 10182: 10182: void Set(double x,double y,double z); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: int MinimumCoordinateIndex() const; 10182: double MinimumCoordinate() const; 10182: 10182: double LengthSquared() const; 10182: double Length() const; 10182: 10182: bool Decompose( 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: double*, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: int IsParallelTo( 10182: 10182: 10182: 10182: 10182: const ON_3dVector& other, 10182: double angle_tolerance = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: bool IsPerpendicularTo( 10182: 10182: 10182: 10182: const ON_3dVector& other, 10182: double angle_tolerance = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: double Fuzz( double tolerance = 2.3283064365386962890625e-10 ) const; 10182: 10182: void Zero(); 10182: void Reverse(); 10182: bool Unitize(); 10182: double LengthAndUnitize(); 10182: # 1130 "/<>/external/onurbs/opennurbs_point.h" 10182: bool IsTiny( 10182: double tiny_tol = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: bool IsZero() const; 10182: 10182: 10182: 10182: bool IsUnitVector() const; 10182: 10182: 10182: bool PerpendicularTo( 10182: 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: bool PerpendicularTo( 10182: 10182: 10182: 10182: 10182: const ON_3dPoint&, const ON_3dPoint&, const ON_3dPoint& 10182: ); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double angle, 10182: const ON_3dVector& axis 10182: ); 10182: 10182: void Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis 10182: ); 10182: }; 10182: 10182: class ON_3dRay 10182: { 10182: public: 10182: ON_3dRay(); 10182: ~ON_3dRay(); 10182: 10182: ON_3dPoint m_P; 10182: ON_3dVector m_V; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_PlaneEquation : public ON_3dVector 10182: { 10182: public: 10182: 10182: 10182: 10182: static const ON_PlaneEquation UnsetPlaneEquation; 10182: static const ON_PlaneEquation ZeroPlaneEquation; 10182: 10182: ON_PlaneEquation(); 10182: 10182: ON_PlaneEquation(double xx, double yy, double zz, double dd); 10182: # 1211 "/<>/external/onurbs/opennurbs_point.h" 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: # 1230 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Create( ON_3dPoint P, ON_3dVector N ); 10182: # 1240 "/<>/external/onurbs/opennurbs_point.h" 10182: double ValueAt(ON_3dPoint P) const; 10182: double ValueAt(ON_4dPoint P) const; 10182: double ValueAt(ON_3dVector P) const; 10182: double ValueAt(double x, double y, double z) const; 10182: # 1265 "/<>/external/onurbs/opennurbs_point.h" 10182: double* ValueAt( 10182: int Pcount, 10182: const ON_3fPoint* P, 10182: double* value, 10182: double value_range[2] 10182: ) const; 10182: 10182: double* ValueAt( 10182: int Pcount, 10182: const ON_3dPoint* P, 10182: double* value, 10182: double value_range[2] 10182: ) const; 10182: # 1286 "/<>/external/onurbs/opennurbs_point.h" 10182: double ZeroTolerance() const; 10182: # 1307 "/<>/external/onurbs/opennurbs_point.h" 10182: bool Transform( const ON_Xform& xform ); 10182: # 1317 "/<>/external/onurbs/opennurbs_point.h" 10182: ON_3dPoint ClosestPointTo( ON_3dPoint point ) const; 10182: # 1328 "/<>/external/onurbs/opennurbs_point.h" 10182: double MinimumValueAt(const ON_BoundingBox& bbox) const; 10182: # 1339 "/<>/external/onurbs/opennurbs_point.h" 10182: double MaximumValueAt(const ON_BoundingBox& bbox) const; 10182: # 1362 "/<>/external/onurbs/opennurbs_point.h" 10182: double MaximumValueAt( 10182: bool bRational, 10182: int point_count, 10182: int point_stride, 10182: const double* points, 10182: double stop_value 10182: ) const; 10182: # 1391 "/<>/external/onurbs/opennurbs_point.h" 10182: double MinimumValueAt( 10182: bool bRational, 10182: int point_count, 10182: int point_stride, 10182: const double* points, 10182: double stop_value 10182: ) const; 10182: # 1421 "/<>/external/onurbs/opennurbs_point.h" 10182: double MaximumAbsoluteValueAt( 10182: bool bRational, 10182: int point_count, 10182: int point_stride, 10182: const double* points, 10182: double stop_value 10182: ) const; 10182: # 1453 "/<>/external/onurbs/opennurbs_point.h" 10182: bool IsNearerThan( 10182: const class ON_BezierCurve& bezcrv, 10182: double s0, 10182: double s1, 10182: int sample_count, 10182: double endpoint_tolerance, 10182: double interior_tolerance, 10182: double* smin, 10182: double* smax 10182: ) const; 10182: 10182: bool operator==(const ON_PlaneEquation&) const; 10182: bool operator!=(const ON_PlaneEquation&) const; 10182: 10182: double d; 10182: }; 10182: 10182: 10182: ON_3dVector operator*(int, const ON_3dVector&); 10182: 10182: 10182: ON_3dVector operator*(float, const ON_3dVector&); 10182: 10182: 10182: ON_3dVector operator*(double, const ON_3dVector&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double 10182: ON_DotProduct( 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: 10182: ON_3dVector 10182: ON_CrossProduct( 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: ON_3dVector 10182: ON_CrossProduct( 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: double 10182: ON_TripleProduct( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: double 10182: ON_TripleProduct( 10182: const double*, 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthogonalFrame( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthonormalFrame( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsRightHandFrame( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: # 1554 "/<>/external/onurbs/opennurbs_point.h" 10182: extern const ON_3dPoint ON_UNSET_POINT; 10182: 10182: 10182: extern const ON_3dVector ON_UNSET_VECTOR; 10182: 10182: 10182: extern const ON_3dPoint ON_origin; 10182: 10182: 10182: extern const ON_3dVector ON_xaxis; 10182: 10182: 10182: extern const ON_3dVector ON_yaxis; 10182: 10182: 10182: extern const ON_3dVector ON_zaxis; 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_fpoint.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_fpoint.h" 10182: class ON_Xform; 10182: 10182: class ON_2fPoint; 10182: class ON_3fPoint; 10182: class ON_4fPoint; 10182: 10182: class ON_2fVector; 10182: class ON_3fVector; 10182: 10182: 10182: 10182: 10182: 10182: class ON_2fPoint 10182: { 10182: public: 10182: float x, y; 10182: 10182: static const ON_2fPoint Origin; 10182: 10182: 10182: ON_2fPoint(); 10182: ON_2fPoint(float x,float y); 10182: 10182: ON_2fPoint(const ON_3fPoint& ); 10182: ON_2fPoint(const ON_4fPoint& ); 10182: ON_2fPoint(const ON_2fVector& ); 10182: ON_2fPoint(const ON_3fVector& ); 10182: ON_2fPoint(const float*); 10182: 10182: ON_2fPoint(const ON_2dPoint& ); 10182: ON_2fPoint(const ON_3dPoint& ); 10182: ON_2fPoint(const ON_4dPoint& ); 10182: ON_2fPoint(const ON_2dVector& ); 10182: ON_2fPoint(const ON_3dVector& ); 10182: ON_2fPoint(const double*); 10182: 10182: 10182: operator float*(); 10182: operator const float*() const; 10182: 10182: 10182: ON_2fPoint& operator=(const ON_3fPoint&); 10182: ON_2fPoint& operator=(const ON_4fPoint&); 10182: ON_2fPoint& operator=(const ON_2fVector&); 10182: ON_2fPoint& operator=(const ON_3fVector&); 10182: ON_2fPoint& operator=(const float*); 10182: 10182: ON_2fPoint& operator=(const ON_2dPoint&); 10182: ON_2fPoint& operator=(const ON_3dPoint&); 10182: ON_2fPoint& operator=(const ON_4dPoint&); 10182: ON_2fPoint& operator=(const ON_2dVector&); 10182: ON_2fPoint& operator=(const ON_3dVector&); 10182: ON_2fPoint& operator=(const double*); 10182: 10182: ON_2fPoint& operator*=(float); 10182: ON_2fPoint& operator/=(float); 10182: ON_2fPoint& operator+=(const ON_2fPoint&); 10182: ON_2fPoint& operator+=(const ON_2fVector&); 10182: ON_2fPoint& operator+=(const ON_3fVector&); 10182: ON_2fPoint& operator-=(const ON_2fPoint&); 10182: ON_2fPoint& operator-=(const ON_2fVector&); 10182: ON_2fPoint& operator-=(const ON_3fVector&); 10182: 10182: ON_2fPoint operator*(int) const; 10182: ON_2fPoint operator/(int) const; 10182: ON_2fPoint operator*(float) const; 10182: ON_2fPoint operator/(float) const; 10182: ON_2dPoint operator*(double) const; 10182: ON_2dPoint operator/(double) const; 10182: 10182: ON_2fPoint operator+(const ON_2fPoint&) const; 10182: ON_2fPoint operator+(const ON_2fVector&) const; 10182: ON_2fVector operator-(const ON_2fPoint&) const; 10182: ON_2fPoint operator-(const ON_2fVector&) const; 10182: ON_3fPoint operator+(const ON_3fPoint&) const; 10182: ON_3fPoint operator+(const ON_3fVector&) const; 10182: ON_3fVector operator-(const ON_3fPoint&) const; 10182: ON_3fPoint operator-(const ON_3fVector&) const; 10182: 10182: ON_2dPoint operator+(const ON_2dPoint&) const; 10182: ON_2dPoint operator+(const ON_2dVector&) const; 10182: ON_2dVector operator-(const ON_2dPoint&) const; 10182: ON_2dPoint operator-(const ON_2dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dPoint operator+(const ON_3dVector&) const; 10182: ON_3dVector operator-(const ON_3dPoint&) const; 10182: ON_3dPoint operator-(const ON_3dVector&) const; 10182: 10182: float operator*(const ON_2fPoint&) const; 10182: float operator*(const ON_2fVector&) const; 10182: float operator*(const ON_4fPoint&) const; 10182: 10182: bool operator==(const ON_2fPoint&) const; 10182: bool operator!=(const ON_2fPoint&) const; 10182: 10182: 10182: bool operator<=(const ON_2fPoint&) const; 10182: bool operator>=(const ON_2fPoint&) const; 10182: bool operator<(const ON_2fPoint&) const; 10182: bool operator>(const ON_2fPoint&) const; 10182: 10182: 10182: float& operator[](int); 10182: float operator[](int) const; 10182: float& operator[](unsigned int); 10182: float operator[](unsigned int) const; 10182: 10182: 10182: void Set(float,float); 10182: 10182: double DistanceTo( const ON_2fPoint& ) const; 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: const ON_2fPoint& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: double, 10182: const ON_2fPoint& 10182: ); 10182: }; 10182: 10182: 10182: ON_2fPoint operator*(int, const ON_2fPoint&); 10182: 10182: 10182: ON_2fPoint operator*(float, const ON_2fPoint&); 10182: 10182: 10182: ON_2dPoint operator*(double, const ON_2fPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_3fPoint 10182: { 10182: public: 10182: float x, y, z; 10182: 10182: static const ON_3fPoint Origin; 10182: 10182: 10182: ON_3fPoint(); 10182: ON_3fPoint(float x,float y,float z); 10182: ON_3fPoint(const ON_2fPoint& ); 10182: ON_3fPoint(const ON_4fPoint& ); 10182: ON_3fPoint(const ON_2fVector& ); 10182: ON_3fPoint(const ON_3fVector& ); 10182: ON_3fPoint(const float*); 10182: 10182: ON_3fPoint(const ON_2dPoint& ); 10182: ON_3fPoint(const ON_3dPoint& ); 10182: ON_3fPoint(const ON_4dPoint& ); 10182: ON_3fPoint(const ON_2dVector& ); 10182: ON_3fPoint(const ON_3dVector& ); 10182: ON_3fPoint(const double*); 10182: 10182: 10182: operator float*(); 10182: operator const float*() const; 10182: 10182: 10182: ON_3fPoint& operator=(const ON_2fPoint&); 10182: ON_3fPoint& operator=(const ON_4fPoint&); 10182: ON_3fPoint& operator=(const ON_2fVector&); 10182: ON_3fPoint& operator=(const ON_3fVector&); 10182: ON_3fPoint& operator=(const float*); 10182: 10182: ON_3fPoint& operator=(const ON_2dPoint&); 10182: ON_3fPoint& operator=(const ON_3dPoint&); 10182: ON_3fPoint& operator=(const ON_4dPoint&); 10182: ON_3fPoint& operator=(const ON_2dVector&); 10182: ON_3fPoint& operator=(const ON_3dVector&); 10182: ON_3fPoint& operator=(const double*); 10182: 10182: ON_3fPoint& operator*=(float); 10182: ON_3fPoint& operator/=(float); 10182: ON_3fPoint& operator+=(const ON_3fPoint&); 10182: ON_3fPoint& operator+=(const ON_3fVector&); 10182: ON_3fPoint& operator-=(const ON_3fPoint&); 10182: ON_3fPoint& operator-=(const ON_3fVector&); 10182: 10182: ON_3fPoint operator*(int) const; 10182: ON_3fPoint operator/(int) const; 10182: ON_3fPoint operator*(float) const; 10182: ON_3fPoint operator/(float) const; 10182: ON_3dPoint operator*(double) const; 10182: ON_3dPoint operator/(double) const; 10182: 10182: ON_3fPoint operator+(const ON_3fPoint&) const; 10182: ON_3fPoint operator+(const ON_3fVector&) const; 10182: ON_3fVector operator-(const ON_3fPoint&) const; 10182: ON_3fPoint operator-(const ON_3fVector&) const; 10182: ON_3fPoint operator+(const ON_2fPoint&) const; 10182: ON_3fPoint operator+(const ON_2fVector&) const; 10182: ON_3fVector operator-(const ON_2fPoint&) const; 10182: ON_3fPoint operator-(const ON_2fVector&) const; 10182: 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dPoint operator+(const ON_3dVector&) const; 10182: ON_3dVector operator-(const ON_3dPoint&) const; 10182: ON_3dPoint operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_2dPoint&) const; 10182: ON_3dPoint operator+(const ON_2dVector&) const; 10182: ON_3dVector operator-(const ON_2dPoint&) const; 10182: ON_3dPoint operator-(const ON_2dVector&) const; 10182: 10182: float operator*(const ON_3fPoint&) const; 10182: float operator*(const ON_3fVector&) const; 10182: float operator*(const ON_4fPoint&) const; 10182: 10182: bool operator==(const ON_3fPoint&) const; 10182: bool operator!=(const ON_3fPoint&) const; 10182: 10182: 10182: bool operator<=(const ON_3fPoint&) const; 10182: bool operator>=(const ON_3fPoint&) const; 10182: bool operator<(const ON_3fPoint&) const; 10182: bool operator>(const ON_3fPoint&) const; 10182: 10182: 10182: float& operator[](int); 10182: float operator[](int) const; 10182: float& operator[](unsigned int); 10182: float operator[](unsigned int) const; 10182: 10182: 10182: void Set(float,float,float); 10182: 10182: double DistanceTo( const ON_3fPoint& ) const; 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: double Fuzz( double = 2.3283064365386962890625e-10 ) const; 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: const ON_3fVector&, 10182: const ON_3fPoint& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: double, 10182: const ON_3fVector&, 10182: const ON_3fPoint& 10182: ); 10182: }; 10182: 10182: 10182: ON_3fPoint operator*(int, const ON_3fPoint&); 10182: 10182: 10182: ON_3fPoint operator*(float, const ON_3fPoint&); 10182: 10182: 10182: ON_3dPoint operator*(double, const ON_3fPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_4fPoint 10182: { 10182: public: 10182: float x, y, z, w; 10182: 10182: 10182: ON_4fPoint(); 10182: ON_4fPoint(float x,float y,float z,float w); 10182: 10182: ON_4fPoint(const ON_2fPoint& ); 10182: ON_4fPoint(const ON_3fPoint& ); 10182: ON_4fPoint(const ON_2fVector& ); 10182: ON_4fPoint(const ON_3fVector& ); 10182: ON_4fPoint(const float*); 10182: 10182: ON_4fPoint(const ON_2dPoint& ); 10182: ON_4fPoint(const ON_3dPoint& ); 10182: ON_4fPoint(const ON_4dPoint& ); 10182: ON_4fPoint(const ON_2dVector& ); 10182: ON_4fPoint(const ON_3dVector& ); 10182: ON_4fPoint(const double*); 10182: 10182: 10182: operator float*(); 10182: operator const float*() const; 10182: 10182: 10182: ON_4fPoint& operator=(const ON_2fPoint&); 10182: ON_4fPoint& operator=(const ON_3fPoint&); 10182: ON_4fPoint& operator=(const ON_2fVector&); 10182: ON_4fPoint& operator=(const ON_3fVector&); 10182: ON_4fPoint& operator=(const float*); 10182: 10182: ON_4fPoint& operator=(const ON_2dPoint&); 10182: ON_4fPoint& operator=(const ON_3dPoint&); 10182: ON_4fPoint& operator=(const ON_4dPoint&); 10182: ON_4fPoint& operator=(const ON_2dVector&); 10182: ON_4fPoint& operator=(const ON_3dVector&); 10182: ON_4fPoint& operator=(const double*); 10182: 10182: ON_4fPoint& operator*=(float); 10182: ON_4fPoint& operator/=(float); 10182: ON_4fPoint& operator+=(const ON_4fPoint&); 10182: ON_4fPoint& operator-=(const ON_4fPoint&); 10182: 10182: ON_4fPoint operator*(float) const; 10182: ON_4fPoint operator/(float) const; 10182: ON_4fPoint operator+(const ON_4fPoint&) const; 10182: ON_4fPoint operator-(const ON_4fPoint&) const; 10182: 10182: float operator*(const ON_4fPoint&) const; 10182: 10182: 10182: 10182: bool operator==(ON_4fPoint) const; 10182: bool operator!=(const ON_4fPoint&) const; 10182: 10182: 10182: float& operator[](int); 10182: float operator[](int) const; 10182: float& operator[](unsigned int); 10182: float operator[](unsigned int) const; 10182: 10182: 10182: void Set(float,float,float,float); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: void Zero(); 10182: bool Normalize(); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: }; 10182: 10182: 10182: ON_4fPoint operator*(float, const ON_4fPoint&); 10182: 10182: 10182: ON_4dPoint operator*(double, const ON_4fPoint&); 10182: 10182: 10182: 10182: 10182: 10182: class ON_2fVector 10182: { 10182: public: 10182: float x, y; 10182: 10182: static const ON_2fVector ZeroVector; 10182: static const ON_2fVector XAxis; 10182: static const ON_2fVector YAxis; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const ON_2fVector& UnitVector( 10182: int 10182: ); 10182: 10182: 10182: ON_2fVector(); 10182: ON_2fVector(float x,float y); 10182: ON_2fVector(const ON_2fPoint& ); 10182: ON_2fVector(const ON_3fPoint& ); 10182: ON_2fVector(const ON_4fPoint& ); 10182: ON_2fVector(const ON_3fVector& ); 10182: ON_2fVector(const float*); 10182: 10182: ON_2fVector(const ON_2dPoint& ); 10182: ON_2fVector(const ON_3dPoint& ); 10182: ON_2fVector(const ON_4dPoint& ); 10182: ON_2fVector(const ON_2dVector& ); 10182: ON_2fVector(const ON_3dVector& ); 10182: ON_2fVector(const double*); 10182: 10182: 10182: operator float*(); 10182: operator const float*() const; 10182: 10182: 10182: ON_2fVector& operator=(const ON_2fPoint&); 10182: ON_2fVector& operator=(const ON_3fPoint&); 10182: ON_2fVector& operator=(const ON_3fVector&); 10182: ON_2fVector& operator=(const float*); 10182: 10182: ON_2fVector& operator=(const ON_2dPoint&); 10182: ON_2fVector& operator=(const ON_3dPoint&); 10182: ON_2fVector& operator=(const ON_2dVector&); 10182: ON_2fVector& operator=(const ON_3dVector&); 10182: ON_2fVector& operator=(const double*); 10182: 10182: ON_2fVector operator-() const; 10182: 10182: ON_2fVector& operator*=(float); 10182: ON_2fVector& operator/=(float); 10182: ON_2fVector& operator+=(const ON_2fVector&); 10182: ON_2fVector& operator-=(const ON_2fVector&); 10182: 10182: float operator*(const ON_2fVector&) const; 10182: float operator*(const ON_2fPoint&) const; 10182: double operator*(const ON_2dVector&) const; 10182: 10182: ON_2fVector operator*(int) const; 10182: ON_2fVector operator/(int) const; 10182: ON_2fVector operator*(float) const; 10182: ON_2fVector operator/(float) const; 10182: ON_2dVector operator*(double) const; 10182: ON_2dVector operator/(double) const; 10182: 10182: ON_2fVector operator+(const ON_2fVector&) const; 10182: ON_2fPoint operator+(const ON_2fPoint&) const; 10182: ON_2fVector operator-(const ON_2fVector&) const; 10182: ON_2fPoint operator-(const ON_2fPoint&) const; 10182: ON_3fVector operator+(const ON_3fVector&) const; 10182: ON_3fPoint operator+(const ON_3fPoint&) const; 10182: ON_3fVector operator-(const ON_3fVector&) const; 10182: ON_3fPoint operator-(const ON_3fPoint&) const; 10182: 10182: ON_2dVector operator+(const ON_2dVector&) const; 10182: ON_2dPoint operator+(const ON_2dPoint&) const; 10182: ON_2dVector operator-(const ON_2dVector&) const; 10182: ON_2dPoint operator-(const ON_2dPoint&) const; 10182: ON_3dVector operator+(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dVector operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator-(const ON_3dPoint&) const; 10182: 10182: float operator*(const ON_4fPoint&) const; 10182: 10182: bool operator==(const ON_2fVector&) const; 10182: bool operator!=(const ON_2fVector&) const; 10182: 10182: 10182: bool operator<=(const ON_2fVector&) const; 10182: bool operator>=(const ON_2fVector&) const; 10182: bool operator<(const ON_2fVector&) const; 10182: bool operator>(const ON_2fVector&) const; 10182: 10182: 10182: float& operator[](int); 10182: float operator[](int) const; 10182: float& operator[](unsigned int); 10182: float operator[](unsigned int) const; 10182: 10182: 10182: void Set(float,float); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: double LengthSquared() const; 10182: double Length() const; 10182: 10182: bool Decompose( 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_2fVector&, 10182: const ON_2fVector&, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: int IsParallelTo( 10182: 10182: 10182: 10182: 10182: const ON_2fVector&, 10182: double = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: bool IsPerpendicularTo( 10182: 10182: 10182: 10182: const ON_2fVector&, 10182: double = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: void Zero(); 10182: void Reverse(); 10182: bool Unitize(); 10182: bool IsUnitVector() const; 10182: # 557 "/<>/external/onurbs/opennurbs_fpoint.h" 10182: bool IsTiny( 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: bool IsZero() const; 10182: 10182: 10182: bool PerpendicularTo( 10182: 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: bool PerpendicularTo( 10182: const ON_2fPoint&, 10182: const ON_2fPoint& 10182: ); 10182: }; 10182: 10182: 10182: ON_2fVector operator*(int, const ON_2fVector&); 10182: 10182: 10182: ON_2fVector operator*(float, const ON_2fVector&); 10182: 10182: 10182: ON_2dVector operator*(double, const ON_2fVector&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: float 10182: ON_DotProduct( 10182: const ON_2fVector&, 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: ON_3fVector 10182: ON_CrossProduct( 10182: const ON_2fVector&, 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthogonalFrame( 10182: const ON_2fVector&, 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthonormalFrame( 10182: const ON_2fVector&, 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsRightHandFrame( 10182: const ON_2fVector&, 10182: const ON_2fVector& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: class ON_3fVector 10182: { 10182: public: 10182: float x, y, z; 10182: 10182: static const ON_3fVector ZeroVector; 10182: static const ON_3fVector XAxis; 10182: static const ON_3fVector YAxis; 10182: static const ON_3fVector ZAxis; 10182: # 648 "/<>/external/onurbs/opennurbs_fpoint.h" 10182: static const ON_3fVector& UnitVector( 10182: int 10182: ); 10182: 10182: 10182: ON_3fVector(); 10182: ON_3fVector(float x,float y,float z); 10182: 10182: ON_3fVector(const ON_2fPoint& ); 10182: ON_3fVector(const ON_3fPoint& ); 10182: ON_3fVector(const ON_4fPoint& ); 10182: ON_3fVector(const ON_2fVector& ); 10182: ON_3fVector(const float*); 10182: 10182: ON_3fVector(const ON_2dPoint& ); 10182: ON_3fVector(const ON_3dPoint& ); 10182: ON_3fVector(const ON_4dPoint& ); 10182: ON_3fVector(const ON_2dVector& ); 10182: ON_3fVector(const ON_3dVector& ); 10182: ON_3fVector(const double*); 10182: 10182: 10182: operator float*(); 10182: operator const float*() const; 10182: 10182: 10182: ON_3fVector& operator=(const ON_2fPoint&); 10182: ON_3fVector& operator=(const ON_3fPoint&); 10182: ON_3fVector& operator=(const ON_4fPoint&); 10182: ON_3fVector& operator=(const ON_2fVector&); 10182: ON_3fVector& operator=(const float*); 10182: 10182: ON_3fVector& operator=(const ON_2dPoint&); 10182: ON_3fVector& operator=(const ON_3dPoint&); 10182: ON_3fVector& operator=(const ON_4dPoint&); 10182: ON_3fVector& operator=(const ON_2dVector&); 10182: ON_3fVector& operator=(const ON_3dVector&); 10182: ON_3fVector& operator=(const double*); 10182: 10182: ON_3fVector operator-() const; 10182: 10182: ON_3fVector& operator*=(float); 10182: ON_3fVector& operator/=(float); 10182: ON_3fVector& operator+=(const ON_3fVector&); 10182: ON_3fVector& operator-=(const ON_3fVector&); 10182: 10182: float operator*(const ON_3fVector&) const; 10182: float operator*(const ON_3fPoint&) const; 10182: double operator*(const ON_3dVector&) const; 10182: 10182: ON_3fVector operator*(int) const; 10182: ON_3fVector operator/(int) const; 10182: ON_3fVector operator*(float) const; 10182: ON_3fVector operator/(float) const; 10182: ON_3dVector operator*(double) const; 10182: ON_3dVector operator/(double) const; 10182: 10182: ON_3fVector operator+(const ON_3fVector&) const; 10182: ON_3fPoint operator+(const ON_3fPoint&) const; 10182: ON_3fVector operator-(const ON_3fVector&) const; 10182: ON_3fPoint operator-(const ON_3fPoint&) const; 10182: ON_3fVector operator+(const ON_2fVector&) const; 10182: ON_3fPoint operator+(const ON_2fPoint&) const; 10182: ON_3fVector operator-(const ON_2fVector&) const; 10182: ON_3fPoint operator-(const ON_2fPoint&) const; 10182: 10182: ON_3dVector operator+(const ON_3dVector&) const; 10182: ON_3dPoint operator+(const ON_3dPoint&) const; 10182: ON_3dVector operator-(const ON_3dVector&) const; 10182: ON_3dPoint operator-(const ON_3dPoint&) const; 10182: ON_3dVector operator+(const ON_2dVector&) const; 10182: ON_3dPoint operator+(const ON_2dPoint&) const; 10182: ON_3dVector operator-(const ON_2dVector&) const; 10182: ON_3dPoint operator-(const ON_2dPoint&) const; 10182: 10182: float operator*(const ON_4fPoint&) const; 10182: 10182: bool operator==(const ON_3fVector&) const; 10182: bool operator!=(const ON_3fVector&) const; 10182: 10182: 10182: bool operator<=(const ON_3fVector&) const; 10182: bool operator>=(const ON_3fVector&) const; 10182: bool operator<(const ON_3fVector&) const; 10182: bool operator>(const ON_3fVector&) const; 10182: 10182: 10182: float& operator[](int); 10182: float operator[](int) const; 10182: float& operator[](unsigned int); 10182: float operator[](unsigned int) const; 10182: 10182: 10182: void Set(float,float,float); 10182: 10182: int MaximumCoordinateIndex() const; 10182: double MaximumCoordinate() const; 10182: 10182: double LengthSquared() const; 10182: double Length() const; 10182: 10182: bool IsPerpendicularTo( 10182: 10182: 10182: 10182: const ON_3fVector&, 10182: double = (3.141592653589793238462643/180.0) 10182: ) const; 10182: 10182: double Fuzz( double = 2.3283064365386962890625e-10 ) const; 10182: 10182: void Zero(); 10182: void Reverse(); 10182: bool Unitize(); 10182: bool IsUnitVector() const; 10182: # 774 "/<>/external/onurbs/opennurbs_fpoint.h" 10182: bool IsTiny( 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: bool IsZero() const; 10182: 10182: 10182: bool PerpendicularTo( 10182: 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: 10182: void Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: const ON_3fVector& 10182: ); 10182: 10182: void Rotate( 10182: double, 10182: double, 10182: const ON_3fVector& 10182: ); 10182: }; 10182: 10182: 10182: ON_3fVector operator*(int, const ON_3fVector&); 10182: 10182: 10182: ON_3fVector operator*(float, const ON_3fVector&); 10182: 10182: 10182: ON_3dVector operator*(double, const ON_3fVector&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: float 10182: ON_DotProduct( 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: 10182: ON_3fVector 10182: ON_CrossProduct( 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: ON_3fVector 10182: ON_CrossProduct( 10182: const float*, 10182: const float* 10182: ); 10182: 10182: 10182: float 10182: ON_TripleProduct( 10182: const ON_3fVector&, 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: float 10182: ON_TripleProduct( 10182: const float*, 10182: const float*, 10182: const float* 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthogonalFrame( 10182: const ON_3fVector&, 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsOrthonormalFrame( 10182: const ON_3fVector&, 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: bool 10182: ON_IsRightHandFrame( 10182: const ON_3fVector&, 10182: const ON_3fVector&, 10182: const ON_3fVector& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern const ON_3fPoint ON_forigin; 10182: 10182: 10182: extern const ON_3fVector ON_fxaxis; 10182: 10182: 10182: extern const ON_3fVector ON_fyaxis; 10182: 10182: 10182: extern const ON_3fVector ON_fzaxis; 10182: # 1572 "/<>/external/onurbs/opennurbs_point.h" 2 10182: 10182: 10182: 10182: 10182: 10182: class ON_SurfaceCurvature 10182: { 10182: public: 10182: double k1, k2; 10182: 10182: double GaussianCurvature() const; 10182: double MeanCurvature() const; 10182: double MinimumRadius() const; 10182: double MaximumRadius() const; 10182: }; 10182: # 50 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_array.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_array.h" 10182: class ON_2dPointArray; 10182: class ON_3dPointArray; 10182: class ON_4dPointArray; 10182: 10182: class ON_2dVectorArray; 10182: class ON_3dVectorArray; 10182: 10182: class ON_2fPointArray; 10182: class ON_3fPointArray; 10182: class ON_4fPointArray; 10182: 10182: class ON_2fVectorArray; 10182: class ON_3fVectorArray; 10182: # 48 "/<>/external/onurbs/opennurbs_array.h" 10182: template class ON_SimpleArray 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray(); 10182: ON_SimpleArray( int ); 10182: 10182: 10182: ON_SimpleArray( const ON_SimpleArray& ); 10182: 10182: virtual 10182: ~ON_SimpleArray(); 10182: 10182: 10182: virtual 10182: ON_SimpleArray& operator=( const ON_SimpleArray& ); 10182: 10182: 10182: void EmergencyDestroy(void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: unsigned int UnsignedCount() const; 10182: 10182: int Capacity() const; 10182: 10182: unsigned int SizeOfArray() const; 10182: 10182: unsigned int SizeOfElement() const; 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: 10182: T& operator[]( int ); 10182: T& operator[]( unsigned int ); 10182: T& operator[]( ON__INT64 ); 10182: T& operator[]( ON__UINT64 ); 10182: const T& operator[]( int ) const; 10182: const T& operator[]( unsigned int ) const; 10182: const T& operator[]( ON__INT64 ) const; 10182: const T& operator[]( ON__UINT64 ) const; 10182: 10182: operator T*(); 10182: operator const T*() const; 10182: 10182: 10182: T* First(); 10182: const T* First() const; 10182: 10182: 10182: T* At( int ); 10182: T* At( unsigned int ); 10182: T* At( ON__INT64 ); 10182: T* At( ON__UINT64 ); 10182: const T* At( int ) const; 10182: const T* At( unsigned int ) const; 10182: const T* At( ON__INT64 ) const; 10182: const T* At( ON__UINT64 ) const; 10182: 10182: T* Last(); 10182: const T* Last() const; 10182: 10182: 10182: 10182: 10182: T& AppendNew(); 10182: 10182: 10182: 10182: void Append( const T& ); 10182: 10182: 10182: void Append( int, const T* ); 10182: 10182: 10182: void Insert( int, const T& ); 10182: 10182: 10182: 10182: 10182: void Remove(); 10182: 10182: 10182: virtual 10182: void Remove( int ); 10182: 10182: 10182: 10182: 10182: void Empty(); 10182: 10182: void Reverse(); 10182: 10182: void Swap(int,int); 10182: # 162 "/<>/external/onurbs/opennurbs_array.h" 10182: int Search( const T& ) const; 10182: # 172 "/<>/external/onurbs/opennurbs_array.h" 10182: int Search( const T*, int (*)(const T*,const T*) ) const; 10182: # 192 "/<>/external/onurbs/opennurbs_array.h" 10182: int BinarySearch( const T*, int (*)(const T*,const T*) ) const; 10182: int BinarySearch( const T*, int (*)(const T*,const T*), int ) const; 10182: 10182: 10182: 10182: 10182: bool HeapSort( int (*)(const T*,const T*) ); 10182: 10182: 10182: 10182: 10182: bool QuickSort( int (*)(const T*,const T*) ); 10182: # 224 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Sort( 10182: ON::sort_algorithm sort_algorithm, 10182: int* , 10182: int (*)(const T*,const T*) 10182: ) const; 10182: # 251 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Sort( 10182: ON::sort_algorithm sort_algorithm, 10182: int*, 10182: int (*)(const T*,const T*,void*), 10182: void* 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool Permute( const int* ); 10182: 10182: 10182: 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: 10182: void MemSet(unsigned char); 10182: 10182: 10182: 10182: void Reserve( int ); 10182: 10182: void Shrink(); 10182: 10182: void Destroy(); 10182: # 302 "/<>/external/onurbs/opennurbs_array.h" 10182: virtual 10182: T* Realloc(T*,int); 10182: 10182: T* Array(); 10182: 10182: const T* Array() const; 10182: 10182: void SetCount( int ); 10182: 10182: 10182: void SetCapacity( int ); 10182: 10182: 10182: 10182: 10182: int NewCapacity() const; 10182: # 329 "/<>/external/onurbs/opennurbs_array.h" 10182: T* KeepArray(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetArray(T*); 10182: # 349 "/<>/external/onurbs/opennurbs_array.h" 10182: void SetArray(T*, int, int); 10182: 10182: protected: 10182: 10182: void Move( int , int , int ); 10182: T* m_a; 10182: int m_count; 10182: int m_capacity; 10182: }; 10182: # 417 "/<>/external/onurbs/opennurbs_array.h" 10182: class ON_2dPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_2dPointArray(); 10182: ON_2dPointArray(int); 10182: ON_2dPointArray( const ON_2dPointArray& ); 10182: ON_2dPointArray& operator=( const ON_2dPointArray& ); 10182: 10182: bool GetBBox( 10182: double boxmin[2], 10182: double boxmax[2], 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_2fPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_2fPointArray(); 10182: ON_2fPointArray(int); 10182: ON_2fPointArray(const ON_2fPointArray&); 10182: ON_2fPointArray& operator=( const ON_2fPointArray& ); 10182: 10182: bool GetBBox( 10182: float boxmin[2], 10182: float boxmax[2], 10182: int bGrowBox = false 10182: ) const; 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_3dPointArray(); 10182: ON_3dPointArray(int); 10182: ON_3dPointArray(const ON_SimpleArray&); 10182: ON_3dPointArray& operator=( const ON_3dPointArray& ); 10182: ON_3dPointArray(const ON_SimpleArray&); 10182: ON_3dPointArray& operator=( const ON_SimpleArray& ); 10182: # 481 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Create( 10182: int point_dimension, 10182: int bRational, 10182: int point_count, 10182: int point_stride, 10182: const double* points 10182: ); 10182: # 497 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Create( 10182: int point_dimension, 10182: int bRational, 10182: int point_count, 10182: int point_stride, 10182: const float* points 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 522 "/<>/external/onurbs/opennurbs_array.h" 10182: bool GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false 10182: ) const; 10182: # 538 "/<>/external/onurbs/opennurbs_array.h" 10182: bool GetBBox( 10182: double boxmin[3], 10182: double boxmax[3], 10182: int bGrowBox = false 10182: ) const; 10182: # 560 "/<>/external/onurbs/opennurbs_array.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 586 "/<>/external/onurbs/opennurbs_array.h" 10182: bool SwapCoordinates( 10182: int i, 10182: int j 10182: ); 10182: # 602 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: # 620 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Translate( 10182: const ON_3dVector& delta 10182: ); 10182: # 654 "/<>/external/onurbs/opennurbs_array.h" 10182: bool GetClosestPoint( 10182: ON_3dPoint P, 10182: int* closest_point_index, 10182: double maximum_distance = 0.0 10182: ) const; 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_3fPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_3fPointArray(); 10182: ON_3fPointArray(int); 10182: ON_3fPointArray(const ON_3fPointArray&); 10182: ON_3fPointArray& operator=( const ON_3fPointArray& ); 10182: 10182: bool GetBBox( 10182: float boxmin[3], 10182: float boxmax[3], 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_4dPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_4dPointArray(); 10182: ON_4dPointArray(int); 10182: ON_4dPointArray(const ON_4dPointArray&); 10182: ON_4dPointArray& operator=( const ON_4dPointArray& ); 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_4fPointArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_4fPointArray(); 10182: ON_4fPointArray(int); 10182: ON_4fPointArray(const ON_4fPointArray&); 10182: ON_4fPointArray& operator=( const ON_4fPointArray& ); 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_2dVectorArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_2dVectorArray(); 10182: ON_2dVectorArray(int); 10182: ON_2dVectorArray(const ON_2dVectorArray&); 10182: ON_2dVectorArray& operator=( const ON_2dVectorArray& ); 10182: 10182: bool GetBBox( 10182: double boxmin[2], 10182: double boxmax[2], 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_2fVectorArray : public ON_SimpleArray 10182: { 10182: public: 10182: 10182: ON_2fVectorArray(); 10182: ON_2fVectorArray(int); 10182: ON_2fVectorArray(const ON_2fVectorArray&); 10182: ON_2fVectorArray& operator=( const ON_2fVectorArray& ); 10182: 10182: bool GetBBox( 10182: float boxmin[2], 10182: float boxmax[2], 10182: bool = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dVectorArray : public ON_SimpleArray 10182: { 10182: public: 10182: ON_3dVectorArray(); 10182: ON_3dVectorArray(int); 10182: ON_3dVectorArray(const ON_3dVectorArray&); 10182: ON_3dVectorArray& operator=( const ON_3dVectorArray& ); 10182: 10182: bool GetBBox( 10182: double boxmin[3], 10182: double boxmax[3], 10182: bool bGrowBow = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: 10182: 10182: 10182: 10182: class ON_3fVectorArray : public ON_SimpleArray 10182: { 10182: public: 10182: ON_3fVectorArray(); 10182: ON_3fVectorArray(int); 10182: ON_3fVectorArray(const ON_3fVectorArray&); 10182: ON_3fVectorArray& operator=( const ON_3fVectorArray& ); 10182: 10182: bool GetBBox( 10182: float boxmin[3], 10182: float boxmax[3], 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: bool SwapCoordinates(int,int); 10182: }; 10182: # 824 "/<>/external/onurbs/opennurbs_array.h" 10182: template class ON_ClassArray 10182: { 10182: public: 10182: 10182: ON_ClassArray(); 10182: ON_ClassArray( int ); 10182: 10182: 10182: ON_ClassArray( const ON_ClassArray& ); 10182: 10182: virtual 10182: ~ON_ClassArray(); 10182: 10182: 10182: ON_ClassArray& operator=( const ON_ClassArray& ); 10182: 10182: 10182: void EmergencyDestroy(void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: unsigned int UnsignedCount() const; 10182: 10182: int Capacity() const; 10182: 10182: unsigned int SizeOfArray() const; 10182: 10182: unsigned int SizeOfElement() const; 10182: 10182: 10182: 10182: T& operator[]( int ); 10182: T& operator[]( unsigned int ); 10182: T& operator[]( ON__INT64 ); 10182: T& operator[]( ON__UINT64 ); 10182: const T& operator[]( int ) const; 10182: const T& operator[]( unsigned int ) const; 10182: const T& operator[]( ON__INT64 ) const; 10182: const T& operator[]( ON__UINT64 ) const; 10182: 10182: operator T*(); 10182: operator const T*() const; 10182: 10182: T* First(); 10182: const T* First() const; 10182: 10182: 10182: T* At( int ); 10182: T* At( unsigned int ); 10182: T* At( ON__INT64 ); 10182: T* At( ON__UINT64 ); 10182: const T* At( int ) const; 10182: const T* At( unsigned int ) const; 10182: const T* At( ON__INT64 ) const; 10182: const T* At( ON__UINT64 ) const; 10182: 10182: T* Last(); 10182: const T* Last() const; 10182: 10182: 10182: 10182: 10182: T& AppendNew(); 10182: 10182: 10182: void Append( const T& ); 10182: 10182: 10182: void Append( int, const T*); 10182: 10182: void Insert( int, const T& ); 10182: 10182: 10182: 10182: 10182: void Remove(); 10182: 10182: 10182: void Remove( int ); 10182: 10182: 10182: 10182: 10182: void Empty(); 10182: 10182: void Reverse(); 10182: 10182: void Swap(int,int); 10182: # 925 "/<>/external/onurbs/opennurbs_array.h" 10182: int Search( const T*, int (*)(const T*,const T*) ) const; 10182: # 945 "/<>/external/onurbs/opennurbs_array.h" 10182: int BinarySearch( const T*, int (*)(const T*,const T*) ) const; 10182: int BinarySearch( const T*, int (*)(const T*,const T*), int ) const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: bool HeapSort( int (*)(const T*,const T*) ); 10182: 10182: 10182: 10182: virtual 10182: bool QuickSort( int (*)(const T*,const T*) ); 10182: # 980 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Sort( 10182: ON::sort_algorithm sort_algorithm, 10182: int* , 10182: int (*)(const T*,const T*) 10182: ) const; 10182: # 1007 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Sort( 10182: ON::sort_algorithm sort_algorithm, 10182: int*, 10182: int (*)(const T*,const T*,void*), 10182: void* 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool Permute( const int* ); 10182: 10182: 10182: 10182: 10182: 10182: void Zero(); 10182: 10182: 10182: 10182: void Reserve( int ); 10182: 10182: void Shrink(); 10182: 10182: void Destroy(); 10182: # 1054 "/<>/external/onurbs/opennurbs_array.h" 10182: virtual 10182: T* Realloc(T*,int); 10182: 10182: T* Array(); 10182: 10182: const T* Array() const; 10182: 10182: void SetCount( int ); 10182: 10182: 10182: void SetCapacity( int ); 10182: 10182: 10182: 10182: int NewCapacity() const; 10182: 10182: 10182: T* KeepArray(); 10182: # 1087 "/<>/external/onurbs/opennurbs_array.h" 10182: void SetArray(T*); 10182: # 1102 "/<>/external/onurbs/opennurbs_array.h" 10182: void SetArray(T*, int, int); 10182: 10182: protected: 10182: 10182: void Move( int , int , int ); 10182: void ConstructDefaultElement(T*); 10182: void DestroyElement(T&); 10182: T* m_a; 10182: int m_count; 10182: int m_capacity; 10182: }; 10182: # 1123 "/<>/external/onurbs/opennurbs_array.h" 10182: template class ON_ObjectArray : public ON_ClassArray 10182: { 10182: public: 10182: ON_ObjectArray(); 10182: ~ON_ObjectArray(); 10182: ON_ObjectArray( int ); 10182: ON_ObjectArray( const ON_ObjectArray& ); 10182: ON_ObjectArray& operator=( const ON_ObjectArray& ); 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: 10182: 10182: T* Realloc(T*,int); 10182: 10182: 10182: 10182: 10182: 10182: bool HeapSort( int (*)(const T*,const T*) ); 10182: 10182: 10182: 10182: 10182: bool QuickSort( int (*)(const T*,const T*) ); 10182: }; 10182: 10182: class ON_UuidPair 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: static 10182: int CompareFirstUuid(const class ON_UuidPair*,const class ON_UuidPair*); 10182: 10182: 10182: 10182: 10182: 10182: static 10182: int CompareSecondUuid(const class ON_UuidPair*,const class ON_UuidPair*); 10182: 10182: 10182: 10182: 10182: 10182: static 10182: int Compare(const class ON_UuidPair*,const class ON_UuidPair*); 10182: 10182: ON_UuidPair(); 10182: ON_UUID m_uuid[2]; 10182: }; 10182: # 1205 "/<>/external/onurbs/opennurbs_array.h" 10182: class ON_UuidList : private ON_SimpleArray 10182: { 10182: public: 10182: ON_UuidList(); 10182: ON_UuidList(int capacity); 10182: ~ON_UuidList(); 10182: ON_UuidList(const ON_UuidList& src); 10182: ON_UuidList& operator=(const ON_UuidList& src); 10182: 10182: 10182: 10182: 10182: 10182: 10182: static 10182: int CompareUuid( const ON_UUID* a, const ON_UUID* b ); 10182: 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: # 1236 "/<>/external/onurbs/opennurbs_array.h" 10182: const ON_UUID* Array() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Empty(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: void Reserve(int capacity); 10182: # 1261 "/<>/external/onurbs/opennurbs_array.h" 10182: void Compact(); 10182: # 1278 "/<>/external/onurbs/opennurbs_array.h" 10182: bool AddUuid(ON_UUID uuid, bool bCheckForDupicates=true); 10182: # 1289 "/<>/external/onurbs/opennurbs_array.h" 10182: bool RemoveUuid(ON_UUID uuid); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool FindUuid(ON_UUID uuid) const; 10182: # 1307 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Write( 10182: class ON_BinaryArchive& archive 10182: ) const; 10182: # 1324 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Write( 10182: class ON_BinaryArchive& archive, 10182: bool bSortBeforeWrite 10182: ) const; 10182: # 1337 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Read( 10182: class ON_BinaryArchive& archive 10182: ); 10182: # 1355 "/<>/external/onurbs/opennurbs_array.h" 10182: bool Read( 10182: class ON_BinaryArchive& archive, 10182: bool bSortAferRead 10182: ); 10182: # 1368 "/<>/external/onurbs/opennurbs_array.h" 10182: int GetUuids( 10182: ON_SimpleArray& uuid_list 10182: ) const; 10182: # 1381 "/<>/external/onurbs/opennurbs_array.h" 10182: void RemapUuids( 10182: const ON_SimpleArray& uuid_remap 10182: ); 10182: 10182: private: 10182: void PurgeHelper(); 10182: void SortHelper(); 10182: ON_UUID* SearchHelper(const ON_UUID*) const; 10182: int m_sorted_count; 10182: int m_removed_count; 10182: }; 10182: # 1401 "/<>/external/onurbs/opennurbs_array.h" 10182: class ON_UuidIndexList : private ON_SimpleArray 10182: { 10182: public: 10182: ON_UuidIndexList(); 10182: ON_UuidIndexList(int capacity); 10182: ~ON_UuidIndexList(); 10182: ON_UuidIndexList(const ON_UuidIndexList& src); 10182: ON_UuidIndexList& operator=(const ON_UuidIndexList& src); 10182: 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Empty(); 10182: 10182: void Reserve( int capacity ); 10182: # 1442 "/<>/external/onurbs/opennurbs_array.h" 10182: bool AddUuidIndex( 10182: ON_UUID uuid, 10182: int index, 10182: bool bCheckForDupicates=true); 10182: # 1456 "/<>/external/onurbs/opennurbs_array.h" 10182: bool RemoveUuid( 10182: ON_UUID uuid 10182: ); 10182: # 1470 "/<>/external/onurbs/opennurbs_array.h" 10182: bool FindUuid(ON_UUID uuid, int* index= 10182: # 1470 "/<>/external/onurbs/opennurbs_array.h" 3 4 10182: __null 10182: # 1470 "/<>/external/onurbs/opennurbs_array.h" 10182: ) const; 10182: # 1480 "/<>/external/onurbs/opennurbs_array.h" 10182: bool FindUuidIndex(ON_UUID uuid, int index) const; 10182: # 1490 "/<>/external/onurbs/opennurbs_array.h" 10182: int GetUuids( 10182: ON_SimpleArray& uuid_list 10182: ) const; 10182: # 1506 "/<>/external/onurbs/opennurbs_array.h" 10182: void ImproveSearchSpeed(); 10182: 10182: private: 10182: ON_UuidIndex* SearchHelper(const ON_UUID*) const; 10182: unsigned int m_sorted_count; 10182: unsigned int m_removed_count; 10182: }; 10182: # 1522 "/<>/external/onurbs/opennurbs_array.h" 10182: class ON_UuidPairList : private ON_SimpleArray 10182: { 10182: public: 10182: ON_UuidPairList(); 10182: ON_UuidPairList(int capacity); 10182: ~ON_UuidPairList(); 10182: ON_UuidPairList(const ON_UuidPairList& src); 10182: ON_UuidPairList& operator=(const ON_UuidPairList& src); 10182: 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Empty(); 10182: 10182: void Reserve( int capacity ); 10182: # 1565 "/<>/external/onurbs/opennurbs_array.h" 10182: bool AddPair( 10182: ON_UUID id1, 10182: ON_UUID id2, 10182: bool bCheckForDupicates=true 10182: ); 10182: # 1580 "/<>/external/onurbs/opennurbs_array.h" 10182: bool RemovePair( 10182: ON_UUID id1 10182: ); 10182: # 1594 "/<>/external/onurbs/opennurbs_array.h" 10182: bool RemovePair( 10182: ON_UUID id1, 10182: ON_UUID id2 10182: ); 10182: # 1610 "/<>/external/onurbs/opennurbs_array.h" 10182: bool FindId1(ON_UUID id1, ON_UUID* id2=0) const; 10182: # 1619 "/<>/external/onurbs/opennurbs_array.h" 10182: bool FindPair(ON_UUID id1, ON_UUID id2) const; 10182: # 1629 "/<>/external/onurbs/opennurbs_array.h" 10182: int GetId1s( 10182: ON_SimpleArray& uuid_list 10182: ) const; 10182: # 1645 "/<>/external/onurbs/opennurbs_array.h" 10182: void ImproveSearchSpeed(); 10182: 10182: private: 10182: ON_UuidPair* SearchHelper(const ON_UUID*) const; 10182: unsigned int m_sorted_count; 10182: unsigned int m_removed_count; 10182: }; 10182: 10182: class ON_2dexMap : private ON_SimpleArray 10182: { 10182: public: 10182: ON_2dexMap(); 10182: ON_2dexMap(int capacity); 10182: ~ON_2dexMap(); 10182: 10182: int Count() const; 10182: 10182: void Reserve(int capacity); 10182: 10182: const ON_2dex* Array() const; 10182: 10182: ON_2dex operator[](int i) const; 10182: # 1680 "/<>/external/onurbs/opennurbs_array.h" 10182: void Create(int count, int i0, int j); 10182: # 1695 "/<>/external/onurbs/opennurbs_array.h" 10182: int FindIndex( 10182: int i, 10182: int not_found_rc 10182: ) const; 10182: # 1710 "/<>/external/onurbs/opennurbs_array.h" 10182: bool AddIndex( 10182: int i, 10182: int j 10182: ); 10182: # 1726 "/<>/external/onurbs/opennurbs_array.h" 10182: bool SetIndex( 10182: int i, 10182: int j 10182: ); 10182: # 1739 "/<>/external/onurbs/opennurbs_array.h" 10182: void SetOrAddIndex( 10182: int i, 10182: int j 10182: ); 10182: # 1754 "/<>/external/onurbs/opennurbs_array.h" 10182: bool RemoveIndex( 10182: int i 10182: ); 10182: 10182: const ON_2dex* Find2dex(int i) const; 10182: 10182: private: 10182: bool m_bSorted; 10182: }; 10182: # 1787 "/<>/external/onurbs/opennurbs_array.h" 10182: template< class T> 10182: static 10182: int ON_CompareIncreasing( const T* a, const T* b); 10182: # 1821 "/<>/external/onurbs/opennurbs_array.h" 10182: template< class T> 10182: static 10182: int ON_CompareDecreasing( const T* a, const T* b); 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_array_defs.h" 1 10182: # 43 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: #pragma GCC diagnostic ignored "-Wstrict-overflow" 10182: # 62 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: template 10182: T* ON_SimpleArray::Realloc(T* ptr,int capacity) 10182: { 10182: return (T*)onrealloc(ptr,capacity*sizeof(T)); 10182: } 10182: 10182: template 10182: ON_SimpleArray::ON_SimpleArray() 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: {} 10182: 10182: template 10182: ON_SimpleArray::ON_SimpleArray( int c ) 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: { 10182: if ( c > 0 ) 10182: SetCapacity( c ); 10182: } 10182: 10182: 10182: template 10182: ON_SimpleArray::ON_SimpleArray( const ON_SimpleArray& src ) 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: { 10182: *this = src; 10182: } 10182: 10182: template 10182: ON_SimpleArray::~ON_SimpleArray() 10182: { 10182: SetCapacity(0); 10182: } 10182: 10182: template 10182: ON_SimpleArray& ON_SimpleArray::operator=( const ON_SimpleArray& src ) 10182: { 10182: if( &src != this ) { 10182: if ( src.m_count <= 0 ) { 10182: m_count = 0; 10182: } 10182: else { 10182: if ( m_capacity < src.m_count ) { 10182: SetCapacity( src.m_count ); 10182: } 10182: if ( m_a ) { 10182: m_count = src.m_count; 10182: memcpy( m_a, src.m_a, m_count*sizeof(T) ); 10182: } 10182: } 10182: } 10182: return *this; 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_SimpleArray::EmergencyDestroy(void) 10182: { 10182: m_count = 0; 10182: m_capacity = 0; 10182: m_a = 0; 10182: } 10182: 10182: 10182: 10182: template 10182: int ON_SimpleArray::Count() const 10182: { 10182: return m_count; 10182: } 10182: 10182: template 10182: unsigned int ON_SimpleArray::UnsignedCount() const 10182: { 10182: return ((unsigned int)m_count); 10182: } 10182: 10182: template 10182: int ON_SimpleArray::Capacity() const 10182: { 10182: return m_capacity; 10182: } 10182: 10182: template 10182: unsigned int ON_SimpleArray::SizeOfArray() const 10182: { 10182: return ((unsigned int)(m_capacity*sizeof(T))); 10182: } 10182: 10182: template 10182: unsigned int ON_SimpleArray::SizeOfElement() const 10182: { 10182: return ((unsigned int)(sizeof(T))); 10182: } 10182: 10182: 10182: template 10182: ON__UINT32 ON_SimpleArray::DataCRC(ON__UINT32 current_remainder) const 10182: { 10182: return ON_CRC32(current_remainder,m_count*sizeof(m_a[0]),m_a); 10182: } 10182: 10182: template 10182: T& ON_SimpleArray::operator[]( int i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: T& ON_SimpleArray::operator[]( unsigned int i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: 10182: template 10182: T& ON_SimpleArray::operator[]( ON__INT64 i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: T& ON_SimpleArray::operator[]( ON__UINT64 i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_SimpleArray::operator[](int i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_SimpleArray::operator[](unsigned int i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: 10182: template 10182: const T& ON_SimpleArray::operator[](ON__INT64 i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_SimpleArray::operator[](ON__UINT64 i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: 10182: template 10182: ON_SimpleArray::operator T*() 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: ON_SimpleArray::operator const T*() const 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::Array() 10182: { 10182: return m_a; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::Array() const 10182: { 10182: return m_a; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::KeepArray() 10182: { 10182: T* p = m_a; 10182: m_a = 0; 10182: m_count = 0; 10182: m_capacity = 0; 10182: return p; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::SetArray(T* p) 10182: { 10182: if ( m_a && m_a != p ) 10182: onfree(m_a); 10182: m_a = p; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::SetArray(T* p, int count, int capacity) 10182: { 10182: if ( m_a && m_a != p ) 10182: onfree(m_a); 10182: m_a = p; 10182: m_count = count; 10182: m_capacity = capacity; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::First() 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::First() const 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::At( int i ) 10182: { 10182: return (i >= 0 && i < m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::At( unsigned int i ) 10182: { 10182: return (i < (unsigned int)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::At( int i) const 10182: { 10182: return (i >= 0 && i < m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::At( unsigned int i) const 10182: { 10182: return (i < (unsigned int)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::At( ON__INT64 i ) 10182: { 10182: return (i >= 0 && i < (ON__INT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::At( ON__UINT64 i ) 10182: { 10182: return (i < (ON__UINT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::At( ON__INT64 i) const 10182: { 10182: return (i >= 0 && i < (ON__INT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::At( ON__UINT64 i) const 10182: { 10182: return (i < (ON__UINT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_SimpleArray::Last() 10182: { 10182: return (m_count > 0) ? m_a+(m_count-1) : 0; 10182: } 10182: 10182: template 10182: const T* ON_SimpleArray::Last() const 10182: { 10182: return (m_count > 0) ? m_a+(m_count-1) : 0; 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_SimpleArray::Move( int dest_i, int src_i, int ele_cnt ) 10182: { 10182: 10182: 10182: if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || 10182: src_i + ele_cnt > m_count || dest_i > m_count ) 10182: return; 10182: 10182: int capacity = dest_i + ele_cnt; 10182: if ( capacity > m_capacity ) { 10182: if ( capacity < 2*m_capacity ) 10182: capacity = 2*m_capacity; 10182: SetCapacity( capacity ); 10182: } 10182: 10182: memmove( &m_a[dest_i], &m_a[src_i], ele_cnt*sizeof(T) ); 10182: } 10182: 10182: template 10182: T& ON_SimpleArray::AppendNew() 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: int new_capacity = NewCapacity(); 10182: Reserve( new_capacity ); 10182: } 10182: memset( &m_a[m_count], 0, sizeof(T) ); 10182: return m_a[m_count++]; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Append( const T& x ) 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: const int newcapacity = NewCapacity(); 10182: if (m_a) 10182: { 10182: const int s = (int)(&x - m_a); 10182: if ( s >= 0 && s < m_capacity ) 10182: { 10182: 10182: 10182: 10182: 10182: T temp; 10182: temp = x; 10182: Reserve( newcapacity ); 10182: m_a[m_count++] = temp; 10182: return; 10182: } 10182: } 10182: Reserve(newcapacity); 10182: } 10182: m_a[m_count++] = x; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Append( int count, const T* p ) 10182: { 10182: if ( count > 0 && p ) 10182: { 10182: if ( count + m_count > m_capacity ) 10182: { 10182: int newcapacity = NewCapacity(); 10182: if ( newcapacity < count + m_count ) 10182: newcapacity = count + m_count; 10182: Reserve( newcapacity ); 10182: } 10182: memcpy( m_a + m_count, p, count*sizeof(T) ); 10182: m_count += count; 10182: } 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Insert( int i, const T& x ) 10182: { 10182: if( i >= 0 && i <= m_count ) 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: int newcapacity = NewCapacity(); 10182: Reserve( newcapacity ); 10182: } 10182: m_count++; 10182: Move( i+1, i, m_count-1-i ); 10182: m_a[i] = x; 10182: } 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Remove() 10182: { 10182: Remove(m_count-1); 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Remove( int i ) 10182: { 10182: if ( i >= 0 && i < m_count ) { 10182: Move( i, i+1, m_count-1-i ); 10182: m_count--; 10182: memset( &m_a[m_count], 0, sizeof(T) ); 10182: } 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Empty() 10182: { 10182: if ( m_a ) 10182: memset( m_a, 0, m_capacity*sizeof(T) ); 10182: m_count = 0; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Reverse() 10182: { 10182: 10182: 10182: 10182: T t; 10182: int i = 0; 10182: int j = m_count-1; 10182: for ( ; i < j; i++, j-- ) { 10182: t = m_a[i]; 10182: m_a[i] = m_a[j]; 10182: m_a[j] = t; 10182: } 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Swap( int i, int j ) 10182: { 10182: if ( i != j ) { 10182: const T t(m_a[i]); 10182: m_a[i] = m_a[j]; 10182: m_a[j] = t; 10182: } 10182: } 10182: 10182: template 10182: int ON_SimpleArray::Search( const T& key ) const 10182: { 10182: const T* p = &key; 10182: for ( int i = 0; i < m_count; i++ ) { 10182: if (!memcmp(p,m_a+i,sizeof(T))) 10182: return i; 10182: } 10182: return -1; 10182: } 10182: 10182: template 10182: int ON_SimpleArray::Search( const T* key, int (*compar)(const T*,const T*) ) const 10182: { 10182: for ( int i = 0; i < m_count; i++ ) { 10182: if (!compar(key,m_a+i)) 10182: return i; 10182: } 10182: return -1; 10182: } 10182: 10182: template 10182: int ON_SimpleArray::BinarySearch( const T* key, int (*compar)(const T*,const T*) ) const 10182: { 10182: const T* found = (key&&m_a&&m_count>0) 10182: ? (const T*)bsearch( key, m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ) 10182: : 0; 10182: 10182: 10182: 10182: int rc; 10182: if ( 0 != found ) 10182: { 10182: # 577 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: const ON__UINT64 fptr = (ON__UINT64)found; 10182: const ON__UINT64 aptr = (ON__UINT64)m_a; 10182: const ON__UINT64 sz = (ON__UINT64)sizeof(T); 10182: const ON__UINT64 i = (fptr - aptr)/sz; 10182: rc = (int)i; 10182: # 592 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: } 10182: else 10182: { 10182: 10182: rc = -1; 10182: } 10182: 10182: return rc; 10182: 10182: } 10182: 10182: template 10182: int ON_SimpleArray::BinarySearch( const T* key, int (*compar)(const T*,const T*), int count ) const 10182: { 10182: if ( count > m_count ) 10182: count = m_count; 10182: if ( count <= 0 ) 10182: return -1; 10182: const T* found = (key&&m_a&&m_count>0) 10182: ? (const T*)bsearch( key, m_a, count, sizeof(T), (int(*)(const void*,const void*))compar ) 10182: : 0; 10182: 10182: 10182: 10182: int rc; 10182: if ( 0 != found ) 10182: { 10182: # 627 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: const ON__UINT64 fptr = (ON__UINT64)found; 10182: const ON__UINT64 aptr = (ON__UINT64)m_a; 10182: const ON__UINT64 sz = (ON__UINT64)sizeof(T); 10182: const ON__UINT64 i = (fptr - aptr)/sz; 10182: rc = (int)i; 10182: # 642 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: } 10182: else 10182: { 10182: 10182: rc = -1; 10182: } 10182: return rc; 10182: } 10182: 10182: 10182: 10182: template 10182: bool ON_SimpleArray::HeapSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar ) { 10182: if ( m_count > 1 ) 10182: ON_hsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_SimpleArray::QuickSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar ) { 10182: if ( m_count > 1 ) 10182: ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_SimpleArray::Sort( ON::sort_algorithm sa, int* index, int (*compar)(const T*,const T*) ) const 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar && index ) { 10182: if ( m_count > 1 ) 10182: ON_Sort(sa, index, m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: else if ( m_count == 1 ) 10182: index[0] = 0; 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_SimpleArray::Sort( ON::sort_algorithm sa, int* index, int (*compar)(const T*,const T*,void*),void* p ) const 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar && index ) { 10182: if ( m_count > 1 ) 10182: ON_Sort(sa, index, m_a, m_count, sizeof(T), (int(*)(const void*,const void*,void*))compar, p ); 10182: else if ( m_count == 1 ) 10182: index[0] = 0; 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_SimpleArray::Permute( const int* index ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && index ) { 10182: int i; 10182: T* buffer = (T*)onmalloc(m_count*sizeof(buffer[0])); 10182: memcpy( buffer, m_a, m_count*sizeof(T) ); 10182: for (i = 0; i < m_count; i++ ) 10182: memcpy( m_a+i, buffer+index[i], sizeof(T) ); 10182: onfree(buffer); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Zero() 10182: { 10182: if ( m_a && m_capacity > 0 ) { 10182: memset( m_a, 0, m_capacity*sizeof(T) ); 10182: } 10182: } 10182: 10182: template 10182: void ON_SimpleArray::MemSet( unsigned char value ) 10182: { 10182: if ( m_a && m_capacity > 0 ) { 10182: memset( m_a, value, m_capacity*sizeof(T) ); 10182: } 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_SimpleArray::Reserve( int newcap ) 10182: { 10182: if( m_capacity < newcap ) 10182: SetCapacity( newcap ); 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Shrink() 10182: { 10182: SetCapacity( m_count ); 10182: } 10182: 10182: template 10182: void ON_SimpleArray::Destroy() 10182: { 10182: SetCapacity( 0 ); 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_SimpleArray::SetCount( int count ) 10182: { 10182: if ( count >= 0 && count <= m_capacity ) 10182: m_count = count; 10182: } 10182: 10182: template 10182: void ON_SimpleArray::SetCapacity( int capacity ) 10182: { 10182: 10182: if ( capacity != m_capacity ) { 10182: if( capacity > 0 ) { 10182: if ( m_count > capacity ) 10182: m_count = capacity; 10182: 10182: m_a = Realloc( m_a, capacity ); 10182: if ( m_a ) { 10182: if ( capacity > m_capacity ) { 10182: 10182: memset( m_a + m_capacity, 0, (capacity-m_capacity)*sizeof(T) ); 10182: } 10182: m_capacity = capacity; 10182: } 10182: else { 10182: 10182: m_count = m_capacity = 0; 10182: } 10182: } 10182: else if (m_a) { 10182: Realloc(m_a,0); 10182: m_a = 0; 10182: m_count = m_capacity = 0; 10182: } 10182: } 10182: } 10182: 10182: template 10182: int ON_SimpleArray::NewCapacity() const 10182: { 10182: # 817 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: const size_t cap_size = 32*sizeof(void*)*1024*1024; 10182: if (m_count*sizeof(T) <= cap_size || m_count < 8) 10182: return ((m_count <= 2) ? 4 : 2*m_count); 10182: 10182: 10182: 10182: int delta_count = 8 + cap_size/sizeof(T); 10182: if ( delta_count > m_count ) 10182: delta_count = m_count; 10182: return (m_count + delta_count); 10182: } 10182: 10182: template 10182: int ON_ClassArray::NewCapacity() const 10182: { 10182: # 849 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: const size_t cap_size = 32*sizeof(void*)*1024*1024; 10182: if (m_count*sizeof(T) <= cap_size || m_count < 8) 10182: return ((m_count <= 2) ? 4 : 2*m_count); 10182: 10182: 10182: 10182: int delta_count = 8 + cap_size/sizeof(T); 10182: if ( delta_count > m_count ) 10182: delta_count = m_count; 10182: return (m_count + delta_count); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: template 10182: ON_ObjectArray::ON_ObjectArray() 10182: { 10182: } 10182: 10182: template 10182: ON_ObjectArray::~ON_ObjectArray() 10182: { 10182: } 10182: 10182: template 10182: ON_ObjectArray::ON_ObjectArray( const ON_ObjectArray& src ) : ON_ClassArray(src) 10182: { 10182: } 10182: 10182: template 10182: ON_ObjectArray& ON_ObjectArray::operator=( const ON_ObjectArray& src) 10182: { 10182: if( this != &src) 10182: { 10182: ON_ClassArray::operator =(src); 10182: } 10182: return *this; 10182: } 10182: 10182: 10182: template 10182: ON_ObjectArray::ON_ObjectArray( int c ) 10182: : ON_ClassArray(c) 10182: { 10182: } 10182: 10182: template 10182: T* ON_ObjectArray::Realloc(T* ptr,int capacity) 10182: { 10182: T* reptr = (T*)onrealloc(ptr,capacity*sizeof(T)); 10182: if ( ptr && reptr && reptr != ptr ) 10182: { 10182: 10182: 10182: int i; 10182: for ( i = 0; i < this->m_count; i++ ) 10182: { 10182: reptr[i].MemoryRelocate(); 10182: } 10182: } 10182: return reptr; 10182: } 10182: # 921 "/<>/external/onurbs/opennurbs_array_defs.h" 10182: template 10182: T* ON_ClassArray::Realloc(T* ptr,int capacity) 10182: { 10182: return (T*)onrealloc(ptr,capacity*sizeof(T)); 10182: } 10182: 10182: template 10182: ON__UINT32 ON_ObjectArray::DataCRC(ON__UINT32 current_remainder) const 10182: { 10182: 10182: 10182: int i; 10182: for ( i = 0; i < this->m_count; i++ ) 10182: { 10182: current_remainder = this->m_a[i].DataCRC(current_remainder); 10182: } 10182: return current_remainder; 10182: } 10182: 10182: template 10182: ON_ClassArray::ON_ClassArray() 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: {} 10182: 10182: template 10182: ON_ClassArray::ON_ClassArray( int c ) 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: { 10182: if ( c > 0 ) 10182: SetCapacity( c ); 10182: } 10182: 10182: 10182: template 10182: ON_ClassArray::ON_ClassArray( const ON_ClassArray& src ) 10182: : m_a(0), 10182: m_count(0), 10182: m_capacity(0) 10182: { 10182: *this = src; 10182: } 10182: 10182: template 10182: ON_ClassArray::~ON_ClassArray() 10182: { 10182: SetCapacity(0); 10182: } 10182: 10182: template 10182: ON_ClassArray& ON_ClassArray::operator=( const ON_ClassArray& src ) 10182: { 10182: int i; 10182: if( &src != this ) { 10182: if ( src.m_count <= 0 ) { 10182: m_count = 0; 10182: } 10182: else { 10182: if ( m_capacity < src.m_count ) { 10182: SetCapacity( src.m_count ); 10182: } 10182: if ( m_a ) { 10182: m_count = src.m_count; 10182: for ( i = 0; i < m_count; i++ ) { 10182: m_a[i] = src.m_a[i]; 10182: } 10182: } 10182: } 10182: } 10182: return *this; 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_ClassArray::EmergencyDestroy(void) 10182: { 10182: m_count = 0; 10182: m_capacity = 0; 10182: m_a = 0; 10182: } 10182: 10182: 10182: 10182: template 10182: int ON_ClassArray::Count() const 10182: { 10182: return m_count; 10182: } 10182: 10182: template 10182: unsigned int ON_ClassArray::UnsignedCount() const 10182: { 10182: return ((unsigned int)m_count); 10182: } 10182: 10182: template 10182: int ON_ClassArray::Capacity() const 10182: { 10182: return m_capacity; 10182: } 10182: 10182: template 10182: unsigned int ON_ClassArray::SizeOfArray() const 10182: { 10182: return ((unsigned int)(m_capacity*sizeof(T))); 10182: } 10182: 10182: template 10182: unsigned int ON_ClassArray::SizeOfElement() const 10182: { 10182: return ((unsigned int)(sizeof(T))); 10182: } 10182: 10182: template 10182: T& ON_ClassArray::operator[]( int i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: 10182: template 10182: T& ON_ClassArray::operator[]( ON__INT64 i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: T& ON_ClassArray::operator[]( unsigned int i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: T& ON_ClassArray::operator[]( ON__UINT64 i ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_ClassArray::operator[](int i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_ClassArray::operator[](ON__INT64 i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_ClassArray::operator[](unsigned int i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: const T& ON_ClassArray::operator[](ON__UINT64 i) const 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: return m_a[i]; 10182: } 10182: 10182: template 10182: ON_ClassArray::operator T*() 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: ON_ClassArray::operator const T*() const 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::Array() 10182: { 10182: return m_a; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::Array() const 10182: { 10182: return m_a; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::KeepArray() 10182: { 10182: T* p = m_a; 10182: m_a = 0; 10182: m_count = 0; 10182: m_capacity = 0; 10182: return p; 10182: } 10182: 10182: template 10182: void ON_ClassArray::SetArray(T* p) 10182: { 10182: if ( m_a && m_a != p ) 10182: Destroy(); 10182: m_a = p; 10182: } 10182: 10182: template 10182: void ON_ClassArray::SetArray(T* p, int count, int capacity) 10182: { 10182: if ( m_a && m_a != p ) 10182: Destroy(); 10182: m_a = p; 10182: m_count = count; 10182: m_capacity = capacity; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::First() 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::First() const 10182: { 10182: return (m_count > 0) ? m_a : 0; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::At( int i ) 10182: { 10182: return (i >= 0 && i < m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::At( unsigned int i ) 10182: { 10182: return (i < (unsigned int)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::At( int i) const 10182: { 10182: return (i >= 0 && i < m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::At( unsigned int i) const 10182: { 10182: return (i < (unsigned int)m_count) ? m_a+i : 0; 10182: } 10182: 10182: 10182: template 10182: T* ON_ClassArray::At( ON__INT64 i ) 10182: { 10182: return (i >= 0 && i < (ON__INT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: T* ON_ClassArray::At( ON__UINT64 i ) 10182: { 10182: return (i < (ON__UINT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::At( ON__INT64 i) const 10182: { 10182: return (i >= 0 && i < (ON__INT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::At( ON__UINT64 i) const 10182: { 10182: return (i < (ON__UINT64)m_count) ? m_a+i : 0; 10182: } 10182: 10182: 10182: template 10182: T* ON_ClassArray::Last() 10182: { 10182: return (m_count > 0) ? m_a+(m_count-1) : 0; 10182: } 10182: 10182: template 10182: const T* ON_ClassArray::Last() const 10182: { 10182: return (m_count > 0) ? m_a+(m_count-1) : 0; 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_ClassArray::Move( int dest_i, int src_i, int ele_cnt ) 10182: { 10182: 10182: 10182: 10182: if ( ele_cnt <= 0 || src_i < 0 || dest_i < 0 || src_i == dest_i || 10182: src_i + ele_cnt > m_count || dest_i > m_count ) 10182: return; 10182: 10182: int capacity = dest_i + ele_cnt; 10182: if ( capacity > m_capacity ) { 10182: if ( capacity < 2*m_capacity ) 10182: capacity = 2*m_capacity; 10182: SetCapacity( capacity ); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: memmove( (void*)(&m_a[dest_i]), (const void*)(&m_a[src_i]), ele_cnt*sizeof(T) ); 10182: } 10182: 10182: template 10182: void ON_ClassArray::ConstructDefaultElement(T* p) 10182: { 10182: 10182: 10182: new(p) T; 10182: } 10182: 10182: template 10182: void ON_ClassArray::DestroyElement(T& x) 10182: { 10182: x.~T(); 10182: } 10182: 10182: template 10182: T& ON_ClassArray::AppendNew() 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: int newcapacity = NewCapacity(); 10182: Reserve( newcapacity ); 10182: } 10182: else 10182: { 10182: 10182: DestroyElement(m_a[m_count]); 10182: 10182: ConstructDefaultElement(&m_a[m_count]); 10182: } 10182: return m_a[m_count++]; 10182: } 10182: 10182: template 10182: void ON_ClassArray::Append( const T& x ) 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: const int newcapacity = NewCapacity(); 10182: if (m_a) 10182: { 10182: const int s = (int)(&x - m_a); 10182: if ( s >= 0 && s < m_capacity ) 10182: { 10182: 10182: 10182: 10182: 10182: T temp; 10182: temp = x; 10182: Reserve( newcapacity ); 10182: m_a[m_count++] = temp; 10182: return; 10182: } 10182: } 10182: Reserve(newcapacity); 10182: } 10182: m_a[m_count++] = x; 10182: } 10182: 10182: template 10182: void ON_ClassArray::Append( int count, const T* p ) 10182: { 10182: int i; 10182: if ( count > 0 && p ) 10182: { 10182: if ( count + m_count > m_capacity ) 10182: { 10182: int newcapacity = NewCapacity(); 10182: if ( newcapacity < count + m_count ) 10182: newcapacity = count + m_count; 10182: Reserve( newcapacity ); 10182: } 10182: for ( i = 0; i < count; i++ ) { 10182: m_a[m_count++] = p[i]; 10182: } 10182: } 10182: } 10182: 10182: 10182: template 10182: void ON_ClassArray::Insert( int i, const T& x ) 10182: { 10182: if( i >= 0 && i <= m_count ) 10182: { 10182: if ( m_count == m_capacity ) 10182: { 10182: int newcapacity = NewCapacity(); 10182: Reserve( newcapacity ); 10182: } 10182: DestroyElement( m_a[m_count] ); 10182: m_count++; 10182: if ( i < m_count-1 ) { 10182: Move( i+1, i, m_count-1-i ); 10182: 10182: 10182: memset( (void*)(&m_a[i]), 0, sizeof(T) ); 10182: ConstructDefaultElement( &m_a[i] ); 10182: } 10182: else { 10182: ConstructDefaultElement( &m_a[m_count-1] ); 10182: } 10182: m_a[i] = x; 10182: } 10182: } 10182: 10182: template 10182: void ON_ClassArray::Remove( ) 10182: { 10182: Remove(m_count-1); 10182: } 10182: 10182: template 10182: void ON_ClassArray::Remove( int i ) 10182: { 10182: if ( i >= 0 && i < m_count ) 10182: { 10182: DestroyElement( m_a[i] ); 10182: 10182: 10182: memset( (void*)(&m_a[i]), 0, sizeof(T) ); 10182: Move( i, i+1, m_count-1-i ); 10182: 10182: 10182: memset( (void*)(&m_a[m_count-1]), 0, sizeof(T) ); 10182: ConstructDefaultElement(&m_a[m_count-1]); 10182: m_count--; 10182: } 10182: } 10182: 10182: template 10182: void ON_ClassArray::Empty() 10182: { 10182: int i; 10182: for ( i = m_count-1; i >= 0; i-- ) { 10182: DestroyElement( m_a[i] ); 10182: 10182: 10182: memset( (void*)(&m_a[i]), 0, sizeof(T) ); 10182: ConstructDefaultElement( &m_a[i] ); 10182: } 10182: m_count = 0; 10182: } 10182: 10182: template 10182: void ON_ClassArray::Reverse() 10182: { 10182: 10182: 10182: 10182: char t[sizeof(T)]; 10182: int i = 0; 10182: int j = m_count-1; 10182: for ( ; i < j; i++, j-- ) { 10182: memcpy( t, &m_a[i], sizeof(T) ); 10182: memcpy( &m_a[i], &m_a[j], sizeof(T) ); 10182: memcpy( &m_a[j], t, sizeof(T) ); 10182: } 10182: } 10182: 10182: template 10182: void ON_ClassArray::Swap( int i, int j ) 10182: { 10182: if ( i != j && i >= 0 && j >= 0 && i < m_count && j < m_count ) { 10182: char t[sizeof(T)]; 10182: memcpy( t, &m_a[i], sizeof(T) ); 10182: memcpy( &m_a[i], &m_a[j], sizeof(T) ); 10182: memcpy( &m_a[j], t, sizeof(T) ); 10182: } 10182: } 10182: 10182: template 10182: int ON_ClassArray::Search( const T* key, int (*compar)(const T*,const T*) ) const 10182: { 10182: for ( int i = 0; i < m_count; i++ ) 10182: { 10182: if (!compar(key,m_a+i)) 10182: return i; 10182: } 10182: return -1; 10182: } 10182: 10182: template 10182: int ON_ClassArray::BinarySearch( const T* key, int (*compar)(const T*,const T*) ) const 10182: { 10182: const T* found = (key&&m_a&&m_count>0) ? (const T*)bsearch( key, m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ) : 0; 10182: 10182: 10182: 10182: 10182: 10182: return found ? ((int)((((ON__UINT64)found) - ((ON__UINT64)m_a))/sizeof(T))) : -1; 10182: 10182: } 10182: 10182: template 10182: int ON_ClassArray::BinarySearch( const T* key, int (*compar)(const T*,const T*), int count ) const 10182: { 10182: if ( count > m_count ) 10182: count = m_count; 10182: if ( count <= 0 ) 10182: return -1; 10182: const T* found = (key&&m_a&&m_count>0) ? (const T*)bsearch( key, m_a, count, sizeof(T), (int(*)(const void*,const void*))compar ) : 0; 10182: 10182: 10182: 10182: 10182: 10182: return found ? ((int)((((ON__UINT64)found) - ((ON__UINT64)m_a))/sizeof(T))) : -1; 10182: 10182: } 10182: 10182: template 10182: bool ON_ClassArray::HeapSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar ) 10182: { 10182: if ( m_count > 1 ) 10182: ON_hsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_ClassArray::QuickSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar ) 10182: { 10182: if ( m_count > 1 ) 10182: ON_qsort( m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: 10182: 10182: template 10182: bool ON_ObjectArray::HeapSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: 10182: 10182: if ( this->m_a && this->m_count > 0 && compar ) 10182: { 10182: if ( this->m_count > 1 ) 10182: { 10182: ON_hsort( this->m_a, this->m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: 10182: 10182: 10182: int i; 10182: for ( i = 0; i < this->m_count; i++ ) 10182: { 10182: this->m_a[i].MemoryRelocate(); 10182: } 10182: } 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_ObjectArray::QuickSort( int (*compar)(const T*,const T*) ) 10182: { 10182: bool rc = false; 10182: 10182: 10182: if ( this->m_a && this->m_count > 0 && compar ) 10182: { 10182: if ( this->m_count > 1 ) 10182: { 10182: ON_qsort( this->m_a, this->m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: 10182: 10182: 10182: int i; 10182: for ( i = 0; i < this->m_count; i++ ) 10182: { 10182: this->m_a[i].MemoryRelocate(); 10182: } 10182: } 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: 10182: template 10182: bool ON_ClassArray::Sort( ON::sort_algorithm sa, int* index, int (*compar)(const T*,const T*) ) const 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar && index ) 10182: { 10182: if ( m_count > 1 ) 10182: ON_Sort(sa, index, m_a, m_count, sizeof(T), (int(*)(const void*,const void*))compar ); 10182: else if ( m_count == 1 ) 10182: index[0] = 0; 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_ClassArray::Sort( ON::sort_algorithm sa, int* index, int (*compar)(const T*,const T*,void*),void* p ) const 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && compar && index ) 10182: { 10182: if ( m_count > 1 ) 10182: ON_Sort(sa, index, m_a, m_count, sizeof(T), (int(*)(const void*,const void*,void*))compar, p ); 10182: else if ( m_count == 1 ) 10182: index[0] = 0; 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: bool ON_ClassArray::Permute( const int* index ) 10182: { 10182: bool rc = false; 10182: if ( m_a && m_count > 0 && index ) 10182: { 10182: int i; 10182: T* buffer = (T*)onmalloc(m_count*sizeof(buffer[0])); 10182: memcpy( buffer, m_a, m_count*sizeof(T) ); 10182: for (i = 0; i < m_count; i++ ) 10182: memcpy( m_a+i, buffer+index[i], sizeof(T) ); 10182: onfree(buffer); 10182: rc = true; 10182: } 10182: return rc; 10182: } 10182: 10182: template 10182: void ON_ClassArray::Zero() 10182: { 10182: int i; 10182: if ( m_a && m_capacity > 0 ) { 10182: for ( i = m_capacity-1; i >= 0; i-- ) { 10182: DestroyElement(m_a[i]); 10182: 10182: 10182: memset( (void*)(&m_a[i]), 0, sizeof(T) ); 10182: ConstructDefaultElement(&m_a[i]); 10182: } 10182: } 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_ClassArray::Reserve( int newcap ) 10182: { 10182: if( m_capacity < newcap ) 10182: SetCapacity( newcap ); 10182: } 10182: 10182: template 10182: void ON_ClassArray::Shrink() 10182: { 10182: SetCapacity( m_count ); 10182: } 10182: 10182: template 10182: void ON_ClassArray::Destroy() 10182: { 10182: SetCapacity( 0 ); 10182: } 10182: 10182: 10182: 10182: template 10182: void ON_ClassArray::SetCount( int count ) 10182: { 10182: if ( count >= 0 && count <= m_capacity ) 10182: m_count = count; 10182: } 10182: 10182: template 10182: void ON_ClassArray::SetCapacity( int capacity ) 10182: { 10182: 10182: int i; 10182: if ( capacity < 1 ) { 10182: if ( m_a ) { 10182: for ( i = m_capacity-1; i >= 0; i-- ) { 10182: DestroyElement(m_a[i]); 10182: } 10182: Realloc(m_a,0); 10182: m_a = 0; 10182: } 10182: m_count = 0; 10182: m_capacity = 0; 10182: } 10182: else if ( m_capacity < capacity ) { 10182: 10182: m_a = Realloc( m_a, capacity ); 10182: 10182: if ( 0 != m_a ) 10182: { 10182: 10182: 10182: 10182: 10182: memset( (void*)(m_a + m_capacity), 0, (capacity-m_capacity)*sizeof(T) ); 10182: for ( i = m_capacity; i < capacity; i++ ) { 10182: ConstructDefaultElement(&m_a[i]); 10182: } 10182: m_capacity = capacity; 10182: } 10182: else 10182: { 10182: 10182: m_capacity = 0; 10182: m_count = 0; 10182: } 10182: } 10182: else if ( m_capacity > capacity ) { 10182: 10182: for ( i = m_capacity-1; i >= capacity; i-- ) { 10182: DestroyElement(m_a[i]); 10182: } 10182: if ( m_count > capacity ) 10182: m_count = capacity; 10182: m_capacity = capacity; 10182: m_a = Realloc( m_a, capacity ); 10182: if ( 0 == m_a ) 10182: { 10182: 10182: m_capacity = 0; 10182: m_count = 0; 10182: } 10182: } 10182: } 10182: 10182: 10182: 10182: 10182: 10182: template< class T> 10182: static 10182: int ON_CompareIncreasing( const T* a, const T* b) 10182: { 10182: if( *a < *b ) 10182: return -1; 10182: if( *b < *a ) 10182: return 1; 10182: return 0; 10182: } 10182: 10182: template< class T> 10182: static 10182: int ON_CompareDecreasing( const T* a, const T* b) 10182: { 10182: if( *b < *a ) 10182: return -1; 10182: if( *a < *b ) 10182: return 1; 10182: return 0; 10182: } 10182: # 1830 "/<>/external/onurbs/opennurbs_array.h" 2 10182: # 52 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_base32.h" 1 10182: # 43 "/<>/external/onurbs/opennurbs_base32.h" 10182: 10182: int ON_GetBase32Digits( const ON_SimpleArray& x, ON_SimpleArray& base32_digits ); 10182: 10182: int ON_GetBase32Digits( const unsigned char* x, int x_count, unsigned char* base32_digits ); 10182: # 67 "/<>/external/onurbs/opennurbs_base32.h" 10182: 10182: bool ON_Base32ToString( const ON_SimpleArray& base32_digits, ON_String& sBase32 ); 10182: 10182: bool ON_Base32ToString( const ON_SimpleArray& base32_digits, ON_wString& sBase32 ); 10182: 10182: bool ON_Base32ToString( const unsigned char* base32_digits, int base32_digit_count, char* sBase32 ); 10182: # 88 "/<>/external/onurbs/opennurbs_base32.h" 10182: 10182: int ON_CorrectBase32StringTypos( const wchar_t* sBase32, ON_wString& sBase32clean ); 10182: 10182: int ON_CorrectBase32StringTypos( const char* sBase32, ON_String& sBase32clean ); 10182: 10182: int ON_CorrectBase32StringTypos( const char* sBase32, char* sBase32clean ); 10182: # 118 "/<>/external/onurbs/opennurbs_base32.h" 10182: 10182: int ON_StringToBase32(const ON_wString& sBase32, ON_SimpleArray& base32_digits ); 10182: 10182: int ON_StringToBase32(const ON_String& sBase32, ON_SimpleArray& base32_digits ); 10182: 10182: int ON_StringToBase32(const char* sBase32, unsigned char* base32_digits ); 10182: # 53 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_pluginlist.h" 1 10182: # 27 "/<>/external/onurbs/opennurbs_pluginlist.h" 10182: class ON_PlugInRef 10182: { 10182: public: 10182: ON_PlugInRef(); 10182: 10182: 10182: ON_UUID m_plugin_id; 10182: int m_plugin_type; 10182: int m_plugin_platform; 10182: int m_plugin_sdk_version; 10182: int m_plugin_sdk_service_release; 10182: ON_wString m_plugin_name; 10182: ON_wString m_plugin_version; 10182: ON_wString m_plugin_filename; 10182: 10182: 10182: ON_wString m_developer_organization; 10182: ON_wString m_developer_address; 10182: ON_wString m_developer_country; 10182: ON_wString m_developer_phone; 10182: ON_wString m_developer_email; 10182: ON_wString m_developer_website; 10182: ON_wString m_developer_updateurl; 10182: ON_wString m_developer_fax; 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& file ) const; 10182: bool Read( ON_BinaryArchive& file ); 10182: 10182: void Dump(ON_TextLog& text_log) const; 10182: }; 10182: # 54 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_bounding_box.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: class ON_BoundingBox 10182: { 10182: public: 10182: static const ON_BoundingBox EmptyBoundingBox; 10182: 10182: ON_BoundingBox(); 10182: 10182: ON_BoundingBox( 10182: const ON_3dPoint&, 10182: const ON_3dPoint& 10182: ); 10182: ~ON_BoundingBox(); 10182: 10182: 10182: 10182: int IsVisible( 10182: const ON_Xform& bbox2c 10182: ) const; 10182: 10182: void Destroy(); 10182: 10182: 10182: ON_3dPoint& operator[](int); 10182: const ON_3dPoint& operator[](int) const; 10182: 10182: ON_3dPoint Min() const; 10182: ON_3dPoint Max() const; 10182: ON_3dVector Diagonal() const; 10182: ON_3dPoint Center() const; 10182: ON_3dPoint Corner( 10182: int, 10182: int, 10182: int 10182: ) const; 10182: bool GetCorners( 10182: ON_3dPointArray& box_corners 10182: ) const; 10182: bool GetCorners( 10182: ON_3dPoint box_corners[8] 10182: ) const; 10182: # 78 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool GetEdges( 10182: ON_Line edges[12] 10182: ) const; 10182: 10182: bool IsValid() const; 10182: 10182: void Dump(class ON_TextLog&) const; 10182: # 102 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: int IsDegenerate( 10182: double tolerance = -1.23432101234321e+308 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Transform( const ON_Xform& ); 10182: 10182: double Tolerance() const; 10182: 10182: 10182: 10182: 10182: 10182: bool Set( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const double* point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_3dPoint& point, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_2dPoint& point, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const float* point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_3fPoint& point, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_2fPoint& point, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool Set( 10182: const ON_SimpleArray& point_array, 10182: int bGrowBox = false 10182: ); 10182: 10182: bool IsPointIn( 10182: const ON_3dPoint& test_point, 10182: int bStrictlyIn = false 10182: 10182: 10182: 10182: ) const; 10182: 10182: 10182: 10182: 10182: ON_3dPoint ClosestPoint( 10182: const ON_3dPoint& test_point 10182: ) const; 10182: # 216 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MinimumDistanceTo( const ON_3dPoint& P ) const; 10182: # 230 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MaximumDistanceTo( const ON_3dPoint& P ) const; 10182: # 246 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MinimumDistanceTo( const ON_BoundingBox& other ) const; 10182: # 261 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MaximumDistanceTo( const ON_BoundingBox& other ) const; 10182: # 276 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MinimumDistanceTo( const ON_Line& line ) const; 10182: # 291 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MinimumDistanceTo( const ON_Plane& plane ) const; 10182: double MinimumDistanceTo( const ON_PlaneEquation& plane_equation ) const; 10182: # 307 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MaximumDistanceTo( const ON_Line& line ) const; 10182: # 326 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: double MaximumDistanceTo( const ON_Plane& plane ) const; 10182: double MaximumDistanceTo( const ON_PlaneEquation& plane_equation ) const; 10182: # 341 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsFartherThan( double d, const ON_3dPoint& P ) const; 10182: # 356 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsFartherThan( double d, const ON_Line& line ) const; 10182: # 370 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsFartherThan( double d, const ON_Plane& plane ) const; 10182: # 386 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsFartherThan( double d, const ON_PlaneEquation& plane_equation ) const; 10182: # 399 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsFartherThan( double d, const ON_BoundingBox& other ) const; 10182: # 424 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: int GetClosestPoint( 10182: const ON_Line&, 10182: ON_3dPoint&, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: bool GetClosestPoint( 10182: const ON_BoundingBox&, 10182: ON_3dPoint&, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: 10182: 10182: ON_3dPoint FarPoint( 10182: const ON_3dPoint& 10182: ) const; 10182: 10182: 10182: 10182: bool GetFarPoint( 10182: const ON_BoundingBox&, 10182: ON_3dPoint&, 10182: ON_3dPoint& 10182: ) const; 10182: # 468 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool Intersection( 10182: const ON_BoundingBox& other_bbox 10182: ); 10182: # 486 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool Intersection( 10182: const ON_BoundingBox& bbox_A, 10182: const ON_BoundingBox& bbox_B 10182: ); 10182: 10182: bool Intersection( 10182: const ON_Line&, 10182: double* = 10182: # 493 "/<>/external/onurbs/opennurbs_bounding_box.h" 3 4 10182: __null 10182: # 493 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: , 10182: double* = 10182: # 494 "/<>/external/onurbs/opennurbs_bounding_box.h" 3 4 10182: __null 10182: 10182: # 495 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: ) const; 10182: # 510 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool Includes( 10182: const ON_BoundingBox& other, 10182: bool bProperSubSet = false 10182: ) const; 10182: 10182: double Volume() const; 10182: 10182: double Area() const; 10182: 10182: 10182: 10182: bool Union( 10182: const ON_BoundingBox& 10182: ); 10182: 10182: bool Union( 10182: const ON_BoundingBox&, 10182: const ON_BoundingBox& 10182: ); 10182: # 540 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: bool IsDisjoint( 10182: const ON_BoundingBox& other_bbox 10182: ) const; 10182: 10182: bool SwapCoordinates( int, int ); 10182: 10182: ON_3dPoint m_min; 10182: ON_3dPoint m_max; 10182: }; 10182: # 582 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: 10182: bool ON_GetPointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const double* point_list, 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ); 10182: 10182: 10182: bool ON_GetPointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const float* point_list, 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ); 10182: 10182: 10182: bool ON_GetPointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const double* point_list, 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox 10182: ); 10182: 10182: 10182: ON_BoundingBox ON_PointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const double* point_list 10182: ); 10182: 10182: 10182: bool ON_GetPointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const float* point_list, 10182: float* boxmin, 10182: float* boxmax, 10182: int bGrowBox 10182: ); 10182: 10182: 10182: ON_BoundingBox ON_PointListBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int count, 10182: int stride, 10182: const float* point_list 10182: ); 10182: 10182: 10182: bool ON_GetPointGridBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int point_count0, int point_count1, 10182: int point_stride0, int point_stride1, 10182: const double* point_grid, 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox 10182: ); 10182: 10182: 10182: ON_BoundingBox ON_PointGridBoundingBox( 10182: int dim, 10182: int is_rat, 10182: int point_count0, int point_count1, 10182: int point_stride0, int point_stride1, 10182: const double* point_grid 10182: ); 10182: 10182: 10182: double ON_BoundingBoxTolerance( 10182: int dim, 10182: const double* bboxmin, 10182: const double* bboxmax 10182: ); 10182: # 703 "/<>/external/onurbs/opennurbs_bounding_box.h" 10182: 10182: bool ON_BeyondSinglePrecision( const ON_BoundingBox& bbox, ON_Xform* xform ); 10182: 10182: 10182: bool ON_WorldBBoxIsInTightBBox( 10182: const ON_BoundingBox& tight_bbox, 10182: const ON_BoundingBox& world_bbox, 10182: const ON_Xform* xform 10182: ); 10182: # 55 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_matrix.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_matrix.h" 10182: class ON_Xform; 10182: 10182: class ON_Matrix 10182: { 10182: public: 10182: ON_Matrix(); 10182: ON_Matrix( 10182: int row_count, 10182: int col_count 10182: ); 10182: ON_Matrix( 10182: int, 10182: int, 10182: int, 10182: int 10182: ); 10182: ON_Matrix( const ON_Xform& ); 10182: ON_Matrix( const ON_Matrix& ); 10182: # 54 "/<>/external/onurbs/opennurbs_matrix.h" 10182: ON_Matrix( 10182: int row_count, 10182: int col_count, 10182: double** M, 10182: bool bDestructorFreeM 10182: ); 10182: 10182: virtual ~ON_Matrix(); 10182: void EmergencyDestroy(); 10182: 10182: 10182: 10182: 10182: double* operator[](int); 10182: const double* operator[](int) const; 10182: 10182: ON_Matrix& operator=(const ON_Matrix&); 10182: ON_Matrix& operator=(const ON_Xform&); 10182: 10182: bool IsValid() const; 10182: int IsSquare() const; 10182: int RowCount() const; 10182: int ColCount() const; 10182: int MinCount() const; 10182: int MaxCount() const; 10182: 10182: void RowScale(int,double); 10182: void ColScale(int,double); 10182: void RowOp(int,double,int); 10182: void ColOp(int,double,int); 10182: 10182: bool Create( 10182: int, 10182: int 10182: ); 10182: 10182: bool Create( 10182: 10182: 10182: 10182: int, 10182: int, 10182: int, 10182: int 10182: ); 10182: # 115 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool Create( 10182: int row_count, 10182: int col_count, 10182: double** M, 10182: bool bDestructorFreeM 10182: ); 10182: 10182: 10182: void Destroy(); 10182: 10182: void Zero(); 10182: 10182: void SetDiagonal(double); 10182: void SetDiagonal(const double*); 10182: void SetDiagonal(int, const double*); 10182: void SetDiagonal(const ON_SimpleArray&); 10182: 10182: bool Transpose(); 10182: 10182: bool SwapRows( int, int ); 10182: bool SwapCols( int, int ); 10182: bool Invert( 10182: double 10182: ); 10182: # 153 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool Multiply( const ON_Matrix& A, const ON_Matrix& B ); 10182: # 168 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool Add( const ON_Matrix& A, const ON_Matrix& B ); 10182: # 179 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool Scale( double s ); 10182: # 195 "/<>/external/onurbs/opennurbs_matrix.h" 10182: int RowReduce( 10182: double, 10182: double&, 10182: double& 10182: ); 10182: # 227 "/<>/external/onurbs/opennurbs_matrix.h" 10182: int RowReduce( 10182: double, 10182: double*, 10182: double* = 10182: # 230 "/<>/external/onurbs/opennurbs_matrix.h" 3 4 10182: __null 10182: 10182: # 231 "/<>/external/onurbs/opennurbs_matrix.h" 10182: ); 10182: # 252 "/<>/external/onurbs/opennurbs_matrix.h" 10182: int RowReduce( 10182: double, 10182: ON_3dPoint*, 10182: double* = 10182: # 255 "/<>/external/onurbs/opennurbs_matrix.h" 3 4 10182: __null 10182: 10182: # 256 "/<>/external/onurbs/opennurbs_matrix.h" 10182: ); 10182: # 281 "/<>/external/onurbs/opennurbs_matrix.h" 10182: int RowReduce( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: double* = 10182: # 286 "/<>/external/onurbs/opennurbs_matrix.h" 3 4 10182: __null 10182: 10182: # 287 "/<>/external/onurbs/opennurbs_matrix.h" 10182: ); 10182: # 306 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool BackSolve( 10182: double, 10182: int, 10182: const double*, 10182: double* 10182: ) const; 10182: # 330 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool BackSolve( 10182: double, 10182: int, 10182: const ON_3dPoint*, 10182: ON_3dPoint* 10182: ) const; 10182: # 361 "/<>/external/onurbs/opennurbs_matrix.h" 10182: bool BackSolve( 10182: double, 10182: int, 10182: int, 10182: int, 10182: const double*, 10182: int, 10182: double* 10182: ) const; 10182: 10182: bool IsRowOrthoganal() const; 10182: bool IsRowOrthoNormal() const; 10182: 10182: bool IsColOrthoganal() const; 10182: bool IsColOrthoNormal() const; 10182: 10182: 10182: double** m; 10182: 10182: 10182: private: 10182: int m_row_count; 10182: int m_col_count; 10182: 10182: ON_SimpleArray m_rowmem; 10182: double** m_Mmem; 10182: int m_row_offset; 10182: int m_col_offset; 10182: void* m_cmem; 10182: 10182: double const * const * ThisM() const; 10182: double * * ThisM(); 10182: }; 10182: # 450 "/<>/external/onurbs/opennurbs_matrix.h" 10182: 10182: bool ON_GetMatrixSVD( 10182: int row_count, 10182: int col_count, 10182: double const * const * A, 10182: double**& U, 10182: double*& W, 10182: double**& V 10182: ); 10182: # 485 "/<>/external/onurbs/opennurbs_matrix.h" 10182: 10182: int ON_InvertSVDW( 10182: int count, 10182: const double* W, 10182: double*& invW 10182: ); 10182: # 562 "/<>/external/onurbs/opennurbs_matrix.h" 10182: 10182: bool ON_SolveSVD( 10182: int row_count, 10182: int col_count, 10182: double const * const * U, 10182: const double* invW, 10182: double const * const * V, 10182: const double* B, 10182: double*& X 10182: ); 10182: # 597 "/<>/external/onurbs/opennurbs_matrix.h" 10182: 10182: int ON_RowReduce( 10182: int row_count, 10182: int col_count, 10182: double zero_pivot, 10182: double** A, 10182: double** B, 10182: double pivots[2] 10182: ); 10182: # 56 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_xform.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_xform.h" 10182: class ON_Matrix; 10182: 10182: class ON_Xform 10182: { 10182: public: 10182: double m_xform[4][4]; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Xform(); 10182: 10182: ON_Xform( int ); 10182: ON_Xform( double ); 10182: # 51 "/<>/external/onurbs/opennurbs_xform.h" 10182: ON_Xform( const double[4][4] ); 10182: ON_Xform( const float[4][4] ); 10182: 10182: ON_Xform( const double* ); 10182: ON_Xform( const float* ); 10182: 10182: ON_Xform( const ON_Matrix& ); 10182: 10182: 10182: ON_Xform(const ON_3dPoint& P, 10182: const ON_3dVector& X, 10182: const ON_3dVector& Y, 10182: const ON_3dVector& Z); 10182: 10182: 10182: 10182: double* operator[](int); 10182: const double* operator[](int) const; 10182: 10182: 10182: ON_Xform& operator=( int ); 10182: ON_Xform& operator=( float ); 10182: ON_Xform& operator=( double ); 10182: ON_Xform& operator=( const ON_Matrix& ); 10182: 10182: 10182: 10182: 10182: 10182: ON_2dPoint operator*( const ON_2dPoint& ) const; 10182: ON_3dPoint operator*( const ON_3dPoint& ) const; 10182: ON_4dPoint operator*( const ON_4dPoint& ) const; 10182: 10182: ON_2dVector operator*( const ON_2dVector& ) const; 10182: ON_3dVector operator*( const ON_3dVector& ) const; 10182: 10182: ON_Xform operator*( const ON_Xform& ) const; 10182: ON_Xform operator+( const ON_Xform& ) const; 10182: ON_Xform operator-( const ON_Xform& ) const; 10182: # 99 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IsValid() const; 10182: # 114 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IsIdentity( double zero_tolerance = 0.0) const; 10182: # 124 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IsNotIdentity( double zero_tolerance = 0.0) const; 10182: # 138 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IsTranslation( double zero_tolerance = 0.0) const; 10182: # 149 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IsZero() const; 10182: # 160 "/<>/external/onurbs/opennurbs_xform.h" 10182: int IsSimilarity() const; 10182: 10182: 10182: int Compare( const ON_Xform& other ) const; 10182: 10182: 10182: 10182: void Transpose(); 10182: 10182: int 10182: Rank( 10182: double* = 10182: # 171 "/<>/external/onurbs/opennurbs_xform.h" 3 4 10182: __null 10182: 10182: # 172 "/<>/external/onurbs/opennurbs_xform.h" 10182: ) const; 10182: 10182: double 10182: Determinant( 10182: double* = 10182: # 176 "/<>/external/onurbs/opennurbs_xform.h" 3 4 10182: __null 10182: 10182: # 177 "/<>/external/onurbs/opennurbs_xform.h" 10182: ) const; 10182: 10182: bool 10182: Invert( 10182: 10182: 10182: double* = 10182: # 183 "/<>/external/onurbs/opennurbs_xform.h" 3 4 10182: __null 10182: 10182: # 184 "/<>/external/onurbs/opennurbs_xform.h" 10182: ); 10182: 10182: ON_Xform 10182: Inverse( 10182: 10182: double* = 10182: # 189 "/<>/external/onurbs/opennurbs_xform.h" 3 4 10182: __null 10182: 10182: # 190 "/<>/external/onurbs/opennurbs_xform.h" 10182: ) const; 10182: # 208 "/<>/external/onurbs/opennurbs_xform.h" 10182: double GetSurfaceNormalXform( ON_Xform& N_xform ) const; 10182: # 230 "/<>/external/onurbs/opennurbs_xform.h" 10182: double GetMappingXforms( ON_Xform& P_xform, ON_Xform& N_xform ) const; 10182: # 241 "/<>/external/onurbs/opennurbs_xform.h" 10182: void ActOnLeft( 10182: double, 10182: double, 10182: double, 10182: double, 10182: double[4] 10182: ) const; 10182: # 258 "/<>/external/onurbs/opennurbs_xform.h" 10182: void ActOnRight( 10182: double, 10182: double, 10182: double, 10182: double, 10182: double[4] 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: void Zero(); 10182: 10182: 10182: void Identity(); 10182: 10182: 10182: void Diagonal(double); 10182: # 290 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Scale( 10182: double x_scale_factor, 10182: double y_scale_factor, 10182: double z_scale_factor 10182: ); 10182: # 306 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Scale( 10182: const ON_3dVector& scale_vector 10182: ); 10182: # 318 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Scale 10182: ( 10182: ON_3dPoint fixed_point, 10182: double scale_factor 10182: ); 10182: # 334 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Scale 10182: ( 10182: const ON_Plane& plane, 10182: double x_scale_factor, 10182: double y_scale_factor, 10182: double z_scale_factor 10182: ); 10182: # 351 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Shear 10182: ( 10182: const ON_Plane& plane, 10182: const ON_3dVector& x1, 10182: const ON_3dVector& y1, 10182: const ON_3dVector& z1 10182: ); 10182: 10182: 10182: void Translation( 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: void Translation( 10182: double, 10182: double, 10182: double 10182: ); 10182: # 378 "/<>/external/onurbs/opennurbs_xform.h" 10182: void PlanarProjection( 10182: const ON_Plane& plane 10182: ); 10182: # 414 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Rotation( 10182: double sin_angle, 10182: double cos_angle, 10182: ON_3dVector rotation_axis, 10182: ON_3dPoint rotation_center 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: void Rotation( 10182: double angle_radians, 10182: ON_3dVector rotation_axis, 10182: ON_3dPoint rotation_center 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Rotation( 10182: ON_3dVector start_dir, 10182: ON_3dVector end_dir, 10182: ON_3dPoint rotation_center 10182: ); 10182: # 450 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Rotation( 10182: const ON_3dVector& X0, 10182: const ON_3dVector& Y0, 10182: const ON_3dVector& Z0, 10182: const ON_3dVector& X1, 10182: const ON_3dVector& Y1, 10182: const ON_3dVector& Z1 10182: ); 10182: # 468 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Rotation( 10182: const ON_3dPoint& P0, 10182: const ON_3dVector& X0, 10182: const ON_3dVector& Y0, 10182: const ON_3dVector& Z0, 10182: const ON_3dPoint& P1, 10182: const ON_3dVector& X1, 10182: const ON_3dVector& Y1, 10182: const ON_3dVector& Z1 10182: ); 10182: # 486 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Rotation( 10182: const ON_Plane& plane0, 10182: const ON_Plane& plane1 10182: ); 10182: # 502 "/<>/external/onurbs/opennurbs_xform.h" 10182: void Mirror( 10182: ON_3dPoint point_on_mirror_plane, 10182: ON_3dVector normal_to_mirror_plane 10182: ); 10182: # 545 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool ChangeBasis( 10182: const ON_Plane& plane0, 10182: const ON_Plane& plane1 10182: ); 10182: # 564 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool ChangeBasis( 10182: const ON_3dVector& X0, 10182: const ON_3dVector& Y0, 10182: const ON_3dVector& Z0, 10182: const ON_3dVector& X1, 10182: const ON_3dVector& Y1, 10182: const ON_3dVector& Z1 10182: ); 10182: # 587 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool ChangeBasis( 10182: const ON_3dPoint& P0, 10182: const ON_3dVector& X0, 10182: const ON_3dVector& Y0, 10182: const ON_3dVector& Z0, 10182: const ON_3dPoint& P1, 10182: const ON_3dVector& X1, 10182: const ON_3dVector& Y1, 10182: const ON_3dVector& Z1 10182: ); 10182: 10182: 10182: void WorldToCamera( 10182: const ON_3dPoint&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: void CameraToWorld( 10182: const ON_3dPoint&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: bool CameraToClip( 10182: ON_BOOL32, 10182: double, double, 10182: double, double, 10182: double, double 10182: ); 10182: 10182: 10182: bool ClipToCamera( 10182: int, 10182: double, double, 10182: double, double, 10182: double, double 10182: ); 10182: # 633 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool ClipToScreen( 10182: double, 10182: double, 10182: double, 10182: double, 10182: double, 10182: double 10182: ); 10182: # 649 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool ScreenToClip( 10182: double, 10182: double, 10182: double, 10182: double, 10182: double, 10182: double 10182: ); 10182: # 675 "/<>/external/onurbs/opennurbs_xform.h" 10182: int ClipFlag4d( 10182: const double* 10182: ) const; 10182: # 686 "/<>/external/onurbs/opennurbs_xform.h" 10182: int ClipFlag4d( 10182: int, 10182: int, 10182: const double*, 10182: ON_BOOL32 = true 10182: ) const; 10182: # 710 "/<>/external/onurbs/opennurbs_xform.h" 10182: int ClipFlag3d( 10182: const double* 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ClipFlag3d( 10182: int, 10182: int, 10182: const double*, 10182: ON_BOOL32 = true 10182: ) const; 10182: # 744 "/<>/external/onurbs/opennurbs_xform.h" 10182: int ClipFlag3dBox( 10182: const double*, 10182: const double* 10182: ) const; 10182: # 759 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool IntervalChange( 10182: int dir, 10182: ON_Interval old_interval, 10182: ON_Interval new_interval 10182: ); 10182: }; 10182: 10182: class ON_ClippingRegion 10182: { 10182: public: 10182: ON_ClippingRegion(); 10182: 10182: 10182: 10182: 10182: ON_Xform m_xform; 10182: # 786 "/<>/external/onurbs/opennurbs_xform.h" 10182: void SetClipPlaneTolerance( double clip_plane_tolerance ); 10182: # 797 "/<>/external/onurbs/opennurbs_xform.h" 10182: double ClipPlaneTolerance() const; 10182: 10182: enum 10182: { 10182: max_clip_plane_count = 16, 10182: frustum_bitmask = 0x0000003F, 10182: near_plane_bitmask = 0x00000020, 10182: far_plane_bitmask = 0x00000010, 10182: clip_plane_bitmask = 0x7FFFFFC0, 10182: negw_bitmask = 0x80000000 10182: }; 10182: 10182: 10182: 10182: 10182: int m_clip_plane_count; 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: float m_clip_plane_tolerance; 10182: 10182: public: 10182: ON_PlaneEquation m_clip_plane[max_clip_plane_count]; 10182: # 846 "/<>/external/onurbs/opennurbs_xform.h" 10182: int InViewFrustum( 10182: ON_3dPoint P 10182: ) const; 10182: int InViewFrustum( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_3fPoint* p 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_3dPoint* p 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_4dPoint* p 10182: ) const; 10182: # 887 "/<>/external/onurbs/opennurbs_xform.h" 10182: int InClipPlaneRegion( 10182: ON_3dPoint P 10182: ) const; 10182: int InClipPlaneRegion( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: int InClipPlaneRegion( 10182: int count, 10182: const ON_3fPoint* p 10182: ) const; 10182: int InClipPlaneRegion( 10182: int count, 10182: const ON_3dPoint* p 10182: ) const; 10182: int InClipPlaneRegion( 10182: int count, 10182: const ON_4dPoint* p 10182: ) const; 10182: # 923 "/<>/external/onurbs/opennurbs_xform.h" 10182: int IsVisible( 10182: ON_3dPoint P 10182: ) const; 10182: int IsVisible( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: int IsVisible( 10182: int count, 10182: const ON_3fPoint* p 10182: ) const; 10182: int IsVisible( 10182: int count, 10182: const ON_3dPoint* p 10182: ) const; 10182: int IsVisible( 10182: int count, 10182: const ON_4dPoint* p 10182: ) const; 10182: # 979 "/<>/external/onurbs/opennurbs_xform.h" 10182: int TransformPoints( int count, ON_4dPoint* p ) const; 10182: int TransformPoints( int count, ON_4dPoint* p, unsigned int* pflags ) const; 10182: # 1007 "/<>/external/onurbs/opennurbs_xform.h" 10182: unsigned int TransformPoint( 10182: const ON_4dPoint& P, 10182: ON_4dPoint& Q 10182: ) const; 10182: unsigned int TransformPoint( 10182: const ON_3dPoint& P, 10182: ON_3dPoint& Q 10182: ) const; 10182: unsigned int TransformPoint( 10182: const ON_3fPoint& P, 10182: ON_3dPoint& Q 10182: ) const; 10182: # 1033 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool GetLineClipPlaneParamters( 10182: ON_4dPoint P0, 10182: ON_4dPoint P1, 10182: double* t0, 10182: double* t1 10182: ) const; 10182: 10182: }; 10182: 10182: 10182: class ON_Localizer 10182: { 10182: public: 10182: ON_Localizer(); 10182: ~ON_Localizer(); 10182: 10182: ON_Localizer(const ON_Localizer&); 10182: ON_Localizer& operator=(const ON_Localizer&); 10182: 10182: void Destroy(); 10182: bool Read(ON_BinaryArchive&); 10182: bool Write(ON_BinaryArchive&) const; 10182: # 1086 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool CreateCylinderLocalizer( ON_3dPoint P, ON_3dVector D, double r0, double r1 ); 10182: # 1112 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool CreatePlaneLocalizer( ON_3dPoint P, ON_3dVector N, double h0, double h1 ); 10182: # 1143 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool CreateSphereLocalizer( ON_3dPoint P, double r0, double r1 ); 10182: # 1156 "/<>/external/onurbs/opennurbs_xform.h" 10182: double Value(ON_3dPoint P) const; 10182: double Value(double distance) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsZero( const ON_BoundingBox& bbox ) const; 10182: 10182: enum TYPE 10182: { 10182: no_type = 0, 10182: sphere_type = 1, 10182: plane_type = 2, 10182: cylinder_type = 3, 10182: curve_type = 4, 10182: surface_type = 5, 10182: distance_type = 6, 10182: force_32bit_localizer_type = 0xFFFFFFFF 10182: }; 10182: 10182: TYPE m_type; 10182: 10182: ON_Interval m_d; 10182: ON_3dPoint m_P; 10182: ON_3dVector m_V; 10182: class ON_NurbsCurve* m_nurbs_curve; 10182: class ON_NurbsSurface* m_nurbs_surface; 10182: }; 10182: 10182: 10182: class ON_SpaceMorph 10182: { 10182: public: 10182: ON_SpaceMorph(); 10182: virtual ~ON_SpaceMorph(); 10182: # 1207 "/<>/external/onurbs/opennurbs_xform.h" 10182: virtual 10182: bool IsIdentity( const ON_BoundingBox& bbox ) const; 10182: # 1223 "/<>/external/onurbs/opennurbs_xform.h" 10182: double Tolerance() const; 10182: # 1232 "/<>/external/onurbs/opennurbs_xform.h" 10182: void SetTolerance( 10182: double tolerance 10182: ); 10182: # 1247 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool QuickPreview() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetQuickPreview( 10182: bool bQuickPreview 10182: ); 10182: # 1270 "/<>/external/onurbs/opennurbs_xform.h" 10182: bool PreserveStructure() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetPreserveStructure( 10182: bool bPreserveStructure 10182: ); 10182: 10182: private: 10182: double m_tolerance; 10182: bool m_bQuickPreview; 10182: bool m_bPreserveStructure; 10182: }; 10182: # 57 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_quaternion.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: class ON_Quaternion 10182: { 10182: public: 10182: 10182: double a,b,c,d; 10182: 10182: static const ON_Quaternion Zero; 10182: static const ON_Quaternion Identity; 10182: static const ON_Quaternion I; 10182: static const ON_Quaternion J; 10182: static const ON_Quaternion K; 10182: 10182: ON_Quaternion() {} 10182: 10182: ON_Quaternion(double qa, double qb, double qc, double qd); 10182: 10182: 10182: ON_Quaternion(const ON_3dVector& v); 10182: 10182: 10182: ON_Quaternion& operator=(const ON_3dVector& v); 10182: 10182: void Set(double qa, double qb, double qc, double qd); 10182: 10182: 10182: ON_Quaternion operator*(int) const; 10182: ON_Quaternion operator/(int) const; 10182: ON_Quaternion operator*(float) const; 10182: ON_Quaternion operator/(float) const; 10182: ON_Quaternion operator*(double) const; 10182: ON_Quaternion operator/(double) const; 10182: 10182: ON_Quaternion operator+(const ON_Quaternion&) const; 10182: ON_Quaternion operator-(const ON_Quaternion&) const; 10182: 10182: 10182: ON_Quaternion operator*(const ON_Quaternion&) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_Quaternion Conjugate() const; 10182: # 80 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: bool Invert(); 10182: # 91 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: ON_Quaternion Inverse() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: double Length() const; 10182: 10182: 10182: 10182: 10182: 10182: double LengthSquared() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: double DistanceTo(const ON_Quaternion& q) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: static double Distance(const ON_Quaternion& p, const ON_Quaternion& q); 10182: # 137 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: ON_Xform MatrixForm() const; 10182: # 147 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: bool Unitize(); 10182: # 163 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: void SetRotation(double angle, const ON_3dVector& axis); 10182: # 177 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: static ON_Quaternion Rotation(double angle, const ON_3dVector& axis); 10182: # 191 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: void SetRotation(const ON_Plane& plane0, const ON_Plane& plane1); 10182: # 205 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: static ON_Quaternion Rotation(const ON_Plane& plane0, const ON_Plane& plane1); 10182: # 219 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: bool GetRotation(double& angle, ON_3dVector& axis) const; 10182: # 237 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: bool GetRotation(ON_Xform& xform) const; 10182: # 246 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: bool GetRotation(ON_Plane& plane) const; 10182: # 268 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: ON_3dVector Rotate(ON_3dVector v) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector Vector() const; 10182: 10182: 10182: 10182: 10182: 10182: double Scalar() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsZero() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsNotZero() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsScalar() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsVector() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: static ON_Quaternion Exp(ON_Quaternion q); 10182: 10182: 10182: 10182: 10182: 10182: static ON_Quaternion Log(ON_Quaternion q); 10182: 10182: 10182: 10182: 10182: 10182: static ON_Quaternion Pow(ON_Quaternion q, double t); 10182: 10182: 10182: static ON_Quaternion Slerp(ON_Quaternion q0, ON_Quaternion q1, double t); 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Quaternion ON_QuaternionProduct( const ON_Quaternion& p, const ON_Quaternion& q); 10182: # 344 "/<>/external/onurbs/opennurbs_quaternion.h" 10182: 10182: ON_Quaternion ON_CrossProduct( const ON_Quaternion& p, const ON_Quaternion& q); 10182: 10182: 10182: ON_Quaternion operator*(int, const ON_Quaternion&); 10182: 10182: 10182: ON_Quaternion operator*(float, const ON_Quaternion&); 10182: 10182: 10182: ON_Quaternion operator*(double, const ON_Quaternion&); 10182: # 58 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_workspace.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_workspace.h" 10182: class ON_Workspace 10182: { 10182: public: 10182: # 37 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_Workspace(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ~ON_Workspace(); 10182: # 55 "/<>/external/onurbs/opennurbs_workspace.h" 10182: void Destroy(); 10182: # 84 "/<>/external/onurbs/opennurbs_workspace.h" 10182: void* GetMemory( size_t sz ); 10182: # 107 "/<>/external/onurbs/opennurbs_workspace.h" 10182: int* GetIntMemory( size_t count ); 10182: # 124 "/<>/external/onurbs/opennurbs_workspace.h" 10182: int** GetIntMemory( size_t row_count, size_t col_count ); 10182: # 147 "/<>/external/onurbs/opennurbs_workspace.h" 10182: double* GetDoubleMemory( size_t count ); 10182: # 164 "/<>/external/onurbs/opennurbs_workspace.h" 10182: double** GetDoubleMemory( size_t row_count, size_t col_count ); 10182: # 187 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_3dPoint* GetPointMemory( size_t count ); 10182: # 210 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_3dVector* GetVectorMemory( size_t count ); 10182: # 240 "/<>/external/onurbs/opennurbs_workspace.h" 10182: void* GrowMemory( void* ptr, size_t sz ); 10182: # 265 "/<>/external/onurbs/opennurbs_workspace.h" 10182: int* GrowIntMemory( int* ptr, size_t count ); 10182: # 290 "/<>/external/onurbs/opennurbs_workspace.h" 10182: double* GrowDoubleMemory( double* ptr, size_t count ); 10182: # 315 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_3dPoint* GrowPointMemory( ON_3dPoint* ptr, size_t count ); 10182: # 340 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_3dVector* GrowVectorMemory( ON_3dVector* ptr, size_t count ); 10182: # 362 "/<>/external/onurbs/opennurbs_workspace.h" 10182: ON_BOOL32 KeepMemory( void* ptr ); 10182: # 377 "/<>/external/onurbs/opennurbs_workspace.h" 10182: void KeepAllMemory(); 10182: # 395 "/<>/external/onurbs/opennurbs_workspace.h" 10182: FILE* OpenFile( 10182: const char* filename, 10182: const char* filemode 10182: ); 10182: # 416 "/<>/external/onurbs/opennurbs_workspace.h" 10182: FILE* OpenFile( 10182: const wchar_t* filename, 10182: const wchar_t* filemode 10182: ); 10182: # 438 "/<>/external/onurbs/opennurbs_workspace.h" 10182: int KeepFile(FILE* fileptr); 10182: 10182: private: 10182: struct ON_Workspace_FBLK * m_pFileBlk; 10182: struct ON_Workspace_MBLK * m_pMemBlk; 10182: 10182: private: 10182: 10182: 10182: 10182: ON_Workspace( const ON_Workspace& ); 10182: ON_Workspace& operator=( const ON_Workspace& ); 10182: }; 10182: # 59 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_plane.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_plane.h" 10182: class ON_Plane 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Plane(); 10182: # 44 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_Plane( 10182: const ON_3dPoint& origin, 10182: const ON_3dVector& normal 10182: ); 10182: # 61 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_Plane( 10182: const ON_3dPoint& origin, 10182: const ON_3dVector& x_dir, 10182: const ON_3dVector& y_dir 10182: ); 10182: # 78 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_Plane( 10182: const ON_3dPoint& origin, 10182: const ON_3dPoint& x_point, 10182: const ON_3dPoint& y_point 10182: ); 10182: # 92 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_Plane( 10182: const double equation[4] 10182: ); 10182: 10182: ~ON_Plane(); 10182: 10182: bool operator==(const ON_Plane&) const; 10182: bool operator!=(const ON_Plane&) const; 10182: # 113 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool CreateFromNormal( 10182: const ON_3dPoint& origin, 10182: const ON_3dVector& normal 10182: ); 10182: # 132 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool CreateFromFrame( 10182: const ON_3dPoint& origin, 10182: const ON_3dVector& x_dir, 10182: const ON_3dVector& y_dir 10182: ); 10182: # 151 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool CreateFromPoints( 10182: const ON_3dPoint& origin, 10182: const ON_3dPoint& point_on_x, 10182: const ON_3dPoint& point_on 10182: ); 10182: # 170 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool CreateFromEquation( 10182: const double equation[4] 10182: ); 10182: # 181 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dPoint& Origin() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dVector& Xaxis() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dVector& Yaxis() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dVector& Normal() const; 10182: # 214 "/<>/external/onurbs/opennurbs_plane.h" 10182: void SetOrigin( const ON_3dPoint& origin ); 10182: # 225 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_3dPoint PointAt( 10182: double u, 10182: double v 10182: ) const; 10182: # 240 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_3dPoint PointAt( 10182: double u, 10182: double v, 10182: double w 10182: ) const; 10182: # 259 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_Line IsoLine( 10182: int dir, 10182: double c 10182: ) const; 10182: # 277 "/<>/external/onurbs/opennurbs_plane.h" 10182: double DistanceTo( 10182: const ON_3dPoint& point 10182: ) const; 10182: 10182: 10182: bool GetDistanceToBoundingBox( 10182: 10182: const ON_BoundingBox&, 10182: 10182: 10182: double* min, 10182: double* max 10182: ) const; 10182: # 301 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool UpdateEquation(); 10182: # 314 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool ClosestPointTo( 10182: ON_3dPoint world_point, 10182: double* u, 10182: double* v 10182: ) const; 10182: # 328 "/<>/external/onurbs/opennurbs_plane.h" 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint point 10182: ) const; 10182: # 342 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 356 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool SwapCoordinates( 10182: int i, 10182: int j 10182: ); 10182: # 371 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis 10182: ); 10182: # 386 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Rotate( 10182: double angle, 10182: const ON_3dVector& axis 10182: ); 10182: # 402 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis, 10182: const ON_3dPoint& center 10182: ); 10182: # 419 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Rotate( 10182: double angle, 10182: const ON_3dVector& axis, 10182: const ON_3dPoint& center 10182: ); 10182: # 433 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Translate( 10182: const ON_3dVector& delta 10182: ); 10182: # 444 "/<>/external/onurbs/opennurbs_plane.h" 10182: bool Flip(); 10182: 10182: 10182: const static 10182: ON_Plane World_xy; 10182: 10182: public: 10182: 10182: ON_3dPoint origin; 10182: 10182: 10182: ON_3dVector xaxis; 10182: 10182: 10182: ON_3dVector yaxis; 10182: 10182: 10182: ON_3dVector zaxis; 10182: 10182: 10182: ON_PlaneEquation plane_equation; 10182: 10182: }; 10182: 10182: class ON_ClippingPlaneInfo 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: ON_PlaneEquation m_plane_equation; 10182: ON_UUID m_plane_id; 10182: bool m_bEnabled; 10182: 10182: void Default(); 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: }; 10182: 10182: class ON_ClippingPlane 10182: { 10182: public: 10182: ON_ClippingPlane(); 10182: ~ON_ClippingPlane(); 10182: 10182: void Default(); 10182: 10182: ON_Plane m_plane; 10182: ON_UuidList m_viewport_ids; 10182: ON_UUID m_plane_id; 10182: bool m_bEnabled; 10182: 10182: ON_ClippingPlaneInfo ClippingPlaneInfo() const; 10182: 10182: bool Read( class ON_BinaryArchive& ); 10182: bool Write( class ON_BinaryArchive& ) const; 10182: }; 10182: # 519 "/<>/external/onurbs/opennurbs_plane.h" 10182: extern const ON_Plane ON_xy_plane; 10182: extern const ON_Plane ON_yz_plane; 10182: extern const ON_Plane ON_zx_plane; 10182: # 542 "/<>/external/onurbs/opennurbs_plane.h" 10182: 10182: int ON_Get3dConvexHull( 10182: const ON_SimpleArray & points, 10182: ON_SimpleArray & hull 10182: ); 10182: # 60 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_circle.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_circle.h" 10182: class ON_NurbsCurve; 10182: # 33 "/<>/external/onurbs/opennurbs_circle.h" 10182: class ON_Circle 10182: { 10182: public: 10182: 10182: 10182: ON_Circle(); 10182: 10182: 10182: 10182: ON_Circle( 10182: const ON_Plane& plane, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: ON_Circle( 10182: const ON_3dPoint& center, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: ON_Circle( 10182: const ON_Plane& plane, 10182: const ON_3dPoint& center, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: ON_Circle( 10182: const ON_2dPoint& P, 10182: const ON_2dPoint& Q, 10182: const ON_2dPoint& R 10182: ); 10182: 10182: 10182: 10182: ON_Circle( 10182: const ON_3dPoint& P, 10182: const ON_3dPoint& Q, 10182: const ON_3dPoint& R 10182: ); 10182: 10182: ~ON_Circle(); 10182: 10182: 10182: 10182: bool Create( 10182: const ON_Plane& plane, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: bool Create( 10182: const ON_3dPoint& center, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: bool Create( 10182: const ON_Plane& plane, 10182: const ON_3dPoint& center, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: bool Create( 10182: const ON_2dPoint& P, 10182: const ON_2dPoint& Q, 10182: const ON_2dPoint& R 10182: ); 10182: 10182: 10182: 10182: bool Create( 10182: const ON_3dPoint& P, 10182: const ON_3dPoint& Q, 10182: const ON_3dPoint& R 10182: ); 10182: 10182: 10182: 10182: 10182: bool Create( 10182: const ON_2dPoint& P, 10182: const ON_2dVector& tangent_at_P, 10182: const ON_2dPoint& Q 10182: ); 10182: 10182: 10182: 10182: 10182: bool Create( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& tangent_at_P, 10182: const ON_3dPoint& Q 10182: ); 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: bool IsInPlane( const ON_Plane&, double = 2.3283064365386962890625e-10 ) const; 10182: 10182: double Radius() const; 10182: double Diameter() const; 10182: double Circumference() const; 10182: const ON_3dPoint& Center() const; 10182: const ON_3dVector& Normal() const; 10182: const ON_Plane& Plane() const; 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 167 "/<>/external/onurbs/opennurbs_circle.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: bool Transform( const ON_Xform& ); 10182: 10182: 10182: 10182: ON_3dPoint PointAt( 10182: double 10182: ) const; 10182: ON_3dVector DerivativeAt( 10182: int, 10182: double 10182: ) const; 10182: 10182: ON_3dVector TangentAt(double) const; 10182: 10182: 10182: bool ClosestPointTo( 10182: const ON_3dPoint& point, 10182: double* t 10182: ) const; 10182: 10182: 10182: ON_3dPoint ClosestPointTo( 10182: const ON_3dPoint& point 10182: ) const; 10182: 10182: 10182: double EquationAt( const ON_2dPoint& plane_point ) const; 10182: 10182: ON_2dVector GradientAt( const ON_2dPoint& plane_point ) const; 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Translate( 10182: const ON_3dVector& delta 10182: ); 10182: 10182: bool Reverse(); 10182: # 246 "/<>/external/onurbs/opennurbs_circle.h" 10182: int GetNurbForm( 10182: ON_NurbsCurve& nurbs_curve 10182: ) const; 10182: # 278 "/<>/external/onurbs/opennurbs_circle.h" 10182: bool GetRadianFromNurbFormParameter( 10182: double nurbs_parameter, 10182: double* circle_radians_parameter 10182: ) const; 10182: # 311 "/<>/external/onurbs/opennurbs_circle.h" 10182: bool GetNurbFormParameterFromRadian( 10182: double circle_radians_parameter, 10182: double* nurbs_parameter 10182: ) const; 10182: 10182: public: 10182: 10182: ON_Plane plane; 10182: double radius; 10182: 10182: }; 10182: # 61 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_ellipse.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_ellipse.h" 10182: class ON_Ellipse; 10182: class ON_Plane; 10182: 10182: class ON_Ellipse 10182: { 10182: public: 10182: ON_Ellipse(); 10182: 10182: ON_Ellipse( 10182: const ON_Plane&, 10182: double, double 10182: ); 10182: 10182: ON_Ellipse( 10182: const ON_Circle& 10182: ); 10182: 10182: ~ON_Ellipse(); 10182: 10182: ON_Ellipse& operator=(const ON_Circle&); 10182: 10182: ON_BOOL32 Create( 10182: const ON_Plane&, 10182: double, double 10182: ); 10182: 10182: ON_BOOL32 Create( 10182: const ON_Circle& 10182: ); 10182: 10182: ON_BOOL32 IsValid() const; 10182: 10182: 10182: ON_BOOL32 IsCircle() const; 10182: 10182: double Radius( 10182: int 10182: ) const; 10182: const ON_3dPoint& Center() const; 10182: const ON_3dVector& Normal() const; 10182: const ON_Plane& Plane() const; 10182: 10182: 10182: 10182: 10182: 10182: double FocalDistance() const; 10182: 10182: bool GetFoci( ON_3dPoint& F1, ON_3dPoint& F2 ) const; 10182: 10182: 10182: 10182: 10182: ON_3dPoint PointAt( double ) const; 10182: ON_3dVector DerivativeAt( 10182: int, 10182: double 10182: ) const; 10182: 10182: ON_3dVector TangentAt( double ) const; 10182: ON_3dVector CurvatureAt( double ) const; 10182: 10182: 10182: ON_BOOL32 ClosestPointTo( 10182: const ON_3dPoint&, 10182: double* 10182: ) const; 10182: 10182: ON_3dPoint ClosestPointTo( 10182: const ON_3dPoint& 10182: ) const; 10182: 10182: 10182: double EquationAt( const ON_2dPoint& ) const; 10182: ON_2dVector GradientAt( const ON_2dPoint& ) const; 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double, 10182: double, 10182: const ON_3dVector& 10182: ); 10182: ON_BOOL32 Rotate( 10182: double, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double, 10182: double, 10182: const ON_3dVector&, 10182: const ON_3dPoint& 10182: ); 10182: ON_BOOL32 Rotate( 10182: double, 10182: const ON_3dVector&, 10182: const ON_3dPoint& 10182: ); 10182: 10182: ON_BOOL32 Translate( 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: int GetNurbForm( ON_NurbsCurve& ) const; 10182: 10182: public: 10182: 10182: 10182: 10182: ON_Plane plane; 10182: double radius[2]; 10182: }; 10182: # 62 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_line.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_line.h" 10182: class ON_Line 10182: { 10182: public: 10182: 10182: ON_Line(); 10182: ON_Line( const ON_3dPoint& start, const ON_3dPoint& end ); 10182: ~ON_Line(); 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: ON_3dPoint& operator[](int); 10182: const ON_3dPoint& operator[](int) const; 10182: # 46 "/<>/external/onurbs/opennurbs_line.h" 10182: bool Create( 10182: const ON_3dPoint& start, 10182: const ON_3dPoint& end 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 72 "/<>/external/onurbs/opennurbs_line.h" 10182: bool GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false 10182: ) const; 10182: # 92 "/<>/external/onurbs/opennurbs_line.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 112 "/<>/external/onurbs/opennurbs_line.h" 10182: bool InPlane( ON_Plane& plane, double tolerance = 0.0 ) const; 10182: 10182: 10182: 10182: double Length() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector Direction() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector Tangent() const; 10182: # 142 "/<>/external/onurbs/opennurbs_line.h" 10182: ON_3dPoint PointAt( 10182: double t 10182: ) const; 10182: # 157 "/<>/external/onurbs/opennurbs_line.h" 10182: bool ClosestPointTo( 10182: const ON_3dPoint& test_point, 10182: double* t 10182: ) const; 10182: # 171 "/<>/external/onurbs/opennurbs_line.h" 10182: ON_3dPoint ClosestPointTo( 10182: const ON_3dPoint& test_point 10182: ) const; 10182: # 188 "/<>/external/onurbs/opennurbs_line.h" 10182: double DistanceTo( ON_3dPoint test_point ) const; 10182: # 203 "/<>/external/onurbs/opennurbs_line.h" 10182: double MinimumDistanceTo( const ON_3dPoint& P ) const; 10182: double MinimumDistanceTo( const ON_Line& L ) const; 10182: # 217 "/<>/external/onurbs/opennurbs_line.h" 10182: double MaximumDistanceTo( const ON_3dPoint& P ) const; 10182: double MaximumDistanceTo( const ON_Line& other ) const; 10182: # 233 "/<>/external/onurbs/opennurbs_line.h" 10182: bool IsFartherThan( double d, const ON_3dPoint& P ) const; 10182: bool IsFartherThan( double d, const ON_Line& L ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Reverse(); 10182: 10182: bool Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Translate( 10182: const ON_3dVector& delta 10182: ); 10182: 10182: public: 10182: ON_3dPoint from; 10182: ON_3dPoint to; 10182: }; 10182: # 63 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_polyline.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_polyline.h" 10182: class ON_Polyline : public ON_3dPointArray 10182: { 10182: public: 10182: ON_Polyline(); 10182: ON_Polyline(const ON_3dPointArray&); 10182: ON_Polyline& operator=(const ON_3dPointArray&); 10182: ~ON_Polyline(); 10182: # 37 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool CreateInscribedPolygon( 10182: const ON_Circle& circle, 10182: int side_count 10182: ); 10182: # 52 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool CreateCircumscribedPolygon( 10182: const ON_Circle& circle, 10182: int side_count 10182: ); 10182: # 71 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool CreateStarPolygon( 10182: const ON_Circle& circle, 10182: double other_radius, 10182: int side_count 10182: ); 10182: # 88 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool IsValid( 10182: double tolerance = 0.0 10182: ) const; 10182: # 101 "/<>/external/onurbs/opennurbs_polyline.h" 10182: int Clean( 10182: double tolerance = 0.0 10182: ); 10182: 10182: 10182: 10182: int PointCount() const; 10182: 10182: 10182: 10182: int SegmentCount() const; 10182: # 120 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool IsClosed( 10182: double tolerance = 0.0 10182: ) const; 10182: 10182: 10182: 10182: 10182: double Length() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector SegmentDirection ( 10182: int segment_index 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector SegmentTangent ( 10182: int segment_index 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint PointAt( double t ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector DerivativeAt( double t ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector TangentAt( double t ) const; 10182: # 173 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool ClosestPointTo( 10182: const ON_3dPoint& test_point, 10182: double* t 10182: ) const; 10182: # 195 "/<>/external/onurbs/opennurbs_polyline.h" 10182: bool ClosestPointTo( 10182: const ON_3dPoint& test_point, 10182: double* t, 10182: int segment_index0, 10182: int segment_index1 10182: ) const; 10182: # 209 "/<>/external/onurbs/opennurbs_polyline.h" 10182: ON_3dPoint ClosestPointTo( 10182: const ON_3dPoint& test_point 10182: ) const; 10182: 10182: }; 10182: # 64 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_cylinder.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_cylinder.h" 10182: class ON_NurbsSurface; 10182: class ON_RevSurface; 10182: class ON_Brep; 10182: 10182: 10182: 10182: 10182: 10182: class ON_Cylinder 10182: { 10182: public: 10182: ON_Cylinder(); 10182: 10182: ON_Cylinder( 10182: const ON_Circle& 10182: ); 10182: 10182: ON_Cylinder( 10182: const ON_Circle&, 10182: double 10182: ); 10182: 10182: ~ON_Cylinder(); 10182: 10182: bool Create( 10182: const ON_Circle& 10182: ); 10182: 10182: bool Create( 10182: const ON_Circle&, 10182: double 10182: ); 10182: 10182: bool IsValid() const; 10182: 10182: 10182: bool IsFinite() const; 10182: 10182: 10182: 10182: const ON_3dVector& Axis() const; 10182: const ON_3dPoint& Center() const; 10182: double Height() const; 10182: ON_Circle CircleAt( 10182: double 10182: ) const; 10182: ON_Line LineAt( 10182: double 10182: ) const; 10182: 10182: 10182: ON_3dPoint PointAt( 10182: double, 10182: double 10182: ) const; 10182: ON_3dPoint NormalAt( 10182: double, 10182: double 10182: ) const; 10182: 10182: 10182: bool ClosestPointTo( 10182: ON_3dPoint, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool Rotate( 10182: double, 10182: double, 10182: const ON_3dVector& 10182: ); 10182: bool Rotate( 10182: double, 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: bool Rotate( 10182: double, 10182: double, 10182: const ON_3dVector&, 10182: const ON_3dPoint& 10182: ); 10182: bool Rotate( 10182: double, 10182: const ON_3dVector&, 10182: const ON_3dPoint& 10182: ); 10182: 10182: bool Translate( 10182: const ON_3dVector& 10182: ); 10182: 10182: 10182: int GetNurbForm( ON_NurbsSurface& ) const; 10182: # 133 "/<>/external/onurbs/opennurbs_cylinder.h" 10182: ON_RevSurface* RevSurfaceForm( ON_RevSurface* srf = 10182: # 133 "/<>/external/onurbs/opennurbs_cylinder.h" 3 4 10182: __null 10182: # 133 "/<>/external/onurbs/opennurbs_cylinder.h" 10182: ) const; 10182: 10182: public: 10182: 10182: ON_Circle circle; 10182: # 149 "/<>/external/onurbs/opennurbs_cylinder.h" 10182: double height[2]; 10182: }; 10182: # 65 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_cone.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_cone.h" 10182: class ON_NurbsSurface; 10182: class ON_Brep; 10182: 10182: 10182: 10182: 10182: class ON_Cone 10182: { 10182: public: 10182: 10182: 10182: 10182: ON_Cone(); 10182: 10182: 10182: ON_Cone( 10182: const ON_Plane& plane, 10182: double height, 10182: double radius 10182: ); 10182: 10182: ~ON_Cone(); 10182: # 50 "/<>/external/onurbs/opennurbs_cone.h" 10182: ON_BOOL32 Create( 10182: const ON_Plane& plane, 10182: double height, 10182: double radius 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint BasePoint() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_3dPoint& ApexPoint() const; 10182: 10182: 10182: 10182: const ON_3dVector& Axis() const; 10182: 10182: 10182: 10182: 10182: 10182: double AngleInRadians() const; 10182: 10182: 10182: 10182: 10182: double AngleInDegrees() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint PointAt( 10182: double radial_parameter, 10182: double height_parameter 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector NormalAt( 10182: double radial_parameter, 10182: double height_parameter 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_Circle CircleAt( 10182: double height_parameter 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_Line LineAt( 10182: double radial_parameter 10182: ) const; 10182: 10182: 10182: bool ClosestPointTo( 10182: ON_3dPoint point, 10182: double* radial_parameter, 10182: double* height_parameter 10182: ) const; 10182: 10182: 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint 10182: ) const; 10182: 10182: ON_BOOL32 Transform( const ON_Xform& ); 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: ON_BOOL32 Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: ON_BOOL32 Rotate( 10182: double angle_in_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: ON_BOOL32 Translate( 10182: const ON_3dVector& delta 10182: ); 10182: 10182: ON_BOOL32 GetNurbForm( ON_NurbsSurface& ) const; 10182: # 177 "/<>/external/onurbs/opennurbs_cone.h" 10182: ON_RevSurface* RevSurfaceForm( ON_RevSurface* srf = 10182: # 177 "/<>/external/onurbs/opennurbs_cone.h" 3 4 10182: __null 10182: # 177 "/<>/external/onurbs/opennurbs_cone.h" 10182: ) const; 10182: 10182: public: 10182: ON_Plane plane; 10182: double height; 10182: double radius; 10182: }; 10182: # 66 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_sphere.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_sphere.h" 10182: class ON_RevSurface; 10182: 10182: class ON_Sphere 10182: { 10182: public: 10182: 10182: ON_Plane plane; 10182: double radius; 10182: 10182: ON_Sphere(); 10182: ON_Sphere( const ON_3dPoint& center, double radius ); 10182: ~ON_Sphere(); 10182: 10182: bool IsValid() const; 10182: 10182: bool Create( const ON_3dPoint& center, double radius); 10182: 10182: ON_Circle LatitudeRadians(double latitude_radians ) const; 10182: ON_Circle LatitudeDegrees(double latitude_degrees) const; 10182: ON_Circle LongitudeRadians(double longitude_radians) const; 10182: ON_Circle LongitudeDegrees(double longitude_degrees) const; 10182: 10182: ON_3dPoint Center() const; 10182: ON_3dPoint NorthPole() const; 10182: ON_3dPoint SouthPole() const; 10182: double Diameter() const; 10182: double Radius() const; 10182: 10182: ON_3dPoint PointAt( 10182: double longitude_radians, 10182: double latitude_radians 10182: ) const; 10182: 10182: ON_3dVector NormalAt( 10182: double longitude_radians, 10182: double latitude_radians 10182: ) const; 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: 10182: 10182: bool ClosestPointTo( 10182: ON_3dPoint test_point, 10182: double* longitude_radians, 10182: double* latitude_radians 10182: ) const; 10182: 10182: 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint test_point 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Translate( 10182: const ON_3dVector& 10182: ); 10182: 10182: bool Transform( const ON_Xform& ); 10182: 10182: 10182: int GetNurbForm( ON_NurbsSurface& ) const; 10182: # 123 "/<>/external/onurbs/opennurbs_sphere.h" 10182: ON_RevSurface* RevSurfaceForm( bool bArcLengthParameterization, ON_RevSurface* srf = 10182: # 123 "/<>/external/onurbs/opennurbs_sphere.h" 3 4 10182: __null 10182: # 123 "/<>/external/onurbs/opennurbs_sphere.h" 10182: ) const; 10182: ON_RevSurface* RevSurfaceForm( ON_RevSurface* srf = 10182: # 124 "/<>/external/onurbs/opennurbs_sphere.h" 3 4 10182: __null 10182: # 124 "/<>/external/onurbs/opennurbs_sphere.h" 10182: ) const; 10182: }; 10182: # 67 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_box.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_box.h" 10182: class ON_Box 10182: { 10182: public: 10182: ON_Plane plane; 10182: 10182: ON_Interval dx; 10182: ON_Interval dy; 10182: ON_Interval dz; 10182: 10182: ON_Box(); 10182: ON_Box( const ON_BoundingBox& bbox ); 10182: ~ON_Box(); 10182: 10182: bool IsValid() const; 10182: 10182: bool Create( const ON_BoundingBox& bbox ); 10182: 10182: void Destroy(); 10182: 10182: ON_3dPoint Center() const; 10182: bool GetCorners( ON_3dPoint* corners ) const; 10182: bool GetCorners( ON_SimpleArray& corners ) const; 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: 10182: ON_3dPoint PointAt( 10182: double r, 10182: double s, 10182: double t 10182: ) const; 10182: 10182: bool ClosestPointTo( 10182: ON_3dPoint point, 10182: double* r, 10182: double* s, 10182: double* t 10182: ) const; 10182: 10182: 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint test_point 10182: ) const; 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: bool Translate( 10182: const ON_3dVector& 10182: ); 10182: 10182: bool Transform( const ON_Xform& ); 10182: # 111 "/<>/external/onurbs/opennurbs_box.h" 10182: int IsDegenerate( 10182: double tolerance = -1.23432101234321e+308 10182: ) const; 10182: 10182: double Volume() const; 10182: 10182: double Area() const; 10182: }; 10182: # 68 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_torus.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_torus.h" 10182: class ON_RevSurface; 10182: class ON_TextLog; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Torus 10182: { 10182: 10182: public: 10182: 10182: 10182: ON_Plane plane; 10182: double major_radius; 10182: double minor_radius; 10182: 10182: public: 10182: 10182: ON_Torus(); 10182: ON_Torus( const ON_Plane& major__plane, double major__radius, double minor__radius ); 10182: ON_Torus( const ON_Circle& major__circle, double minor__radius ); 10182: ~ON_Torus(); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 46 "/<>/external/onurbs/opennurbs_torus.h" 3 4 10182: __null 10182: # 46 "/<>/external/onurbs/opennurbs_torus.h" 10182: ) const; 10182: 10182: ON_BOOL32 Create( const ON_Plane& major__plane, double major__radius, double minor__radius ); 10182: ON_BOOL32 Create( const ON_Circle& major__circle, double minor__radius); 10182: # 66 "/<>/external/onurbs/opennurbs_torus.h" 10182: ON_Circle MajorCircleRadians(double minor_angle_radians ) const; 10182: # 83 "/<>/external/onurbs/opennurbs_torus.h" 10182: ON_Circle MajorCircleDegrees(double minor_angle_degrees) const; 10182: # 101 "/<>/external/onurbs/opennurbs_torus.h" 10182: ON_Circle MinorCircleRadians(double major_angle_radians) const; 10182: # 119 "/<>/external/onurbs/opennurbs_torus.h" 10182: ON_Circle MinorCircleDegrees(double major_angle_degrees) const; 10182: 10182: ON_3dPoint Center() const; 10182: ON_3dVector Axis() const; 10182: double MajorRadius() const; 10182: double MinorRadius() const; 10182: 10182: ON_3dPoint PointAt( 10182: double major_angle_radians, 10182: double minor_angle_radians 10182: ) const; 10182: 10182: ON_3dVector NormalAt( 10182: double major_angle_radians, 10182: double minor_angle_radians 10182: ) const; 10182: 10182: 10182: ON_BOOL32 ClosestPointTo( 10182: ON_3dPoint test_point, 10182: double* major_angle_radians, 10182: double* minor_angle_radians 10182: ) const; 10182: 10182: 10182: ON_3dPoint ClosestPointTo( 10182: ON_3dPoint test_point 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: ON_BOOL32 Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation 10182: ); 10182: 10182: 10182: ON_BOOL32 Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: ON_BOOL32 Rotate( 10182: double angle_radians, 10182: const ON_3dVector& axis_of_rotation, 10182: const ON_3dPoint& center_of_rotation 10182: ); 10182: 10182: ON_BOOL32 Translate( 10182: const ON_3dVector& 10182: ); 10182: 10182: ON_BOOL32 Transform( const ON_Xform& ); 10182: 10182: 10182: int GetNurbForm( ON_NurbsSurface& ) const; 10182: # 191 "/<>/external/onurbs/opennurbs_torus.h" 10182: ON_RevSurface* RevSurfaceForm( ON_RevSurface* srf = 10182: # 191 "/<>/external/onurbs/opennurbs_torus.h" 3 4 10182: __null 10182: # 191 "/<>/external/onurbs/opennurbs_torus.h" 10182: ) const; 10182: }; 10182: # 69 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_bezier.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_bezier.h" 10182: class ON_PolynomialCurve; 10182: class ON_PolynomialSurface; 10182: class ON_BezierCurve; 10182: class ON_BezierSurface; 10182: class ON_TextLog; 10182: class ON_NurbsCurve; 10182: class ON_NurbsSurface; 10182: class ON_X_EVENT; 10182: 10182: class ON_PolynomialCurve 10182: { 10182: public: 10182: ON_PolynomialCurve(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_PolynomialCurve( 10182: int dim, 10182: ON_BOOL32 bIsRational, 10182: int order 10182: ); 10182: 10182: ~ON_PolynomialCurve(); 10182: 10182: ON_PolynomialCurve(const ON_PolynomialCurve&); 10182: 10182: ON_PolynomialCurve(const ON_BezierCurve&); 10182: 10182: ON_PolynomialCurve& operator=(const ON_PolynomialCurve&); 10182: 10182: ON_PolynomialCurve& operator=(const ON_BezierCurve&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Create( 10182: int dim, 10182: ON_BOOL32 bIsRational, 10182: int order 10182: ); 10182: 10182: 10182: 10182: void Destroy(); 10182: # 85 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_BOOL32 Evaluate( 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v 10182: ) const; 10182: 10182: 10182: int m_dim; 10182: 10182: 10182: int m_is_rat; 10182: 10182: 10182: int m_order; 10182: 10182: 10182: ON_4dPointArray m_cv; 10182: 10182: 10182: ON_Interval m_domain; 10182: }; 10182: 10182: class ON_PolynomialSurface 10182: { 10182: public: 10182: ON_PolynomialSurface(); 10182: ON_PolynomialSurface( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int 10182: ); 10182: ~ON_PolynomialSurface(); 10182: ON_PolynomialSurface(const ON_PolynomialSurface&); 10182: ON_PolynomialSurface(const ON_BezierSurface&); 10182: ON_PolynomialSurface& operator=(const ON_PolynomialSurface&); 10182: ON_PolynomialSurface& operator=(const ON_BezierSurface&); 10182: 10182: ON_BOOL32 Create( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int 10182: ); 10182: void Destroy(); 10182: 10182: ON_BOOL32 Evaluate( 10182: double s, 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v 10182: ) const; 10182: 10182: int m_dim; 10182: int m_is_rat; 10182: int m_order[2]; 10182: ON_4dPointArray m_cv; 10182: 10182: ON_Interval m_domain[2]; 10182: }; 10182: 10182: class ON_BezierCurve 10182: { 10182: public: 10182: 10182: ON_BezierCurve(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BezierCurve( 10182: int dim, 10182: ON_BOOL32 bIsRational, 10182: int order 10182: ); 10182: 10182: ~ON_BezierCurve(); 10182: ON_BezierCurve(const ON_BezierCurve&); 10182: ON_BezierCurve(const ON_PolynomialCurve&); 10182: ON_BezierCurve(const ON_2dPointArray&); 10182: ON_BezierCurve(const ON_3dPointArray&); 10182: ON_BezierCurve(const ON_4dPointArray&); 10182: ON_BezierCurve& operator=(const ON_BezierCurve&); 10182: ON_BezierCurve& operator=(const ON_PolynomialCurve&); 10182: 10182: 10182: ON_BezierCurve& operator=(const ON_2dPointArray&); 10182: ON_BezierCurve& operator=(const ON_3dPointArray&); 10182: ON_BezierCurve& operator=(const ON_4dPointArray&); 10182: 10182: bool IsValid() const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: int Dimension() const; 10182: # 196 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Create( 10182: int dim, 10182: ON_BOOL32 bIsRational, 10182: int order 10182: ); 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: void EmergencyDestroy(); 10182: # 217 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Loft( 10182: const ON_3dPointArray& points 10182: ); 10182: # 235 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Loft( 10182: int pt_dim, 10182: int pt_count, 10182: int pt_stride, 10182: const double* pt, 10182: int t_stride, 10182: const double* t 10182: ); 10182: # 257 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetBBox( 10182: double* box_min, 10182: double* box_max, 10182: int bGrowBox = false 10182: ) const; 10182: # 273 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 300 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 313 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 330 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 349 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double rotation_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 363 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Translate( 10182: const ON_3dVector& translation_vector 10182: ); 10182: # 376 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Scale( 10182: double scale_factor 10182: ); 10182: 10182: 10182: 10182: ON_Interval Domain() const; 10182: 10182: 10182: 10182: 10182: bool Reverse(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint PointAt( 10182: double t 10182: ) const; 10182: # 409 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_3dVector DerivativeAt( 10182: double t 10182: ) const; 10182: # 423 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_3dVector TangentAt( 10182: double t 10182: ) const; 10182: # 437 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_3dVector CurvatureAt( 10182: double t 10182: ) const; 10182: # 448 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool EvPoint( 10182: double t, 10182: ON_3dPoint& point 10182: ) const; 10182: # 461 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Ev1Der( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& first_derivative 10182: ) const; 10182: # 476 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Ev2Der( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& first_derivative, 10182: ON_3dVector& second_derivative 10182: ) const; 10182: # 496 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool EvTangent( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& tangent 10182: ) const; 10182: # 513 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool EvCurvature( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& tangent, 10182: ON_3dVector& kappa 10182: ) const; 10182: # 533 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Evaluate( 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v 10182: ) const; 10182: # 547 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetNurbForm( 10182: ON_NurbsCurve& nurbs_curve 10182: ) const; 10182: 10182: 10182: 10182: bool IsRational() const; 10182: 10182: 10182: 10182: 10182: int CVSize() const; 10182: 10182: 10182: 10182: 10182: int CVCount() const; 10182: 10182: 10182: 10182: int Order() const; 10182: 10182: 10182: 10182: int Degree() const; 10182: # 594 "/<>/external/onurbs/opennurbs_bezier.h" 10182: double* CV( 10182: int cv_index 10182: ) const; 10182: # 606 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON::point_style CVStyle() const; 10182: 10182: 10182: 10182: 10182: 10182: double Weight( 10182: int cv_index 10182: ) const; 10182: # 629 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetWeight( 10182: int cv_index, 10182: double weight 10182: ); 10182: # 657 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetCV( 10182: int cv_index, 10182: ON::point_style pointstyle, 10182: const double* cv 10182: ); 10182: # 674 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetCV( 10182: int cv_index, 10182: const ON_3dPoint& point 10182: ); 10182: # 691 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetCV( 10182: int cv_index, 10182: const ON_4dPoint& point 10182: ); 10182: # 718 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetCV( 10182: int cv_index, 10182: ON::point_style pointstyle, 10182: double* cv 10182: ) const; 10182: # 732 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetCV( 10182: int cv_index, 10182: ON_3dPoint& point 10182: ) const; 10182: # 745 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetCV( 10182: int cv_index, 10182: ON_4dPoint& point 10182: ) const; 10182: 10182: 10182: 10182: bool ZeroCVs(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool MakeRational(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool MakeNonRational(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IncreaseDegree( 10182: int desired_degree 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: # 799 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool ReserveCVCapacity( 10182: int desired_cv_capacity 10182: ); 10182: # 813 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Trim( 10182: const ON_Interval& interval 10182: ); 10182: # 831 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Split( 10182: double t, 10182: ON_BezierCurve& left_side, 10182: ON_BezierCurve& right_side 10182: ) const; 10182: 10182: 10182: 10182: double ControlPolygonLength() const; 10182: # 879 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Reparameterize( 10182: double c 10182: ); 10182: 10182: 10182: bool Reparametrize(double); 10182: # 902 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool ScaleConrolPoints( 10182: int i, 10182: double w 10182: ); 10182: # 944 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool ChangeWeights( 10182: int i0, 10182: double w0, 10182: int i1, 10182: double w1 10182: ); 10182: 10182: 10182: 10182: public: 10182: # 964 "/<>/external/onurbs/opennurbs_bezier.h" 10182: int m_dim; 10182: 10182: 10182: int m_is_rat; 10182: 10182: 10182: int m_order; 10182: 10182: 10182: int m_cv_stride; 10182: 10182: 10182: double* m_cv; 10182: 10182: 10182: 10182: 10182: 10182: int m_cv_capacity; 10182: 10182: 10182: 10182: 10182: 10182: int m_reserved_ON_BezierCurve; 10182: 10182: }; 10182: 10182: 10182: class ON_BezierSurface 10182: { 10182: public: 10182: ON_BezierSurface(); 10182: ON_BezierSurface( 10182: int dim, 10182: int is_rat, 10182: int order0, 10182: int order1 10182: ); 10182: 10182: ~ON_BezierSurface(); 10182: ON_BezierSurface(const ON_BezierSurface&); 10182: ON_BezierSurface(const ON_PolynomialSurface&); 10182: ON_BezierSurface& operator=(const ON_BezierSurface&); 10182: ON_BezierSurface& operator=(const ON_PolynomialSurface&); 10182: 10182: bool IsValid() const; 10182: void Dump( ON_TextLog& ) const; 10182: int Dimension() const; 10182: 10182: bool Create( 10182: int dim, 10182: int is_rat, 10182: int order0, 10182: int order1 10182: ); 10182: 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 1032 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Loft( const ON_ClassArray& curve_list ); 10182: # 1043 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Loft( 10182: int count, 10182: const ON_BezierCurve* const* curve_list 10182: ); 10182: 10182: bool GetBBox( 10182: double*, 10182: double*, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox 10182: ) const; 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: 10182: bool Transform( 10182: const ON_Xform& 10182: ); 10182: # 1078 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 1097 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double rotation_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 1111 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Translate( 10182: const ON_3dVector& translation_vector 10182: ); 10182: # 1124 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Scale( 10182: double scale_factor 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: 10182: bool Reverse( int ); 10182: 10182: 10182: bool Transpose(); 10182: 10182: bool Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double* 10182: ) const; 10182: 10182: ON_3dPoint PointAt(double s, double t) const; 10182: 10182: bool GetNurbForm( ON_NurbsSurface& ) const; 10182: 10182: bool IsRational() const; 10182: 10182: int CVSize() const; 10182: 10182: 10182: int Order( 10182: int 10182: ) const; 10182: 10182: int Degree( 10182: int 10182: ) const; 10182: # 1183 "/<>/external/onurbs/opennurbs_bezier.h" 10182: double* CV( 10182: int cv_index0, 10182: int cv_index1 10182: ) const; 10182: # 1196 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON::point_style CVStyle() const; 10182: 10182: double Weight( 10182: int,int 10182: ) const; 10182: 10182: bool SetWeight( 10182: int,int, 10182: double 10182: ); 10182: 10182: bool SetCV( 10182: int,int, 10182: ON::point_style, 10182: const double* 10182: ); 10182: 10182: bool SetCV( 10182: int,int, 10182: const ON_3dPoint& 10182: 10182: 10182: ); 10182: 10182: bool SetCV( 10182: int,int, 10182: const ON_4dPoint& 10182: 10182: 10182: 10182: ); 10182: 10182: bool GetCV( 10182: int,int, 10182: ON::point_style, 10182: double* 10182: ) const; 10182: 10182: bool GetCV( 10182: int,int, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: bool GetCV( 10182: int,int, 10182: ON_4dPoint& 10182: ) const; 10182: 10182: bool ZeroCVs(); 10182: 10182: bool MakeRational(); 10182: 10182: bool MakeNonRational(); 10182: 10182: bool Split( 10182: int, 10182: double, 10182: ON_BezierSurface&, 10182: ON_BezierSurface& 10182: ) const; 10182: 10182: bool Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: 10182: 10182: ON_BezierCurve* IsoCurve( 10182: int dir, 10182: 10182: 10182: 10182: double c, 10182: ON_BezierCurve* iso= 10182: # 1269 "/<>/external/onurbs/opennurbs_bezier.h" 3 4 10182: __null 10182: 10182: # 1270 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ) const; 10182: 10182: bool IsSingular( 10182: int 10182: 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool ReserveCVCapacity( 10182: int 10182: ); 10182: 10182: 10182: 10182: public: 10182: # 1296 "/<>/external/onurbs/opennurbs_bezier.h" 10182: int m_dim; 10182: int m_is_rat; 10182: int m_order[2]; 10182: int m_cv_stride[2]; 10182: double* m_cv; 10182: int m_cv_capacity; 10182: 10182: 10182: 10182: 10182: int m_reserved_ON_BezierSurface; 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: class ON_BezierCage 10182: { 10182: public: 10182: ON_BezierCage(); 10182: 10182: ON_BezierCage( 10182: int dim, 10182: bool is_rat, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: # 1337 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_BezierCage( 10182: const ON_BoundingBox& bbox, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: # 1371 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_BezierCage( 10182: const ON_3dPoint* box_corners, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: 10182: ~ON_BezierCage(); 10182: 10182: ON_BezierCage(const ON_BezierCage& src); 10182: 10182: ON_BezierCage& operator=(const ON_BezierCage& src); 10182: # 1393 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool IsValid() const; 10182: 10182: void Dump( ON_TextLog& text_log) const; 10182: # 1406 "/<>/external/onurbs/opennurbs_bezier.h" 10182: int Dimension() const; 10182: # 1421 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Create( 10182: int dim, 10182: bool is_rat, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: # 1439 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Create( 10182: const ON_BoundingBox& bbox, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: # 1467 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Create( 10182: const ON_3dPoint* box_corners, 10182: int order0, 10182: int order1, 10182: int order2 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: # 1489 "/<>/external/onurbs/opennurbs_bezier.h" 10182: void EmergencyDestroy(); 10182: # 1501 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Read(ON_BinaryArchive& archive); 10182: # 1512 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Write(ON_BinaryArchive& archive) const; 10182: # 1529 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 1552 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 1571 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Rotate( 10182: double rotation_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 1585 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Translate( 10182: const ON_3dVector& translation_vector 10182: ); 10182: # 1598 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Scale( 10182: double scale_factor 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: 10182: 10182: bool Evaluate( 10182: double r, 10182: double s, 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v 10182: ) const; 10182: # 1624 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_3dPoint PointAt( 10182: double r, 10182: double s, 10182: double t 10182: ) const; 10182: # 1638 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON_3dPoint PointAt( 10182: ON_3dPoint rst 10182: ) const; 10182: 10182: bool IsRational() const; 10182: 10182: bool IsSingular( 10182: int 10182: 10182: ) const; 10182: 10182: int CVSize() const; 10182: 10182: 10182: int Order( 10182: int 10182: ) const; 10182: 10182: int Degree( 10182: int 10182: ) const; 10182: # 1682 "/<>/external/onurbs/opennurbs_bezier.h" 10182: double* CV( 10182: int i, 10182: int j, 10182: int k 10182: ) const; 10182: # 1696 "/<>/external/onurbs/opennurbs_bezier.h" 10182: ON::point_style CVStyle() const; 10182: 10182: double Weight( 10182: int i, 10182: int j, 10182: int k 10182: ) const; 10182: 10182: bool SetWeight( 10182: int i, 10182: int j, 10182: int k, 10182: double w 10182: ); 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON::point_style, 10182: const double* 10182: ); 10182: 10182: 10182: 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: const ON_3dPoint& point 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: const ON_4dPoint& hpoint 10182: ); 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON::point_style, 10182: double* 10182: ) const; 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON_4dPoint& 10182: ) const; 10182: 10182: bool ZeroCVs(); 10182: 10182: bool MakeRational(); 10182: 10182: bool MakeNonRational(); 10182: # 1777 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool ReserveCVCapacity( 10182: int cv_capacity 10182: ); 10182: 10182: 10182: 10182: public: 10182: # 1793 "/<>/external/onurbs/opennurbs_bezier.h" 10182: int m_dim; 10182: bool m_is_rat; 10182: int m_order[3]; 10182: int m_cv_stride[3]; 10182: int m_cv_capacity; 10182: double* m_cv; 10182: }; 10182: 10182: 10182: class ON_BezierCageMorph : public ON_SpaceMorph 10182: { 10182: public: 10182: ON_BezierCageMorph(); 10182: ~ON_BezierCageMorph(); 10182: # 1848 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Create( 10182: ON_3dPoint P0, 10182: ON_3dPoint P1, 10182: ON_3dPoint P2, 10182: ON_3dPoint P3, 10182: int point_countX, 10182: int point_countY, 10182: int point_countZ 10182: ); 10182: # 1873 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetXform( ON_Xform world2unitcube ); 10182: # 1890 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool SetBezierCage( ON_BezierCage& unitcube2world ); 10182: 10182: const ON_Xform& WorldToUnitCube() const; 10182: const ON_BezierCage& BezierCage() const; 10182: 10182: bool Read(ON_BinaryArchive& archive); 10182: bool Write(ON_BinaryArchive& archive) const; 10182: # 1906 "/<>/external/onurbs/opennurbs_bezier.h" 10182: bool Transform(const ON_Xform& xform); 10182: 10182: private: 10182: bool m_bValid; 10182: 10182: 10182: 10182: ON_Xform m_xyz2rst; 10182: 10182: 10182: ON_BezierCage m_rst2xyz; 10182: }; 10182: # 70 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_math.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_math.h" 10182: class ON_3dVector; 10182: class ON_Interval; 10182: class ON_Line; 10182: class ON_Arc; 10182: class ON_Plane; 10182: 10182: 10182: 10182: 10182: 10182: class ON_Sum 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: void operator=(double x); 10182: 10182: 10182: 10182: 10182: 10182: void operator+=(double x); 10182: 10182: 10182: 10182: 10182: 10182: void operator-=(double x); 10182: 10182: 10182: 10182: 10182: 10182: ON_Sum(); 10182: # 65 "/<>/external/onurbs/opennurbs_math.h" 10182: void Begin( double starting_value = 0.0 ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Plus( double x ); 10182: # 83 "/<>/external/onurbs/opennurbs_math.h" 10182: void Plus( double x, double dx ); 10182: # 98 "/<>/external/onurbs/opennurbs_math.h" 10182: double Total( double* error_estimate = 10182: # 98 "/<>/external/onurbs/opennurbs_math.h" 3 4 10182: __null 10182: # 98 "/<>/external/onurbs/opennurbs_math.h" 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: int SummandCount() const; 10182: 10182: private: 10182: enum { 10182: sum1_max_count=256, 10182: sum2_max_count=512, 10182: sum3_max_count=1024 10182: }; 10182: double m_sum_err; 10182: double m_pos_sum; 10182: double m_neg_sum; 10182: 10182: int m_zero_count; 10182: int m_pos_count; 10182: int m_neg_count; 10182: 10182: int m_pos_sum1_count; 10182: int m_pos_sum2_count; 10182: int m_pos_sum3_count; 10182: double m_pos_sum1[sum1_max_count]; 10182: double m_pos_sum2[sum2_max_count]; 10182: double m_pos_sum3[sum3_max_count]; 10182: 10182: int m_neg_sum1_count; 10182: int m_neg_sum2_count; 10182: int m_neg_sum3_count; 10182: double m_neg_sum1[sum1_max_count]; 10182: double m_neg_sum2[sum2_max_count]; 10182: double m_neg_sum3[sum3_max_count]; 10182: 10182: double SortAndSum( int, double* ); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Evaluator 10182: { 10182: public: 10182: # 169 "/<>/external/onurbs/opennurbs_math.h" 10182: ON_Evaluator( 10182: int parameter_count, 10182: int value_count, 10182: const ON_Interval* domain, 10182: const bool* periodic 10182: ); 10182: 10182: virtual ~ON_Evaluator(); 10182: # 219 "/<>/external/onurbs/opennurbs_math.h" 10182: virtual int Evaluate( 10182: const double* parameters, 10182: double* values, 10182: double** jacobian 10182: ) = 0; 10182: # 255 "/<>/external/onurbs/opennurbs_math.h" 10182: virtual int EvaluateHessian( 10182: const double* parameters, 10182: double* value, 10182: double* gradient, 10182: double** hessian 10182: ); 10182: 10182: 10182: 10182: const int m_parameter_count; 10182: 10182: 10182: 10182: const int m_value_count; 10182: # 280 "/<>/external/onurbs/opennurbs_math.h" 10182: bool FiniteDomain() const; 10182: # 294 "/<>/external/onurbs/opennurbs_math.h" 10182: bool Periodic( 10182: int parameter_index 10182: ) const; 10182: # 311 "/<>/external/onurbs/opennurbs_math.h" 10182: ON_Interval Domain( 10182: int parameter_index 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_domain; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_bPeriodicParameter; 10182: 10182: private: 10182: ON_Evaluator(); 10182: ON_Evaluator& operator=(const ON_Evaluator&); 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ON_IsValid( double x ); 10182: 10182: 10182: bool ON_IsValidFloat( float x ); 10182: # 405 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: float ON_ArrayDotProduct( 10182: int, 10182: const float*, 10182: const float* 10182: ); 10182: 10182: 10182: void ON_ArrayScale( 10182: int, 10182: float, 10182: const float*, 10182: float* 10182: ); 10182: 10182: 10182: void ON_Array_aA_plus_B( 10182: int, 10182: float, 10182: const float*, 10182: const float*, 10182: float* 10182: ); 10182: 10182: 10182: double ON_ArrayDotProduct( 10182: int, 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: double ON_ArrayDotDifference( 10182: int, 10182: const double*, 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: double ON_ArrayMagnitude( 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: double ON_ArrayMagnitudeSquared( 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: double ON_ArrayDistance( 10182: int, 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: double ON_ArrayDistanceSquared( 10182: int, 10182: const double*, 10182: const double* 10182: ); 10182: 10182: 10182: void ON_ArrayScale( 10182: int, 10182: double, 10182: const double*, 10182: double* 10182: ); 10182: 10182: 10182: void ON_Array_aA_plus_B( 10182: int, 10182: double, 10182: const double*, 10182: const double*, 10182: double* 10182: ); 10182: 10182: 10182: int ON_SearchMonotoneArray( 10182: 10182: 10182: 10182: 10182: const double*, 10182: int, 10182: double 10182: ); 10182: # 520 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: double ON_BinomialCoefficient( 10182: int i, 10182: int j 10182: ); 10182: # 548 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: double ON_TrinomialCoefficient( 10182: int i, 10182: int j, 10182: int k 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 ON_GetParameterTolerance( 10182: double, double, 10182: double, 10182: double*, double* 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 ON_IsValidPointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: const float* 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_IsValidPointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: const double* 10182: ); 10182: # 616 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_IsPointListPlanar( 10182: bool bRational, 10182: int count, 10182: int stride, 10182: const double* points, 10182: const double* boxMin, 10182: const double* boxMax, 10182: double tolerance, 10182: ON_PlaneEquation* plane_equation 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_IsValidPointGrid( 10182: int, 10182: ON_BOOL32, 10182: int, int, 10182: int, int, 10182: const double* 10182: ); 10182: 10182: 10182: bool ON_ReversePointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_ReversePointGrid( 10182: int, 10182: ON_BOOL32, 10182: int, int, 10182: int, int, 10182: double*, 10182: int 10182: ); 10182: 10182: 10182: bool ON_SwapPointListCoordinates( 10182: int, 10182: int, 10182: float*, 10182: int, int 10182: ); 10182: 10182: 10182: bool ON_SwapPointListCoordinates( 10182: int, 10182: int, 10182: double*, 10182: int, int 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_SwapPointGridCoordinates( 10182: int, int, 10182: int, int, 10182: double*, 10182: int, int 10182: ); 10182: 10182: 10182: bool ON_TransformPointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: float*, 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool ON_TransformPointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: double*, 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_TransformPointGrid( 10182: int, 10182: ON_BOOL32, 10182: int, int, 10182: int, int, 10182: double*, 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_TransformVectorList( 10182: int, 10182: int, 10182: int, 10182: float*, 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_TransformVectorList( 10182: int, 10182: int, 10182: int, 10182: double*, 10182: const ON_Xform& 10182: ); 10182: # 743 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_PointsAreCoincident( 10182: int dim, 10182: int is_rat, 10182: const double* pointA, 10182: const double* pointB 10182: ); 10182: # 772 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_PointsAreCoincident( 10182: int dim, 10182: int is_rat, 10182: int point_count, 10182: int point_stride, 10182: const double* points 10182: ); 10182: 10182: 10182: int ON_ComparePoint( 10182: 10182: 10182: 10182: int dim, 10182: ON_BOOL32 israt, 10182: const double* cv0, 10182: const double* cv1 10182: ); 10182: 10182: 10182: int ON_ComparePointList( 10182: 10182: 10182: 10182: int, 10182: ON_BOOL32, 10182: int, 10182: 10182: int, 10182: const double*, 10182: 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_IsPointListClosed( 10182: int, 10182: int, 10182: int, 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_IsPointGridClosed( 10182: int, 10182: ON_BOOL32, 10182: int, int, 10182: int, int, 10182: const double*, 10182: int 10182: ); 10182: 10182: 10182: int ON_SolveQuadraticEquation( 10182: 10182: 10182: 10182: 10182: 10182: 10182: double, double, double, 10182: double*, double* 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_SolveTriDiagonal( 10182: int, 10182: int, 10182: double*, 10182: const double*, 10182: double*, 10182: const double*, 10182: double* 10182: ); 10182: # 857 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Solve2x2( 10182: double, double, 10182: double, double, 10182: double, double, 10182: double*, double*, 10182: double* 10182: ); 10182: # 892 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Solve3x2( 10182: const double[3], 10182: const double[3], 10182: double, 10182: double, 10182: double, 10182: double*, 10182: double*, 10182: double*, 10182: double* 10182: ); 10182: # 948 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Solve3x3( 10182: const double row0[3], 10182: const double row1[3], 10182: const double row2[3], 10182: double d0, 10182: double d1, 10182: double d2, 10182: double* x_addr, 10182: double* y_addr, 10182: double* z_addr, 10182: double* pivot_ratio 10182: ); 10182: # 1010 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int 10182: ON_Solve4x4( 10182: const double row0[4], 10182: const double row1[4], 10182: const double row2[4], 10182: const double row3[4], 10182: double d0, 10182: double d1, 10182: double d2, 10182: double d3, 10182: double* x_addr, 10182: double* y_addr, 10182: double* z_addr, 10182: double* w_addr, 10182: double* pivot_ratio 10182: ); 10182: # 1083 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: double ON_SolveNxN(bool bFullPivot, bool bNormalize, int n, double* M[], double B[], double X[]); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 ON_EvJacobian( 10182: double, 10182: double, 10182: double, 10182: double* 10182: ); 10182: # 1114 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_DecomposeVector( 10182: const ON_3dVector& V, 10182: const ON_3dVector& A, 10182: const ON_3dVector& B, 10182: double* x, double* y 10182: ); 10182: # 1139 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: ON_BOOL32 ON_EvNormalPartials( 10182: const ON_3dVector& ds, 10182: const ON_3dVector& dt, 10182: const ON_3dVector& dss, 10182: const ON_3dVector& dst, 10182: const ON_3dVector& dtt, 10182: ON_3dVector& ns, 10182: ON_3dVector& nt 10182: ); 10182: 10182: 10182: ON_BOOL32 10182: ON_Pullback3dVector( 10182: const ON_3dVector&, 10182: double, 10182: 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: ON_2dVector& 10182: ); 10182: 10182: 10182: ON_BOOL32 10182: ON_GetParameterTolerance( 10182: double, 10182: double, 10182: double, 10182: double*, 10182: double* 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 ON_EvNormal( 10182: int, 10182: const ON_3dVector&, const ON_3dVector&, 10182: const ON_3dVector&, const ON_3dVector&, const ON_3dVector&, 10182: ON_3dVector& 10182: ); 10182: 10182: 10182: 10182: bool ON_EvTangent( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: ON_3dVector& 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 ON_EvCurvature( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: ON_3dVector&, 10182: ON_3dVector& 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_EvPrincipalCurvatures( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: double*, 10182: double*, 10182: double*, 10182: double*, 10182: ON_3dVector&, 10182: ON_3dVector& 10182: 10182: ); 10182: 10182: 10182: ON_BOOL32 ON_EvPrincipalCurvatures( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: double l, 10182: double m, 10182: double n, 10182: const ON_3dVector&, 10182: double*, 10182: double*, 10182: double*, 10182: double*, 10182: ON_3dVector&, 10182: ON_3dVector& 10182: 10182: ); 10182: # 1254 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_EvSectionalCurvature( 10182: const ON_3dVector& S10, 10182: const ON_3dVector& S01, 10182: const ON_3dVector& S20, 10182: const ON_3dVector& S11, 10182: const ON_3dVector& S02, 10182: const ON_3dVector& planeNormal, 10182: ON_3dVector& K 10182: ); 10182: 10182: 10182: 10182: ON_3dVector ON_NormalCurvature( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector& 10182: ); 10182: # 1327 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_IsCurvatureDiscontinuity( 10182: const ON_3dVector Km, 10182: const ON_3dVector Kp, 10182: double cos_angle_tolerance, 10182: double curvature_tolerance, 10182: double zero_curvature, 10182: double radius_tolerance, 10182: double relative_tolerance 10182: ); 10182: 10182: 10182: bool ON_IsCurvatureDiscontinuity( 10182: const ON_3dVector Km, 10182: const ON_3dVector Kp, 10182: double cos_angle_tolerance, 10182: double curvature_tolerance, 10182: double zero_curvature, 10182: double radius_tolerance 10182: ); 10182: # 1363 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_IsG2CurvatureContinuous( 10182: const ON_3dVector Km, 10182: const ON_3dVector Kp, 10182: double cos_angle_tolerance, 10182: double curvature_tolerance 10182: ); 10182: # 1385 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_IsGsmoothCurvatureContinuous( 10182: const ON_3dVector Km, 10182: const ON_3dVector Kp, 10182: double cos_angle_tolerance, 10182: double curvature_tolerance 10182: ); 10182: # 1423 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: ON_BOOL32 ON_IsContinuous( 10182: ON::continuity c, 10182: ON_3dPoint Pa, 10182: ON_3dVector D1a, 10182: ON_3dVector D2a, 10182: ON_3dPoint Pb, 10182: ON_3dVector D1b, 10182: ON_3dVector D2b, 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ); 10182: 10182: 10182: 10182: bool ON_TuneupEvaluationParameter( 10182: int side, 10182: double s0, double s1, 10182: double *s 10182: ); 10182: 10182: 10182: 10182: int ON_Compare2dex( const ON_2dex* a, const ON_2dex* b); 10182: 10182: 10182: int ON_Compare3dex( const ON_3dex* a, const ON_3dex* b); 10182: 10182: 10182: int ON_Compare4dex( const ON_4dex* a, const ON_4dex* b); 10182: 10182: 10182: const ON_2dex* ON_BinarySearch2dexArray( 10182: int key_i, 10182: const ON_2dex* base, 10182: size_t nel 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ON_Intersect( 10182: const ON_Line&, 10182: const ON_Line&, 10182: double*, 10182: double* 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ON_Intersect( 10182: const ON_Line&, 10182: const ON_Plane&, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_Intersect( 10182: const ON_Plane&, 10182: const ON_Plane&, 10182: ON_Line& 10182: ); 10182: 10182: 10182: bool ON_Intersect( 10182: const ON_Plane&, 10182: const ON_Plane&, 10182: const ON_Plane&, 10182: ON_3dPoint& 10182: ); 10182: # 1512 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Plane&, const ON_Sphere&, ON_Circle& 10182: ); 10182: # 1527 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Line&, 10182: const ON_Sphere&, 10182: ON_3dPoint&, 10182: ON_3dPoint& 10182: ); 10182: # 1551 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Line&, 10182: const ON_Cylinder&, 10182: ON_3dPoint&, 10182: ON_3dPoint& 10182: ); 10182: # 1573 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Line& line, 10182: const ON_Circle& circle, 10182: double* line_t0, 10182: ON_3dPoint& circle_point0, 10182: double* line_t1, 10182: ON_3dPoint& circle_point1 10182: ); 10182: # 1599 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Line& line, 10182: const ON_Arc& arc, 10182: double* line_t0, 10182: ON_3dPoint& arc_point0, 10182: double* line_t1, 10182: ON_3dPoint& arc_point1 10182: ); 10182: # 1622 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Plane& plane, 10182: const ON_Circle& circle, 10182: ON_3dPoint& point0, 10182: ON_3dPoint& point1 10182: ); 10182: # 1643 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: int ON_Intersect( 10182: const ON_Plane& plane, 10182: const ON_Arc& arc, 10182: ON_3dPoint& point0, 10182: ON_3dPoint& point1 10182: ); 10182: 10182: 10182: 10182: 10182: int ON_ArePointsOnLine( 10182: int, 10182: int, 10182: int, 10182: int, 10182: const double*, 10182: const ON_BoundingBox&, 10182: const ON_Line&, 10182: double 10182: ); 10182: 10182: 10182: 10182: int ON_ArePointsOnPlane( 10182: int, 10182: int, 10182: int, 10182: int, 10182: const double*, 10182: const ON_BoundingBox&, 10182: const ON_Plane&, 10182: double 10182: ); 10182: # 1702 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_EvaluateQuotientRule( 10182: int dim, 10182: int der_count, 10182: int v_stride, 10182: double *v 10182: ); 10182: # 1734 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_EvaluateQuotientRule2( 10182: int dim, 10182: int der_count, 10182: int v_stride, 10182: double *v 10182: ); 10182: # 1770 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_EvaluateQuotientRule3( 10182: int dim, 10182: int der_count, 10182: int v_stride, 10182: double *v 10182: ); 10182: 10182: 10182: bool ON_GetPolylineLength( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: const double*, 10182: double* 10182: ); 10182: # 1802 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: bool ON_GetClosestPointInPointList( 10182: int point_count, 10182: const ON_3dPoint* point_list, 10182: ON_3dPoint P, 10182: int* closest_point_index 10182: ); 10182: # 1852 "/<>/external/onurbs/opennurbs_math.h" 10182: 10182: double ON_TestMathFunction( 10182: int function_index, 10182: double x, 10182: double y 10182: ); 10182: 10182: 10182: 10182: double ON_Max(double a, double b); 10182: 10182: 10182: 10182: float ON_Max(float a, float b); 10182: 10182: 10182: 10182: int ON_Max(int a, int b); 10182: 10182: 10182: 10182: double ON_Min(double a, double b); 10182: 10182: 10182: 10182: float ON_Min(float a, float b); 10182: 10182: 10182: 10182: int ON_Min(int a, int b); 10182: 10182: 10182: 10182: 10182: 10182: int ON_Round(double x); 10182: # 1923 "/<>/external/onurbs/opennurbs_math.h" 10182: bool ON_GetConicEquationThrough6Points( 10182: int stride, 10182: const double* points2d, 10182: double conic[6], 10182: double* max_pivot, 10182: double* min_pivot, 10182: double* zero_pivot 10182: ); 10182: # 1953 "/<>/external/onurbs/opennurbs_math.h" 10182: bool ON_IsConicEquationAnEllipse( 10182: const double conic[6], 10182: ON_2dPoint& center, 10182: ON_2dVector& major_axis, 10182: ON_2dVector& minor_axis, 10182: double* major_radius, 10182: double* minor_radius 10182: ); 10182: # 2003 "/<>/external/onurbs/opennurbs_math.h" 10182: bool ON_GetEllipseConicEquation( 10182: double a, double b, 10182: double x0, double y0, 10182: double alpha, 10182: double conic[6] 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double ON_Length2d( double x, double y ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double ON_Length3d( double x, double y, double z ); 10182: # 2037 "/<>/external/onurbs/opennurbs_math.h" 10182: float ON_FloatFloor(double x); 10182: # 2049 "/<>/external/onurbs/opennurbs_math.h" 10182: float ON_FloatCeil(double x); 10182: # 71 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_intersect.h" 1 10182: # 70 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: bool ON_IntersectLineLine( 10182: const ON_Line& lineA, 10182: const ON_Line& lineB, 10182: double* a, 10182: double* b, 10182: double tolerance, 10182: bool bIntersectSegments 10182: ); 10182: # 101 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: bool ON_Intersect( 10182: const ON_Line& lineA, 10182: const ON_Line& lineB, 10182: double* a, 10182: double* b 10182: ); 10182: 10182: 10182: bool ON_Intersect( 10182: 10182: 10182: 10182: const ON_Line&, 10182: const ON_Plane&, 10182: double* 10182: ); 10182: # 134 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: bool ON_Intersect( 10182: const ON_Line& line, 10182: const ON_PlaneEquation& plane_equation, 10182: double* line_parameter 10182: ); 10182: 10182: 10182: bool ON_Intersect( const ON_Plane&, 10182: const ON_Plane&, 10182: ON_Line& 10182: ); 10182: 10182: 10182: bool ON_Intersect( const ON_Plane&, 10182: const ON_Plane&, 10182: const ON_Plane&, 10182: ON_3dPoint& 10182: ); 10182: # 170 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: int ON_Intersect( 10182: const ON_Plane& plane, 10182: const ON_Sphere& sphere, 10182: ON_Circle& circle 10182: ); 10182: 10182: 10182: int ON_Intersect( 10182: # 187 "/<>/external/onurbs/opennurbs_intersect.h" 10182: const ON_Line&, const ON_Sphere&, 10182: ON_3dPoint&, ON_3dPoint& 10182: ); 10182: 10182: 10182: int ON_Intersect( 10182: # 202 "/<>/external/onurbs/opennurbs_intersect.h" 10182: const ON_Line&, const ON_Cylinder&, 10182: ON_3dPoint&, ON_3dPoint& 10182: ); 10182: # 227 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: bool ON_Intersect( const ON_BoundingBox& bbox, 10182: const ON_Line& line, 10182: double tolerance, 10182: ON_Interval* line_parameters 10182: ); 10182: # 247 "/<>/external/onurbs/opennurbs_intersect.h" 10182: 10182: int ON_Intersect( const ON_Sphere& sphere0, 10182: const ON_Sphere& sphere1, 10182: ON_Circle& circle 10182: ); 10182: # 72 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_optimize.h" 1 10182: # 21 "/<>/external/onurbs/opennurbs_optimize.h" 10182: ON_BOOL32 ON_FindLocalMinimum( 10182: int (*)(void*,double,double*,double*), 10182: void*, 10182: double, double, double, 10182: 10182: double, 10182: double, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: class ON_LocalZero1 10182: { 10182: public: 10182: ON_LocalZero1(); 10182: virtual ~ON_LocalZero1(); 10182: 10182: virtual 10182: ON_BOOL32 Evaluate( 10182: double, 10182: double*, 10182: double*, 10182: int 10182: 10182: ) = 0; 10182: 10182: 10182: ON_BOOL32 FindZero( double* ); 10182: # 58 "/<>/external/onurbs/opennurbs_optimize.h" 10182: double m_t0, m_t1; 10182: 10182: double m_f_tolerance; 10182: 10182: 10182: 10182: double m_t_tolerance; 10182: # 88 "/<>/external/onurbs/opennurbs_optimize.h" 10182: const double* m_k; 10182: 10182: 10182: int m_k_count; 10182: 10182: private: 10182: double m_s0, m_f0, m_s1, m_f1; 10182: ON_BOOL32 BracketZero(double,double,double,double,int=0); 10182: ON_BOOL32 BracketSpan(double,double,double,double); 10182: ON_BOOL32 NewtonRaphson( double, double, double, double, int, double* ); 10182: }; 10182: # 73 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_knot.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: double ON_DomainTolerance( 10182: double, 10182: double 10182: ); 10182: 10182: 10182: double ON_KnotTolerance( 10182: int, 10182: int, 10182: const double*, 10182: int 10182: ); 10182: 10182: 10182: double ON_SpanTolerance( 10182: int, 10182: int, 10182: const double*, 10182: int 10182: ); 10182: 10182: 10182: int ON_KnotCount( 10182: int, 10182: int 10182: ); 10182: 10182: 10182: int ON_KnotMultiplicity( 10182: int, 10182: int, 10182: const double*, 10182: int 10182: ); 10182: 10182: 10182: int ON_KnotVectorSpanCount( 10182: int, 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: bool ON_GetKnotVectorSpanVector( 10182: int, 10182: int, 10182: const double*, 10182: double* 10182: ); 10182: # 91 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: int ON_NurbsSpanIndex( 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: double t, 10182: int side, 10182: int hint 10182: ); 10182: 10182: 10182: int ON_NextNurbsSpanIndex( 10182: 10182: 10182: 10182: 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: int 10182: ); 10182: 10182: 10182: int ON_GetSpanIndices( 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: int* 10182: 10182: 10182: 10182: ); 10182: 10182: 10182: double ON_SuperfluousKnot( 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: int 10182: 10182: ); 10182: 10182: 10182: bool ON_IsKnotVectorPeriodic( 10182: int order, 10182: int cv_count, 10182: const double* knot 10182: ); 10182: 10182: 10182: bool ON_IsKnotVectorClamped( 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: int = 2 10182: ); 10182: 10182: 10182: bool ON_IsKnotVectorUniform( 10182: int order, 10182: int cv_count, 10182: const double* knot 10182: ); 10182: 10182: 10182: 10182: 10182: bool ON_KnotVectorHasBezierSpans( 10182: int order, 10182: int cv_count, 10182: const double* knot 10182: ); 10182: 10182: 10182: 10182: ON::knot_style ON_KnotVectorStyle( 10182: int order, 10182: int cv_count, 10182: const double* knot 10182: ); 10182: # 187 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_SetKnotVectorDomain( 10182: int order, 10182: int cv_count, 10182: double* knot, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: 10182: bool ON_GetKnotVectorDomain( 10182: int, 10182: int, 10182: const double*, 10182: double*, double* 10182: ); 10182: 10182: 10182: bool ON_ReverseKnotVector( 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: int ON_CompareKnotVector( 10182: 10182: 10182: 10182: 10182: int, 10182: int, 10182: const double*, 10182: 10182: int, 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: bool ON_IsValidKnotVector( 10182: int order, 10182: int cv_count, 10182: const double* knot, 10182: ON_TextLog* text_log = 0 10182: ); 10182: 10182: 10182: bool ON_ClampKnotVector( 10182: 10182: 10182: int, 10182: int, 10182: double*, 10182: int 10182: ); 10182: 10182: 10182: bool ON_MakeKnotVectorPeriodic( 10182: 10182: 10182: int, 10182: int, 10182: double* 10182: ); 10182: # 271 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_MakeClampedUniformKnotVector( 10182: int order, 10182: int cv_count, 10182: double* knot, 10182: double delta = 1.0 10182: ); 10182: # 297 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_MakePeriodicUniformKnotVector( 10182: int order, 10182: int cv_count, 10182: double* knot, 10182: double delta = 1.0 10182: ); 10182: 10182: 10182: double ON_GrevilleAbcissa( 10182: int, 10182: const double* 10182: ); 10182: 10182: 10182: bool ON_GetGrevilleAbcissae( 10182: int, 10182: int, 10182: const double*, 10182: bool, 10182: double* 10182: 10182: ); 10182: 10182: 10182: bool ON_GetGrevilleKnotVector( 10182: int, 10182: const double*, 10182: 10182: 10182: bool, 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_ClampKnotVector( 10182: int, 10182: int, 10182: int, 10182: int, 10182: double*, 10182: double*, 10182: int 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ON_InsertKnot( 10182: double, 10182: int, 10182: int, 10182: int, 10182: int, 10182: int, 10182: double*, 10182: double*, 10182: int* 10182: 10182: ); 10182: # 381 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_ReparameterizeRationalBezierCurve( 10182: double c, 10182: int dim, 10182: int order, 10182: int cvstride, 10182: double* cv 10182: ); 10182: # 418 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_ChangeRationalBezierCurveWeights( 10182: int dim, int order, int cvstride, double* cv, 10182: int i0, double w0, 10182: int i1, double w1 10182: ); 10182: # 448 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_ReparameterizeRationalNurbsCurve( 10182: double c, 10182: int dim, 10182: int order, 10182: int cv_count, 10182: int cvstride, 10182: double* cv, 10182: double* knot 10182: ); 10182: # 480 "/<>/external/onurbs/opennurbs_knot.h" 10182: 10182: bool ON_ChangeRationalNurbsCurveEndWeights( 10182: int dim, 10182: int order, 10182: int cv_count, 10182: int cvstride, 10182: double* cv, 10182: double* knot, 10182: double w0, 10182: double w1 10182: ); 10182: # 74 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: 10182: bool ON_IncreaseBezierDegree( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_RemoveBezierSingAt0( 10182: int, 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_RemoveBezierSingAt1( 10182: int, 10182: int, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: double ON_EvaluateBernsteinBasis( 10182: int, 10182: int, 10182: double 10182: ); 10182: 10182: 10182: void ON_EvaluatedeCasteljau( 10182: int, 10182: int, 10182: int, 10182: 10182: int, 10182: double*, 10182: double 10182: ); 10182: 10182: 10182: bool ON_EvaluateBezier( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: const double*, 10182: double, double, 10182: int, 10182: double, 10182: int, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_EvaluateNurbsBasis( 10182: int, 10182: const double*, 10182: double, 10182: double* 10182: ); 10182: 10182: 10182: bool ON_EvaluateNurbsBasisDerivatives( 10182: int, 10182: const double*, 10182: int, 10182: double* 10182: ); 10182: # 121 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: 10182: # 168 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: bool ON_EvaluateNurbsSpan( 10182: int dim, 10182: int is_rat, 10182: int order, 10182: const double* knot, 10182: int cv_stride, 10182: const double* cv, 10182: int der_count, 10182: double t, 10182: int v_stride, 10182: double* v 10182: ); 10182: # 228 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: 10182: bool ON_EvaluateNurbsSurfaceSpan( 10182: int dim, 10182: int is_rat, 10182: int order0, 10182: int order1, 10182: const double* knot0, 10182: const double* knot1, 10182: int cv_stride0, 10182: int cv_stride1, 10182: const double* cv, 10182: int der_count, 10182: double s, 10182: double t, 10182: int v_stride, 10182: double* v 10182: ); 10182: # 306 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: 10182: bool ON_EvaluateNurbsCageSpan( 10182: int dim, 10182: int is_rat, 10182: int order0, int order1, int order2, 10182: const double* knot0, 10182: const double* knot1, 10182: const double* knot2, 10182: int cv_stride0, int cv_stride1, int cv_stride2, 10182: const double* cv, 10182: int der_count, 10182: double t0, double t1, double t2, 10182: int v_stride, 10182: double* v 10182: ); 10182: 10182: 10182: 10182: bool ON_EvaluateNurbsDeBoor( 10182: int, 10182: int, 10182: int, 10182: double*, 10182: const double*, 10182: int, 10182: # 341 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: double, 10182: double 10182: # 353 "/<>/external/onurbs/opennurbs_evaluate_nurbs.h" 10182: ); 10182: 10182: 10182: 10182: bool ON_EvaluateNurbsBlossom(int, 10182: int, 10182: int, 10182: const double*, 10182: const double*, 10182: 10182: const double*, 10182: double* 10182: 10182: 10182: 10182: ); 10182: 10182: 10182: 10182: void ON_ConvertNurbSpanToBezier( 10182: int, 10182: int, 10182: int, 10182: double*, 10182: const double*, 10182: double, 10182: double 10182: ); 10182: # 75 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_textlog.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_textlog.h" 10182: class ON_TextLog 10182: { 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: ON_TextLog(); 10182: # 38 "/<>/external/onurbs/opennurbs_textlog.h" 10182: ON_TextLog( FILE* fp); 10182: # 47 "/<>/external/onurbs/opennurbs_textlog.h" 10182: ON_TextLog( ON_wString& s ); 10182: 10182: virtual ~ON_TextLog(); 10182: 10182: void SetDoubleFormat( const char* ); 10182: void GetDoubleFormat( ON_String& ) const; 10182: 10182: void SetFloatFormat( const char* ); 10182: void GetFloatFormat( ON_String& ) const; 10182: 10182: void PushIndent(); 10182: void PopIndent(); 10182: int IndentSize() const; 10182: 10182: void SetIndentSize(int); 10182: 10182: void PrintWrappedText( const char*, int = 60 ); 10182: void PrintWrappedText( const wchar_t*, int = 60 ); 10182: # 77 "/<>/external/onurbs/opennurbs_textlog.h" 10182: void Print( const char* format, ... ); 10182: # 90 "/<>/external/onurbs/opennurbs_textlog.h" 10182: void Print( const wchar_t* format, ... ); 10182: 10182: void Print( float ); 10182: void Print( double ); 10182: void Print( const ON_2dPoint& ); 10182: void Print( const ON_3dPoint& ); 10182: void Print( const ON_4dPoint& ); 10182: void Print( const ON_2dVector& ); 10182: void Print( const ON_3dVector& ); 10182: void Print( const ON_Xform& ); 10182: void Print( const ON_UUID& ); 10182: void Print( const ON_COMPONENT_INDEX& ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Print( const ON_wString& string ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Print( const ON_String& string ); 10182: 10182: void Print( const ON_3dPointArray&, const char* = 10182: # 119 "/<>/external/onurbs/opennurbs_textlog.h" 3 4 10182: __null 10182: # 119 "/<>/external/onurbs/opennurbs_textlog.h" 10182: ); 10182: void Print( 10182: const ON_Matrix&, 10182: const char* = 10182: # 122 "/<>/external/onurbs/opennurbs_textlog.h" 3 4 10182: __null 10182: # 122 "/<>/external/onurbs/opennurbs_textlog.h" 10182: , 10182: int = 0 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void PrintNewLine(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void PrintString( const char* s ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void PrintString( const wchar_t* s ); 10182: 10182: void PrintRGB( const ON_Color& ); 10182: 10182: void PrintTime( const struct tm& ); 10182: 10182: void PrintPointList( 10182: int, 10182: ON_BOOL32, 10182: int, 10182: int, 10182: const double*, 10182: const char* = 10182: # 159 "/<>/external/onurbs/opennurbs_textlog.h" 3 4 10182: __null 10182: 10182: # 160 "/<>/external/onurbs/opennurbs_textlog.h" 10182: ); 10182: 10182: void PrintPointGrid( 10182: int, 10182: ON_BOOL32, 10182: int, int, 10182: int, int, 10182: const double*, 10182: const char* = 10182: # 168 "/<>/external/onurbs/opennurbs_textlog.h" 3 4 10182: __null 10182: 10182: # 169 "/<>/external/onurbs/opennurbs_textlog.h" 10182: ); 10182: 10182: void PrintKnotVector( 10182: int, 10182: int, 10182: const double* 10182: ); 10182: 10182: ON_TextLog& operator<<( const char* ); 10182: ON_TextLog& operator<<( char ); 10182: ON_TextLog& operator<<( short ); 10182: ON_TextLog& operator<<( int ); 10182: ON_TextLog& operator<<( float ); 10182: ON_TextLog& operator<<( double ); 10182: ON_TextLog& operator<<( const ON_2dPoint& ); 10182: ON_TextLog& operator<<( const ON_3dPoint& ); 10182: ON_TextLog& operator<<( const ON_4dPoint& ); 10182: ON_TextLog& operator<<( const ON_2dVector& ); 10182: ON_TextLog& operator<<( const ON_3dVector& ); 10182: ON_TextLog& operator<<( const ON_Xform& ); 10182: 10182: protected: 10182: FILE* m_pFile; 10182: ON_wString* m_pString; 10182: # 204 "/<>/external/onurbs/opennurbs_textlog.h" 10182: virtual 10182: void AppendText( 10182: const char* s 10182: ); 10182: # 218 "/<>/external/onurbs/opennurbs_textlog.h" 10182: virtual 10182: void AppendText( 10182: const wchar_t* s 10182: ); 10182: 10182: private: 10182: ON_String m_indent; 10182: ON_String m_double_format; 10182: ON_String m_double2_format; 10182: ON_String m_double3_format; 10182: ON_String m_double4_format; 10182: ON_String m_float_format; 10182: ON_String m_float2_format; 10182: ON_String m_float3_format; 10182: ON_String m_float4_format; 10182: 10182: ON_String m_line; 10182: 10182: int m_beginning_of_line; 10182: int m_indent_size; 10182: 10182: private: 10182: 10182: ON_TextLog( const ON_TextLog& ); 10182: ON_TextLog& operator=( const ON_TextLog& ); 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_TextLogIndent 10182: { 10182: public: 10182: 10182: 10182: ON_TextLogIndent( 10182: class ON_TextLog& text_log 10182: ); 10182: 10182: 10182: 10182: ON_TextLogIndent( 10182: class ON_TextLog& text_log, 10182: bool bEnabled 10182: ); 10182: 10182: ~ON_TextLogIndent(); 10182: 10182: private: 10182: class ON_TextLog& m_text_log; 10182: bool m_bEnabled; 10182: 10182: 10182: 10182: ON_TextLogIndent(const ON_TextLogIndent&); 10182: ON_TextLogIndent& operator=(const ON_TextLogIndent&); 10182: }; 10182: # 76 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_zlib.h" 1 10182: # 44 "/<>/external/onurbs/opennurbs_zlib.h" 10182: # 1 "/<>/external/./zlib/zlib.h" 1 10182: # 34 "/<>/external/./zlib/zlib.h" 10182: # 1 "/<>/external/./zlib/zconf.h" 1 10182: # 368 "/<>/external/./zlib/zconf.h" 10182: typedef unsigned char z_Byte; 10182: 10182: typedef unsigned int z_uInt; 10182: typedef unsigned long z_uLong; 10182: 10182: 10182: 10182: 10182: 10182: typedef z_Byte z_Bytef; 10182: 10182: typedef char z_charf; 10182: typedef int z_intf; 10182: typedef z_uInt z_uIntf; 10182: typedef z_uLong z_uLongf; 10182: 10182: 10182: typedef void const *z_voidpc; 10182: typedef void *z_voidpf; 10182: typedef void *z_voidp; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed/limits.h" 1 3 4 10182: # 396 "/<>/external/./zlib/zconf.h" 2 10182: # 406 "/<>/external/./zlib/zconf.h" 10182: typedef unsigned z_crc_t; 10182: # 452 "/<>/external/./zlib/zconf.h" 10182: # 1 "/usr/include/unistd.h" 1 3 4 10182: # 27 "/usr/include/unistd.h" 3 4 10182: 10182: # 27 "/usr/include/unistd.h" 3 4 10182: extern "C" { 10182: # 205 "/usr/include/unistd.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/posix_opt.h" 1 3 4 10182: # 206 "/usr/include/unistd.h" 2 3 4 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/environments.h" 1 3 4 10182: # 22 "/usr/include/aarch64-linux-gnu/bits/environments.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/wordsize.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/environments.h" 2 3 4 10182: # 210 "/usr/include/unistd.h" 2 3 4 10182: # 229 "/usr/include/unistd.h" 3 4 10182: # 1 "/usr/lib/gcc/aarch64-linux-gnu/7/include/stddef.h" 1 3 4 10182: # 230 "/usr/include/unistd.h" 2 3 4 10182: # 270 "/usr/include/unistd.h" 3 4 10182: typedef __intptr_t intptr_t; 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef __socklen_t socklen_t; 10182: # 290 "/usr/include/unistd.h" 3 4 10182: extern int access (const char *__name, int __type) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern int euidaccess (const char *__name, int __type) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern int eaccess (const char *__name, int __type) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int faccessat (int __fd, const char *__file, int __type, int __flag) 10182: throw () __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); 10182: # 337 "/usr/include/unistd.h" 3 4 10182: extern __off_t lseek (int __fd, __off_t __offset, int __whence) throw (); 10182: # 348 "/usr/include/unistd.h" 3 4 10182: extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int close (int __fd); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)); 10182: # 379 "/usr/include/unistd.h" 3 4 10182: extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, 10182: __off_t __offset) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, 10182: __off_t __offset) __attribute__ ((__warn_unused_result__)); 10182: # 407 "/usr/include/unistd.h" 3 4 10182: extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, 10182: __off64_t __offset) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n, 10182: __off64_t __offset) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int pipe (int __pipedes[2]) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int pipe2 (int __pipedes[2], int __flags) throw () __attribute__ ((__warn_unused_result__)); 10182: # 435 "/usr/include/unistd.h" 3 4 10182: extern unsigned int alarm (unsigned int __seconds) throw (); 10182: # 447 "/usr/include/unistd.h" 3 4 10182: extern unsigned int sleep (unsigned int __seconds); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) 10182: throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int usleep (__useconds_t __useconds); 10182: # 472 "/usr/include/unistd.h" 3 4 10182: extern int pause (void); 10182: 10182: 10182: 10182: extern int chown (const char *__file, __uid_t __owner, __gid_t __group) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fchownat (int __fd, const char *__file, __uid_t __owner, 10182: __gid_t __group, int __flag) 10182: throw () __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int chdir (const char *__path) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int fchdir (int __fd) throw () __attribute__ ((__warn_unused_result__)); 10182: # 514 "/usr/include/unistd.h" 3 4 10182: extern char *getcwd (char *__buf, size_t __size) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern char *get_current_dir_name (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *getwd (char *__buf) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int dup (int __fd) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern int dup2 (int __fd, int __fd2) throw (); 10182: 10182: 10182: 10182: 10182: extern int dup3 (int __fd, int __fd2, int __flags) throw (); 10182: 10182: 10182: 10182: extern char **__environ; 10182: 10182: extern char **environ; 10182: 10182: 10182: 10182: 10182: 10182: extern int execve (const char *__path, char *const __argv[], 10182: char *const __envp[]) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: 10182: extern int execv (const char *__path, char *const __argv[]) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern int execle (const char *__path, const char *__arg, ...) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern int execl (const char *__path, const char *__arg, ...) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern int execvp (const char *__file, char *const __argv[]) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern int execlp (const char *__file, const char *__arg, ...) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: extern int execvpe (const char *__file, char *const __argv[], 10182: char *const __envp[]) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: 10182: 10182: extern int nice (int __inc) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern void _exit (int __status) __attribute__ ((__noreturn__)); 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/confname.h" 1 3 4 10182: # 24 "/usr/include/aarch64-linux-gnu/bits/confname.h" 3 4 10182: enum 10182: { 10182: _PC_LINK_MAX, 10182: 10182: _PC_MAX_CANON, 10182: 10182: _PC_MAX_INPUT, 10182: 10182: _PC_NAME_MAX, 10182: 10182: _PC_PATH_MAX, 10182: 10182: _PC_PIPE_BUF, 10182: 10182: _PC_CHOWN_RESTRICTED, 10182: 10182: _PC_NO_TRUNC, 10182: 10182: _PC_VDISABLE, 10182: 10182: _PC_SYNC_IO, 10182: 10182: _PC_ASYNC_IO, 10182: 10182: _PC_PRIO_IO, 10182: 10182: _PC_SOCK_MAXBUF, 10182: 10182: _PC_FILESIZEBITS, 10182: 10182: _PC_REC_INCR_XFER_SIZE, 10182: 10182: _PC_REC_MAX_XFER_SIZE, 10182: 10182: _PC_REC_MIN_XFER_SIZE, 10182: 10182: _PC_REC_XFER_ALIGN, 10182: 10182: _PC_ALLOC_SIZE_MIN, 10182: 10182: _PC_SYMLINK_MAX, 10182: 10182: _PC_2_SYMLINKS 10182: 10182: }; 10182: 10182: 10182: enum 10182: { 10182: _SC_ARG_MAX, 10182: 10182: _SC_CHILD_MAX, 10182: 10182: _SC_CLK_TCK, 10182: 10182: _SC_NGROUPS_MAX, 10182: 10182: _SC_OPEN_MAX, 10182: 10182: _SC_STREAM_MAX, 10182: 10182: _SC_TZNAME_MAX, 10182: 10182: _SC_JOB_CONTROL, 10182: 10182: _SC_SAVED_IDS, 10182: 10182: _SC_REALTIME_SIGNALS, 10182: 10182: _SC_PRIORITY_SCHEDULING, 10182: 10182: _SC_TIMERS, 10182: 10182: _SC_ASYNCHRONOUS_IO, 10182: 10182: _SC_PRIORITIZED_IO, 10182: 10182: _SC_SYNCHRONIZED_IO, 10182: 10182: _SC_FSYNC, 10182: 10182: _SC_MAPPED_FILES, 10182: 10182: _SC_MEMLOCK, 10182: 10182: _SC_MEMLOCK_RANGE, 10182: 10182: _SC_MEMORY_PROTECTION, 10182: 10182: _SC_MESSAGE_PASSING, 10182: 10182: _SC_SEMAPHORES, 10182: 10182: _SC_SHARED_MEMORY_OBJECTS, 10182: 10182: _SC_AIO_LISTIO_MAX, 10182: 10182: _SC_AIO_MAX, 10182: 10182: _SC_AIO_PRIO_DELTA_MAX, 10182: 10182: _SC_DELAYTIMER_MAX, 10182: 10182: _SC_MQ_OPEN_MAX, 10182: 10182: _SC_MQ_PRIO_MAX, 10182: 10182: _SC_VERSION, 10182: 10182: _SC_PAGESIZE, 10182: 10182: 10182: _SC_RTSIG_MAX, 10182: 10182: _SC_SEM_NSEMS_MAX, 10182: 10182: _SC_SEM_VALUE_MAX, 10182: 10182: _SC_SIGQUEUE_MAX, 10182: 10182: _SC_TIMER_MAX, 10182: 10182: 10182: 10182: 10182: _SC_BC_BASE_MAX, 10182: 10182: _SC_BC_DIM_MAX, 10182: 10182: _SC_BC_SCALE_MAX, 10182: 10182: _SC_BC_STRING_MAX, 10182: 10182: _SC_COLL_WEIGHTS_MAX, 10182: 10182: _SC_EQUIV_CLASS_MAX, 10182: 10182: _SC_EXPR_NEST_MAX, 10182: 10182: _SC_LINE_MAX, 10182: 10182: _SC_RE_DUP_MAX, 10182: 10182: _SC_CHARCLASS_NAME_MAX, 10182: 10182: 10182: _SC_2_VERSION, 10182: 10182: _SC_2_C_BIND, 10182: 10182: _SC_2_C_DEV, 10182: 10182: _SC_2_FORT_DEV, 10182: 10182: _SC_2_FORT_RUN, 10182: 10182: _SC_2_SW_DEV, 10182: 10182: _SC_2_LOCALEDEF, 10182: 10182: 10182: _SC_PII, 10182: 10182: _SC_PII_XTI, 10182: 10182: _SC_PII_SOCKET, 10182: 10182: _SC_PII_INTERNET, 10182: 10182: _SC_PII_OSI, 10182: 10182: _SC_POLL, 10182: 10182: _SC_SELECT, 10182: 10182: _SC_UIO_MAXIOV, 10182: 10182: _SC_IOV_MAX = _SC_UIO_MAXIOV, 10182: 10182: _SC_PII_INTERNET_STREAM, 10182: 10182: _SC_PII_INTERNET_DGRAM, 10182: 10182: _SC_PII_OSI_COTS, 10182: 10182: _SC_PII_OSI_CLTS, 10182: 10182: _SC_PII_OSI_M, 10182: 10182: _SC_T_IOV_MAX, 10182: 10182: 10182: 10182: _SC_THREADS, 10182: 10182: _SC_THREAD_SAFE_FUNCTIONS, 10182: 10182: _SC_GETGR_R_SIZE_MAX, 10182: 10182: _SC_GETPW_R_SIZE_MAX, 10182: 10182: _SC_LOGIN_NAME_MAX, 10182: 10182: _SC_TTY_NAME_MAX, 10182: 10182: _SC_THREAD_DESTRUCTOR_ITERATIONS, 10182: 10182: _SC_THREAD_KEYS_MAX, 10182: 10182: _SC_THREAD_STACK_MIN, 10182: 10182: _SC_THREAD_THREADS_MAX, 10182: 10182: _SC_THREAD_ATTR_STACKADDR, 10182: 10182: _SC_THREAD_ATTR_STACKSIZE, 10182: 10182: _SC_THREAD_PRIORITY_SCHEDULING, 10182: 10182: _SC_THREAD_PRIO_INHERIT, 10182: 10182: _SC_THREAD_PRIO_PROTECT, 10182: 10182: _SC_THREAD_PROCESS_SHARED, 10182: 10182: 10182: _SC_NPROCESSORS_CONF, 10182: 10182: _SC_NPROCESSORS_ONLN, 10182: 10182: _SC_PHYS_PAGES, 10182: 10182: _SC_AVPHYS_PAGES, 10182: 10182: _SC_ATEXIT_MAX, 10182: 10182: _SC_PASS_MAX, 10182: 10182: 10182: _SC_XOPEN_VERSION, 10182: 10182: _SC_XOPEN_XCU_VERSION, 10182: 10182: _SC_XOPEN_UNIX, 10182: 10182: _SC_XOPEN_CRYPT, 10182: 10182: _SC_XOPEN_ENH_I18N, 10182: 10182: _SC_XOPEN_SHM, 10182: 10182: 10182: _SC_2_CHAR_TERM, 10182: 10182: _SC_2_C_VERSION, 10182: 10182: _SC_2_UPE, 10182: 10182: 10182: _SC_XOPEN_XPG2, 10182: 10182: _SC_XOPEN_XPG3, 10182: 10182: _SC_XOPEN_XPG4, 10182: 10182: 10182: _SC_CHAR_BIT, 10182: 10182: _SC_CHAR_MAX, 10182: 10182: _SC_CHAR_MIN, 10182: 10182: _SC_INT_MAX, 10182: 10182: _SC_INT_MIN, 10182: 10182: _SC_LONG_BIT, 10182: 10182: _SC_WORD_BIT, 10182: 10182: _SC_MB_LEN_MAX, 10182: 10182: _SC_NZERO, 10182: 10182: _SC_SSIZE_MAX, 10182: 10182: _SC_SCHAR_MAX, 10182: 10182: _SC_SCHAR_MIN, 10182: 10182: _SC_SHRT_MAX, 10182: 10182: _SC_SHRT_MIN, 10182: 10182: _SC_UCHAR_MAX, 10182: 10182: _SC_UINT_MAX, 10182: 10182: _SC_ULONG_MAX, 10182: 10182: _SC_USHRT_MAX, 10182: 10182: 10182: _SC_NL_ARGMAX, 10182: 10182: _SC_NL_LANGMAX, 10182: 10182: _SC_NL_MSGMAX, 10182: 10182: _SC_NL_NMAX, 10182: 10182: _SC_NL_SETMAX, 10182: 10182: _SC_NL_TEXTMAX, 10182: 10182: 10182: _SC_XBS5_ILP32_OFF32, 10182: 10182: _SC_XBS5_ILP32_OFFBIG, 10182: 10182: _SC_XBS5_LP64_OFF64, 10182: 10182: _SC_XBS5_LPBIG_OFFBIG, 10182: 10182: 10182: _SC_XOPEN_LEGACY, 10182: 10182: _SC_XOPEN_REALTIME, 10182: 10182: _SC_XOPEN_REALTIME_THREADS, 10182: 10182: 10182: _SC_ADVISORY_INFO, 10182: 10182: _SC_BARRIERS, 10182: 10182: _SC_BASE, 10182: 10182: _SC_C_LANG_SUPPORT, 10182: 10182: _SC_C_LANG_SUPPORT_R, 10182: 10182: _SC_CLOCK_SELECTION, 10182: 10182: _SC_CPUTIME, 10182: 10182: _SC_THREAD_CPUTIME, 10182: 10182: _SC_DEVICE_IO, 10182: 10182: _SC_DEVICE_SPECIFIC, 10182: 10182: _SC_DEVICE_SPECIFIC_R, 10182: 10182: _SC_FD_MGMT, 10182: 10182: _SC_FIFO, 10182: 10182: _SC_PIPE, 10182: 10182: _SC_FILE_ATTRIBUTES, 10182: 10182: _SC_FILE_LOCKING, 10182: 10182: _SC_FILE_SYSTEM, 10182: 10182: _SC_MONOTONIC_CLOCK, 10182: 10182: _SC_MULTI_PROCESS, 10182: 10182: _SC_SINGLE_PROCESS, 10182: 10182: _SC_NETWORKING, 10182: 10182: _SC_READER_WRITER_LOCKS, 10182: 10182: _SC_SPIN_LOCKS, 10182: 10182: _SC_REGEXP, 10182: 10182: _SC_REGEX_VERSION, 10182: 10182: _SC_SHELL, 10182: 10182: _SC_SIGNALS, 10182: 10182: _SC_SPAWN, 10182: 10182: _SC_SPORADIC_SERVER, 10182: 10182: _SC_THREAD_SPORADIC_SERVER, 10182: 10182: _SC_SYSTEM_DATABASE, 10182: 10182: _SC_SYSTEM_DATABASE_R, 10182: 10182: _SC_TIMEOUTS, 10182: 10182: _SC_TYPED_MEMORY_OBJECTS, 10182: 10182: _SC_USER_GROUPS, 10182: 10182: _SC_USER_GROUPS_R, 10182: 10182: _SC_2_PBS, 10182: 10182: _SC_2_PBS_ACCOUNTING, 10182: 10182: _SC_2_PBS_LOCATE, 10182: 10182: _SC_2_PBS_MESSAGE, 10182: 10182: _SC_2_PBS_TRACK, 10182: 10182: _SC_SYMLOOP_MAX, 10182: 10182: _SC_STREAMS, 10182: 10182: _SC_2_PBS_CHECKPOINT, 10182: 10182: 10182: _SC_V6_ILP32_OFF32, 10182: 10182: _SC_V6_ILP32_OFFBIG, 10182: 10182: _SC_V6_LP64_OFF64, 10182: 10182: _SC_V6_LPBIG_OFFBIG, 10182: 10182: 10182: _SC_HOST_NAME_MAX, 10182: 10182: _SC_TRACE, 10182: 10182: _SC_TRACE_EVENT_FILTER, 10182: 10182: _SC_TRACE_INHERIT, 10182: 10182: _SC_TRACE_LOG, 10182: 10182: 10182: _SC_LEVEL1_ICACHE_SIZE, 10182: 10182: _SC_LEVEL1_ICACHE_ASSOC, 10182: 10182: _SC_LEVEL1_ICACHE_LINESIZE, 10182: 10182: _SC_LEVEL1_DCACHE_SIZE, 10182: 10182: _SC_LEVEL1_DCACHE_ASSOC, 10182: 10182: _SC_LEVEL1_DCACHE_LINESIZE, 10182: 10182: _SC_LEVEL2_CACHE_SIZE, 10182: 10182: _SC_LEVEL2_CACHE_ASSOC, 10182: 10182: _SC_LEVEL2_CACHE_LINESIZE, 10182: 10182: _SC_LEVEL3_CACHE_SIZE, 10182: 10182: _SC_LEVEL3_CACHE_ASSOC, 10182: 10182: _SC_LEVEL3_CACHE_LINESIZE, 10182: 10182: _SC_LEVEL4_CACHE_SIZE, 10182: 10182: _SC_LEVEL4_CACHE_ASSOC, 10182: 10182: _SC_LEVEL4_CACHE_LINESIZE, 10182: 10182: 10182: 10182: _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, 10182: 10182: _SC_RAW_SOCKETS, 10182: 10182: 10182: _SC_V7_ILP32_OFF32, 10182: 10182: _SC_V7_ILP32_OFFBIG, 10182: 10182: _SC_V7_LP64_OFF64, 10182: 10182: _SC_V7_LPBIG_OFFBIG, 10182: 10182: 10182: _SC_SS_REPL_MAX, 10182: 10182: 10182: _SC_TRACE_EVENT_NAME_MAX, 10182: 10182: _SC_TRACE_NAME_MAX, 10182: 10182: _SC_TRACE_SYS_MAX, 10182: 10182: _SC_TRACE_USER_EVENT_MAX, 10182: 10182: 10182: _SC_XOPEN_STREAMS, 10182: 10182: 10182: _SC_THREAD_ROBUST_PRIO_INHERIT, 10182: 10182: _SC_THREAD_ROBUST_PRIO_PROTECT 10182: 10182: }; 10182: 10182: 10182: enum 10182: { 10182: _CS_PATH, 10182: 10182: 10182: _CS_V6_WIDTH_RESTRICTED_ENVS, 10182: 10182: 10182: 10182: _CS_GNU_LIBC_VERSION, 10182: 10182: _CS_GNU_LIBPTHREAD_VERSION, 10182: 10182: 10182: _CS_V5_WIDTH_RESTRICTED_ENVS, 10182: 10182: 10182: 10182: _CS_V7_WIDTH_RESTRICTED_ENVS, 10182: 10182: 10182: 10182: _CS_LFS_CFLAGS = 1000, 10182: 10182: _CS_LFS_LDFLAGS, 10182: 10182: _CS_LFS_LIBS, 10182: 10182: _CS_LFS_LINTFLAGS, 10182: 10182: _CS_LFS64_CFLAGS, 10182: 10182: _CS_LFS64_LDFLAGS, 10182: 10182: _CS_LFS64_LIBS, 10182: 10182: _CS_LFS64_LINTFLAGS, 10182: 10182: 10182: _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, 10182: 10182: _CS_XBS5_ILP32_OFF32_LDFLAGS, 10182: 10182: _CS_XBS5_ILP32_OFF32_LIBS, 10182: 10182: _CS_XBS5_ILP32_OFF32_LINTFLAGS, 10182: 10182: _CS_XBS5_ILP32_OFFBIG_CFLAGS, 10182: 10182: _CS_XBS5_ILP32_OFFBIG_LDFLAGS, 10182: 10182: _CS_XBS5_ILP32_OFFBIG_LIBS, 10182: 10182: _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, 10182: 10182: _CS_XBS5_LP64_OFF64_CFLAGS, 10182: 10182: _CS_XBS5_LP64_OFF64_LDFLAGS, 10182: 10182: _CS_XBS5_LP64_OFF64_LIBS, 10182: 10182: _CS_XBS5_LP64_OFF64_LINTFLAGS, 10182: 10182: _CS_XBS5_LPBIG_OFFBIG_CFLAGS, 10182: 10182: _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, 10182: 10182: _CS_XBS5_LPBIG_OFFBIG_LIBS, 10182: 10182: _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, 10182: 10182: 10182: _CS_POSIX_V6_ILP32_OFF32_CFLAGS, 10182: 10182: _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, 10182: 10182: _CS_POSIX_V6_ILP32_OFF32_LIBS, 10182: 10182: _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, 10182: 10182: _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, 10182: 10182: _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, 10182: 10182: _CS_POSIX_V6_ILP32_OFFBIG_LIBS, 10182: 10182: _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, 10182: 10182: _CS_POSIX_V6_LP64_OFF64_CFLAGS, 10182: 10182: _CS_POSIX_V6_LP64_OFF64_LDFLAGS, 10182: 10182: _CS_POSIX_V6_LP64_OFF64_LIBS, 10182: 10182: _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, 10182: 10182: _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, 10182: 10182: _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, 10182: 10182: _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, 10182: 10182: _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, 10182: 10182: 10182: _CS_POSIX_V7_ILP32_OFF32_CFLAGS, 10182: 10182: _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, 10182: 10182: _CS_POSIX_V7_ILP32_OFF32_LIBS, 10182: 10182: _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, 10182: 10182: _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, 10182: 10182: _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, 10182: 10182: _CS_POSIX_V7_ILP32_OFFBIG_LIBS, 10182: 10182: _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, 10182: 10182: _CS_POSIX_V7_LP64_OFF64_CFLAGS, 10182: 10182: _CS_POSIX_V7_LP64_OFF64_LDFLAGS, 10182: 10182: _CS_POSIX_V7_LP64_OFF64_LIBS, 10182: 10182: _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, 10182: 10182: _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, 10182: 10182: _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, 10182: 10182: _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, 10182: 10182: _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, 10182: 10182: 10182: _CS_V6_ENV, 10182: 10182: _CS_V7_ENV 10182: 10182: }; 10182: # 613 "/usr/include/unistd.h" 2 3 4 10182: 10182: 10182: extern long int pathconf (const char *__path, int __name) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: extern long int fpathconf (int __fd, int __name) throw (); 10182: 10182: 10182: extern long int sysconf (int __name) throw (); 10182: 10182: 10182: 10182: extern size_t confstr (int __name, char *__buf, size_t __len) throw (); 10182: 10182: 10182: 10182: 10182: extern __pid_t getpid (void) throw (); 10182: 10182: 10182: extern __pid_t getppid (void) throw (); 10182: 10182: 10182: extern __pid_t getpgrp (void) throw (); 10182: 10182: 10182: extern __pid_t __getpgid (__pid_t __pid) throw (); 10182: 10182: extern __pid_t getpgid (__pid_t __pid) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int setpgid (__pid_t __pid, __pid_t __pgid) throw (); 10182: # 663 "/usr/include/unistd.h" 3 4 10182: extern int setpgrp (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __pid_t setsid (void) throw (); 10182: 10182: 10182: 10182: extern __pid_t getsid (__pid_t __pid) throw (); 10182: 10182: 10182: 10182: extern __uid_t getuid (void) throw (); 10182: 10182: 10182: extern __uid_t geteuid (void) throw (); 10182: 10182: 10182: extern __gid_t getgid (void) throw (); 10182: 10182: 10182: extern __gid_t getegid (void) throw (); 10182: 10182: 10182: 10182: 10182: extern int getgroups (int __size, __gid_t __list[]) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int group_member (__gid_t __gid) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int setuid (__uid_t __uid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int setreuid (__uid_t __ruid, __uid_t __euid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int seteuid (__uid_t __uid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int setgid (__gid_t __gid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int setregid (__gid_t __rgid, __gid_t __egid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int setegid (__gid_t __gid) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) 10182: throw (); 10182: 10182: 10182: 10182: extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) 10182: throw (); 10182: 10182: 10182: 10182: extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __pid_t fork (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern __pid_t vfork (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern char *ttyname (int __fd) throw (); 10182: 10182: 10182: 10182: extern int ttyname_r (int __fd, char *__buf, size_t __buflen) 10182: throw () __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int isatty (int __fd) throw (); 10182: 10182: 10182: 10182: 10182: extern int ttyslot (void) throw (); 10182: 10182: 10182: 10182: 10182: extern int link (const char *__from, const char *__to) 10182: throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int linkat (int __fromfd, const char *__from, int __tofd, 10182: const char *__to, int __flags) 10182: throw () __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int symlink (const char *__from, const char *__to) 10182: throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern ssize_t readlink (const char *__restrict __path, 10182: char *__restrict __buf, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: extern int symlinkat (const char *__from, int __tofd, 10182: const char *__to) throw () __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: extern ssize_t readlinkat (int __fd, const char *__restrict __path, 10182: char *__restrict __buf, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int unlink (const char *__name) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern int unlinkat (int __fd, const char *__name, int __flag) 10182: throw () __attribute__ ((__nonnull__ (2))); 10182: 10182: 10182: 10182: extern int rmdir (const char *__path) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: extern __pid_t tcgetpgrp (int __fd) throw (); 10182: 10182: 10182: extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *getlogin (void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: extern int setlogin (const char *__name) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/getopt_posix.h" 1 3 4 10182: # 27 "/usr/include/aarch64-linux-gnu/bits/getopt_posix.h" 3 4 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/getopt_core.h" 1 3 4 10182: # 28 "/usr/include/aarch64-linux-gnu/bits/getopt_core.h" 3 4 10182: extern "C" { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *optarg; 10182: # 50 "/usr/include/aarch64-linux-gnu/bits/getopt_core.h" 3 4 10182: extern int optind; 10182: 10182: 10182: 10182: 10182: extern int opterr; 10182: 10182: 10182: 10182: extern int optopt; 10182: # 91 "/usr/include/aarch64-linux-gnu/bits/getopt_core.h" 3 4 10182: extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) 10182: throw () __attribute__ ((__nonnull__ (2, 3))); 10182: 10182: } 10182: # 28 "/usr/include/aarch64-linux-gnu/bits/getopt_posix.h" 2 3 4 10182: 10182: extern "C" { 10182: # 49 "/usr/include/aarch64-linux-gnu/bits/getopt_posix.h" 3 4 10182: } 10182: # 873 "/usr/include/unistd.h" 2 3 4 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int gethostname (char *__name, size_t __len) throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int sethostname (const char *__name, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern int sethostid (long int __id) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int getdomainname (char *__name, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: extern int setdomainname (const char *__name, size_t __len) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern int vhangup (void) throw (); 10182: 10182: 10182: extern int revoke (const char *__file) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int profil (unsigned short int *__sample_buffer, size_t __size, 10182: size_t __offset, unsigned int __scale) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: extern int acct (const char *__name) throw (); 10182: 10182: 10182: 10182: extern char *getusershell (void) throw (); 10182: extern void endusershell (void) throw (); 10182: extern void setusershell (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int daemon (int __nochdir, int __noclose) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int chroot (const char *__path) throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int fsync (int __fd); 10182: 10182: 10182: 10182: 10182: 10182: extern int syncfs (int __fd) throw (); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern long int gethostid (void); 10182: 10182: 10182: extern void sync (void) throw (); 10182: 10182: 10182: 10182: 10182: 10182: extern int getpagesize (void) throw () __attribute__ ((__const__)); 10182: 10182: 10182: 10182: 10182: extern int getdtablesize (void) throw (); 10182: # 994 "/usr/include/unistd.h" 3 4 10182: extern int truncate (const char *__file, __off_t __length) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 1006 "/usr/include/unistd.h" 3 4 10182: extern int truncate64 (const char *__file, __off64_t __length) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: # 1017 "/usr/include/unistd.h" 3 4 10182: extern int ftruncate (int __fd, __off_t __length) throw () __attribute__ ((__warn_unused_result__)); 10182: # 1027 "/usr/include/unistd.h" 3 4 10182: extern int ftruncate64 (int __fd, __off64_t __length) throw () __attribute__ ((__warn_unused_result__)); 10182: # 1038 "/usr/include/unistd.h" 3 4 10182: extern int brk (void *__addr) throw () __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: 10182: extern void *sbrk (intptr_t __delta) throw (); 10182: # 1059 "/usr/include/unistd.h" 3 4 10182: extern long int syscall (long int __sysno, ...) throw (); 10182: # 1082 "/usr/include/unistd.h" 3 4 10182: extern int lockf (int __fd, int __cmd, __off_t __len) __attribute__ ((__warn_unused_result__)); 10182: # 1092 "/usr/include/unistd.h" 3 4 10182: extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__)); 10182: # 1110 "/usr/include/unistd.h" 3 4 10182: ssize_t copy_file_range (int __infd, __off64_t *__pinoff, 10182: int __outfd, __off64_t *__poutoff, 10182: size_t __length, unsigned int __flags); 10182: 10182: 10182: 10182: 10182: 10182: extern int fdatasync (int __fildes); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char *crypt (const char *__key, const char *__salt) 10182: throw () __attribute__ ((__nonnull__ (1, 2))); 10182: 10182: 10182: 10182: extern void encrypt (char *__glibc_block, int __edflag) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern void swab (const void *__restrict __from, void *__restrict __to, 10182: ssize_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); 10182: # 1167 "/usr/include/unistd.h" 3 4 10182: int getentropy (void *__buffer, size_t __length) __attribute__ ((__warn_unused_result__)); 10182: 10182: 10182: 10182: 10182: # 1 "/usr/include/aarch64-linux-gnu/bits/unistd.h" 1 3 4 10182: # 23 "/usr/include/aarch64-linux-gnu/bits/unistd.h" 3 4 10182: extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, 10182: size_t __buflen) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") 10182: __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t 10182: read (int __fd, void *__buf, size_t __nbytes) 10182: { 10182: if (__builtin_object_size (__buf, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__nbytes)) 10182: return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); 10182: 10182: if (__nbytes > __builtin_object_size (__buf, 0)) 10182: return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); 10182: } 10182: return __read_alias (__fd, __buf, __nbytes); 10182: } 10182: 10182: 10182: extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes, 10182: __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes, 10182: __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") 10182: 10182: __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer"))) 10182: ; 10182: extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk") 10182: 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer"))) 10182: ; 10182: 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t 10182: pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) 10182: { 10182: if (__builtin_object_size (__buf, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__nbytes)) 10182: return __pread_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); 10182: 10182: if ( __nbytes > __builtin_object_size (__buf, 0)) 10182: return __pread_chk_warn (__fd, __buf, __nbytes, __offset, 10182: __builtin_object_size (__buf, 0)); 10182: } 10182: return __pread_alias (__fd, __buf, __nbytes, __offset); 10182: } 10182: # 104 "/usr/include/aarch64-linux-gnu/bits/unistd.h" 3 4 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t 10182: pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) 10182: { 10182: if (__builtin_object_size (__buf, 0) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__nbytes)) 10182: return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)); 10182: 10182: if ( __nbytes > __builtin_object_size (__buf, 0)) 10182: return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, 10182: __builtin_object_size (__buf, 0)); 10182: } 10182: 10182: return __pread64_alias (__fd, __buf, __nbytes, __offset); 10182: } 10182: 10182: 10182: 10182: 10182: extern ssize_t __readlink_chk (const char *__restrict __path, 10182: char *__restrict __buf, size_t __len, 10182: size_t __buflen) 10182: throw () __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) throw () __asm__ ("" "readlink") 10182: 10182: 10182: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) throw () __asm__ ("" "__readlink_chk") 10182: 10182: 10182: 10182: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t 10182: __attribute__ ((__leaf__)) readlink (const char *__restrict __path, char *__restrict __buf, size_t __len) throw () 10182: 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if ( __len > __builtin_object_size (__buf, 2 > 1)) 10182: return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __readlink_alias (__path, __buf, __len); 10182: } 10182: 10182: 10182: 10182: extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path, 10182: char *__restrict __buf, size_t __len, 10182: size_t __buflen) 10182: throw () __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) throw () __asm__ ("" "readlinkat") 10182: 10182: 10182: 10182: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); 10182: extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) throw () __asm__ ("" "__readlinkat_chk") 10182: 10182: 10182: 10182: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer"))) 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t 10182: __attribute__ ((__leaf__)) readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) throw () 10182: 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__len > __builtin_object_size (__buf, 2 > 1)) 10182: return __readlinkat_chk_warn (__fd, __path, __buf, __len, 10182: __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __readlinkat_alias (__fd, __path, __buf, __len); 10182: } 10182: 10182: 10182: extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: extern char *__getcwd_alias (char *__buf, size_t __size) throw () __asm__ ("" "getcwd") 10182: __attribute__ ((__warn_unused_result__)); 10182: extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) throw () __asm__ ("" "__getcwd_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * 10182: __attribute__ ((__leaf__)) getcwd (char *__buf, size_t __size) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__size)) 10182: return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__size > __builtin_object_size (__buf, 2 > 1)) 10182: return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __getcwd_alias (__buf, __size); 10182: } 10182: 10182: 10182: extern char *__getwd_chk (char *__buf, size_t buflen) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: extern char *__getwd_warn (char *__buf) throw () __asm__ ("" "getwd") 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * 10182: __attribute__ ((__leaf__)) getwd (char *__buf) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); 10182: return __getwd_warn (__buf); 10182: } 10182: 10182: 10182: extern size_t __confstr_chk (int __name, char *__buf, size_t __len, 10182: size_t __buflen) throw (); 10182: extern size_t __confstr_alias (int __name, char *__buf, size_t __len) throw () __asm__ ("" "confstr") 10182: ; 10182: extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) throw () __asm__ ("" "__confstr_chk") 10182: 10182: 10182: __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t 10182: __attribute__ ((__leaf__)) confstr (int __name, char *__buf, size_t __len) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__len)) 10182: return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__builtin_object_size (__buf, 2 > 1) < __len) 10182: return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __confstr_alias (__name, __buf, __len); 10182: } 10182: 10182: 10182: extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) 10182: throw () __attribute__ ((__warn_unused_result__)); 10182: extern int __getgroups_alias (int __size, __gid_t __list[]) throw () __asm__ ("" "getgroups") 10182: __attribute__ ((__warn_unused_result__)); 10182: extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) throw () __asm__ ("" "__getgroups_chk") 10182: 10182: 10182: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) getgroups (int __size, __gid_t __list[]) throw () 10182: { 10182: if (__builtin_object_size (__list, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__size) || __size < 0) 10182: return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)); 10182: 10182: if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1)) 10182: return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)); 10182: } 10182: return __getgroups_alias (__size, __list); 10182: } 10182: 10182: 10182: extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, 10182: size_t __nreal) throw () __attribute__ ((__nonnull__ (2))); 10182: extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) throw () __asm__ ("" "ttyname_r") 10182: 10182: __attribute__ ((__nonnull__ (2))); 10182: extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) throw () __asm__ ("" "__ttyname_r_chk") 10182: 10182: 10182: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) ttyname_r (int __fd, char *__buf, size_t __buflen) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__buflen)) 10182: return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__buflen > __builtin_object_size (__buf, 2 > 1)) 10182: return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __ttyname_r_alias (__fd, __buf, __buflen); 10182: } 10182: 10182: 10182: 10182: extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) 10182: __attribute__ ((__nonnull__ (1))); 10182: extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") 10182: __attribute__ ((__nonnull__ (1))); 10182: extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk") 10182: 10182: 10182: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: getlogin_r (char *__buf, size_t __buflen) 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__buflen)) 10182: return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__buflen > __builtin_object_size (__buf, 2 > 1)) 10182: return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __getlogin_r_alias (__buf, __buflen); 10182: } 10182: 10182: 10182: 10182: 10182: extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) 10182: throw () __attribute__ ((__nonnull__ (1))); 10182: extern int __gethostname_alias (char *__buf, size_t __buflen) throw () __asm__ ("" "gethostname") 10182: __attribute__ ((__nonnull__ (1))); 10182: extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) throw () __asm__ ("" "__gethostname_chk") 10182: 10182: 10182: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))) 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) gethostname (char *__buf, size_t __buflen) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__buflen)) 10182: return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__buflen > __builtin_object_size (__buf, 2 > 1)) 10182: return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __gethostname_alias (__buf, __buflen); 10182: } 10182: 10182: 10182: 10182: 10182: extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) 10182: throw () __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: extern int __getdomainname_alias (char *__buf, size_t __buflen) throw () __asm__ ("" "getdomainname") 10182: 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); 10182: extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) throw () __asm__ ("" "__getdomainname_chk") 10182: 10182: 10182: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))) 10182: 10182: ; 10182: 10182: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int 10182: __attribute__ ((__leaf__)) getdomainname (char *__buf, size_t __buflen) throw () 10182: { 10182: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) 10182: { 10182: if (!__builtin_constant_p (__buflen)) 10182: return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: 10182: if (__buflen > __builtin_object_size (__buf, 2 > 1)) 10182: return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); 10182: } 10182: return __getdomainname_alias (__buf, __buflen); 10182: } 10182: # 1173 "/usr/include/unistd.h" 2 3 4 10182: 10182: 10182: } 10182: # 453 "/<>/external/./zlib/zconf.h" 2 10182: # 35 "/<>/external/./zlib/zlib.h" 2 10182: 10182: 10182: 10182: # 37 "/<>/external/./zlib/zlib.h" 10182: extern "C" { 10182: # 80 "/<>/external/./zlib/zlib.h" 10182: typedef z_voidpf (*z_alloc_func) (z_voidpf opaque, z_uInt items, z_uInt size); 10182: typedef void (*z_free_func) (z_voidpf opaque, z_voidpf address); 10182: 10182: struct z_internal_state; 10182: 10182: typedef struct z_stream_s { 10182: z_Bytef *next_in; 10182: z_uInt avail_in; 10182: z_uLong total_in; 10182: 10182: z_Bytef *next_out; 10182: z_uInt avail_out; 10182: z_uLong total_out; 10182: 10182: char *msg; 10182: struct z_internal_state *state; 10182: 10182: z_alloc_func zalloc; 10182: z_free_func zfree; 10182: z_voidpf opaque; 10182: 10182: int data_type; 10182: z_uLong adler; 10182: z_uLong reserved; 10182: } z_stream; 10182: 10182: typedef z_stream *z_streamp; 10182: 10182: 10182: 10182: 10182: 10182: typedef struct z_gz_header_s { 10182: int text; 10182: z_uLong time; 10182: int xflags; 10182: int os; 10182: z_Bytef *extra; 10182: z_uInt extra_len; 10182: z_uInt extra_max; 10182: z_Bytef *name; 10182: z_uInt name_max; 10182: z_Bytef *comment; 10182: z_uInt comm_max; 10182: int hcrc; 10182: int done; 10182: 10182: } z_gz_header; 10182: 10182: typedef z_gz_header *z_gz_headerp; 10182: # 216 "/<>/external/./zlib/zlib.h" 10182: extern const char * z_zlibVersion (void); 10182: # 246 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflate (z_streamp strm, int flush); 10182: # 353 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateEnd (z_streamp strm); 10182: # 392 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflate (z_streamp strm, int flush); 10182: # 508 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateEnd (z_streamp strm); 10182: # 587 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateSetDictionary (z_streamp strm, const z_Bytef *dictionary, z_uInt dictLength) 10182: 10182: ; 10182: # 631 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateCopy (z_streamp dest, z_streamp source) 10182: ; 10182: # 649 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateReset (z_streamp strm); 10182: # 660 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateParams (z_streamp strm, int level, int strategy) 10182: 10182: ; 10182: # 681 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) 10182: 10182: 10182: 10182: ; 10182: # 698 "/<>/external/./zlib/zlib.h" 10182: extern z_uLong z_deflateBound (z_streamp strm, z_uLong sourceLen) 10182: ; 10182: # 713 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflatePending (z_streamp strm, unsigned *pending, int *bits) 10182: 10182: ; 10182: # 728 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflatePrime (z_streamp strm, int bits, int value) 10182: 10182: ; 10182: # 745 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateSetHeader (z_streamp strm, z_gz_headerp head) 10182: ; 10182: # 819 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateSetDictionary (z_streamp strm, const z_Bytef *dictionary, z_uInt dictLength) 10182: 10182: ; 10182: # 842 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateGetDictionary (z_streamp strm, z_Bytef *dictionary, z_uInt *dictLength) 10182: 10182: ; 10182: # 857 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateSync (z_streamp strm); 10182: # 876 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateCopy (z_streamp dest, z_streamp source) 10182: ; 10182: # 892 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateReset (z_streamp strm); 10182: # 902 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateReset2 (z_streamp strm, int windowBits) 10182: ; 10182: # 914 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflatePrime (z_streamp strm, int bits, int value) 10182: 10182: ; 10182: # 935 "/<>/external/./zlib/zlib.h" 10182: extern long z_inflateMark (z_streamp strm); 10182: # 963 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateGetHeader (z_streamp strm, z_gz_headerp head) 10182: ; 10182: # 1025 "/<>/external/./zlib/zlib.h" 10182: typedef unsigned (*z_in_func) (void *, unsigned char * *) 10182: ; 10182: typedef int (*z_out_func) (void *, unsigned char *, unsigned); 10182: 10182: extern int z_inflateBack (z_streamp strm, z_in_func in, void *in_desc, z_out_func out, void *out_desc) 10182: 10182: ; 10182: # 1099 "/<>/external/./zlib/zlib.h" 10182: extern int z_inflateBackEnd (z_streamp strm); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern z_uLong z_zlibCompileFlags (void); 10182: # 1160 "/<>/external/./zlib/zlib.h" 10182: extern int z_compress (z_Bytef *dest, z_uLongf *destLen, const z_Bytef *source, z_uLong sourceLen) 10182: ; 10182: # 1174 "/<>/external/./zlib/zlib.h" 10182: extern int z_compress2 (z_Bytef *dest, z_uLongf *destLen, const z_Bytef *source, z_uLong sourceLen, int level) 10182: 10182: ; 10182: # 1190 "/<>/external/./zlib/zlib.h" 10182: extern z_uLong z_compressBound (z_uLong sourceLen); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int z_uncompress (z_Bytef *dest, z_uLongf *destLen, const z_Bytef *source, z_uLong sourceLen) 10182: ; 10182: # 1224 "/<>/external/./zlib/zlib.h" 10182: typedef struct gzFile_s *z_gzFile; 10182: # 1264 "/<>/external/./zlib/zlib.h" 10182: extern z_gzFile z_gzdopen (int fd, const char *mode); 10182: # 1287 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzbuffer (z_gzFile file, unsigned size); 10182: # 1304 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzsetparams (z_gzFile file, int level, int strategy); 10182: # 1313 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzread (z_gzFile file, z_voidp buf, unsigned len); 10182: # 1341 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzwrite (z_gzFile file, z_voidpc buf, unsigned len) 10182: ; 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int z_gzprintf (z_gzFile file, const char *format, ...); 10182: # 1364 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzputs (z_gzFile file, const char *s); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern char * z_gzgets (z_gzFile file, char *buf, int len); 10182: # 1385 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzputc (z_gzFile file, int c); 10182: 10182: 10182: 10182: 10182: 10182: extern int z_gzgetc (z_gzFile file); 10182: # 1400 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzungetc (int c, z_gzFile file); 10182: # 1412 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzflush (z_gzFile file, int flush); 10182: # 1447 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzrewind (z_gzFile file); 10182: # 1475 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzeof (z_gzFile file); 10182: # 1490 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzdirect (z_gzFile file); 10182: # 1511 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzclose (z_gzFile file); 10182: # 1524 "/<>/external/./zlib/zlib.h" 10182: extern int z_gzclose_r (z_gzFile file); 10182: extern int z_gzclose_w (z_gzFile file); 10182: # 1536 "/<>/external/./zlib/zlib.h" 10182: extern const char * z_gzerror (z_gzFile file, int *errnum); 10182: # 1552 "/<>/external/./zlib/zlib.h" 10182: extern void z_gzclearerr (z_gzFile file); 10182: # 1569 "/<>/external/./zlib/zlib.h" 10182: extern z_uLong z_adler32 (z_uLong adler, const z_Bytef *buf, z_uInt len); 10182: # 1600 "/<>/external/./zlib/zlib.h" 10182: extern z_uLong z_crc32 (z_uLong crc, const z_Bytef *buf, z_uInt len); 10182: # 1633 "/<>/external/./zlib/zlib.h" 10182: extern int z_deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) 10182: ; 10182: extern int z_inflateInit_ (z_streamp strm, const char *version, int stream_size) 10182: ; 10182: extern int z_deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) 10182: 10182: 10182: ; 10182: extern int z_inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size) 10182: ; 10182: extern int z_inflateBackInit_ (z_streamp strm, int windowBits, unsigned char *window, const char *version, int stream_size) 10182: 10182: 10182: ; 10182: # 1670 "/<>/external/./zlib/zlib.h" 10182: struct gzFile_s { 10182: unsigned have; 10182: unsigned char *next; 10182: off64_t pos; 10182: }; 10182: extern int z_gzgetc_ (z_gzFile file); 10182: # 1692 "/<>/external/./zlib/zlib.h" 10182: extern z_gzFile z_gzopen64 (const char *, const char *); 10182: extern off64_t z_gzseek64 (z_gzFile, off64_t, int); 10182: extern off64_t z_gztell64 (z_gzFile); 10182: extern off64_t z_gzoffset64 (z_gzFile); 10182: extern z_uLong z_adler32_combine64 (z_uLong, z_uLong, off64_t); 10182: extern z_uLong z_crc32_combine64 (z_uLong, z_uLong, off64_t); 10182: # 1725 "/<>/external/./zlib/zlib.h" 10182: extern z_gzFile z_gzopen (const char *, const char *); 10182: extern off_t z_gzseek (z_gzFile, off_t, int); 10182: extern off_t z_gztell (z_gzFile); 10182: extern off_t z_gzoffset (z_gzFile); 10182: extern z_uLong z_adler32_combine (z_uLong, z_uLong, off_t); 10182: extern z_uLong z_crc32_combine (z_uLong, z_uLong, off_t); 10182: # 1742 "/<>/external/./zlib/zlib.h" 10182: struct z_internal_state {int dummy;}; 10182: 10182: 10182: 10182: extern const char * z_zError (int); 10182: extern int z_inflateSyncPoint (z_streamp); 10182: extern const z_crc_t * z_get_crc_table (void); 10182: extern int z_inflateUndermine (z_streamp, int); 10182: extern int z_inflateResetKeep (z_streamp); 10182: extern int z_deflateResetKeep (z_streamp); 10182: 10182: 10182: 10182: 10182: 10182: 10182: extern int z_gzvprintf (z_gzFile file, const char *format, va_list va) 10182: 10182: ; 10182: 10182: 10182: 10182: 10182: } 10182: # 45 "/<>/external/onurbs/opennurbs_zlib.h" 2 10182: 10182: extern "C" { 10182: z_voidpf z_zcalloc (z_voidpf, unsigned, unsigned); 10182: void z_zcfree (z_voidpf, z_voidpf); 10182: } 10182: 10182: class ON_CompressedBuffer 10182: { 10182: public: 10182: ON_CompressedBuffer(); 10182: ~ON_CompressedBuffer(); 10182: ON_CompressedBuffer(const ON_CompressedBuffer& src); 10182: ON_CompressedBuffer& operator=(const ON_CompressedBuffer& src); 10182: # 75 "/<>/external/onurbs/opennurbs_zlib.h" 10182: bool Compress( 10182: size_t sizeof__inbuffer, 10182: const void* inbuffer, 10182: int sizeof_element 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOfUncompressedBuffer() const; 10182: # 101 "/<>/external/onurbs/opennurbs_zlib.h" 10182: bool Uncompress( 10182: void* outbuffer, 10182: int* bFailedCRC 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: bool Write( ON_BinaryArchive& binary_archive ) const; 10182: bool Read( ON_BinaryArchive& binary_archive ); 10182: 10182: 10182: 10182: 10182: 10182: bool CompressionInit( struct ON_CompressedBufferHelper* ) const; 10182: bool CompressionEnd( struct ON_CompressedBufferHelper* ) const; 10182: size_t DeflateHelper( 10182: struct ON_CompressedBufferHelper*, 10182: size_t sizeof___inbuffer, 10182: const void* in___buffer 10182: ); 10182: bool InflateHelper( 10182: struct ON_CompressedBufferHelper*, 10182: size_t sizeof___outbuffer, 10182: void* out___buffer 10182: ) const; 10182: bool WriteChar( 10182: size_t count, 10182: const void* buffer 10182: ); 10182: 10182: size_t m_sizeof_uncompressed; 10182: size_t m_sizeof_compressed; 10182: ON__UINT32 m_crc_uncompressed; 10182: ON__UINT32 m_crc_compressed; 10182: int m_method; 10182: int m_sizeof_element; 10182: size_t m_buffer_compressed_capacity; 10182: void* m_buffer_compressed; 10182: }; 10182: # 77 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_rtree.h" 1 10182: # 84 "/<>/external/onurbs/opennurbs_rtree.h" 10182: struct ON_RTreeBBox 10182: { 10182: double m_min[3]; 10182: double m_max[3]; 10182: }; 10182: 10182: struct ON_RTreeSphere 10182: { 10182: double m_point[3]; 10182: double m_radius; 10182: }; 10182: 10182: struct ON_RTreeCapsule 10182: { 10182: double m_point[2][3]; 10182: double m_radius; 10182: double m_domain[2]; 10182: }; 10182: 10182: struct ON_RTreeBranch 10182: { 10182: ON_RTreeBBox m_rect; 10182: 10182: 10182: 10182: union 10182: { 10182: struct ON_RTreeNode* m_child; 10182: ON__INT_PTR m_id; 10182: }; 10182: }; 10182: 10182: struct ON_RTreeLeaf 10182: { 10182: ON_RTreeBBox m_rect; 10182: ON__INT_PTR m_id; 10182: }; 10182: 10182: 10182: 10182: 10182: struct ON_RTreeNode 10182: { 10182: inline bool IsInternalNode() const 10182: { return (m_level > 0); } 10182: inline bool IsLeaf() const 10182: { return (m_level == 0); } 10182: 10182: 10182: int m_level; 10182: 10182: 10182: 10182: 10182: int m_count; 10182: ON_RTreeBranch m_branch[6]; 10182: }; 10182: 10182: struct ON_RTreeSearchResult 10182: { 10182: int m_capacity; 10182: int m_count; 10182: ON__INT_PTR* m_id; 10182: }; 10182: 10182: class ON_RTreeMemPool 10182: { 10182: public: 10182: ON_RTreeMemPool( void* heap, size_t leaf_count ); 10182: ~ON_RTreeMemPool(); 10182: 10182: ON_RTreeNode* AllocNode(); 10182: void FreeNode(ON_RTreeNode* node); 10182: 10182: struct ON_RTreeListNode* AllocListNode(); 10182: void FreeListNode(struct ON_RTreeListNode* list_node); 10182: 10182: void DeallocateAll(); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOf() const; 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOfUnusedBuffer() const; 10182: 10182: private: 10182: void GrowBuffer(); 10182: 10182: struct Blk 10182: { 10182: struct Blk* m_next; 10182: }; 10182: 10182: 10182: struct Blk* m_nodes; 10182: 10182: struct Blk* m_list_nodes; 10182: 10182: 10182: unsigned char* m_buffer; 10182: size_t m_buffer_capacity; 10182: 10182: struct Blk* m_blk_list; 10182: size_t m_sizeof_blk; 10182: 10182: void* m_heap; 10182: size_t m_sizeof_heap; 10182: }; 10182: # 206 "/<>/external/onurbs/opennurbs_rtree.h" 10182: class ON_RTreeIterator 10182: { 10182: public: 10182: # 222 "/<>/external/onurbs/opennurbs_rtree.h" 10182: ON_RTreeIterator(); 10182: ON_RTreeIterator(const class ON_RTree& a_rtree); 10182: 10182: ~ON_RTreeIterator(); 10182: # 246 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Initialize(const class ON_RTree& a_rtree); 10182: # 267 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Initialize(const struct ON_RTreeNode* a_node); 10182: # 280 "/<>/external/onurbs/opennurbs_rtree.h" 10182: const ON_RTreeBranch* Value() const; 10182: # 306 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool First(); 10182: # 320 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Next(); 10182: # 345 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Last(); 10182: # 359 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Prev(); 10182: 10182: private: 10182: enum { MAX_STACK = 32 }; 10182: 10182: struct StackElement 10182: { 10182: const struct ON_RTreeNode* m_node; 10182: int m_branchIndex; 10182: }; 10182: 10182: bool PushChildren(struct StackElement* sp, bool bFirstChild); 10182: 10182: StackElement m_stack[MAX_STACK]; 10182: StackElement* m_sp; 10182: const ON_RTreeNode* m_root; 10182: }; 10182: 10182: 10182: class ON_RTree 10182: { 10182: public: 10182: ON_RTree( void* heap = 0, size_t leaf_count = 0 ); 10182: ~ON_RTree(); 10182: # 393 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool CreateMeshFaceTree( const class ON_Mesh* mesh ); 10182: # 414 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Insert(const double a_min[3], const double a_max[3], void* a_element_id); 10182: bool Insert(const double a_min[3], const double a_max[3], int a_element_id); 10182: bool Insert2d(const double a_min[2], const double a_max[2], void* a_element_id); 10182: bool Insert2d(const double a_min[2], const double a_max[2], int a_element_id); 10182: # 438 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Remove(const double a_min[3], const double a_max[3], void* a_elementId); 10182: bool Remove(const double a_min[3], const double a_max[3], int a_elementId); 10182: bool Remove2d(const double a_min[2], const double a_max[2], void* a_elementId); 10182: bool Remove2d(const double a_min[2], const double a_max[2], int a_elementId); 10182: 10182: 10182: 10182: 10182: 10182: void RemoveAll(); 10182: # 493 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Search( 10182: ON_RTreeSphere* a_sphere, 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), 10182: void* a_context 10182: ) const; 10182: 10182: bool Search( 10182: ON_RTreeCapsule* a_capsule, 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), 10182: void* a_context 10182: ) const; 10182: 10182: bool Search( 10182: ON_RTreeBBox* a_rect, 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), 10182: void* a_context 10182: ) const; 10182: # 532 "/<>/external/onurbs/opennurbs_rtree.h" 10182: bool Search( 10182: const double a_plane_eqn[4], 10182: double a_min, 10182: double a_max, 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), 10182: void* a_context 10182: ) const; 10182: 10182: bool Search(const double a_min[3], const double a_max[3], 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), void* a_context 10182: ) const; 10182: 10182: bool Search(const double a_min[3], const double a_max[3], 10182: ON_RTreeSearchResult& a_result 10182: ) const; 10182: 10182: bool Search(const double a_min[3], const double a_max[3], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: 10182: bool Search(const double a_min[3], const double a_max[3], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: 10182: bool Search(const double a_min[3], const double a_max[3], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: 10182: bool Search2d(const double a_min[2], const double a_max[2], 10182: bool resultCallback(void* a_context, ON__INT_PTR a_id), void* a_context 10182: ) const; 10182: 10182: bool Search2d(const double a_min[2], const double a_max[2], 10182: ON_RTreeSearchResult& a_result 10182: ) const; 10182: 10182: bool Search2d(const double a_min[2], const double a_max[2], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: 10182: bool Search2d(const double a_min[2], const double a_max[2], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: 10182: bool Search2d(const double a_min[2], const double a_max[2], 10182: ON_SimpleArray& a_result 10182: ) const; 10182: # 594 "/<>/external/onurbs/opennurbs_rtree.h" 10182: static bool Search( 10182: const ON_RTree& a_rtreeA, 10182: const ON_RTree& a_rtreeB, 10182: double tolerance, 10182: ON_SimpleArray& a_result 10182: ); 10182: # 616 "/<>/external/onurbs/opennurbs_rtree.h" 10182: static bool Search( 10182: const ON_RTree& a_rtreeA, 10182: const ON_RTree& a_rtreeB, 10182: double tolerance, 10182: void resultCallback(void* a_context, ON__INT_PTR a_idA, ON__INT_PTR a_idB), 10182: void* a_context 10182: ); 10182: # 640 "/<>/external/onurbs/opennurbs_rtree.h" 10182: static bool Search( 10182: const ON_RTree& a_rtreeA, 10182: const ON_RTree& a_rtreeB, 10182: double tolerance, 10182: bool resultCallback(void* a_context, ON__INT_PTR a_idA, ON__INT_PTR a_idB), 10182: void* a_context 10182: ); 10182: # 655 "/<>/external/onurbs/opennurbs_rtree.h" 10182: int ElementCount(); 10182: 10182: 10182: 10182: 10182: 10182: const ON_RTreeNode* Root() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOf() const; 10182: 10182: private: 10182: void SplitNode(ON_RTreeNode*, ON_RTreeBranch*, ON_RTreeNode**); 10182: bool AddBranch(ON_RTreeBranch*, ON_RTreeNode*, ON_RTreeNode**); 10182: bool InsertRectRec(ON_RTreeBBox*, ON__INT_PTR, ON_RTreeNode*, ON_RTreeNode**, int); 10182: bool InsertRect(ON_RTreeBBox*, ON__INT_PTR, ON_RTreeNode**, int); 10182: void LoadNodes(ON_RTreeNode*, ON_RTreeNode*, struct ON_RTreePartitionVars*); 10182: bool RemoveRect(ON_RTreeBBox*, ON__INT_PTR, ON_RTreeNode**); 10182: bool RemoveRectRec(ON_RTreeBBox*, ON__INT_PTR, ON_RTreeNode*, struct ON_RTreeListNode**); 10182: void ReInsert(ON_RTreeNode*, struct ON_RTreeListNode**); 10182: void RemoveAllRec(ON_RTreeNode*); 10182: ON_RTreeNode* m_root; 10182: size_t m_reserved; 10182: ON_RTreeMemPool m_mem_pool; 10182: }; 10182: # 78 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_mapchan.h" 1 10182: # 34 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: class ON_MappingChannel 10182: { 10182: public: 10182: ON_MappingChannel(); 10182: void Default(); 10182: int Compare( const ON_MappingChannel& other ) const; 10182: bool Write( ON_BinaryArchive& archive ) const; 10182: bool Read( ON_BinaryArchive& archive ); 10182: 10182: ON_UUID m_mapping_id; 10182: 10182: 10182: 10182: int m_mapping_index; 10182: 10182: 10182: 10182: 10182: int m_mapping_channel_id; 10182: # 64 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: ON_Xform m_object_xform; 10182: }; 10182: # 91 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: class ON_MappingRef 10182: { 10182: public: 10182: ON_MappingRef(); 10182: void Default(); 10182: int Compare( const ON_MappingRef& other ) const; 10182: bool Write( ON_BinaryArchive& archive ) const; 10182: bool Read( ON_BinaryArchive& archive ); 10182: 10182: bool IsValid( ON_TextLog* text_log ) const; 10182: 10182: 10182: bool Transform( const ON_Xform& xform ); 10182: 10182: ON_UUID m_plugin_id; 10182: # 116 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: const ON_MappingChannel* MappingChannel( 10182: int mapping_channel_id 10182: ) const; 10182: 10182: const ON_MappingChannel* MappingChannel( 10182: const ON_UUID& mapping_id 10182: ) const; 10182: # 136 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: bool AddMappingChannel( 10182: int mapping_channel_id, 10182: const ON_UUID& mapping_id 10182: ); 10182: # 149 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: bool DeleteMappingChannel( 10182: int mapping_channel_id 10182: ); 10182: 10182: bool DeleteMappingChannel( 10182: const ON_UUID& mapping_id 10182: ); 10182: # 164 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: bool ChangeMappingChannel( 10182: int old_mapping_channel_id, 10182: int new_mapping_channel_id 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_mapping_channels; 10182: }; 10182: 10182: class ON_MaterialRef 10182: { 10182: public: 10182: # 190 "/<>/external/onurbs/opennurbs_mapchan.h" 10182: ON_MaterialRef(); 10182: void Default(); 10182: int Compare( const ON_MaterialRef& other ) const; 10182: bool Write( ON_BinaryArchive& archive ) const; 10182: bool Read( ON_BinaryArchive& archive ); 10182: 10182: ON_UUID m_plugin_id; 10182: 10182: ON_UUID m_material_id; 10182: 10182: 10182: ON_UUID m_material_backface_id; 10182: 10182: ON::object_material_source MaterialSource() const; 10182: unsigned char m_material_source; 10182: unsigned char m_reserved1; 10182: unsigned char m_reserved2; 10182: unsigned char m_reserved3; 10182: 10182: 10182: 10182: 10182: int m_material_index; 10182: 10182: 10182: 10182: 10182: int m_material_backface_index; 10182: }; 10182: # 79 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_rendering.h" 1 10182: # 21 "/<>/external/onurbs/opennurbs_rendering.h" 10182: class ON_RenderingAttributes 10182: { 10182: public: 10182: ON_RenderingAttributes(); 10182: void Default(); 10182: int Compare( const ON_RenderingAttributes& other ) const; 10182: bool Write( ON_BinaryArchive& archive ) const; 10182: bool Read( ON_BinaryArchive& archive ); 10182: 10182: bool IsValid( ON_TextLog* text_log ) const; 10182: 10182: 10182: const ON_MaterialRef* MaterialRef( const ON_UUID& plugin_id ) const; 10182: 10182: ON_ClassArray m_materials; 10182: }; 10182: 10182: class ON_ObjectRenderingAttributes : public ON_RenderingAttributes 10182: { 10182: public: 10182: ON_ObjectRenderingAttributes(); 10182: void Default(); 10182: int Compare( const ON_ObjectRenderingAttributes& other ) const; 10182: bool Write( ON_BinaryArchive& archive ) const; 10182: bool Read( ON_BinaryArchive& archive ); 10182: 10182: bool IsValid( ON_TextLog* text_log ) const; 10182: # 59 "/<>/external/onurbs/opennurbs_rendering.h" 10182: bool Transform( const ON_Xform& xform ); 10182: # 68 "/<>/external/onurbs/opennurbs_rendering.h" 10182: const ON_MappingRef* MappingRef( 10182: const ON_UUID& plugin_id 10182: ) const; 10182: # 79 "/<>/external/onurbs/opennurbs_rendering.h" 10182: ON_MappingRef* AddMappingRef( 10182: const ON_UUID& plugin_id 10182: ); 10182: # 90 "/<>/external/onurbs/opennurbs_rendering.h" 10182: bool DeleteMappingRef( 10182: const ON_UUID& plugin_id 10182: ); 10182: # 105 "/<>/external/onurbs/opennurbs_rendering.h" 10182: const ON_MappingChannel* MappingChannel( 10182: const ON_UUID& plugin_id, 10182: int mapping_channel_id 10182: ) const; 10182: 10182: const ON_MappingChannel* MappingChannel( 10182: const ON_UUID& plugin_id, 10182: const ON_UUID& mapping_id 10182: ) const; 10182: # 128 "/<>/external/onurbs/opennurbs_rendering.h" 10182: bool AddMappingChannel( 10182: const ON_UUID& plugin_id, 10182: int mapping_channel_id, 10182: const ON_UUID& mapping_id 10182: ); 10182: # 143 "/<>/external/onurbs/opennurbs_rendering.h" 10182: bool DeleteMappingChannel( 10182: const ON_UUID& plugin_id, 10182: int mapping_channel_id 10182: ); 10182: 10182: bool DeleteMappingChannel( 10182: const ON_UUID& plugin_id, 10182: const ON_UUID& mapping_id 10182: ); 10182: # 161 "/<>/external/onurbs/opennurbs_rendering.h" 10182: bool ChangeMappingChannel( 10182: const ON_UUID& plugin_id, 10182: int old_mapping_channel_id, 10182: int new_mapping_channel_id 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_ClassArray m_mappings; 10182: # 187 "/<>/external/onurbs/opennurbs_rendering.h" 10182: void EnableAdvancedTexturePreview(bool b); 10182: 10182: 10182: 10182: 10182: 10182: bool AdvancedTexturePreview() const; 10182: 10182: bool m_bCastsShadows; 10182: bool m_bReceivesShadows; 10182: 10182: private: 10182: 10182: unsigned char m_bits; 10182: 10182: unsigned char m_reserved1; 10182: }; 10182: # 80 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_archive.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_archive.h" 10182: class ON_FileStream 10182: { 10182: public: 10182: # 34 "/<>/external/onurbs/opennurbs_archive.h" 10182: static FILE* Open( const wchar_t* filename, const wchar_t* mode ); 10182: # 47 "/<>/external/onurbs/opennurbs_archive.h" 10182: static FILE* Open( const char* filename, const char* mode ); 10182: # 60 "/<>/external/onurbs/opennurbs_archive.h" 10182: static int Close( FILE* fp ); 10182: # 72 "/<>/external/onurbs/opennurbs_archive.h" 10182: static ON__INT64 CurrentPosition( FILE* fp ); 10182: # 82 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool SeekFromCurrentPosition( FILE* fp, ON__INT64 offset ); 10182: # 92 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool SeekFromStart( FILE* fp, ON__INT64 offset ); 10182: # 102 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool SeekFromEnd( FILE* fp, ON__INT64 offset ); 10182: # 116 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool Seek( FILE* fp, ON__INT64 offset, int orgin ); 10182: # 131 "/<>/external/onurbs/opennurbs_archive.h" 10182: static ON__UINT64 Read( FILE* fp, ON__UINT64 count, void* buffer ); 10182: # 146 "/<>/external/onurbs/opennurbs_archive.h" 10182: static ON__UINT64 Write( FILE* fp, ON__UINT64 count, const void* buffer ); 10182: # 157 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool Flush( FILE* fp ); 10182: # 179 "/<>/external/onurbs/opennurbs_archive.h" 10182: static bool GetFileInformation( 10182: FILE* fp, 10182: ON__UINT64* file_size, 10182: ON__UINT64* file_create_time, 10182: ON__UINT64* file_last_modified_time 10182: ); 10182: }; 10182: 10182: class ON_FileIterator 10182: { 10182: public: 10182: ON_FileIterator(); 10182: ~ON_FileIterator(); 10182: void Destroy(); 10182: # 238 "/<>/external/onurbs/opennurbs_archive.h" 10182: const wchar_t* FirstFile( 10182: const wchar_t* directory_name, 10182: const wchar_t* file_name_filter 10182: ); 10182: 10182: const wchar_t* FirstFile( 10182: const char* directory_name, 10182: const char* file_name_filter 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const wchar_t* NextFile(); 10182: 10182: const wchar_t* CurrentFileName() const; 10182: 10182: ON__UINT64 CurrentFileSize() const; 10182: 10182: 10182: 10182: 10182: 10182: bool CurrentFileIsDirectory() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool CurrentFileIsHidden() const; 10182: 10182: bool GetCurrentFullPathFileName( ON_wString& filename ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT64 CurrentFileCreateTime() const; 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT64 CurrentFileLastModifiedTime() const; 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT64 CurrentFileLastAccessTime() const; 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT64 Count() const; 10182: 10182: private: 10182: 10182: ON__UINT64 m_count; 10182: ON_wString m_directory; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_wString m_ws_file_name_filter; 10182: ON_String m_utf8_file_name_filter; 10182: DIR* m_dir; 10182: struct dirent m_dirent; 10182: 10182: char m_dirent_name_buffer[ 10182: # 315 "/<>/external/onurbs/opennurbs_archive.h" 3 4 10182: 4096 10182: # 315 "/<>/external/onurbs/opennurbs_archive.h" 10182: +1]; 10182: 10182: 10182: wchar_t m_current_name[1024]; 10182: ON__UINT64 m_current_file_attributes; 10182: ON__UINT64 m_current_file_size; 10182: ON__UINT64 m_current_file_create_time; 10182: ON__UINT64 m_current_last_modified_time; 10182: ON__UINT64 m_current_last_access_time; 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: typedef void (*ON_Buffer_ErrorHandler)(class ON_Buffer*); 10182: 10182: class ON_Buffer 10182: { 10182: public: 10182: ON_Buffer(); 10182: ~ON_Buffer(); 10182: 10182: ON_Buffer(const ON_Buffer& src); 10182: ON_Buffer& operator=(const ON_Buffer& src); 10182: # 355 "/<>/external/onurbs/opennurbs_archive.h" 10182: static int Compare( const ON_Buffer& a, const ON_Buffer& b ); 10182: 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 368 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool AtEnd() const; 10182: # 379 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON__UINT64 Size() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 CRC32( ON__UINT32 current_remainder ) const; 10182: # 399 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON__UINT64 CurrentPosition() const; 10182: # 410 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON__UINT64 Write( ON__UINT64 size, const void* buffer ); 10182: # 431 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON__UINT64 Read( ON__UINT64 size, void* buffer ); 10182: 10182: enum 10182: { 10182: seek_from_beginning_of_file = 0, 10182: seek_from_current_position = 1, 10182: seek_from_end_of_file = 2 10182: }; 10182: # 458 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Seek( 10182: ON__INT64 offset, 10182: int origin 10182: ); 10182: # 476 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool SeekFromStart( ON__INT64 offset ); 10182: # 491 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool SeekFromCurrentPosition( ON__INT64 offset ); 10182: # 506 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool SeekFromEnd( ON__INT64 offset ); 10182: # 519 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ChangeSize( ON__UINT64 buffer_size ); 10182: # 532 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Compact(); 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid( const ON_TextLog* text_log ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 LastError() const; 10182: 10182: void ClearLastError(); 10182: 10182: ON_Buffer_ErrorHandler ErrorHandler() const; 10182: 10182: void SetErrorHandler(ON_Buffer_ErrorHandler error_handler); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool WriteToBinaryArchive( ON_BinaryArchive& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ReadFromBinaryArchive( ON_BinaryArchive& ); 10182: # 594 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Compress( ON_Buffer& compressed_buffer ) const; 10182: # 622 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Uncompress( ON_Buffer& uncompressed_buffer ) const; 10182: 10182: private: 10182: 10182: ON__UINT64 m_buffer_size; 10182: ON__UINT64 m_current_position; 10182: 10182: struct ON_BUFFER_SEGMENT* m_first_segment; 10182: struct ON_BUFFER_SEGMENT* m_last_segment; 10182: struct ON_BUFFER_SEGMENT* m_current_segment; 10182: bool SetCurrentSegment(bool); 10182: void Copy( const ON_Buffer& ); 10182: 10182: void* m_heap; 10182: ON_Buffer_ErrorHandler m_error_handler; 10182: 10182: ON__UINT32 m_last_error; 10182: unsigned char m_reserved[12]; 10182: }; 10182: # 652 "/<>/external/onurbs/opennurbs_archive.h" 10182: class ON_Object; 10182: class ON_Group; 10182: class ON_Font; 10182: class ON_DimStyle; 10182: class ON_Arc; 10182: class ON_ObjectAttributes; 10182: class ON_InstanceDefinition; 10182: class ON_HatchPattern; 10182: class ON_Linetype; 10182: 10182: struct ON_3DM_CHUNK 10182: { 10182: size_t m_offset; 10182: 10182: 10182: 10182: unsigned int m_typecode; 10182: int m_value; 10182: int m_do_length; 10182: ON__UINT16 m_do_crc16; 10182: ON__UINT16 m_crc16; 10182: ON__UINT32 m_do_crc32; 10182: ON__UINT32 m_crc32; 10182: }; 10182: 10182: struct ON_3DM_BIG_CHUNK 10182: { 10182: ON__UINT64 m_big_offset; 10182: 10182: 10182: 10182: 10182: ON__UINT64 Length() const; 10182: 10182: ON__INT64 m_big_value; 10182: ON__UINT32 m_typecode; 10182: 10182: ON__UINT8 m_bLongChunk; 10182: ON__UINT8 m_reserved1; 10182: ON__UINT8 m_reserved2; 10182: ON__UINT8 m_reserved3; 10182: 10182: 10182: ON__UINT8 m_do_crc16; 10182: ON__UINT8 m_do_crc32; 10182: ON__UINT16 m_crc16; 10182: ON__UINT32 m_crc32; 10182: }; 10182: 10182: bool ON_IsLongChunkTypecode(ON__UINT32 typecode); 10182: 10182: bool ON_IsShortChunkTypecode(ON__UINT32 typecode); 10182: # 716 "/<>/external/onurbs/opennurbs_archive.h" 10182: class ON_Light; 10182: class ON_Bitmap; 10182: class ON_TextureMapping; 10182: class ON_Material; 10182: class ON_Layer; 10182: class ON_3dmProperties; 10182: class ON_3dmSettings; 10182: class ON_3dmObjectAttributes; 10182: class ON_3dmGoo; 10182: 10182: class ON_BinaryArchive; 10182: 10182: 10182: 10182: void ON_SetBinaryArchiveOpenNURBSVersion(ON_BinaryArchive&,int); 10182: 10182: class ON_BinaryArchive 10182: { 10182: public: 10182: ON_BinaryArchive( ON::archive_mode ); 10182: virtual ~ON_BinaryArchive(); 10182: 10182: virtual 10182: size_t CurrentPosition( 10182: ) const = 0; 10182: virtual 10182: bool SeekFromCurrentPosition( 10182: int 10182: ) = 0; 10182: virtual 10182: bool SeekFromStart( 10182: size_t 10182: ) = 0; 10182: virtual 10182: bool AtEnd() const = 0; 10182: 10182: bool BigSeekFromStart( ON__UINT64 offset ); 10182: bool BigSeekForward( ON__UINT64 offset ); 10182: bool BigSeekBackward( ON__UINT64 offset ); 10182: bool BigSeekFromCurrentPosition( ON__INT64 offset ); 10182: # 766 "/<>/external/onurbs/opennurbs_archive.h" 10182: static 10182: bool ToggleByteOrder( 10182: int, 10182: int, 10182: const void*, 10182: void* 10182: ); 10182: 10182: static 10182: const char* TypecodeName( unsigned int tcode ); 10182: 10182: static 10182: char* ON_TypecodeParse( unsigned int tcode, char* typecode_name, size_t max_length ); 10182: 10182: bool ReadMode() const; 10182: bool WriteMode() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON::endian Endian() const; 10182: 10182: int BadCRCCount() const; 10182: 10182: bool ReadByte( size_t, void* ); 10182: 10182: bool WriteByte( size_t, const void* ); 10182: # 807 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON__UINT64 ReadBuffer( ON__UINT64 sizeof_buffer, void* buffer ); 10182: # 821 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool EnableCRCCalculation( bool bEnable ); 10182: # 848 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadCompressedBufferSize( size_t* sizeof__outbuffer ); 10182: # 871 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadCompressedBuffer( 10182: size_t sizeof__outbuffer, 10182: void* outbuffer, 10182: int* bFailedCRC 10182: ); 10182: # 886 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool WriteCompressedBuffer( 10182: size_t sizeof__inbuffer, 10182: const void* inbuffer 10182: ); 10182: 10182: bool ReadBool( bool* ); 10182: 10182: bool ReadChar( 10182: size_t, 10182: char* 10182: ); 10182: bool ReadChar( 10182: size_t, 10182: unsigned char* 10182: ); 10182: bool ReadChar( 10182: char* 10182: ); 10182: bool ReadChar( 10182: unsigned char* 10182: ); 10182: 10182: bool ReadShort( 10182: size_t, 10182: short* 10182: ); 10182: bool ReadShort( 10182: size_t, 10182: unsigned short* 10182: ); 10182: bool ReadShort( 10182: short* 10182: ); 10182: bool ReadShort( 10182: unsigned short* 10182: ); 10182: 10182: bool ReadInt( 10182: size_t, 10182: int* 10182: ); 10182: bool ReadInt( 10182: size_t, 10182: unsigned int* 10182: ); 10182: bool ReadInt( 10182: int* 10182: ); 10182: bool ReadInt( 10182: unsigned int* 10182: ); 10182: 10182: bool ReadBigInt( 10182: size_t, 10182: ON__INT64* 10182: ); 10182: bool ReadBigInt( 10182: size_t, 10182: ON__UINT64* 10182: ); 10182: bool ReadBigInt( 10182: ON__INT64* 10182: ); 10182: bool ReadBigInt( 10182: ON__UINT64* 10182: ); 10182: 10182: bool ReadLong( 10182: size_t, 10182: long* 10182: ); 10182: bool ReadLong( 10182: size_t, 10182: unsigned long* 10182: ); 10182: bool ReadLong( 10182: long* 10182: ); 10182: bool ReadLong( 10182: unsigned long* 10182: ); 10182: bool ReadSize( 10182: size_t* 10182: ); 10182: 10182: bool ReadBigSize( size_t* ); 10182: 10182: bool ReadBigTime( time_t* ); 10182: 10182: 10182: bool ReadFloat( 10182: size_t, 10182: float* 10182: ); 10182: bool ReadFloat( 10182: float* 10182: ); 10182: bool ReadDouble( 10182: size_t, 10182: double* 10182: ); 10182: bool ReadDouble( 10182: double* 10182: ); 10182: 10182: bool ReadColor( 10182: ON_Color& 10182: ); 10182: 10182: bool ReadPoint ( 10182: ON_2dPoint& 10182: ); 10182: bool ReadPoint ( 10182: ON_3dPoint& 10182: ); 10182: bool ReadPoint ( 10182: ON_4dPoint& 10182: ); 10182: bool ReadVector ( 10182: ON_2dVector& 10182: ); 10182: bool ReadVector ( 10182: ON_3dVector& 10182: ); 10182: 10182: bool ReadBoundingBox(ON_BoundingBox&); 10182: 10182: bool ReadXform(ON_Xform&); 10182: 10182: bool ReadPlaneEquation(ON_PlaneEquation&); 10182: 10182: bool ReadPlane(ON_Plane&); 10182: 10182: bool ReadLine(ON_Line&); 10182: 10182: bool ReadArc(ON_Arc&); 10182: 10182: bool ReadCircle(ON_Circle&); 10182: 10182: bool ReadInterval( ON_Interval& ); 10182: 10182: bool ReadUuid( ON_UUID& ); 10182: 10182: bool ReadDisplayMaterialRef( ON_DisplayMaterialRef& ); 10182: 10182: bool ReadLinetypeSegment( ON_LinetypeSegment& ); 10182: 10182: 10182: 10182: bool ReadTime( struct tm& ); 10182: # 1049 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadStringSize( 10182: size_t* str_array_count 10182: ); 10182: # 1062 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadStringUTF8ElementCount( 10182: size_t* string_utf8_element_count 10182: ); 10182: # 1075 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadStringUTF16ElementCount( 10182: size_t* string_utf16_element_count 10182: ); 10182: # 1093 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadString( 10182: size_t str_array_count, 10182: char* str_array 10182: ); 10182: # 1111 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadString( 10182: size_t str_array_count, 10182: unsigned char* str_array 10182: ); 10182: # 1129 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadString( 10182: size_t str_array_count, 10182: unsigned short* str_array 10182: ); 10182: 10182: bool ReadString( ON_String& sUTF8 ); 10182: 10182: bool ReadString( ON_wString& s ); 10182: 10182: bool ReadComponentIndex( ON_COMPONENT_INDEX& ); 10182: 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_ClassArray& ); 10182: bool ReadArray( ON_ClassArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_ClassArray& ); 10182: bool ReadArray( ON_ClassArray& ); 10182: bool ReadArray( ON_ClassArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: bool ReadArray( ON_ObjectArray& ); 10182: bool ReadArray( ON_SimpleArray& ); 10182: 10182: bool WriteBool( bool ); 10182: 10182: bool WriteChar( 10182: size_t, 10182: const char* 10182: ); 10182: bool WriteChar( 10182: size_t, 10182: const unsigned char* 10182: ); 10182: bool WriteChar( 10182: char 10182: ); 10182: bool WriteChar( 10182: unsigned char 10182: ); 10182: 10182: bool WriteShort( 10182: size_t, 10182: const short* 10182: ); 10182: bool WriteShort( 10182: size_t, 10182: const unsigned short* 10182: ); 10182: bool WriteShort( 10182: short 10182: ); 10182: bool WriteShort( 10182: unsigned short 10182: ); 10182: 10182: bool WriteInt( 10182: size_t, 10182: const int* 10182: ); 10182: bool WriteInt( 10182: size_t, 10182: const unsigned int* 10182: ); 10182: bool WriteInt( 10182: int 10182: ); 10182: bool WriteInt( 10182: unsigned int 10182: ); 10182: 10182: bool WriteBigInt( 10182: size_t, 10182: const ON__INT64* 10182: ); 10182: bool WriteBigInt( 10182: size_t, 10182: const ON__UINT64* 10182: ); 10182: bool WriteBigInt( 10182: ON__INT64 10182: ); 10182: bool WriteBigInt( 10182: ON__UINT64 10182: ); 10182: 10182: bool WriteLong( 10182: size_t, 10182: const long* 10182: ); 10182: bool WriteLong( 10182: size_t, 10182: const unsigned long* 10182: ); 10182: bool WriteLong( 10182: long 10182: ); 10182: bool WriteLong( 10182: unsigned long 10182: ); 10182: bool WriteSize( 10182: size_t 10182: ); 10182: 10182: bool WriteBigSize( size_t ); 10182: 10182: bool WriteBigTime( time_t ); 10182: 10182: bool WriteFloat( 10182: size_t, 10182: const float* 10182: ); 10182: bool WriteFloat( 10182: float 10182: ); 10182: bool WriteDouble( 10182: size_t, 10182: const double* 10182: ); 10182: bool WriteDouble( 10182: double 10182: ); 10182: 10182: bool WriteColor ( 10182: const ON_Color& 10182: ); 10182: 10182: bool WritePoint ( 10182: const ON_2dPoint& 10182: ); 10182: bool WritePoint ( 10182: const ON_3dPoint& 10182: ); 10182: bool WritePoint ( 10182: const ON_4dPoint& 10182: ); 10182: bool WriteVector ( 10182: const ON_2dVector& 10182: ); 10182: bool WriteVector ( 10182: const ON_3dVector& 10182: ); 10182: 10182: bool WriteBoundingBox(const ON_BoundingBox&); 10182: 10182: bool WriteXform(const ON_Xform&); 10182: 10182: bool WritePlaneEquation(const ON_PlaneEquation&); 10182: 10182: bool WritePlane(const ON_Plane&); 10182: 10182: bool WriteLine(const ON_Line&); 10182: 10182: bool WriteArc(const ON_Arc&); 10182: 10182: bool WriteCircle(const ON_Circle&); 10182: 10182: bool WriteInterval( const ON_Interval& ); 10182: 10182: bool WriteUuid( const ON_UUID& ); 10182: 10182: bool WriteDisplayMaterialRef( const ON_DisplayMaterialRef& ); 10182: 10182: bool WriteLinetypeSegment( const ON_LinetypeSegment& ); 10182: 10182: 10182: 10182: bool WriteTime( const struct tm& ); 10182: # 1337 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool WriteString( 10182: const char* sUTF8 10182: ); 10182: # 1359 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool WriteString( 10182: const unsigned char* sUTF8 10182: ); 10182: # 1381 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool WriteString( 10182: const unsigned short* sUTF16 10182: ); 10182: 10182: bool WriteString( const ON_String& sUTF8 ); 10182: 10182: bool WriteString( const ON_wString& s); 10182: 10182: bool WriteComponentIndex( const ON_COMPONENT_INDEX& ); 10182: 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: 10182: bool WriteArray( const ON_SimpleArray& ); 10182: 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_ClassArray& ); 10182: bool WriteArray( const ON_ClassArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_ClassArray& ); 10182: bool WriteArray( const ON_ClassArray& ); 10182: bool WriteArray( const ON_ClassArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( const ON_SimpleArray& ); 10182: bool WriteArray( int count, const class ON_Layer* ); 10182: bool WriteArray( int count, const class ON_Layer*const* ); 10182: # 1446 "/<>/external/onurbs/opennurbs_archive.h" 10182: int ReadObject( 10182: ON_Object** ppObject 10182: ); 10182: # 1464 "/<>/external/onurbs/opennurbs_archive.h" 10182: int ReadObject( 10182: ON_Object& object 10182: ); 10182: 10182: bool WriteObject( const ON_Object* ); 10182: bool WriteObject( const ON_Object& ); 10182: # 1480 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool EnableSave3dmRenderMeshes( ON_BOOL32 = true ); 10182: bool Save3dmRenderMeshes() const; 10182: 10182: bool EnableSave3dmAnalysisMeshes( ON_BOOL32 = true ); 10182: bool Save3dmAnalysisMeshes() const; 10182: 10182: bool EnableSaveUserData( ON_BOOL32 = true ); 10182: bool SaveUserData() const; 10182: # 1497 "/<>/external/onurbs/opennurbs_archive.h" 10182: static int CurrentArchiveVersion(); 10182: # 1522 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Write3dmStartSection( 10182: int version, 10182: const char* sStartSectionComment 10182: ); 10182: # 1534 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Read3dmStartSection( 10182: int* version, 10182: ON_String& sStartSectionComment 10182: ); 10182: 10182: 10182: 10182: 10182: bool Write3dmProperties( 10182: const ON_3dmProperties& 10182: ); 10182: bool Read3dmProperties( 10182: ON_3dmProperties& 10182: ); 10182: 10182: 10182: 10182: 10182: bool Write3dmSettings( 10182: const ON_3dmSettings& 10182: ); 10182: bool Read3dmSettings( 10182: ON_3dmSettings& 10182: ); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmBitmapTable(); 10182: bool Write3dmBitmap( const ON_Bitmap& ); 10182: bool EndWrite3dmBitmapTable(); 10182: 10182: bool BeginRead3dmBitmapTable(); 10182: int Read3dmBitmap( 10182: 10182: ON_Bitmap** 10182: ); 10182: bool EndRead3dmBitmapTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmTextureMappingTable(); 10182: bool Write3dmTextureMapping( const ON_TextureMapping& ); 10182: bool EndWrite3dmTextureMappingTable(); 10182: 10182: bool BeginRead3dmTextureMappingTable(); 10182: int Read3dmTextureMapping( 10182: ON_TextureMapping** 10182: ); 10182: bool EndRead3dmTextureMappingTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmMaterialTable(); 10182: bool Write3dmMaterial( const ON_Material& ); 10182: bool EndWrite3dmMaterialTable(); 10182: 10182: bool BeginRead3dmMaterialTable(); 10182: int Read3dmMaterial( 10182: ON_Material** 10182: ); 10182: bool EndRead3dmMaterialTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmLinetypeTable(); 10182: bool Write3dmLinetype( const ON_Linetype&); 10182: bool EndWrite3dmLinetypeTable(); 10182: 10182: bool BeginRead3dmLinetypeTable(); 10182: int Read3dmLinetype(ON_Linetype**); 10182: bool EndRead3dmLinetypeTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmLayerTable(); 10182: bool Write3dmLayer( const ON_Layer& ); 10182: bool EndWrite3dmLayerTable(); 10182: 10182: bool BeginRead3dmLayerTable(); 10182: int Read3dmLayer( 10182: ON_Layer** 10182: ); 10182: bool EndRead3dmLayerTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmGroupTable(); 10182: bool Write3dmGroup( const ON_Group& ); 10182: bool EndWrite3dmGroupTable(); 10182: 10182: bool BeginRead3dmGroupTable(); 10182: # 1667 "/<>/external/onurbs/opennurbs_archive.h" 10182: int Read3dmGroup( 10182: ON_Group** 10182: ); 10182: 10182: bool EndRead3dmGroupTable(); 10182: 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmFontTable(); 10182: bool Write3dmFont( const ON_Font& ); 10182: bool EndWrite3dmFontTable(); 10182: 10182: bool BeginRead3dmFontTable(); 10182: # 1718 "/<>/external/onurbs/opennurbs_archive.h" 10182: int Read3dmFont( 10182: ON_Font** 10182: ); 10182: 10182: bool EndRead3dmFontTable(); 10182: 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmDimStyleTable(); 10182: bool Write3dmDimStyle( const ON_DimStyle& ); 10182: bool EndWrite3dmDimStyleTable(); 10182: 10182: bool BeginRead3dmDimStyleTable(); 10182: # 1770 "/<>/external/onurbs/opennurbs_archive.h" 10182: int Read3dmDimStyle( 10182: ON_DimStyle** 10182: ); 10182: 10182: bool EndRead3dmDimStyleTable(); 10182: 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmLightTable(); 10182: bool Write3dmLight( const ON_Light&, 10182: const ON_3dmObjectAttributes* 10182: ); 10182: bool EndWrite3dmLightTable(); 10182: 10182: bool BeginRead3dmLightTable(); 10182: int Read3dmLight( 10182: 10182: 10182: ON_Light**, 10182: ON_3dmObjectAttributes* 10182: 10182: ); 10182: bool EndRead3dmLightTable(); 10182: 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmHatchPatternTable(); 10182: bool Write3dmHatchPattern( const ON_HatchPattern&); 10182: bool EndWrite3dmHatchPatternTable(); 10182: 10182: bool BeginRead3dmHatchPatternTable(); 10182: int Read3dmHatchPattern(ON_HatchPattern**); 10182: bool EndRead3dmHatchPatternTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmInstanceDefinitionTable(); 10182: bool Write3dmInstanceDefinition( const ON_InstanceDefinition& ); 10182: bool EndWrite3dmInstanceDefinitionTable(); 10182: 10182: bool BeginRead3dmInstanceDefinitionTable(); 10182: # 1851 "/<>/external/onurbs/opennurbs_archive.h" 10182: int Read3dmInstanceDefinition( 10182: ON_InstanceDefinition** 10182: ); 10182: 10182: bool EndRead3dmInstanceDefinitionTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmObjectTable(); 10182: bool Write3dmObject( 10182: const ON_Object&, 10182: const ON_3dmObjectAttributes* 10182: ); 10182: bool EndWrite3dmObjectTable(); 10182: 10182: bool BeginRead3dmObjectTable(); 10182: int Read3dmObject( 10182: 10182: 10182: 10182: ON_Object**, 10182: ON_3dmObjectAttributes*, 10182: 10182: unsigned int = 0 10182: ); 10182: bool EndRead3dmObjectTable(); 10182: 10182: 10182: 10182: 10182: bool BeginWrite3dmHistoryRecordTable(); 10182: bool Write3dmHistoryRecord( 10182: const class ON_HistoryRecord& 10182: ); 10182: bool EndWrite3dmHistoryRecordTable(); 10182: 10182: bool BeginRead3dmHistoryRecordTable(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Read3dmHistoryRecord( 10182: class ON_HistoryRecord*& 10182: ); 10182: bool EndRead3dmHistoryRecordTable(); 10182: # 1935 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginWrite3dmUserTable( 10182: const ON_UUID& plugin_id, 10182: bool bSavingGoo, 10182: int goo_3dm_version, 10182: int goo_opennurbs_version 10182: ); 10182: 10182: bool EndWrite3dmUserTable(); 10182: # 1965 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Write3dmAnonymousUserTableRecord( 10182: const ON_UUID& plugin_id, 10182: int goo_3dm_version, 10182: int goo_opennurbs_version, 10182: const ON_3dmGoo& goo 10182: ); 10182: 10182: 10182: bool BeginWrite3dmUserTable( const ON_UUID& ); 10182: 10182: 10182: bool Write3dmAnonymousUserTable( const ON_3dmGoo& ); 10182: # 1995 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginRead3dmUserTable( 10182: ON_UUID& plugin_id, 10182: bool* bLastSavedAsGoo, 10182: int* archive_3dm_version, 10182: int* archive_opennurbs_version 10182: ); 10182: # 2010 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Read3dmAnonymousUserTable( 10182: int archive_3dm_version, 10182: int archive_opennurbs_version, 10182: ON_3dmGoo& goo 10182: ); 10182: 10182: bool EndRead3dmUserTable(); 10182: 10182: 10182: bool BeginRead3dmUserTable( 10182: ON_UUID& 10182: ); 10182: 10182: 10182: bool Read3dmAnonymousUserTable( ON_3dmGoo& ); 10182: # 2042 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Write3dmEndMark(); 10182: # 2057 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool Read3dmEndMark( 10182: size_t* 10182: ); 10182: # 2081 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginWrite3dmChunk( 10182: unsigned int, 10182: int 10182: ); 10182: 10182: bool BeginWrite3dmBigChunk( 10182: ON__UINT32 typecode, 10182: ON__INT64 value 10182: ); 10182: # 2104 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginWrite3dmChunk( 10182: unsigned int tcode, 10182: int major_version, 10182: int minor_version 10182: ); 10182: 10182: 10182: 10182: bool EndWrite3dmChunk(); 10182: 10182: bool Write3dmGoo( const ON_3dmGoo& ); 10182: 10182: 10182: bool BeginRead3dmChunk( 10182: unsigned int*, 10182: int* 10182: ); 10182: 10182: 10182: 10182: bool BeginRead3dmBigChunk( 10182: unsigned int*, 10182: ON__INT64* 10182: ); 10182: # 2141 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginRead3dmChunk( 10182: unsigned int expected_tcode, 10182: int* major_version, 10182: int* minor_version 10182: ); 10182: # 2156 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool EndRead3dmChunk(); 10182: bool EndRead3dmChunk(bool bSupressPartiallyReadChunkWarning); 10182: # 2185 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginWriteDictionary( 10182: ON_UUID dictionary_id, 10182: unsigned int version, 10182: const wchar_t* dictionary_name 10182: ); 10182: # 2206 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool EndWriteDictionary(); 10182: # 2224 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool BeginWriteDictionaryEntry( 10182: int de_type, 10182: const wchar_t* entry_name 10182: ); 10182: bool EndWriteDictionaryEntry(); 10182: 10182: bool BeginReadDictionary( 10182: ON_UUID* dictionary_id, 10182: unsigned int* version, 10182: ON_wString& dictionary_name 10182: ); 10182: bool EndReadDictionary(); 10182: # 2249 "/<>/external/onurbs/opennurbs_archive.h" 10182: int BeginReadDictionaryEntry( 10182: int* de_type, 10182: ON_wString& entry_name 10182: ); 10182: bool EndReadDictionaryEntry(); 10182: 10182: bool Read3dmGoo( ON_3dmGoo& ); 10182: 10182: 10182: bool PeekAt3dmChunkType( 10182: unsigned int*, 10182: int* 10182: ); 10182: 10182: bool PeekAt3dmBigChunkType( 10182: ON__UINT32* typecode, 10182: ON__INT64* big_value 10182: ); 10182: 10182: bool Seek3dmChunkFromStart( 10182: 10182: 10182: 10182: 10182: 10182: unsigned int 10182: ); 10182: bool Seek3dmChunkFromCurrentPosition( 10182: 10182: 10182: 10182: 10182: 10182: unsigned int 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Write3dmChunkVersion( 10182: int, 10182: int 10182: ); 10182: bool Read3dmChunkVersion( 10182: int*, 10182: int* 10182: ); 10182: # 2310 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool WriteObjectUserData( const ON_Object& object ); 10182: # 2322 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool ReadObjectUserData( ON_Object& object ); 10182: # 2340 "/<>/external/onurbs/opennurbs_archive.h" 10182: int Archive3dmVersion() const; 10182: # 2362 "/<>/external/onurbs/opennurbs_archive.h" 10182: int ArchiveOpenNURBSVersion() const; 10182: # 2380 "/<>/external/onurbs/opennurbs_archive.h" 10182: size_t ArchiveStartOffset() const; 10182: 10182: enum table_type 10182: { 10182: no_active_table = 0, 10182: properties_table, 10182: settings_table, 10182: bitmap_table, 10182: texture_mapping_table, 10182: material_table, 10182: linetype_table, 10182: layer_table, 10182: light_table, 10182: object_table, 10182: group_table, 10182: font_table, 10182: dimstyle_table, 10182: hatchpattern_table, 10182: instance_definition_table, 10182: historyrecord_table, 10182: user_table 10182: }; 10182: # 2412 "/<>/external/onurbs/opennurbs_archive.h" 10182: int GetCurrentChunk(ON_3DM_CHUNK& chunk) const; 10182: int GetCurrentChunk(ON_3DM_BIG_CHUNK& big_chunk) const; 10182: # 2430 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool FindTableInDamagedArchive( 10182: unsigned int tcode_table, 10182: unsigned int tcode_record, 10182: ON_UUID class_uuid, 10182: int min_length_data 10182: ); 10182: # 2452 "/<>/external/onurbs/opennurbs_archive.h" 10182: unsigned int 10182: Dump3dmChunk( 10182: ON_TextLog& text_log, 10182: int recursion_depth = 0 10182: ); 10182: 10182: protected: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: size_t Read( size_t, void* ) = 0; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: size_t Write( size_t, const void* ) = 0; 10182: # 2485 "/<>/external/onurbs/opennurbs_archive.h" 10182: virtual 10182: bool Flush() = 0; 10182: # 2498 "/<>/external/onurbs/opennurbs_archive.h" 10182: virtual 10182: int LoadUserDataApplication( 10182: ON_UUID application_id 10182: ); 10182: 10182: bool SetArchive3dmVersion(int); 10182: 10182: private: 10182: 10182: bool WriteInt8( size_t, const ON__INT8* ); 10182: bool ReadInt8( size_t, ON__INT8* ); 10182: 10182: 10182: bool WriteInt16( size_t, const ON__INT16* ); 10182: bool ReadInt16( size_t, ON__INT16* ); 10182: 10182: 10182: bool WriteInt32( size_t, const ON__INT32* ); 10182: bool ReadInt32( size_t, ON__INT32* ); 10182: 10182: 10182: bool WriteInt64( size_t, const ON__INT64* ); 10182: bool ReadInt64( size_t, ON__INT64* ); 10182: 10182: bool BeginWrite3dmTable( 10182: unsigned int 10182: ); 10182: bool EndWrite3dmTable( 10182: unsigned int 10182: ); 10182: bool BeginRead3dmTable( 10182: unsigned int 10182: ); 10182: bool EndRead3dmTable( 10182: unsigned int 10182: ); 10182: 10182: bool Read3dmV1Layer( ON_Layer*& ); 10182: int Read3dmV1Light( 10182: 10182: 10182: ON_Light**, 10182: ON_3dmObjectAttributes* 10182: 10182: ); 10182: int Read3dmV1Material( ON_Material** ); 10182: int Read3dmV1Object( 10182: 10182: 10182: 10182: ON_Object**, 10182: ON_3dmObjectAttributes*, 10182: 10182: unsigned int = 0 10182: ); 10182: 10182: bool Read3dmV1AttributesOrMaterial( 10182: ON_3dmObjectAttributes*, 10182: ON_Material*, 10182: ON_BOOL32&, 10182: unsigned int, 10182: class ON__3dmV1_XDATA* = 0 10182: ); 10182: bool Read3dmV1String( ON_String& ); 10182: int Read3dmV1LayerIndex( const char* ) const; 10182: 10182: public: 10182: 10182: bool ReadV1_TCODE_RH_POINT(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_MESH_OBJECT(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_LEGACY_CRV(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_LEGACY_FAC(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_LEGACY_SHL(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_RHINOIO_OBJECT_NURBS_CURVE(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_RHINOIO_OBJECT_NURBS_SURFACE(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_RHINOIO_OBJECT_BREP(ON_Object**,ON_3dmObjectAttributes*); 10182: bool ReadV1_TCODE_ANNOTATION(unsigned int,ON_Object**,ON_3dmObjectAttributes*); 10182: 10182: private: 10182: ON::archive_mode Mode() const; 10182: void UpdateCRC( size_t, const void* ); 10182: int ReadObjectHelper(ON_Object**); 10182: 10182: int m_3dm_version; 10182: int m_3dm_v1_layer_index; 10182: int m_3dm_v1_material_index; 10182: # 2603 "/<>/external/onurbs/opennurbs_archive.h" 10182: unsigned int m_error_message_mask; 10182: protected: 10182: unsigned int ErrorMessageMask() const; 10182: # 2617 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool MaskReadError( ON__UINT64 sizeof_request, ON__UINT64 sizeof_read ) const; 10182: private: 10182: # 2631 "/<>/external/onurbs/opennurbs_archive.h" 10182: friend void ON_SetBinaryArchiveOpenNURBSVersion(ON_BinaryArchive&,int); 10182: int m_3dm_opennurbs_version; 10182: 10182: 10182: 10182: 10182: 10182: size_t m_3dm_start_section_offset; 10182: 10182: table_type m_active_table; 10182: 10182: table_type TableTypeFromTypecode( unsigned int ); 10182: 10182: ON_SimpleArray m_chunk; 10182: 10182: 10182: bool PushBigChunk( ON__UINT32 typecode, ON__INT64 value ); 10182: 10182: bool WriteChunkTypecode( ON__UINT32 ); 10182: bool ReadChunkTypecode( ON__UINT32* ); 10182: bool WriteChunkValue( ON__UINT32 typecode, ON__INT64 ); 10182: bool WriteChunkLength( ON__UINT64 ); 10182: bool ReadChunkValue( ON__UINT32 typecode, ON__INT64* value64 ); 10182: bool FindMisplacedTable( 10182: ON__UINT64 filelength, 10182: const ON__UINT32 table_tocde, 10182: const ON__UINT32 table_record_record, 10182: const ON_UUID class_uuid, 10182: const ON__UINT64 min_length_data 10182: ); 10182: 10182: bool ReadObjectUserDataAnonymousChunk( 10182: const ON__UINT64 length_TCODE_ANONYMOUS_CHUNK, 10182: const int archive_3dm_version, 10182: const int archive_opennurbs_version, 10182: class ON_UserData* ud ); 10182: 10182: public: 10182: size_t SizeofChunkLength() const; 10182: 10182: private: 10182: bool WriteEOFSizeOfFile( ON__UINT64 ); 10182: bool ReadEOFSizeOfFile( ON__UINT64* ); 10182: 10182: bool m_bDoChunkCRC; 10182: 10182: int m_bad_CRC_count; 10182: 10182: 10182: private: 10182: 10182: struct 10182: { 10182: ON::archive_mode mode; 10182: enum 10182: { 10182: sizeof_x_buffer = 16384 10182: }; 10182: unsigned char buffer[sizeof_x_buffer]; 10182: z_stream strm; 10182: } m_zlib; 10182: 10182: 10182: size_t WriteDeflate( 10182: size_t, 10182: const void* 10182: ); 10182: bool ReadInflate( 10182: size_t, 10182: void* 10182: ); 10182: bool CompressionInit(); 10182: void CompressionEnd(); 10182: 10182: private: 10182: 10182: 10182: ON::endian m_endian; 10182: 10182: ON::archive_mode m_mode; 10182: 10182: 10182: bool m_bSaveUserData; 10182: bool m_bSavePreviewImage; 10182: bool m_bEmbedTextureBitmaps; 10182: bool m_bSaveRenderMeshes; 10182: bool m_bSaveAnalysisMeshes; 10182: 10182: 10182: 10182: 10182: ON_SimpleArray< ON_UUID > m_V3_plugin_id_list; 10182: 10182: struct ON__3dmV1LayerIndex* m_V1_layer_list; 10182: 10182: 10182: ON_BinaryArchive(); 10182: ON_BinaryArchive( const ON_BinaryArchive& ); 10182: ON_BinaryArchive& operator=( const ON_BinaryArchive& ); 10182: 10182: }; 10182: 10182: class ON_3dmGoo 10182: { 10182: 10182: public: 10182: ON_3dmGoo(); 10182: ~ON_3dmGoo(); 10182: ON_3dmGoo( const ON_3dmGoo& ); 10182: ON_3dmGoo& operator=( const ON_3dmGoo& ); 10182: 10182: void Dump(ON_TextLog&) const; 10182: 10182: unsigned int m_typecode; 10182: int m_value; 10182: unsigned char* m_goo; 10182: ON_3dmGoo* m_next_goo; 10182: ON_3dmGoo* m_prev_goo; 10182: }; 10182: 10182: 10182: class ON_BinaryFile : public ON_BinaryArchive 10182: { 10182: public: 10182: ON_BinaryFile( ON::archive_mode ); 10182: # 2768 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON_BinaryFile( ON::archive_mode, FILE* fp ); 10182: 10182: virtual ~ON_BinaryFile(); 10182: 10182: 10182: size_t CurrentPosition() const; 10182: bool SeekFromCurrentPosition(int); 10182: bool SeekFromStart(size_t); 10182: bool AtEnd() const; 10182: 10182: 10182: bool SeekFromEnd( int ); 10182: # 2789 "/<>/external/onurbs/opennurbs_archive.h" 10182: void EnableMemoryBuffer( 10182: int=16384 10182: ); 10182: 10182: protected: 10182: size_t Read( size_t, void* ); 10182: size_t Write( size_t, const void* ); 10182: bool Flush(); 10182: 10182: private: 10182: 10182: FILE* m_fp; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: size_t m_memory_buffer_capacity; 10182: size_t m_memory_buffer_size; 10182: size_t m_memory_buffer_ptr; 10182: unsigned char* m_memory_buffer; 10182: 10182: private: 10182: 10182: ON_BinaryFile( ); 10182: ON_BinaryFile( const ON_BinaryFile& ); 10182: ON_BinaryFile& operator=( const ON_BinaryFile& ); 10182: }; 10182: 10182: class ON_BinaryArchiveBuffer : public ON_BinaryArchive 10182: { 10182: public: 10182: # 2832 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON_BinaryArchiveBuffer( ON::archive_mode, ON_Buffer* buffer ); 10182: 10182: virtual ~ON_BinaryArchiveBuffer(); 10182: # 2848 "/<>/external/onurbs/opennurbs_archive.h" 10182: bool SetBuffer( ON_Buffer* buffer ); 10182: 10182: 10182: 10182: 10182: 10182: ON_Buffer* Buffer() const; 10182: 10182: 10182: size_t CurrentPosition() const; 10182: bool SeekFromCurrentPosition(int); 10182: bool SeekFromStart(size_t); 10182: bool AtEnd() const; 10182: 10182: bool SeekFromEnd( ON__INT64 ); 10182: 10182: protected: 10182: size_t Read( size_t, void* ); 10182: size_t Write( size_t, const void* ); 10182: bool Flush(); 10182: 10182: private: 10182: 10182: ON_Buffer* m_buffer; 10182: 10182: private: 10182: 10182: ON_BinaryArchiveBuffer( ON::archive_mode ); 10182: private: 10182: 10182: ON_BinaryArchiveBuffer( ); 10182: ON_BinaryArchiveBuffer( const ON_BinaryArchiveBuffer& ); 10182: ON_BinaryArchiveBuffer& operator=( const ON_BinaryArchiveBuffer& ); 10182: }; 10182: 10182: 10182: class ON_Read3dmBufferArchive : public ON_BinaryArchive 10182: { 10182: public: 10182: # 2903 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON_Read3dmBufferArchive( 10182: size_t sizeof_buffer, 10182: const void* buffer, 10182: bool bCopyBuffer, 10182: int archive_3dm_version, 10182: int archive_opennurbs_version 10182: ); 10182: 10182: ~ON_Read3dmBufferArchive(); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOfBuffer() const; 10182: 10182: 10182: 10182: 10182: 10182: const void* Buffer() const; 10182: 10182: 10182: size_t CurrentPosition() const; 10182: bool SeekFromCurrentPosition(int); 10182: bool SeekFromStart(size_t); 10182: bool AtEnd() const; 10182: 10182: protected: 10182: 10182: size_t Read( size_t, void* ); 10182: size_t Write( size_t, const void* ); 10182: bool Flush(); 10182: 10182: private: 10182: void* m_p; 10182: const unsigned char* m_buffer; 10182: size_t m_sizeof_buffer; 10182: size_t m_buffer_position; 10182: ON__INT_PTR m_reserved1; 10182: ON__INT_PTR m_reserved2; 10182: ON__INT_PTR m_reserved3; 10182: ON__INT_PTR m_reserved4; 10182: 10182: private: 10182: 10182: ON_Read3dmBufferArchive(); 10182: ON_Read3dmBufferArchive( const ON_Read3dmBufferArchive& ); 10182: ON_Read3dmBufferArchive& operator=(const ON_Read3dmBufferArchive&); 10182: }; 10182: 10182: class ON_Write3dmBufferArchive : public ON_BinaryArchive 10182: { 10182: public: 10182: # 2975 "/<>/external/onurbs/opennurbs_archive.h" 10182: ON_Write3dmBufferArchive( 10182: size_t initial_sizeof_buffer, 10182: size_t max_sizeof_buffer, 10182: int archive_3dm_version, 10182: int archive_opennurbs_version 10182: ); 10182: 10182: ~ON_Write3dmBufferArchive(); 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOfArchive() const; 10182: 10182: 10182: 10182: 10182: 10182: size_t SizeOfBuffer() const; 10182: # 3005 "/<>/external/onurbs/opennurbs_archive.h" 10182: const void* Buffer() const; 10182: # 3014 "/<>/external/onurbs/opennurbs_archive.h" 10182: void* HarvestBuffer(); 10182: 10182: 10182: size_t CurrentPosition() const; 10182: bool SeekFromCurrentPosition(int); 10182: bool SeekFromStart(size_t); 10182: bool AtEnd() const; 10182: 10182: protected: 10182: 10182: size_t Read( size_t, void* ); 10182: size_t Write( size_t, const void* ); 10182: bool Flush(); 10182: 10182: private: 10182: void AllocBuffer(size_t); 10182: void* m_p; 10182: unsigned char* m_buffer; 10182: size_t m_sizeof_buffer; 10182: const size_t m_max_sizeof_buffer; 10182: size_t m_sizeof_archive; 10182: size_t m_buffer_position; 10182: ON__INT_PTR m_reserved1; 10182: ON__INT_PTR m_reserved2; 10182: ON__INT_PTR m_reserved3; 10182: ON__INT_PTR m_reserved4; 10182: 10182: private: 10182: 10182: ON_Write3dmBufferArchive(); 10182: ON_Write3dmBufferArchive( const ON_Write3dmBufferArchive& ); 10182: ON_Write3dmBufferArchive& operator=(const ON_Write3dmBufferArchive&); 10182: }; 10182: # 3077 "/<>/external/onurbs/opennurbs_archive.h" 10182: 10182: bool ON_WriteOneObjectArchive( 10182: ON_BinaryArchive& archive, 10182: int version, 10182: const ON_Object& object 10182: ); 10182: # 81 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_arc.h" 1 10182: # 34 "/<>/external/onurbs/opennurbs_arc.h" 10182: class ON_Arc : public ON_Circle 10182: { 10182: public: 10182: 10182: ON_Arc(); 10182: # 47 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_Circle& circle, 10182: double angle_in_radians 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Arc( 10182: const ON_Circle& circle, 10182: ON_Interval angle_interval_in_radians 10182: ); 10182: # 75 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_Plane& plane, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 91 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_3dPoint& center, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 111 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_Plane& plane, 10182: const ON_3dPoint& center, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 126 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_2dPoint& start_point, 10182: const ON_2dPoint& interior_point, 10182: const ON_2dPoint& end_point 10182: ); 10182: # 140 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Arc( 10182: const ON_3dPoint& start_point, 10182: const ON_3dPoint& interior_point, 10182: const ON_3dPoint& end_point 10182: ); 10182: # 155 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_Circle& circle, 10182: double angle_in_radians 10182: ); 10182: # 170 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_Circle& circle, 10182: ON_Interval angle_interval_in_radians 10182: ); 10182: # 187 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_Plane& plane, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 203 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_3dPoint& center, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 223 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_Plane& plane, 10182: const ON_3dPoint& center, 10182: double radius, 10182: double angle_in_radians 10182: ); 10182: # 238 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_2dPoint& start_point, 10182: const ON_2dPoint& interior_point, 10182: const ON_2dPoint& end_point 10182: ); 10182: # 252 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_3dPoint& start_point, 10182: const ON_3dPoint& interior_point, 10182: const ON_3dPoint& end_point 10182: ); 10182: # 267 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_2dPoint& start_point, 10182: const ON_2dVector& dir_at_start, 10182: const ON_2dPoint& end_point 10182: ); 10182: # 282 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool Create( 10182: const ON_3dPoint& start_point, 10182: const ON_3dVector& dir_at_start, 10182: const ON_3dPoint& end_point 10182: ); 10182: 10182: ON_Arc& operator=( const ON_Circle& ); 10182: 10182: 10182: ~ON_Arc(); 10182: # 300 "/<>/external/onurbs/opennurbs_arc.h" 10182: void Dump( ON_TextLog& dump ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsValid() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 327 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false 10182: ) const; 10182: # 347 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool IsCircle() const; 10182: 10182: 10182: 10182: double AngleRadians() const; 10182: 10182: 10182: 10182: double AngleDegrees() const; 10182: # 373 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_Interval Domain() const; 10182: 10182: 10182: 10182: ON_Interval DomainRadians() const; 10182: 10182: 10182: 10182: ON_Interval DomainDegrees() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetAngleRadians( 10182: double angle_in_radians 10182: ); 10182: # 402 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool SetAngleIntervalRadians( 10182: ON_Interval angle_in_radians 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Trim( 10182: ON_Interval domain_radian 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: bool SetAngleDegrees( 10182: double angle_in_degrees 10182: ); 10182: 10182: 10182: 10182: ON_3dPoint StartPoint() const; 10182: 10182: 10182: 10182: 10182: ON_3dPoint MidPoint() const; 10182: 10182: 10182: 10182: ON_3dPoint EndPoint() const; 10182: # 444 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool ClosestPointTo( 10182: const ON_3dPoint& test_point, 10182: double* t 10182: ) const; 10182: # 457 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_3dPoint ClosestPointTo( 10182: const ON_3dPoint& test_point 10182: ) const; 10182: 10182: 10182: 10182: double Length() const; 10182: # 474 "/<>/external/onurbs/opennurbs_arc.h" 10182: double SectorArea() const; 10182: # 485 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_3dPoint SectorAreaCentroid() const; 10182: # 494 "/<>/external/onurbs/opennurbs_arc.h" 10182: double SegmentArea() const; 10182: # 503 "/<>/external/onurbs/opennurbs_arc.h" 10182: ON_3dPoint SegmentAreaCentroid() const; 10182: 10182: 10182: 10182: 10182: bool Reverse(); 10182: # 521 "/<>/external/onurbs/opennurbs_arc.h" 10182: int GetNurbForm( 10182: ON_NurbsCurve& nurbs_curve 10182: ) const; 10182: # 553 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool GetRadianFromNurbFormParameter( 10182: double nurbs_parameter, 10182: double* arc_radians_parameter 10182: ) const; 10182: # 586 "/<>/external/onurbs/opennurbs_arc.h" 10182: bool GetNurbFormParameterFromRadian( 10182: double arc_radians_parameter, 10182: double* nurbs_parameter 10182: ) const; 10182: 10182: private: 10182: friend bool ON_BinaryArchive::ReadArc( ON_Arc& ); 10182: friend bool ON_BinaryArchive::WriteArc( const ON_Arc& ); 10182: 10182: 10182: ON_Interval m_angle; 10182: }; 10182: # 82 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_object.h" 1 10182: # 27 "/<>/external/onurbs/opennurbs_object.h" 10182: class ON_ClassId; 10182: # 42 "/<>/external/onurbs/opennurbs_object.h" 10182: class ON_ClassId 10182: { 10182: public: 10182: # 56 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_ClassId( 10182: const char* sClassName, 10182: const char* sBaseClassName, 10182: ON_Object* (*create)(), 10182: const char* sUUID 10182: ); 10182: 10182: ON_ClassId( 10182: const char* sClassName, 10182: const char* sBaseClassName, 10182: ON_Object* (*create)(), 10182: bool (*copy)(const ON_Object*,ON_Object* ), 10182: const char* sUUID 10182: ); 10182: 10182: ~ON_ClassId(); 10182: # 81 "/<>/external/onurbs/opennurbs_object.h" 10182: static const ON_ClassId* ClassId( 10182: const char* sClassName 10182: ); 10182: # 94 "/<>/external/onurbs/opennurbs_object.h" 10182: static const ON_ClassId* ClassId( 10182: ON_UUID class_uuid 10182: ); 10182: # 105 "/<>/external/onurbs/opennurbs_object.h" 10182: static int IncrementMark(); 10182: static int CurrentMark(); 10182: static const ON_ClassId* LastClassId(); 10182: # 131 "/<>/external/onurbs/opennurbs_object.h" 10182: static int Purge(int mark); 10182: static bool PurgeAfter(const ON_ClassId* pClassId); 10182: 10182: 10182: 10182: 10182: 10182: static void Dump( 10182: ON_TextLog& dump 10182: ); 10182: 10182: 10182: 10182: const char* ClassName() const; 10182: 10182: 10182: 10182: const char* BaseClassName() const; 10182: 10182: 10182: 10182: const ON_ClassId* BaseClass() const; 10182: # 161 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_BOOL32 IsDerivedFrom( 10182: const ON_ClassId* potential_parent 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Object* Create() const; 10182: 10182: 10182: 10182: ON_UUID Uuid() const; 10182: # 184 "/<>/external/onurbs/opennurbs_object.h" 10182: int Mark() const; 10182: 10182: unsigned int ClassIdVersion() const; 10182: 10182: private: 10182: static ON_ClassId* m_p0; 10182: static ON_ClassId* m_p1; 10182: static int m_mark0; 10182: ON_ClassId* m_pNext; 10182: const ON_ClassId* m_pBaseClassId; 10182: char m_sClassName[80]; 10182: char m_sBaseClassName[80]; 10182: ON_Object* (*m_create)(); 10182: ON_UUID m_uuid; 10182: int m_mark; 10182: 10182: private: 10182: 10182: ON_ClassId(); 10182: ON_ClassId( const ON_ClassId&); 10182: ON_ClassId& operator=( const ON_ClassId&); 10182: 10182: void ConstructorHelper( 10182: const char* sClassName, 10182: const char* sBaseClassName, 10182: const char* sUUID 10182: ); 10182: 10182: 10182: 10182: 10182: friend class ON_Object; 10182: unsigned int m_class_id_version; 10182: bool (*m_copy)(const ON_Object*,ON_Object*); 10182: void* m_f2; 10182: void* m_f3; 10182: void* m_f4; 10182: void* m_f5; 10182: void* m_f6; 10182: void* m_f7; 10182: void* m_f8; 10182: }; 10182: # 248 "/<>/external/onurbs/opennurbs_object.h" 10182: 10182: ON_UUID ON_GetMostRecentClassIdCreateUuid(); 10182: # 334 "/<>/external/onurbs/opennurbs_object.h" 10182: class ON_UserData; 10182: 10182: class ON_UserString 10182: { 10182: public: 10182: ON_UserString(); 10182: ~ON_UserString(); 10182: ON_wString m_key; 10182: ON_wString m_string_value; 10182: 10182: void Dump(ON_TextLog& text_log) const; 10182: bool Write(ON_BinaryArchive&) const; 10182: bool Read(ON_BinaryArchive&); 10182: }; 10182: # 368 "/<>/external/onurbs/opennurbs_object.h" 10182: 10182: bool ON_IsNotValid(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Object 10182: { 10182: # 392 "/<>/external/onurbs/opennurbs_object.h" 10182: protected: static void* m_s_ON_Object_ptr; public: static const ON_ClassId m_ON_Object_class_id; static ON_Object * Cast( ON_Object* ); static const ON_Object * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Object( const ON_Object*, ON_Object* ); public: ON_Object * Duplicate() const;; 10182: public: 10182: # 409 "/<>/external/onurbs/opennurbs_object.h" 10182: bool CopyFrom( const ON_Object* src ); 10182: 10182: public: 10182: 10182: ON_Object(); 10182: ON_Object( const ON_Object& ); 10182: ON_Object& operator=( const ON_Object& ); 10182: virtual ~ON_Object(); 10182: 10182: 10182: 10182: 10182: 10182: void EmergencyDestroy(); 10182: # 439 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: void MemoryRelocate(); 10182: # 470 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_BOOL32 IsKindOf( 10182: const ON_ClassId* pClassId 10182: ) const; 10182: # 491 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 492 "/<>/external/onurbs/opennurbs_object.h" 3 4 10182: __null 10182: # 492 "/<>/external/onurbs/opennurbs_object.h" 10182: ) const = 0; 10182: # 505 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: unsigned int SizeOf() const; 10182: # 525 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 544 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: # 564 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: # 598 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON::object_type ObjectType() const; 10182: # 612 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: ON_UUID ModelObjectId() const; 10182: # 631 "/<>/external/onurbs/opennurbs_object.h" 10182: bool SetUserString( 10182: const wchar_t* key, 10182: const wchar_t* string_value 10182: ); 10182: # 651 "/<>/external/onurbs/opennurbs_object.h" 10182: int SetUserStrings( int count, const ON_UserString* user_strings, bool bReplace ); 10182: # 662 "/<>/external/onurbs/opennurbs_object.h" 10182: bool GetUserString( 10182: const wchar_t* key, 10182: ON_wString& string_value 10182: ) const; 10182: # 676 "/<>/external/onurbs/opennurbs_object.h" 10182: int GetUserStrings( 10182: ON_ClassArray& user_strings 10182: ) const; 10182: # 689 "/<>/external/onurbs/opennurbs_object.h" 10182: int GetUserStringKeys( 10182: ON_ClassArray& user_string_keys 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: int UserStringCount() const; 10182: # 728 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_BOOL32 AttachUserData( 10182: ON_UserData* pUserData 10182: ); 10182: # 749 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_BOOL32 DetachUserData( 10182: ON_UserData* pUserData 10182: ); 10182: # 765 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_UserData* GetUserData( 10182: const ON_UUID& userdata_uuid 10182: ) const; 10182: # 776 "/<>/external/onurbs/opennurbs_object.h" 10182: void PurgeUserData(); 10182: # 789 "/<>/external/onurbs/opennurbs_object.h" 10182: ON_UserData* FirstUserData() const; 10182: # 798 "/<>/external/onurbs/opennurbs_object.h" 10182: void TransformUserData( 10182: const ON_Xform& xform 10182: ); 10182: # 813 "/<>/external/onurbs/opennurbs_object.h" 10182: void CopyUserData( 10182: const ON_Object& source_object 10182: ); 10182: # 824 "/<>/external/onurbs/opennurbs_object.h" 10182: void MoveUserData( 10182: ON_Object& source_object 10182: ); 10182: # 850 "/<>/external/onurbs/opennurbs_object.h" 10182: virtual 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: private: 10182: friend int ON_BinaryArchive::ReadObject( ON_Object** ); 10182: friend bool ON_BinaryArchive::WriteObject( const ON_Object& ); 10182: friend bool ON_BinaryArchive::ReadObjectUserData( ON_Object& ); 10182: friend bool ON_BinaryArchive::WriteObjectUserData( const ON_Object& ); 10182: friend class ON_UserData; 10182: ON_UserData* m_userdata_list; 10182: }; 10182: # 83 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_userdata.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_userdata.h" 10182: class ON_UserData : public ON_Object 10182: { 10182: protected: static void* m_s_ON_UserData_ptr; public: static const ON_ClassId m_ON_UserData_class_id; static ON_UserData * Cast( ON_Object* ); static const ON_UserData * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_UserData( const ON_Object*, ON_Object* ); public: ON_UserData * Duplicate() const;; 10182: public: 10182: ON_UserData(); 10182: ON_UserData(const ON_UserData&); 10182: ON_UserData& operator=(const ON_UserData&); 10182: 10182: 10182: 10182: 10182: ~ON_UserData(); 10182: # 52 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 52 "/<>/external/onurbs/opennurbs_userdata.h" 3 4 10182: __null 10182: # 52 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ) const; 10182: # 62 "/<>/external/onurbs/opennurbs_userdata.h" 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: 10182: ON_Object* Owner() const; 10182: 10182: 10182: 10182: 10182: ON_UserData* Next() const; 10182: 10182: 10182: 10182: 10182: ON_UUID UserDataClassUuid() const; 10182: # 98 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ON_BOOL32 IsUnknownUserData() const; 10182: # 107 "/<>/external/onurbs/opennurbs_userdata.h" 10182: virtual 10182: ON_BOOL32 GetDescription( ON_wString& description ); 10182: # 132 "/<>/external/onurbs/opennurbs_userdata.h" 10182: virtual 10182: ON_BOOL32 Archive() const; 10182: # 142 "/<>/external/onurbs/opennurbs_userdata.h" 10182: virtual 10182: ON_BOOL32 Transform( const ON_Xform& ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_userdata_uuid; 10182: # 161 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ON_UUID m_application_uuid; 10182: # 170 "/<>/external/onurbs/opennurbs_userdata.h" 10182: unsigned int m_userdata_copycount; 10182: # 179 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ON_Xform m_userdata_xform; 10182: 10182: private: 10182: friend int ON_BinaryArchive::ReadObject( ON_Object** ); 10182: friend bool ON_BinaryArchive::WriteObject( const ON_Object& ); 10182: friend bool ON_BinaryArchive::ReadObjectUserData( ON_Object& ); 10182: friend bool ON_BinaryArchive::WriteObjectUserData( const ON_Object& ); 10182: friend class ON_Object; 10182: ON_Object* m_userdata_owner; 10182: ON_UserData* m_userdata_next; 10182: }; 10182: 10182: class ON_UnknownUserData : public ON_UserData 10182: { 10182: protected: static void* m_s_ON_UnknownUserData_ptr; public: static const ON_ClassId m_ON_UnknownUserData_class_id; static ON_UnknownUserData * Cast( ON_Object* ); static const ON_UnknownUserData * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_UnknownUserData( const ON_Object*, ON_Object* ); public: ON_UnknownUserData * Duplicate() const;; 10182: 10182: 10182: public: 10182: ON_UnknownUserData(); 10182: ON_UnknownUserData(const ON_UnknownUserData&); 10182: ~ON_UnknownUserData(); 10182: ON_UnknownUserData& operator=(const ON_UnknownUserData&); 10182: # 223 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 223 "/<>/external/onurbs/opennurbs_userdata.h" 3 4 10182: __null 10182: # 223 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: unsigned int SizeOf() const; 10182: ON_BOOL32 GetDescription( ON_wString& ); 10182: ON_BOOL32 Archive() const; 10182: 10182: 10182: 10182: 10182: ON_UserData* Convert() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_unknownclass_uuid; 10182: int m_sizeof_buffer; 10182: void* m_buffer; 10182: # 260 "/<>/external/onurbs/opennurbs_userdata.h" 10182: int m_3dm_version; 10182: int m_3dm_opennurbs_version; 10182: }; 10182: 10182: class ON_UserStringList : public ON_UserData 10182: { 10182: protected: static void* m_s_ON_UserStringList_ptr; public: static const ON_ClassId m_ON_UserStringList_class_id; static ON_UserStringList * Cast( ON_Object* ); static const ON_UserStringList * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_UserStringList( const ON_Object*, ON_Object* ); public: ON_UserStringList * Duplicate() const;; 10182: public: 10182: 10182: ON_UserStringList(); 10182: ~ON_UserStringList(); 10182: 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: 10182: ON_BOOL32 GetDescription( ON_wString& description ); 10182: 10182: 10182: ON_BOOL32 Archive() const; 10182: # 307 "/<>/external/onurbs/opennurbs_userdata.h" 10182: bool SetUserString( const wchar_t* key, const wchar_t* string_value ); 10182: 10182: bool GetUserString( const wchar_t* key, ON_wString& string_value ) const; 10182: # 326 "/<>/external/onurbs/opennurbs_userdata.h" 10182: int SetUserStrings( int count, const ON_UserString* us, bool bReplace ); 10182: 10182: ON_ClassArray m_e; 10182: }; 10182: 10182: class ON_UserDataHolder : public ON_Object 10182: { 10182: public: 10182: # 351 "/<>/external/onurbs/opennurbs_userdata.h" 10182: bool MoveUserDataFrom( const ON_Object& source_object ); 10182: # 370 "/<>/external/onurbs/opennurbs_userdata.h" 10182: bool MoveUserDataTo( const ON_Object& source_object, bool bAppend ); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 372 "/<>/external/onurbs/opennurbs_userdata.h" 3 4 10182: __null 10182: # 372 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ) const; 10182: }; 10182: # 384 "/<>/external/onurbs/opennurbs_userdata.h" 10182: class ON_DocumentUserStringList : public ON_Object 10182: { 10182: protected: static void* m_s_ON_DocumentUserStringList_ptr; public: static const ON_ClassId m_ON_DocumentUserStringList_class_id; static ON_DocumentUserStringList * Cast( ON_Object* ); static const ON_DocumentUserStringList * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_DocumentUserStringList( const ON_Object*, ON_Object* ); public: ON_DocumentUserStringList * Duplicate() const;; 10182: public: 10182: ON_DocumentUserStringList(); 10182: ~ON_DocumentUserStringList(); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 391 "/<>/external/onurbs/opennurbs_userdata.h" 3 4 10182: __null 10182: # 391 "/<>/external/onurbs/opennurbs_userdata.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: # 404 "/<>/external/onurbs/opennurbs_userdata.h" 10182: }; 10182: # 84 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_geometry.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_geometry.h" 10182: class ON_Brep; 10182: # 36 "/<>/external/onurbs/opennurbs_geometry.h" 10182: class ON_Geometry : public ON_Object 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: protected: static void* m_s_ON_Geometry_ptr; public: static const ON_ClassId m_ON_Geometry_class_id; static ON_Geometry * Cast( ON_Object* ); static const ON_Geometry * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Geometry( const ON_Object*, ON_Object* ); public: ON_Geometry * Duplicate() const;; 10182: 10182: public: 10182: ON_Geometry(); 10182: ON_Geometry(const ON_Geometry&); 10182: ON_Geometry& operator=(const ON_Geometry&); 10182: virtual ~ON_Geometry(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BoundingBox BoundingBox() const; 10182: # 74 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 GetBoundingBox( 10182: ON_BoundingBox& bbox, 10182: int bGrowBox = false 10182: ) const; 10182: # 92 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 GetBoundingBox( 10182: ON_3dPoint& bbox_min, 10182: ON_3dPoint& bbox_max, 10182: int bGrowBox = false 10182: ) const; 10182: # 111 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 Rotate( 10182: double sin_angle, 10182: double cos_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 130 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 Rotate( 10182: double rotation_angle, 10182: const ON_3dVector& rotation_axis, 10182: const ON_3dPoint& rotation_center 10182: ); 10182: # 144 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 Translate( 10182: const ON_3dVector& translation_vector 10182: ); 10182: # 157 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ON_BOOL32 Scale( 10182: double scale_factor 10182: ); 10182: # 169 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: int Dimension() const = 0; 10182: # 184 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const = 0; 10182: # 209 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 228 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: void ClearBoundingBox(); 10182: # 256 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 269 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: bool IsDeformable() const; 10182: # 284 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: bool MakeDeformable(); 10182: # 306 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_BOOL32 SwapCoordinates( 10182: int i, 10182: int j 10182: ); 10182: # 324 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_BOOL32 HasBrepForm() const; 10182: # 344 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_Brep* BrepForm( ON_Brep* brep = 10182: # 345 "/<>/external/onurbs/opennurbs_geometry.h" 3 4 10182: __null 10182: # 345 "/<>/external/onurbs/opennurbs_geometry.h" 10182: ) const; 10182: # 360 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: # 375 "/<>/external/onurbs/opennurbs_geometry.h" 10182: virtual 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: }; 10182: # 85 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_curve.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_curve.h" 10182: class ON_Curve; 10182: class ON_Plane; 10182: class ON_Arc; 10182: class ON_NurbsCurve; 10182: class ON_CurveTree; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_MeshCurveParameters 10182: { 10182: public: 10182: ON_MeshCurveParameters(); 10182: # 50 "/<>/external/onurbs/opennurbs_curve.h" 10182: int m_main_seg_count; 10182: int m_sub_seg_count; 10182: 10182: int m_reserved1; 10182: int m_reserved2; 10182: 10182: 10182: 10182: double m_max_ang_radians; 10182: 10182: 10182: 10182: double m_max_chr; 10182: 10182: 10182: 10182: 10182: 10182: 10182: double m_max_aspect; 10182: 10182: 10182: 10182: 10182: double m_tolerance; 10182: 10182: 10182: 10182: double m_min_edge_length; 10182: 10182: 10182: 10182: double m_max_edge_length; 10182: 10182: double m_reserved3; 10182: double m_reserved4; 10182: }; 10182: 10182: class ON_Curve : public ON_Geometry 10182: { 10182: # 99 "/<>/external/onurbs/opennurbs_curve.h" 10182: protected: static void* m_s_ON_Curve_ptr; public: static const ON_ClassId m_ON_Curve_class_id; static ON_Curve * Cast( ON_Object* ); static const ON_Curve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Curve( const ON_Object*, ON_Object* ); public: ON_Curve * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: ON_Curve(); 10182: ON_Curve(const ON_Curve&); 10182: ON_Curve& operator=(const ON_Curve&); 10182: virtual ~ON_Curve(); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: # 130 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_Curve* DuplicateCurve() const; 10182: 10182: 10182: 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: # 155 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 171 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 GetDomain( double* t0, double* t1 ) const; 10182: 10182: 10182: 10182: virtual 10182: ON_Interval Domain() const = 0; 10182: # 186 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool SetDomain( ON_Interval domain ); 10182: # 195 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: # 212 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 ChangeClosedCurveSeam( 10182: double t 10182: ); 10182: # 227 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: int SpanCount() const = 0; 10182: # 247 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 GetSpanVector( 10182: double* knots 10182: ) const = 0; 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: ON_BOOL32 GetSpanVectorIndex( 10182: double t , 10182: int side, 10182: int* span_vector_index, 10182: ON_Interval* span_domain 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: int Degree() const = 0; 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: ON_BOOL32 GetParameterTolerance( 10182: double t, 10182: double* tminus, 10182: double* tplus 10182: ) const; 10182: # 293 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 IsLinear( 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 314 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 316 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 316 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 317 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: 10182: # 318 "/<>/external/onurbs/opennurbs_curve.h" 10182: ) const; 10182: # 331 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 IsArc( 10182: const ON_Plane* plane = 10182: # 333 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 333 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: ON_Arc* arc = 10182: # 334 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 334 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 360 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool IsArcAt( 10182: double t, 10182: const ON_Plane* plane = 0, 10182: ON_Arc* arc = 0, 10182: double tolerance = 2.3283064365386962890625e-10, 10182: double* t0 = 0, 10182: double* t1 = 0 10182: ) const; 10182: 10182: virtual 10182: bool IsEllipse( 10182: const ON_Plane* plane = 10182: # 371 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 371 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: ON_Ellipse* ellipse = 10182: # 372 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 372 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 385 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 387 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 387 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 399 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane& test_plane, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const = 0; 10182: # 421 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool IsClosable( 10182: double tolerance, 10182: double min_abs_size = 0.0, 10182: double min_rel_size = 10.0 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: ON_BOOL32 IsClosed() const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: ON_BOOL32 IsPeriodic() const; 10182: # 495 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: bool GetNextDiscontinuity( 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 501 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 501 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: int* dtype= 10182: # 502 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 502 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 540 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 544 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 544 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 559 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 Reverse()=0; 10182: # 578 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 598 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: # 615 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dPoint PointAt( 10182: double t 10182: ) const; 10182: # 629 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dPoint PointAtStart() const; 10182: # 641 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dPoint PointAtEnd() const; 10182: # 653 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dVector DerivativeAt( 10182: double t 10182: ) const; 10182: # 667 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dVector TangentAt( 10182: double t 10182: ) const; 10182: # 681 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_3dVector CurvatureAt( 10182: double t 10182: ) const; 10182: # 695 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 FrameAt( double t, ON_Plane& plane) const; 10182: # 713 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 EvPoint( 10182: double t, 10182: ON_3dPoint& point, 10182: int side = 0, 10182: int* hint = 0 10182: ) const; 10182: # 738 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 Ev1Der( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& first_derivative, 10182: int side = 0, 10182: int* hint = 0 10182: ) const; 10182: # 764 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 Ev2Der( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& first_derivative, 10182: ON_3dVector& second_derivative, 10182: int side = 0, 10182: int* hint = 0 10182: ) const; 10182: # 791 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 EvTangent( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& tangent, 10182: int side = 0, 10182: int* hint = 0 10182: ) const; 10182: # 819 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_BOOL32 EvCurvature( 10182: double t, 10182: ON_3dPoint& point, 10182: ON_3dVector& tangent, 10182: ON_3dVector& kappa, 10182: int side = 0, 10182: int* hint = 0 10182: ) const; 10182: # 853 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 Evaluate( 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v, 10182: int side = 0, 10182: int* hint = 0 10182: ) const = 0; 10182: # 879 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool FirstSpanIsLinear( 10182: double min_length, 10182: double tolerance 10182: ) const; 10182: 10182: bool LastSpanIsLinear( 10182: double min_length, 10182: double tolerance 10182: ) const; 10182: 10182: bool FirstSpanIsLinear( 10182: double min_length, 10182: double tolerance, 10182: ON_Line* span_line 10182: ) const; 10182: 10182: bool LastSpanIsLinear( 10182: double min_length, 10182: double tolerance, 10182: ON_Line* span_line 10182: ) const; 10182: # 909 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 Trim( 10182: const ON_Interval& domain 10182: ); 10182: # 924 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 956 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 Split( 10182: double t, 10182: ON_Curve*& left_side, 10182: ON_Curve*& right_side 10182: ) const; 10182: # 993 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: int GetNurbForm( 10182: ON_NurbsCurve& nurbs_curve, 10182: double tolerance = 0.0, 10182: const ON_Interval* subdomain = 10182: # 997 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: 10182: # 998 "/<>/external/onurbs/opennurbs_curve.h" 10182: ) const; 10182: # 1023 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: int HasNurbForm() const; 10182: # 1045 "/<>/external/onurbs/opennurbs_curve.h" 10182: ON_NurbsCurve* NurbsCurve( 10182: ON_NurbsCurve* pNurbsCurve = 10182: # 1046 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: # 1046 "/<>/external/onurbs/opennurbs_curve.h" 10182: , 10182: double tolerance = 0.0, 10182: const ON_Interval* subdomain = 10182: # 1048 "/<>/external/onurbs/opennurbs_curve.h" 3 4 10182: __null 10182: 10182: # 1049 "/<>/external/onurbs/opennurbs_curve.h" 10182: ) const; 10182: # 1064 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double nurbs_t, 10182: double* curve_t 10182: ) const; 10182: # 1083 "/<>/external/onurbs/opennurbs_curve.h" 10182: virtual 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double curve_t, 10182: double* nurbs_t 10182: ) const; 10182: # 1097 "/<>/external/onurbs/opennurbs_curve.h" 10182: void DestroyCurveTree(); 10182: # 1126 "/<>/external/onurbs/opennurbs_curve.h" 10182: protected: 10182: bool ParameterSearch( double t, int& index, bool bEnableSnap, const ON_SimpleArray& m_t, 10182: double RelTol=1.490116119385000000e-8) const; 10182: 10182: private: 10182: }; 10182: # 1143 "/<>/external/onurbs/opennurbs_curve.h" 10182: class ON_CurveArray : public ON_SimpleArray 10182: { 10182: public: 10182: ON_CurveArray( int = 0 ); 10182: ~ON_CurveArray(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: void Destroy(); 10182: 10182: bool Duplicate( ON_CurveArray& ) const; 10182: # 1173 "/<>/external/onurbs/opennurbs_curve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: }; 10182: # 1193 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: ON_Curve* ON_TrimCurve( 10182: const ON_Curve& curve, 10182: ON_Interval trim_parameters 10182: ); 10182: # 1215 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_ForceMatchCurveEnds( 10182: ON_Curve& Crv0, 10182: int end0, 10182: ON_Curve& Crv1, 10182: int end1 10182: ); 10182: # 1242 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: int ON_JoinCurves(const ON_SimpleArray& InCurves, 10182: ON_SimpleArray& OutCurves, 10182: double join_tol, 10182: bool bPreserveDirection = false, 10182: ON_SimpleArray* key = 0 10182: ); 10182: # 1266 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_SortLines( 10182: int line_count, 10182: const ON_Line* line_list, 10182: int* index, 10182: bool* bReverse 10182: ); 10182: # 1288 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_SortLines( 10182: const ON_SimpleArray& line_list, 10182: int* index, 10182: bool* bReverse 10182: ); 10182: # 1310 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_SortCurves( 10182: int curve_count, 10182: const ON_Curve* const* curve_list, 10182: int* index, 10182: bool* bReverse 10182: ); 10182: # 1332 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_SortCurves( 10182: const ON_SimpleArray& curves, 10182: ON_SimpleArray& index, 10182: ON_SimpleArray& bReverse 10182: ); 10182: # 1354 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: bool ON_SortCurves( 10182: const ON_SimpleArray& curves, 10182: ON_SimpleArray& index, 10182: ON_SimpleArray& bReverse 10182: ); 10182: # 1374 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: int ON_ClosedCurveOrientation( const ON_Curve& curve, const ON_Xform* xform ); 10182: # 1395 "/<>/external/onurbs/opennurbs_curve.h" 10182: 10182: double ON_CurveOrientationArea( 10182: const ON_Curve* curve, 10182: const ON_Interval* domain, 10182: const ON_Xform* xform, 10182: bool bReverseCurve 10182: ); 10182: # 86 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_surface.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_surface.h" 10182: class ON_Curve; 10182: class ON_NurbsSurface; 10182: class ON_SurfaceTree; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Mesh; 10182: class ON_MeshParameters; 10182: class ON_PolyCurve; 10182: class ON_CurveProxy; 10182: class ON_Surface; 10182: 10182: class ON_Surface : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Surface_ptr; public: static const ON_ClassId m_ON_Surface_class_id; static ON_Surface * Cast( ON_Object* ); static const ON_Surface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Surface( const ON_Object*, ON_Object* ); public: ON_Surface * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: enum ISO 10182: { 10182: not_iso = 0, 10182: x_iso = 1, 10182: 10182: y_iso = 2, 10182: 10182: W_iso = 3, 10182: 10182: S_iso = 4, 10182: 10182: E_iso = 5, 10182: 10182: N_iso = 6, 10182: 10182: iso_count = 7 10182: }; 10182: 10182: public: 10182: ON_Surface(); 10182: ON_Surface(const ON_Surface&); 10182: ON_Surface& operator=(const ON_Surface&); 10182: virtual ~ON_Surface(); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: # 100 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_Surface* DuplicateSurface() const; 10182: 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: # 121 "/<>/external/onurbs/opennurbs_surface.h" 10182: ON_BOOL32 HasBrepForm() const; 10182: # 140 "/<>/external/onurbs/opennurbs_surface.h" 10182: ON_Brep* BrepForm( ON_Brep* brep = 10182: # 140 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 140 "/<>/external/onurbs/opennurbs_surface.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: ON_BOOL32 GetDomain( 10182: int dir, 10182: double* t0, 10182: double* t1 10182: ) const; 10182: 10182: bool SetDomain( 10182: int dir, 10182: ON_Interval domain 10182: ); 10182: 10182: virtual 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: virtual 10182: ON_Interval Domain( 10182: int dir 10182: ) const = 0; 10182: # 190 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: 10182: virtual 10182: int SpanCount( 10182: int dir 10182: ) const = 0; 10182: 10182: virtual 10182: ON_BOOL32 GetSpanVector( 10182: int dir, 10182: double* span_vector 10182: ) const = 0; 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: ON_BOOL32 GetSpanVectorIndex( 10182: int dir , 10182: double t, 10182: int side, 10182: int* span_vector_index, 10182: ON_Interval* span_interval 10182: ) const; 10182: 10182: virtual 10182: int Degree( 10182: 10182: int dir 10182: ) const = 0; 10182: 10182: virtual ON_BOOL32 GetParameterTolerance( 10182: int dir, 10182: double t, 10182: double* tminus, 10182: double* tplus 10182: ) const; 10182: # 249 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ISO IsIsoparametric( 10182: const ON_Curve& curve, 10182: const ON_Interval* curve_domain = 10182: # 252 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: 10182: # 253 "/<>/external/onurbs/opennurbs_surface.h" 10182: ) const; 10182: # 268 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ISO IsIsoparametric( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: # 284 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 286 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 286 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 301 "/<>/external/onurbs/opennurbs_surface.h" 10182: bool IsSphere( 10182: ON_Sphere* sphere = 10182: # 302 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 302 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 317 "/<>/external/onurbs/opennurbs_surface.h" 10182: bool IsCylinder( 10182: ON_Cylinder* cylinder = 10182: # 318 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 318 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 333 "/<>/external/onurbs/opennurbs_surface.h" 10182: bool IsCone( 10182: ON_Cone* cone = 10182: # 334 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 334 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 349 "/<>/external/onurbs/opennurbs_surface.h" 10182: bool IsTorus( 10182: ON_Torus* torus = 10182: # 350 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 350 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: virtual 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: virtual 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: virtual 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsSolid() const; 10182: # 388 "/<>/external/onurbs/opennurbs_surface.h" 10182: bool IsAtSingularity( 10182: double s, 10182: double t, 10182: bool bExact = true 10182: ) const; 10182: # 406 "/<>/external/onurbs/opennurbs_surface.h" 10182: int IsAtSeam( 10182: double s, 10182: double t 10182: ) const; 10182: # 463 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 470 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 470 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: int* dtype= 10182: # 471 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 471 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 501 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 506 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 506 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: virtual 10182: ON_BOOL32 Reverse( 10182: int 10182: ) = 0; 10182: 10182: virtual 10182: ON_BOOL32 Transpose() = 0; 10182: 10182: 10182: ON_3dPoint PointAt( double, double ) const; 10182: ON_3dVector NormalAt( double, double ) const; 10182: ON_BOOL32 FrameAt( double u, double v, ON_Plane& frame) const; 10182: 10182: ON_BOOL32 EvPoint( 10182: double u, double v, 10182: ON_3dPoint& point, 10182: int quadrant = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 Ev1Der( 10182: double u, double v, 10182: ON_3dPoint& point, 10182: ON_3dVector& du, 10182: ON_3dVector& dv, 10182: int quadrant = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 Ev2Der( 10182: double u, double v, 10182: ON_3dPoint& point, 10182: ON_3dVector& du, 10182: ON_3dVector& dv, 10182: ON_3dVector& duu, 10182: ON_3dVector& duv, 10182: ON_3dVector& dvv, 10182: int quadrant= 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 EvNormal( 10182: double u, double v, 10182: ON_3dPoint& point, 10182: ON_3dVector& normal, 10182: int quadrant = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 EvNormal( 10182: double u, double v, 10182: ON_3dVector& normal, 10182: int quadrant = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 EvNormal( 10182: double u, double v, 10182: ON_3dPoint& point, 10182: ON_3dVector& du, 10182: ON_3dVector& dv, 10182: ON_3dVector& normal, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: 10182: virtual 10182: ON_BOOL32 Evaluate( 10182: double u, double v, 10182: int num_der, 10182: int array_stride, 10182: double* der_array, 10182: int quadrant = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* hint = 0 10182: 10182: ) const = 0; 10182: # 653 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: # 675 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 698 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 731 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: # 771 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: int GetNurbForm( 10182: ON_NurbsSurface& nurbs_surface, 10182: double tolerance = 0.0 10182: ) const; 10182: # 802 "/<>/external/onurbs/opennurbs_surface.h" 10182: virtual 10182: int HasNurbForm() const; 10182: # 824 "/<>/external/onurbs/opennurbs_surface.h" 10182: ON_NurbsSurface* NurbsSurface( 10182: ON_NurbsSurface* pNurbsSurface = 10182: # 825 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 825 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: double tolerance = 0.0, 10182: const ON_Interval* s_subdomain = 10182: # 827 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: # 827 "/<>/external/onurbs/opennurbs_surface.h" 10182: , 10182: const ON_Interval* t_subdomain = 10182: # 828 "/<>/external/onurbs/opennurbs_surface.h" 3 4 10182: __null 10182: 10182: # 829 "/<>/external/onurbs/opennurbs_surface.h" 10182: ) const; 10182: 10182: virtual 10182: bool GetSurfaceParameterFromNurbFormParameter( 10182: double nurbs_s, double nurbs_t, 10182: double* surface_s, double* surface_t 10182: ) const; 10182: 10182: virtual 10182: bool GetNurbFormParameterFromSurfaceParameter( 10182: double surface_s, double surface_t, 10182: double* nurbs_s, double* nurbs_t 10182: ) const; 10182: 10182: 10182: 10182: 10182: void DestroySurfaceTree(); 10182: }; 10182: 10182: class ON_SurfaceProperties 10182: { 10182: 10182: public: 10182: 10182: ON_SurfaceProperties(); 10182: # 864 "/<>/external/onurbs/opennurbs_surface.h" 10182: void Set( const ON_Surface* surface ); 10182: 10182: bool m_bIsSet; 10182: 10182: bool m_bHasSingularity; 10182: bool m_bIsSingular[4]; 10182: 10182: bool m_bHasSeam; 10182: bool m_bIsClosed[2]; 10182: 10182: private: 10182: bool m_bReserved[7]; 10182: 10182: public: 10182: ON_Interval m_domain[2]; 10182: 10182: private: 10182: unsigned char m_reserved[16]; 10182: 10182: public: 10182: 10182: const ON_Surface* m_surface; 10182: 10182: 10182: 10182: ON__INT_PTR m_tag; 10182: }; 10182: # 902 "/<>/external/onurbs/opennurbs_surface.h" 10182: class ON_SurfaceArray : public ON_SimpleArray 10182: { 10182: public: 10182: ON_SurfaceArray( int = 0 ); 10182: ~ON_SurfaceArray(); 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: void Destroy(); 10182: 10182: ON_BOOL32 Duplicate( ON_SurfaceArray& ) const; 10182: 10182: }; 10182: # 87 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_viewport.h" 1 10182: # 31 "/<>/external/onurbs/opennurbs_viewport.h" 10182: class ON_Viewport : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Viewport_ptr; public: static const ON_ClassId m_ON_Viewport_class_id; static ON_Viewport * Cast( ON_Object* ); static const ON_Viewport * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Viewport( const ON_Object*, ON_Object* ); public: ON_Viewport * Duplicate() const;; 10182: public: 10182: 10182: 10182: static const ON_3dVector Default3dCameraDirection; 10182: 10182: 10182: ON_Viewport(); 10182: ~ON_Viewport(); 10182: ON_Viewport& operator=( const ON_Viewport& ); 10182: 10182: bool IsValidCamera() const; 10182: bool IsValidFrustum() const; 10182: # 70 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 70 "/<>/external/onurbs/opennurbs_viewport.h" 3 4 10182: __null 10182: # 70 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ) const; 10182: # 80 "/<>/external/onurbs/opennurbs_viewport.h" 10182: void Dump( 10182: ON_TextLog& 10182: ) const; 10182: # 95 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: # 111 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: # 127 "/<>/external/onurbs/opennurbs_viewport.h" 10182: int Dimension() const; 10182: # 147 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 166 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: void Initialize(); 10182: 10182: ON::view_projection Projection() const; 10182: # 186 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetProjection( ON::view_projection projection ); 10182: # 202 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool ChangeToParallelProjection( bool bSymmetricFrustum ); 10182: # 228 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool ChangeToPerspectiveProjection( 10182: double target_distance, 10182: bool bSymmetricFrustum, 10182: double lens_length 10182: ); 10182: # 261 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool ChangeToTwoPointPerspectiveProjection( 10182: double target_distance, 10182: ON_3dVector up, 10182: double lens_length 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: bool IsPerspectiveProjection() const; 10182: # 280 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool IsTwoPointPerspectiveProjection() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsParallelProjection() const; 10182: 10182: 10182: 10182: bool SetCameraLocation( const ON_3dPoint& ); 10182: bool SetCameraDirection( const ON_3dVector& ); 10182: bool SetCameraUp( const ON_3dVector& ); 10182: 10182: ON_3dPoint CameraLocation() const; 10182: ON_3dVector CameraDirection() const; 10182: ON_3dVector CameraUp() const; 10182: 10182: bool CameraLocationIsLocked() const; 10182: bool CameraDirectionIsLocked() const; 10182: bool CameraUpIsLocked() const; 10182: bool FrustumIsLeftRightSymmetric() const; 10182: bool FrustumIsTopBottomSymmetric() const; 10182: 10182: void SetCameraLocationLock( bool bLockCameraLocation ); 10182: void SetCameraDirectionLock( bool bLockCameraDirection ) ; 10182: void SetCameraUpLock( bool bLockCameraUp ); 10182: void SetFrustumLeftRightSymmetry( bool bForceLeftRightSymmetry ); 10182: void SetFrustumTopBottomSymmetry( bool bForceTopBottomSymmetry ); 10182: void UnlockCamera(); 10182: void UnlockFrustumSymmetry(); 10182: 10182: 10182: bool GetCameraFrame( 10182: double*, 10182: double*, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: 10182: ON_3dVector CameraX() const; 10182: ON_3dVector CameraY() const; 10182: ON_3dVector CameraZ() const; 10182: 10182: 10182: bool IsCameraFrameWorldPlan( 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int*, 10182: int*, 10182: int* 10182: ); 10182: 10182: bool GetCameraExtents( 10182: 10182: 10182: int, 10182: int, 10182: const double*, 10182: ON_BoundingBox& cambbox, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool GetCameraExtents( 10182: 10182: 10182: const ON_BoundingBox&, 10182: ON_BoundingBox& cambbox, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool GetCameraExtents( 10182: 10182: 10182: ON_3dPoint&, 10182: double, 10182: ON_BoundingBox& cambox, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetFrustum( 10182: double left, 10182: double right, 10182: double bottom, 10182: double top, 10182: double near_dist, 10182: double far_dist 10182: ); 10182: bool GetFrustum( 10182: double* left, 10182: double* right, 10182: double* bottom, 10182: double* top, 10182: double* near_dist = 10182: # 385 "/<>/external/onurbs/opennurbs_viewport.h" 3 4 10182: __null 10182: # 385 "/<>/external/onurbs/opennurbs_viewport.h" 10182: , 10182: double* far_dist = 10182: # 386 "/<>/external/onurbs/opennurbs_viewport.h" 3 4 10182: __null 10182: 10182: # 387 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetFrustumAspect( double ); 10182: 10182: 10182: bool GetFrustumAspect( double& ) const; 10182: 10182: 10182: bool GetFrustumCenter( double* ) const; 10182: 10182: 10182: 10182: 10182: 10182: double FrustumLeft() const; 10182: double FrustumRight() const; 10182: double FrustumBottom() const; 10182: double FrustumTop() const; 10182: double FrustumNear() const; 10182: double FrustumFar() const; 10182: 10182: 10182: 10182: 10182: 10182: double FrustumWidth() const; 10182: 10182: 10182: 10182: 10182: 10182: double FrustumHeight() const; 10182: 10182: 10182: 10182: 10182: 10182: double FrustumMinimumDiameter() const; 10182: 10182: 10182: 10182: 10182: 10182: double FrustumMaximumDiameter() const; 10182: 10182: 10182: bool SetFrustumNearFar( 10182: const double* bboxmin, 10182: const double* bboxmax 10182: ); 10182: bool SetFrustumNearFar( 10182: const double* center, 10182: double radius 10182: ); 10182: bool SetFrustumNearFar( 10182: double near_dist, 10182: double far_dist 10182: ); 10182: # 473 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool ChangeToSymmetricFrustum( 10182: bool bLeftRightSymmetric, 10182: bool bTopBottomSymmetric, 10182: double target_distance 10182: ); 10182: # 498 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetPointDepth( 10182: ON_3dPoint point, 10182: double* near_dist, 10182: double* far_dist, 10182: bool bGrowNearFar=false 10182: ) const; 10182: # 523 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetPointDepth( 10182: ON_3dPoint point, 10182: double* view_plane_depth 10182: ) const; 10182: # 560 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetBoundingBoxDepth( 10182: ON_BoundingBox bbox, 10182: double* near_dist, 10182: double* far_dist, 10182: bool bGrowNearFar=false 10182: ) const; 10182: # 597 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetBoundingBoxProjectionExtents( 10182: ON_BoundingBox bbox, 10182: ON_Interval& x_extents, 10182: ON_Interval& y_extents 10182: ) const; 10182: # 622 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetSphereDepth( 10182: ON_Sphere sphere, 10182: double* near_dist, 10182: double* far_dist, 10182: bool bGrowNearFar=false 10182: ) const; 10182: # 663 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetFrustumNearFar( 10182: double near_dist, 10182: double far_dist, 10182: double min_near_dist, 10182: double min_near_over_far, 10182: double target_dist 10182: ); 10182: 10182: bool SetFrustumNearFar( 10182: double near_dist, 10182: double far_dist, 10182: double min_near_dist, 10182: double min_near_over_far, 10182: double target_dist, 10182: double relative_depth_bias 10182: ); 10182: # 692 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetNearPlane( 10182: ON_Plane& near_plane 10182: ) const; 10182: 10182: bool GetNearPlaneEquation( 10182: ON_PlaneEquation& near_plane_equation 10182: ) const; 10182: # 711 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFarPlane( 10182: ON_Plane& far_plane 10182: ) const; 10182: 10182: bool GetFarPlaneEquation( 10182: ON_PlaneEquation& far_plane_equation 10182: ) const; 10182: # 739 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetViewPlane( 10182: double view_plane_depth, 10182: ON_Plane& view_plane 10182: ) const; 10182: 10182: bool GetViewPlaneEquation( 10182: double view_plane_depth, 10182: ON_PlaneEquation& view_plane_equation 10182: ) const; 10182: # 762 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFrustumLeftPlane( 10182: ON_Plane& left_plane 10182: ) const; 10182: 10182: bool GetFrustumLeftPlaneEquation( 10182: ON_PlaneEquation& left_plane_equation 10182: ) const; 10182: # 783 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFrustumRightPlane( 10182: ON_Plane& right_plane 10182: ) const; 10182: 10182: bool GetFrustumRightPlaneEquation( 10182: ON_PlaneEquation& right_plane_equation 10182: ) const; 10182: # 804 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFrustumBottomPlane( 10182: ON_Plane& bottom_plane 10182: ) const; 10182: 10182: bool GetFrustumBottomPlaneEquation( 10182: ON_PlaneEquation& bottom_plane_equation 10182: ) const; 10182: # 824 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFrustumTopPlane( 10182: ON_Plane& top_plane 10182: ) const; 10182: 10182: bool GetFrustumTopPlaneEquation( 10182: ON_PlaneEquation& top_plane_equation 10182: ) const; 10182: # 843 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetNearRect( 10182: ON_3dPoint& left_bottom, 10182: ON_3dPoint& right_bottom, 10182: ON_3dPoint& left_top, 10182: ON_3dPoint& right_top 10182: ) const; 10182: # 861 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFarRect( 10182: ON_3dPoint& left_bottom, 10182: ON_3dPoint& right_bottom, 10182: ON_3dPoint& left_top, 10182: ON_3dPoint& right_top 10182: ) const; 10182: # 889 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetViewPlaneRect( 10182: double view_plane_depth, 10182: ON_3dPoint& left_bottom, 10182: ON_3dPoint& right_bottom, 10182: ON_3dPoint& left_top, 10182: ON_3dPoint& right_top 10182: ) const; 10182: # 931 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetScreenPort( 10182: int port_left, 10182: int port_right, 10182: int port_bottom, 10182: int port_top, 10182: int port_near = 0, 10182: int port_far = 0 10182: ); 10182: 10182: bool GetScreenPort( 10182: int* left, 10182: int* right, 10182: int* port_bottom, 10182: int* port_top, 10182: int* port_near= 10182: # 945 "/<>/external/onurbs/opennurbs_viewport.h" 3 4 10182: __null 10182: # 945 "/<>/external/onurbs/opennurbs_viewport.h" 10182: , 10182: int* port_far= 10182: # 946 "/<>/external/onurbs/opennurbs_viewport.h" 3 4 10182: __null 10182: 10182: # 947 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: int ScreenPortWidth() const; 10182: 10182: 10182: 10182: 10182: 10182: int ScreenPortHeight() const; 10182: 10182: bool GetScreenPortAspect( double& ) const; 10182: 10182: bool GetCameraAngle( 10182: double* half_diagonal_angle, 10182: double* half_vertical_angle, 10182: double* half_horizontal_angle 10182: ) const; 10182: bool GetCameraAngle( 10182: double* half_smallest_angle 10182: ) const; 10182: bool SetCameraAngle( 10182: double half_smallest_angle 10182: 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool GetCamera35mmLensLength( 10182: double* lens_length 10182: ) const; 10182: bool SetCamera35mmLensLength( 10182: double lens_length 10182: ); 10182: 10182: 10182: bool GetCamera35mmLenseLength( 10182: double* lens_length 10182: ) const; 10182: 10182: 10182: bool SetCamera35mmLenseLength( 10182: double lens_length 10182: ); 10182: 10182: bool GetXform( 10182: ON::coordinate_system srcCS, 10182: ON::coordinate_system destCS, 10182: ON_Xform& matrix 10182: ) const; 10182: # 1019 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetFrustumLine( 10182: double screenx, 10182: double screeny, 10182: ON_Line& world_line 10182: ) const; 10182: 10182: 10182: bool GetWorldToScreenScale( 10182: const ON_3dPoint& point_in_frustum, 10182: double* pixels_per_unit 10182: ) const; 10182: 10182: bool GetCoordinateSprite( 10182: int, 10182: int, int, 10182: int[3], 10182: double [3][2] 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool Extents( 10182: double half_view_angle, 10182: 10182: const ON_BoundingBox& world_bbox 10182: ); 10182: bool Extents( 10182: double half_view_angle, 10182: 10182: const ON_3dPoint& center, 10182: double radius 10182: ); 10182: # 1060 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool ZoomToScreenRect( 10182: int screen_x0, 10182: int screen_y0, 10182: int screen_x1, 10182: int screen_y1 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool DollyCamera( 10182: 10182: const ON_3dVector& dolly_vector 10182: ); 10182: 10182: 10182: 10182: 10182: bool GetDollyCameraVector( 10182: int screen_x0, 10182: int screen_y0, 10182: int screen_x1, 10182: int screen_y1, 10182: double proj_plane_dist, 10182: 10182: ON_3dVector& dolly_vector 10182: ) const; 10182: 10182: 10182: 10182: bool DollyFrustum( 10182: double dolly_distance 10182: ); 10182: # 1110 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetViewScale( double x, double y ); 10182: void GetViewScale( double* x, double* y ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Xform ClipModXform() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Xform ClipModInverseXform() const; 10182: 10182: 10182: 10182: 10182: 10182: bool ClipModXformIsIdentity() const; 10182: # 1153 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_3dPoint FrustumCenterPoint( double target_distance ) const; 10182: # 1166 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_3dPoint TargetPoint() const; 10182: # 1180 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetTargetPoint( ON_3dPoint target_point ); 10182: # 1200 "/<>/external/onurbs/opennurbs_viewport.h" 10182: double TargetDistance( bool bUseFrustumCenterFallback ) const; 10182: # 1216 "/<>/external/onurbs/opennurbs_viewport.h" 10182: static void GetPerspectiveClippingPlaneConstraints( 10182: ON_3dPoint camera_location, 10182: unsigned int depth_buffer_bit_depth, 10182: double* min_near_dist, 10182: double* min_near_over_far 10182: ); 10182: # 1251 "/<>/external/onurbs/opennurbs_viewport.h" 10182: double ClipCoordDepthBias( 10182: double relative_depth_bias, 10182: double clip_z, 10182: double clip_w 10182: ) const; 10182: # 1289 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool GetClipCoordDepthBiasXform( 10182: double relative_depth_bias, 10182: ON_Xform& clip_bias 10182: ) const; 10182: # 1304 "/<>/external/onurbs/opennurbs_viewport.h" 10182: void SetPerspectiveClippingPlaneConstraints( 10182: unsigned int depth_buffer_bit_depth 10182: ); 10182: # 1318 "/<>/external/onurbs/opennurbs_viewport.h" 10182: void SetPerspectiveMinNearOverFar(double min_near_over_far); 10182: # 1331 "/<>/external/onurbs/opennurbs_viewport.h" 10182: double PerspectiveMinNearOverFar() const; 10182: # 1343 "/<>/external/onurbs/opennurbs_viewport.h" 10182: void SetPerspectiveMinNearDist(double min_near_dist); 10182: # 1356 "/<>/external/onurbs/opennurbs_viewport.h" 10182: double PerspectiveMinNearDist() const; 10182: # 1374 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetViewportId(const ON_UUID& viewport_id ); 10182: 10182: ON_UUID ViewportId(void) const; 10182: # 1386 "/<>/external/onurbs/opennurbs_viewport.h" 10182: void ChangeViewportId(const ON_UUID& viewport_id); 10182: # 1420 "/<>/external/onurbs/opennurbs_viewport.h" 10182: int InViewFrustum( 10182: ON_3dPoint P 10182: ) const; 10182: int InViewFrustum( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_3fPoint* p 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_3dPoint* p 10182: ) const; 10182: int InViewFrustum( 10182: int count, 10182: const ON_4dPoint* p 10182: ) const; 10182: 10182: 10182: protected: 10182: 10182: 10182: 10182: bool m_bValidCamera; 10182: bool m_bValidFrustum; 10182: bool m_bValidPort; 10182: unsigned char m_reserved1; 10182: 10182: 10182: 10182: 10182: ON::view_projection m_projection; 10182: # 1466 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool m_bLockCamUp; 10182: bool m_bLockCamDir; 10182: bool m_bLockCamLoc; 10182: unsigned char m_frustum_symmetry_flags; 10182: 10182: ON_3dPoint m_CamLoc; 10182: ON_3dVector m_CamDir; 10182: ON_3dVector m_CamUp; 10182: 10182: 10182: ON_3dVector m_CamX; 10182: ON_3dVector m_CamY; 10182: ON_3dVector m_CamZ; 10182: 10182: 10182: 10182: 10182: 10182: 10182: double m_frus_left, m_frus_right; 10182: double m_frus_bottom, m_frus_top; 10182: double m_frus_near, m_frus_far; 10182: # 1496 "/<>/external/onurbs/opennurbs_viewport.h" 10182: int m_port_left, m_port_right; 10182: int m_port_bottom, m_port_top; 10182: 10182: 10182: 10182: 10182: 10182: int m_port_near, m_port_far; 10182: # 1513 "/<>/external/onurbs/opennurbs_viewport.h" 10182: ON_3dPoint m_target_point; 10182: 10182: private: 10182: 10182: 10182: 10182: ON_UUID m_viewport_id; 10182: 10182: bool SetCameraFrame(); 10182: # 1535 "/<>/external/onurbs/opennurbs_viewport.h" 10182: bool SetClipModXform( ON_Xform clip_mod_xform ); 10182: ON_Xform m_clip_mods; 10182: ON_Xform m_clip_mods_inverse; 10182: 10182: 10182: 10182: double m__MIN_NEAR_DIST; 10182: double m__MIN_NEAR_OVER_FAR; 10182: 10182: public: 10182: static const double DefaultNearDist; 10182: static const double DefaultFarDist; 10182: static const double DefaultMinNearDist; 10182: static const double DefaultMinNearOverFar; 10182: }; 10182: 10182: 10182: bool 10182: ON_GetViewportRotationAngles( 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: const ON_3dVector&, 10182: double*, 10182: double*, 10182: double* 10182: ); 10182: 10182: 10182: bool 10182: ON_ViewportFromRhinoView( 10182: ON::view_projection, 10182: const ON_3dPoint&, 10182: double, 10182: double, 10182: double, 10182: double, 10182: double, 10182: int, 10182: int, 10182: ON_Viewport& 10182: ); 10182: # 1593 "/<>/external/onurbs/opennurbs_viewport.h" 10182: 10182: bool 10182: ON_IntersectViewFrustumPlane( 10182: const ON_Viewport& vp, 10182: const ON_PlaneEquation& plane_equation, 10182: ON_SimpleArray& points 10182: ); 10182: # 88 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_texture_mapping.h" 1 10182: # 30 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: class ON_Line; 10182: class ON_BrepFace; 10182: class ON_3dPoint; 10182: 10182: typedef int ( *TEXMAP_INTERSECT_LINE_SURFACE )( const ON_Line*, const ON_BrepFace*, ON_SimpleArray& ); 10182: typedef bool ( *TEXMAP_BREP_FACE_CLOSEST_POINT )( const ON_BrepFace*, const ON_3dPoint*, ON_3dPoint& ); 10182: 10182: class ON_TextureMapping : public ON_Object 10182: { 10182: public: 10182: protected: static void* m_s_ON_TextureMapping_ptr; public: static const ON_ClassId m_ON_TextureMapping_class_id; static ON_TextureMapping * Cast( ON_Object* ); static const ON_TextureMapping * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_TextureMapping( const ON_Object*, ON_Object* ); public: ON_TextureMapping * Duplicate() const;; 10182: 10182: ON_TextureMapping(); 10182: ~ON_TextureMapping(); 10182: 10182: 10182: 10182: ON_TextureMapping(const ON_TextureMapping& src); 10182: ON_TextureMapping& operator=(const ON_TextureMapping& src); 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 51 "/<>/external/onurbs/opennurbs_texture_mapping.h" 3 4 10182: __null 10182: # 51 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: 10182: void Default(); 10182: 10182: virtual 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: bool RequiresVertexNormals() const; 10182: bool IsPeriodic(void) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetSurfaceParameterMapping(void); 10182: # 126 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool SetPlaneMapping( 10182: const ON_Plane& plane, 10182: const ON_Interval& dx, 10182: const ON_Interval& dy, 10182: const ON_Interval& dz 10182: ); 10182: # 156 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool SetCylinderMapping( 10182: const ON_Cylinder& cylinder, 10182: bool bIsCapped 10182: ); 10182: # 174 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool SetSphereMapping( 10182: const ON_Sphere& sphere 10182: ); 10182: # 228 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool SetBoxMapping( 10182: const ON_Plane& plane, 10182: ON_Interval dx, 10182: ON_Interval dy, 10182: ON_Interval dz, 10182: bool bIsCapped 10182: ); 10182: # 255 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool GetMappingPlane( 10182: ON_Plane& plane, 10182: ON_Interval& dx, 10182: ON_Interval& dy, 10182: ON_Interval& dz 10182: ) const; 10182: # 276 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool GetMappingCylinder( 10182: ON_Cylinder& cylinder 10182: ) const; 10182: # 294 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool GetMappingSphere( 10182: ON_Sphere& sphere 10182: ) const; 10182: # 326 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool GetMappingBox( 10182: ON_Plane& plane, 10182: ON_Interval& dx, 10182: ON_Interval& dy, 10182: ON_Interval& dz 10182: ) const; 10182: # 345 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool ReverseTextureCoordinate( int dir ); 10182: # 358 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool SwapTextureCoordinate( int i, int j ); 10182: # 373 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool TileTextureCoordinate( int dir, double count, double offset ); 10182: # 412 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: virtual 10182: int Evaluate( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T 10182: ) const; 10182: 10182: virtual 10182: int Evaluate( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T, 10182: const ON_Xform& P_xform, 10182: const ON_Xform& N_xform 10182: ) const; 10182: 10182: int EvaluatePlaneMapping( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T 10182: ) const; 10182: 10182: int EvaluateSphereMapping( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T 10182: ) const; 10182: 10182: int EvaluateCylinderMapping( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T 10182: ) const; 10182: 10182: int EvaluateBoxMapping( 10182: const ON_3dPoint& P, 10182: const ON_3dVector& N, 10182: ON_3dPoint* T 10182: ) const; 10182: # 469 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool HasMatchingTextureCoordinates( 10182: const ON_Mesh& mesh, 10182: const ON_Xform* object_xform = 0 10182: ) const; 10182: bool HasMatchingTextureCoordinates( 10182: const class ON_MappingTag& tag, 10182: const ON_Xform* object_xform = 0 10182: ) const; 10182: # 523 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: bool GetTextureCoordinates( 10182: const ON_Mesh& mesh, 10182: ON_SimpleArray& T, 10182: const ON_Xform* mesh_xform = 0, 10182: bool bLazy = false, 10182: ON_SimpleArray* Tside = 0 10182: ) const; 10182: 10182: bool GetTextureCoordinates( 10182: const ON_Mesh& mesh, 10182: ON_SimpleArray& T, 10182: const ON_Xform* mesh_xform = 0, 10182: bool bLazy = false, 10182: ON_SimpleArray* Tside = 0 10182: ) const; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: ON_UUID m_mapping_id; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_mapping_index; 10182: 10182: 10182: 10182: ON_wString m_mapping_name; 10182: # 569 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: enum TYPE 10182: { 10182: no_mapping = 0, 10182: 10182: srfp_mapping = 1, 10182: plane_mapping = 2, 10182: cylinder_mapping = 3, 10182: sphere_mapping = 4, 10182: box_mapping = 5, 10182: mesh_mapping_primitive = 6, 10182: srf_mapping_primitive = 7, 10182: brep_mapping_primitive = 8, 10182: 10182: force_32bit_mapping_type = 0xFFFFFFFF 10182: }; 10182: 10182: TYPE m_type; 10182: # 609 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: enum PROJECTION 10182: { 10182: no_projection = 0, 10182: clspt_projection = 1, 10182: ray_projection = 2, 10182: force_32bit_mapping_projection = 0xFFFFFFFF 10182: }; 10182: 10182: PROJECTION m_projection; 10182: # 629 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: enum TEXTURE_SPACE 10182: { 10182: single = 0, 10182: divided = 1, 10182: 10182: 10182: 10182: 10182: force_32bit_texture_space = 0xFFFFFFFF 10182: }; 10182: 10182: TEXTURE_SPACE m_texture_space; 10182: 10182: 10182: 10182: 10182: 10182: bool m_bCapped; 10182: # 658 "/<>/external/onurbs/opennurbs_texture_mapping.h" 10182: ON_Xform m_Pxyz; 10182: ON_Xform m_Nxyz; 10182: 10182: 10182: 10182: ON_Xform m_uvw; 10182: 10182: 10182: ON_Object* m_mapping_primitive; 10182: 10182: static TYPE TypeFromInt( int i ); 10182: static PROJECTION ProjectionFromInt( int i ); 10182: static TEXTURE_SPACE TextureSpaceFromInt( int i); 10182: 10182: ON__UINT32 MappingCRC() const; 10182: }; 10182: # 89 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_texture.h" 1 10182: # 31 "/<>/external/onurbs/opennurbs_texture.h" 10182: class ON_Texture : public ON_Object 10182: { 10182: public: 10182: protected: static void* m_s_ON_Texture_ptr; public: static const ON_ClassId m_ON_Texture_class_id; static ON_Texture * Cast( ON_Object* ); static const ON_Texture * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Texture( const ON_Object*, ON_Object* ); public: ON_Texture * Duplicate() const;; 10182: 10182: ON_Texture(); 10182: ~ON_Texture(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 43 "/<>/external/onurbs/opennurbs_texture.h" 3 4 10182: __null 10182: # 43 "/<>/external/onurbs/opennurbs_texture.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: 10182: void Default(); 10182: 10182: int Compare( const ON_Texture& other ) const; 10182: # 76 "/<>/external/onurbs/opennurbs_texture.h" 10182: bool ReverseTextureCoordinate( int dir ); 10182: # 89 "/<>/external/onurbs/opennurbs_texture.h" 10182: bool SwapTextureCoordinate( int i, int j ); 10182: # 104 "/<>/external/onurbs/opennurbs_texture.h" 10182: bool TileTextureCoordinate( int dir, double count, double offset ); 10182: # 117 "/<>/external/onurbs/opennurbs_texture.h" 10182: bool IsTiled( int dir, double* count, double* offset ) const; 10182: 10182: 10182: ON_UUID m_texture_id; 10182: 10182: 10182: enum MAPPING_CHANNEL 10182: { 10182: tc_channel = 0, 10182: 10182: default_channel = 1, 10182: 10182: srfp_channel = 0xFFFFFFFE, 10182: emap_channel = 0xFFFFFFFF 10182: }; 10182: # 142 "/<>/external/onurbs/opennurbs_texture.h" 10182: int m_mapping_channel_id; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_wString m_filename; 10182: bool m_filename_bRelativePath; 10182: 10182: 10182: 10182: 10182: 10182: bool m_bOn; 10182: 10182: 10182: 10182: 10182: enum TYPE 10182: { 10182: no_texture_type = 0, 10182: 10182: bitmap_texture = 1, 10182: bump_texture = 2, 10182: transparency_texture = 3, 10182: 10182: 10182: emap_texture = 86, 10182: 10182: force_32bit_texture_type = 0xFFFFFFFF 10182: }; 10182: 10182: TYPE m_type; 10182: 10182: 10182: 10182: enum MODE 10182: { 10182: no_texture_mode = 0, 10182: modulate_texture = 1, 10182: decal_texture = 2, 10182: blend_texture = 3, 10182: 10182: 10182: 10182: force_32bit_texture_mode = 0xFFFFFFFF 10182: }; 10182: 10182: MODE m_mode; 10182: 10182: enum FILTER 10182: { 10182: nearest_filter = 0, 10182: linear_filter = 1, 10182: 10182: force_32bit_texture_filter = 0xFFFFFFFF 10182: }; 10182: 10182: 10182: 10182: 10182: FILTER m_minfilter; 10182: 10182: 10182: 10182: 10182: FILTER m_magfilter; 10182: 10182: enum WRAP 10182: { 10182: repeat_wrap = 0, 10182: clamp_wrap = 1, 10182: 10182: force_32bit_texture_wrap = 0xFFFFFFFF 10182: }; 10182: 10182: WRAP m_wrapu; 10182: WRAP m_wrapv; 10182: WRAP m_wrapw; 10182: 10182: 10182: bool m_bApply_uvw; 10182: ON_Xform m_uvw; 10182: 10182: 10182: 10182: 10182: ON_Color m_border_color; 10182: # 249 "/<>/external/onurbs/opennurbs_texture.h" 10182: ON_Color m_transparent_color; 10182: # 272 "/<>/external/onurbs/opennurbs_texture.h" 10182: ON_UUID m_transparency_texture_id; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Interval m_bump_scale; 10182: # 294 "/<>/external/onurbs/opennurbs_texture.h" 10182: double m_blend_constant_A; 10182: double m_blend_A[4]; 10182: ON_Color m_blend_constant_RGB; 10182: double m_blend_RGB[4]; 10182: 10182: 10182: 10182: 10182: 10182: int m_blend_order; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_runtime_ptr_id; 10182: const void* m_runtime_ptr; 10182: 10182: static TYPE TypeFromInt( int i ); 10182: static MODE ModeFromInt( int i ); 10182: static FILTER FilterFromInt( int i ); 10182: static WRAP WrapFromInt( int i ); 10182: }; 10182: # 90 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_material.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_material.h" 10182: class ON_Material : public ON_Object 10182: { 10182: protected: static void* m_s_ON_Material_ptr; public: static const ON_ClassId m_ON_Material_class_id; static ON_Material * Cast( ON_Object* ); static const ON_Material * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Material( const ON_Object*, ON_Object* ); public: ON_Material * Duplicate() const;; 10182: 10182: public: 10182: static double MaxShine(); 10182: 10182: ON_Material(); 10182: ~ON_Material(); 10182: 10182: 10182: bool operator==(const ON_Material&) const; 10182: bool operator!=(const ON_Material&) const; 10182: 10182: void Default(); 10182: # 63 "/<>/external/onurbs/opennurbs_material.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 63 "/<>/external/onurbs/opennurbs_material.h" 3 4 10182: __null 10182: # 63 "/<>/external/onurbs/opennurbs_material.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Compare( const ON_Material& other ) const; 10182: 10182: 10182: ON_Color Ambient() const; 10182: 10182: ON_Color Diffuse() const; 10182: 10182: ON_Color Emission() const; 10182: 10182: ON_Color Specular() const; 10182: 10182: 10182: void SetAmbient( ON_Color ); 10182: 10182: void SetDiffuse( ON_Color ); 10182: 10182: void SetEmission( ON_Color ); 10182: 10182: void SetSpecular( ON_Color ); 10182: 10182: 10182: double Shine() const; 10182: void SetShine( double ); 10182: 10182: 10182: double Transparency() const; 10182: void SetTransparency( double ); 10182: 10182: 10182: int MaterialIndex() const; 10182: 10182: void SetMaterialIndex( int ); 10182: 10182: 10182: ON_UUID MaterialPlugInUuid() const; 10182: 10182: 10182: void SetMaterialPlugInUuid( ON_UUID ); 10182: 10182: 10182: const wchar_t* MaterialName() const; 10182: 10182: 10182: void SetMaterialName( const wchar_t* ); 10182: 10182: 10182: 10182: ON_UUID m_material_id; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_material_index; 10182: 10182: 10182: ON_wString m_material_name; 10182: 10182: ON_wString m_flamingo_library; 10182: 10182: 10182: ON_Color m_ambient; 10182: ON_Color m_diffuse; 10182: ON_Color m_emission; 10182: ON_Color m_specular; 10182: ON_Color m_reflection; 10182: ON_Color m_transparent; 10182: double m_index_of_refraction; 10182: double m_reflectivity; 10182: double m_shine; 10182: double m_transparency; 10182: 10182: bool m_bShared; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_bDisableLighting; 10182: # 176 "/<>/external/onurbs/opennurbs_material.h" 10182: private: 10182: unsigned char m_reserved1[2]; 10182: 10182: unsigned char m_reserved2[4]; 10182: 10182: public: 10182: # 194 "/<>/external/onurbs/opennurbs_material.h" 10182: int FindTexture( 10182: ON_UUID texture_id 10182: ) const; 10182: # 241 "/<>/external/onurbs/opennurbs_material.h" 10182: int FindTexture( 10182: const wchar_t* filename, 10182: ON_Texture::TYPE type, 10182: int i0 = -1 10182: ) const; 10182: # 262 "/<>/external/onurbs/opennurbs_material.h" 10182: int AddTexture( 10182: const ON_Texture& tx 10182: ); 10182: # 280 "/<>/external/onurbs/opennurbs_material.h" 10182: int AddTexture( 10182: const wchar_t* filename, 10182: ON_Texture::TYPE type 10182: ); 10182: # 295 "/<>/external/onurbs/opennurbs_material.h" 10182: int DeleteTexture( 10182: const wchar_t* filename, 10182: ON_Texture::TYPE type 10182: ); 10182: 10182: ON_ObjectArray m_textures; 10182: # 320 "/<>/external/onurbs/opennurbs_material.h" 10182: ON_SimpleArray m_material_channel; 10182: 10182: ON_UUID m_plugin_id; 10182: 10182: private: 10182: static double m_max_shine; 10182: bool ReadV3Helper( ON_BinaryArchive& file, int minor_version ); 10182: bool WriteV3Helper( ON_BinaryArchive& file ) const; 10182: }; 10182: # 91 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_layer.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_layer.h" 10182: class ON_Layer : public ON_Object 10182: { 10182: protected: static void* m_s_ON_Layer_ptr; public: static const ON_ClassId m_ON_Layer_class_id; static ON_Layer * Cast( ON_Object* ); static const ON_Layer * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Layer( const ON_Object*, ON_Object* ); public: ON_Layer * Duplicate() const;; 10182: 10182: public: 10182: 10182: ON_Layer(); 10182: ~ON_Layer(); 10182: # 54 "/<>/external/onurbs/opennurbs_layer.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 54 "/<>/external/onurbs/opennurbs_layer.h" 3 4 10182: __null 10182: # 54 "/<>/external/onurbs/opennurbs_layer.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: bool SetLayerName( const char* ); 10182: bool SetLayerName( const wchar_t* ); 10182: const ON_wString& LayerName() const; 10182: # 96 "/<>/external/onurbs/opennurbs_layer.h" 10182: static const wchar_t* LayerNameReferenceDelimiter(); 10182: # 110 "/<>/external/onurbs/opennurbs_layer.h" 10182: static const wchar_t* LayerNamePathDelimiter(); 10182: # 121 "/<>/external/onurbs/opennurbs_layer.h" 10182: static bool GetLeafName( const wchar_t* layer_name, ON_wString& leaf_name); 10182: # 132 "/<>/external/onurbs/opennurbs_layer.h" 10182: static bool GetParentName( const wchar_t* layer_name, ON_wString& parent_path_name ); 10182: # 148 "/<>/external/onurbs/opennurbs_layer.h" 10182: static bool RemoveReferenceName( const wchar_t* layer_name, ON_wString& layer_path_name ); 10182: # 159 "/<>/external/onurbs/opennurbs_layer.h" 10182: static bool GetReferenceName( const wchar_t* layer_name, ON_wString& reference_name ); 10182: 10182: 10182: 10182: 10182: enum PER_VIEWPORT_SETTINGS 10182: { 10182: per_viewport_none = 0, 10182: 10182: per_viewport_id = 1, 10182: per_viewport_color = 2, 10182: per_viewport_plot_color = 4, 10182: per_viewport_plot_weight = 8, 10182: per_viewport_visible = 16, 10182: per_viewport_persistent_visibility = 32, 10182: 10182: per_viewport_all_settings = 0xFFFFFFFF 10182: 10182: }; 10182: # 196 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool HasPerViewportSettings( 10182: ON_UUID viewport_id, 10182: unsigned int settings_mask 10182: ) const; 10182: # 210 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool HasPerViewportSettings( 10182: const ON_UUID& viewport_id 10182: ) const; 10182: # 227 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool CopyPerViewportSettings( 10182: ON_UUID source_viewport_id, 10182: ON_UUID destination_viewport_id 10182: ); 10182: # 252 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool CopyPerViewportSettings( 10182: const ON_Layer& source_layer, 10182: ON_UUID viewport_id, 10182: unsigned int settings_mask 10182: ); 10182: # 267 "/<>/external/onurbs/opennurbs_layer.h" 10182: void DeletePerViewportSettings( 10182: const ON_UUID& viewport_id 10182: ) const; 10182: # 280 "/<>/external/onurbs/opennurbs_layer.h" 10182: void CullPerViewportSettings( 10182: int viewport_id_count, 10182: const ON_UUID* viewport_id_list 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON__UINT32 PerViewportSettingsCRC() const; 10182: # 303 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetColor( ON_Color layer_color ); 10182: # 316 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPerViewportColor( ON_UUID viewport_id, ON_Color layer_color ); 10182: 10182: 10182: void SetColor( ON_Color, const ON_UUID& ); 10182: # 330 "/<>/external/onurbs/opennurbs_layer.h" 10182: ON_Color Color() const; 10182: # 341 "/<>/external/onurbs/opennurbs_layer.h" 10182: ON_Color PerViewportColor( ON_UUID viewport_id ) const; 10182: 10182: 10182: ON_Color Color( const ON_UUID& ) const; 10182: # 356 "/<>/external/onurbs/opennurbs_layer.h" 10182: void DeletePerViewportColor( const ON_UUID& viewport_id ); 10182: # 369 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPlotColor( ON_Color plot_color ); 10182: 10182: void SetPerViewportPlotColor( ON_UUID viewport_id, ON_Color plot_color ); 10182: 10182: 10182: void SetPlotColor( ON_Color, const ON_UUID& ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Color PlotColor() const; 10182: # 392 "/<>/external/onurbs/opennurbs_layer.h" 10182: ON_Color PerViewportPlotColor( ON_UUID viewport_id ) const; 10182: 10182: 10182: ON_Color PlotColor( const ON_UUID& ) const; 10182: # 407 "/<>/external/onurbs/opennurbs_layer.h" 10182: void DeletePerViewportPlotColor( const ON_UUID& viewport_id ); 10182: # 417 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool SetLinetypeIndex( int linetype_index ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int LinetypeIndex() const; 10182: # 434 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool IsVisible() const; 10182: # 448 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetVisible( bool bVisible ); 10182: # 475 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool PersistentVisibility() const; 10182: # 490 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPersistentVisibility( bool bPersistentVisibility ); 10182: # 504 "/<>/external/onurbs/opennurbs_layer.h" 10182: void UnsetPersistentVisibility(); 10182: # 516 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool PerViewportIsVisible( ON_UUID viewport_id ) const; 10182: 10182: 10182: bool IsVisible( const ON_UUID& ) const; 10182: # 535 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPerViewportVisible( ON_UUID viewport_id, bool bVisible ); 10182: 10182: 10182: void SetVisible( bool, const ON_UUID& ); 10182: # 562 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool PerViewportPersistentVisibility( ON_UUID viewport_id ) const; 10182: # 577 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPerViewportPersistentVisibility( ON_UUID viewport_id, bool bPersistentVisibility ); 10182: 10182: void UnsetPerViewportPersistentVisibility( ON_UUID viewport_id ); 10182: # 591 "/<>/external/onurbs/opennurbs_layer.h" 10182: void DeletePerViewportVisible( const ON_UUID& viewport_id ); 10182: # 607 "/<>/external/onurbs/opennurbs_layer.h" 10182: void GetPerViewportVisibilityViewportIds( 10182: ON_SimpleArray& viewport_id_list 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsLocked() const; 10182: # 628 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetLocked( bool bLocked ); 10182: # 654 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool PersistentLocking() const; 10182: # 669 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPersistentLocking(bool bPersistentLocking); 10182: # 682 "/<>/external/onurbs/opennurbs_layer.h" 10182: void UnsetPersistentLocking(); 10182: 10182: 10182: 10182: 10182: 10182: bool IsVisibleAndNotLocked() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsVisibleAndLocked() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetRenderMaterialIndex( int ); 10182: int RenderMaterialIndex() const; 10182: 10182: bool SetLayerIndex( int ); 10182: int LayerIndex() const; 10182: 10182: bool SetIgesLevel( int ); 10182: int IgesLevel() const; 10182: # 719 "/<>/external/onurbs/opennurbs_layer.h" 10182: double PlotWeight() const; 10182: 10182: double PerViewportPlotWeight( ON_UUID viewport_id ) const; 10182: 10182: 10182: double PlotWeight( const ON_UUID& ) const; 10182: # 734 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPlotWeight(double plot_weight_mm); 10182: # 744 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SetPerViewportPlotWeight(ON_UUID viewport_id, double plot_weight_mm); 10182: 10182: 10182: void SetPlotWeight(double, const ON_UUID& ); 10182: # 759 "/<>/external/onurbs/opennurbs_layer.h" 10182: void DeletePerViewportPlotWeight( const ON_UUID& viewport_id ); 10182: # 769 "/<>/external/onurbs/opennurbs_layer.h" 10182: int UpdateViewportIds( 10182: const ON_UuidPairList& viewport_id_map 10182: ); 10182: 10182: public: 10182: 10182: int m_layer_index; 10182: ON_UUID m_layer_id; 10182: ON_UUID m_parent_layer_id; 10182: 10182: 10182: 10182: 10182: 10182: int m_iges_level; 10182: # 801 "/<>/external/onurbs/opennurbs_layer.h" 10182: int m_material_index; 10182: ON_RenderingAttributes m_rendering_attributes; 10182: 10182: int m_linetype_index; 10182: # 815 "/<>/external/onurbs/opennurbs_layer.h" 10182: ON_Color m_color; 10182: ON_UUID m_display_material_id; 10182: 10182: 10182: ON_Color m_plot_color; 10182: 10182: double m_plot_weight_mm; 10182: 10182: 10182: ON_wString m_name; 10182: 10182: bool m_bVisible; 10182: bool m_bLocked; 10182: bool m_bExpanded; 10182: # 837 "/<>/external/onurbs/opennurbs_layer.h" 10182: enum LAYER_SETTINGS 10182: { 10182: no_layer_settings = 0, 10182: userdata_settings = 1, 10182: color_settings = 2, 10182: plot_color_settings = 4, 10182: plot_weight_settings = 8, 10182: visible_settings = 16, 10182: locked_settings = 32, 10182: all_layer_settings = 0xFFFFFFFF 10182: }; 10182: # 856 "/<>/external/onurbs/opennurbs_layer.h" 10182: static unsigned int Differences( const ON_Layer& layer0, const ON_Layer& layer1 ); 10182: # 868 "/<>/external/onurbs/opennurbs_layer.h" 10182: void Set( unsigned int settings, const ON_Layer& settings_values ); 10182: # 883 "/<>/external/onurbs/opennurbs_layer.h" 10182: void SaveSettings( unsigned int settings, bool bUpdate ); 10182: # 892 "/<>/external/onurbs/opennurbs_layer.h" 10182: unsigned int SavedSettings() const; 10182: # 907 "/<>/external/onurbs/opennurbs_layer.h" 10182: bool GetSavedSettings( ON_Layer& layer, unsigned int& settings ) const; 10182: 10182: private: 10182: # 934 "/<>/external/onurbs/opennurbs_layer.h" 10182: unsigned char m_extension_bits; 10182: }; 10182: # 92 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_linetype.h" 1 10182: # 28 "/<>/external/onurbs/opennurbs_linetype.h" 10182: bool ON_IsHairlinePrintWidth( double width_mm ); 10182: 10182: 10182: 10182: double ON_HairlinePrintWidth(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Linetype : public ON_Object 10182: { 10182: protected: static void* m_s_ON_Linetype_ptr; public: static const ON_ClassId m_ON_Linetype_class_id; static ON_Linetype * Cast( ON_Object* ); static const ON_Linetype * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Linetype( const ON_Object*, ON_Object* ); public: ON_Linetype * Duplicate() const;; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: ON_Linetype(); 10182: 10182: ~ON_Linetype(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 65 "/<>/external/onurbs/opennurbs_linetype.h" 3 4 10182: __null 10182: # 65 "/<>/external/onurbs/opennurbs_linetype.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: # 96 "/<>/external/onurbs/opennurbs_linetype.h" 10182: bool SetLinetypeName( const char*); 10182: bool SetLinetypeName( const wchar_t*); 10182: const wchar_t* LinetypeName() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetLinetypeIndex( int); 10182: int LinetypeIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: double PatternLength() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int SegmentCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int AppendSegment( const ON_LinetypeSegment& segment); 10182: # 138 "/<>/external/onurbs/opennurbs_linetype.h" 10182: bool RemoveSegment( int index ); 10182: 10182: 10182: 10182: 10182: 10182: bool SetSegment( int index, const ON_LinetypeSegment& segment); 10182: 10182: 10182: 10182: 10182: 10182: bool SetSegment( int index, double length, ON_LinetypeSegment::eSegType type); 10182: 10182: 10182: 10182: 10182: 10182: ON_LinetypeSegment Segment( int index) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray& Segments(); 10182: const ON_SimpleArray& Segments() const; 10182: 10182: public: 10182: int m_linetype_index; 10182: ON_UUID m_linetype_id; 10182: ON_wString m_linetype_name; 10182: 10182: private: 10182: ON_SimpleArray m_segments; 10182: }; 10182: # 93 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_group.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_group.h" 10182: class ON_Group : public ON_Object 10182: { 10182: protected: static void* m_s_ON_Group_ptr; public: static const ON_ClassId m_ON_Group_class_id; static ON_Group * Cast( ON_Object* ); static const ON_Group * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Group( const ON_Object*, ON_Object* ); public: ON_Group * Duplicate() const;; 10182: public: 10182: ON_Group(); 10182: ~ON_Group(); 10182: # 52 "/<>/external/onurbs/opennurbs_group.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 52 "/<>/external/onurbs/opennurbs_group.h" 3 4 10182: __null 10182: # 52 "/<>/external/onurbs/opennurbs_group.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: void SetGroupName( const wchar_t* ); 10182: void SetGroupName( const char* ); 10182: 10182: void GetGroupName( ON_wString& ) const; 10182: const wchar_t* GroupName() const; 10182: 10182: void SetGroupIndex(int); 10182: int GroupIndex() const; 10182: 10182: public: 10182: ON_wString m_group_name; 10182: int m_group_index; 10182: ON_UUID m_group_id; 10182: }; 10182: # 94 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_font.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_font.h" 10182: class ON_Font : public ON_Object 10182: { 10182: protected: static void* m_s_ON_Font_ptr; public: static const ON_ClassId m_ON_Font_class_id; static ON_Font * Cast( ON_Object* ); static const ON_Font * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Font( const ON_Object*, ON_Object* ); public: ON_Font * Duplicate() const;; 10182: public: 10182: ON_Font(); 10182: ~ON_Font(); 10182: # 43 "/<>/external/onurbs/opennurbs_font.h" 10182: bool CreateFontFromFaceName( 10182: const wchar_t* face_name, 10182: bool bBold, 10182: bool bItalic 10182: ); 10182: # 77 "/<>/external/onurbs/opennurbs_font.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 77 "/<>/external/onurbs/opennurbs_font.h" 3 4 10182: __null 10182: # 77 "/<>/external/onurbs/opennurbs_font.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: enum 10182: { 10182: # 133 "/<>/external/onurbs/opennurbs_font.h" 10182: face_name_size = 65, 10182: 10182: bold_weight = 700, 10182: medium_weight = 500, 10182: normal_weight = 400, 10182: light_weight = 300, 10182: 10182: default_charset = 1, 10182: symbol_charset = 2, 10182: 10182: 10182: 10182: normal_font_height = 256 10182: }; 10182: 10182: 10182: static 10182: const double m_default_linefeed_ratio; 10182: 10182: static 10182: const int m_metrics_char; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static 10182: bool IsSymbolFontFaceName( 10182: const wchar_t* facename 10182: ); 10182: 10182: void SetFontName( const wchar_t* ); 10182: void SetFontName( const char* ); 10182: 10182: void GetFontName( ON_wString& ) const; 10182: const wchar_t* FontName() const; 10182: 10182: void SetFontIndex(int); 10182: int FontIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: double LinefeedRatio() const; 10182: 10182: void SetLinefeedRatio( double linefeed_ratio ); 10182: 10182: bool SetFontFaceName( const wchar_t* ); 10182: bool SetFontFaceName( const char* ); 10182: 10182: void GetFontFaceName( ON_wString& ) const; 10182: const wchar_t* FontFaceName() const; 10182: 10182: int FontWeight() const; 10182: void SetFontWeight( int); 10182: 10182: bool IsItalic() const; 10182: void SetIsItalic( bool ); 10182: void SetItalic( bool ); 10182: 10182: bool IsBold() const; 10182: void SetBold( bool ); 10182: 10182: 10182: bool IsUnderlined() const; 10182: void SetUnderlined( bool ); 10182: 10182: void Defaults(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int HeightOfI() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int HeightOfLinefeed() const; 10182: # 230 "/<>/external/onurbs/opennurbs_font.h" 10182: double AscentRatio() const; 10182: # 247 "/<>/external/onurbs/opennurbs_font.h" 10182: bool CompareFontCharacteristics( ON_Font& font_to_compare, bool bCompareName) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: public: 10182: ON_wString m_font_name; 10182: int m_font_weight; 10182: bool m_font_italic; 10182: bool m_font_underlined; 10182: double m_linefeed_ratio; 10182: int m_font_index; 10182: ON_UUID m_font_id; 10182: wchar_t m_facename[face_name_size]; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void UpdateImplementationSettings(); 10182: 10182: 10182: 10182: 10182: 10182: private: 10182: 10182: int m_I_height; 10182: 10182: }; 10182: # 95 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_light.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_light.h" 10182: class ON_Light : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Light_ptr; public: static const ON_ClassId m_ON_Light_class_id; static ON_Light * Cast( ON_Object* ); static const ON_Light * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Light( const ON_Object*, ON_Object* ); public: ON_Light * Duplicate() const;; 10182: 10182: public: 10182: ON_Light(); 10182: ~ON_Light(); 10182: # 55 "/<>/external/onurbs/opennurbs_light.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 55 "/<>/external/onurbs/opennurbs_light.h" 3 4 10182: __null 10182: # 55 "/<>/external/onurbs/opennurbs_light.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Enable( ON_BOOL32 = true ); 10182: ON_BOOL32 IsEnabled() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetStyle(ON::light_style); 10182: ON::light_style Style() const; 10182: 10182: ON_BOOL32 IsPointLight() const; 10182: ON_BOOL32 IsDirectionalLight() const; 10182: ON_BOOL32 IsSpotLight() const; 10182: ON_BOOL32 IsLinearLight() const; 10182: ON_BOOL32 IsRectangularLight() const; 10182: 10182: ON::coordinate_system CoordinateSystem() const; 10182: # 139 "/<>/external/onurbs/opennurbs_light.h" 10182: ON_BOOL32 GetLightXform( 10182: const ON_Viewport& vp, 10182: ON::coordinate_system dest_cs, 10182: ON_Xform& xform 10182: ) const; 10182: 10182: void SetLocation( const ON_3dPoint& ); 10182: void SetDirection( const ON_3dVector& ); 10182: 10182: ON_3dPoint Location() const; 10182: ON_3dVector Direction() const; 10182: ON_3dVector PerpindicularDirection() const; 10182: 10182: double Intensity() const; 10182: void SetIntensity(double); 10182: 10182: double PowerWatts() const; 10182: double PowerLumens() const; 10182: double PowerCandela() const; 10182: 10182: void SetPowerWatts( double ); 10182: void SetPowerLumens( double ); 10182: void SetPowerCandela( double ); 10182: 10182: 10182: 10182: 10182: 10182: void SetAmbient( ON_Color ); 10182: void SetDiffuse( ON_Color ); 10182: void SetSpecular( ON_Color ); 10182: ON_Color Ambient() const; 10182: ON_Color Diffuse() const; 10182: ON_Color Specular() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetAttenuation(double,double,double); 10182: void SetAttenuation(const ON_3dVector&); 10182: ON_3dVector Attenuation() const; 10182: double Attenuation(double) const; 10182: # 192 "/<>/external/onurbs/opennurbs_light.h" 10182: void SetSpotAngleDegrees( double ); 10182: double SpotAngleDegrees() const; 10182: 10182: void SetSpotAngleRadians( double ); 10182: double SpotAngleRadians() const; 10182: # 207 "/<>/external/onurbs/opennurbs_light.h" 10182: void SetSpotExponent( double ); 10182: double SpotExponent() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetHotSpot( double ); 10182: double HotSpot() const; 10182: 10182: 10182: bool GetSpotLightRadii( double* inner_radius, double* outer_radius ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetLength( const ON_3dVector& ); 10182: ON_3dVector Length() const; 10182: 10182: void SetWidth( const ON_3dVector& ); 10182: ON_3dVector Width() const; 10182: # 241 "/<>/external/onurbs/opennurbs_light.h" 10182: void SetShadowIntensity(double); 10182: double ShadowIntensity() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetLightIndex( int ); 10182: int LightIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: void SetLightName( const char* ); 10182: void SetLightName( const wchar_t* ); 10182: const ON_wString& LightName() const; 10182: 10182: public: 10182: int m_light_index; 10182: ON_UUID m_light_id; 10182: ON_wString m_light_name; 10182: 10182: ON_BOOL32 m_bOn; 10182: ON::light_style m_style; 10182: 10182: ON_Color m_ambient; 10182: ON_Color m_diffuse; 10182: ON_Color m_specular; 10182: 10182: ON_3dVector m_direction; 10182: ON_3dPoint m_location; 10182: ON_3dVector m_length; 10182: 10182: ON_3dVector m_width; 10182: 10182: 10182: 10182: double m_intensity; 10182: 10182: 10182: 10182: 10182: 10182: double m_watts; 10182: 10182: 10182: 10182: 10182: double m_spot_angle; 10182: double m_spot_exponent; 10182: 10182: 10182: double m_hotspot; 10182: 10182: 10182: ON_3dVector m_attenuation; 10182: 10182: 10182: 10182: 10182: double m_shadow_intensity; 10182: }; 10182: # 96 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_pointgeometry.h" 1 10182: # 24 "/<>/external/onurbs/opennurbs_pointgeometry.h" 10182: class ON_Point : public ON_Geometry 10182: { 10182: public: 10182: ON_3dPoint point; 10182: 10182: ON_Point(); 10182: ON_Point(const ON_Point&); 10182: ON_Point(const ON_3dPoint&); 10182: ON_Point(double,double,double); 10182: ~ON_Point(); 10182: ON_Point& operator=(const ON_Point&); 10182: ON_Point& operator=(const ON_3dPoint&); 10182: 10182: operator double*(); 10182: operator const double*() const; 10182: operator ON_3dPoint*(); 10182: operator const ON_3dPoint*() const; 10182: operator ON_3dPoint&(); 10182: operator const ON_3dPoint&() const; 10182: # 68 "/<>/external/onurbs/opennurbs_pointgeometry.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 68 "/<>/external/onurbs/opennurbs_pointgeometry.h" 3 4 10182: __null 10182: # 68 "/<>/external/onurbs/opennurbs_pointgeometry.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: private: 10182: protected: static void* m_s_ON_Point_ptr; public: static const ON_ClassId m_ON_Point_class_id; static ON_Point * Cast( ON_Object* ); static const ON_Point * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Point( const ON_Object*, ON_Object* ); public: ON_Point * Duplicate() const;; 10182: }; 10182: # 97 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_pointcloud.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: class ON_PointCloud : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_PointCloud_ptr; public: static const ON_ClassId m_ON_PointCloud_class_id; static ON_PointCloud * Cast( ON_Object* ); static const ON_PointCloud * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_PointCloud( const ON_Object*, ON_Object* ); public: ON_PointCloud * Duplicate() const;; 10182: 10182: public: 10182: ON_PointCloud(); 10182: ON_PointCloud( 10182: int 10182: ); 10182: ON_PointCloud( const ON_PointCloud& ); 10182: ~ON_PointCloud(); 10182: ON_PointCloud& operator=( const ON_PointCloud& ); 10182: 10182: ON_3dPoint& operator[](int); 10182: const ON_3dPoint& operator[](int) const; 10182: # 51 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: ON_3dPoint Point( ON_COMPONENT_INDEX ci ) const; 10182: 10182: void Destroy(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void EmergencyDestroy(); 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 63 "/<>/external/onurbs/opennurbs_pointcloud.h" 3 4 10182: __null 10182: # 63 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: int Dimension() const; 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: # 127 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: bool GetClosestPoint( 10182: ON_3dPoint P, 10182: int* closest_point_index, 10182: double maximum_distance = 0.0 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: int PointCount() const; 10182: void AppendPoint( const ON_3dPoint& ); 10182: void InvalidateBoundingBox(); 10182: 10182: 10182: void SetOrdered(bool bOrdered); 10182: bool IsOrdered() const; 10182: 10182: 10182: bool HasPlane() const; 10182: void SetPlane( const ON_Plane& ); 10182: const ON_Plane& Plane(); 10182: double Height(int); 10182: 10182: 10182: 10182: 10182: 10182: bool HasPointNormals() const; 10182: 10182: 10182: 10182: 10182: 10182: bool HasPointColors() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int HiddenPointCount() const; 10182: 10182: 10182: 10182: 10182: 10182: void DestroyHiddenPointArray(); 10182: # 183 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: const bool* HiddenPointArray() const; 10182: # 192 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: void SetHiddenPointFlag( int point_index, bool bHidden ); 10182: # 203 "/<>/external/onurbs/opennurbs_pointcloud.h" 10182: bool PointIsHidden( int point_index ) const; 10182: 10182: 10182: 10182: ON_3dPointArray m_P; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_N; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_C; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_H; 10182: int m_hidden_count; 10182: 10182: ON_Plane m_plane; 10182: ON_BoundingBox m_bbox; 10182: unsigned int m_flags; 10182: 10182: 10182: }; 10182: # 98 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_curveproxy.h" 1 10182: # 37 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: class ON_CurveProxy; 10182: class ON_CurveProxy : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_CurveProxy_ptr; public: static const ON_ClassId m_ON_CurveProxy_class_id; static ON_CurveProxy * Cast( ON_Object* ); static const ON_CurveProxy * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_CurveProxy( const ON_Object*, ON_Object* ); public: ON_CurveProxy * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: ON_CurveProxy(); 10182: ON_CurveProxy( const ON_CurveProxy& ); 10182: ON_CurveProxy( const ON_Curve* ); 10182: ON_CurveProxy( const ON_Curve*, ON_Interval ); 10182: 10182: ON_CurveProxy& operator=(const ON_CurveProxy&); 10182: 10182: virtual ~ON_CurveProxy(); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 69 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: void SetProxyCurve( const ON_Curve* real_curve ); 10182: # 85 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: void SetProxyCurve( const ON_Curve* real_curve, 10182: ON_Interval real_curve_subdomain 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: const ON_Curve* ProxyCurve() const; 10182: # 108 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: bool SetProxyCurveDomain( ON_Interval proxy_curve_subdomain ); 10182: # 121 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_Interval ProxyCurveDomain() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ProxyCurveIsReversed() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double RealCurveParameter( double t ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double ThisCurveParameter( double real_curve_parameter ) const; 10182: 10182: private: 10182: 10182: const ON_Curve* m_real_curve; 10182: 10182: 10182: 10182: bool m_bReversed; 10182: 10182: 10182: 10182: 10182: 10182: ON_Interval m_real_curve_domain; 10182: # 168 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_Interval m_this_domain; 10182: 10182: ON_Interval RealCurveInterval( const ON_Interval* sub_domain ) const; 10182: 10182: 10182: public: 10182: # 187 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_Curve* DuplicateCurve() const; 10182: # 211 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 211 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 211 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: # 246 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_Interval Domain() const; 10182: 10182: 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: 10182: bool SetDomain( ON_Interval domain ); 10182: 10182: int SpanCount() const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: ON_BOOL32 IsLinear( 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 280 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 280 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 281 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: 10182: # 282 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ) const; 10182: 10182: ON_BOOL32 IsArc( 10182: 10182: const ON_Plane* = 10182: # 286 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 286 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: ON_Arc* = 10182: # 287 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 287 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* = 10182: # 293 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 293 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane&, 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: void 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: # 348 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: bool GetNextDiscontinuity( 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 353 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 353 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: int* dtype= 10182: # 354 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 354 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 392 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 395 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: # 395 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Trim( 10182: const ON_Interval& domain 10182: ); 10182: 10182: 10182: ON_BOOL32 Split( 10182: double t, 10182: ON_Curve*& left_side, 10182: ON_Curve*& right_side 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 441 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 443 "/<>/external/onurbs/opennurbs_curveproxy.h" 3 4 10182: __null 10182: 10182: # 444 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 456 "/<>/external/onurbs/opennurbs_curveproxy.h" 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double, 10182: double* 10182: ) const; 10182: }; 10182: # 99 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: class ON_Curve; 10182: class ON_NurbsSurface; 10182: class ON_SurfaceProxy : public ON_Surface 10182: { 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: ON_SurfaceProxy(); 10182: ON_SurfaceProxy(const ON_Surface*); 10182: ON_SurfaceProxy(const ON_SurfaceProxy&); 10182: ON_SurfaceProxy& operator=(const ON_SurfaceProxy&); 10182: 10182: virtual ~ON_SurfaceProxy(); 10182: 10182: void SetProxySurface( const ON_Surface* proxy_surface ); 10182: const ON_Surface* ProxySurface() const; 10182: bool ProxySurfaceIsTransposed() const; 10182: 10182: private: 10182: const ON_Surface* m_surface; 10182: bool m_bTransposed; 10182: 10182: public: 10182: # 64 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: virtual 10182: ON_Surface* DuplicateSurface() const; 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 95 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 95 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: # 95 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: # 142 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: int SpanCount( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: int, 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: int 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: int, 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: 10182: ISO IsIsoparametric( 10182: const ON_Curve& curve, 10182: const ON_Interval* curve_domain = 10182: # 172 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: 10182: # 173 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ) const; 10182: 10182: 10182: ISO IsIsoparametric( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: # 193 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 194 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: # 194 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: # 263 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 269 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: # 269 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: , 10182: int* dtype= 10182: # 270 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: # 270 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 302 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 306 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 3 4 10182: __null 10182: # 306 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 352 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ON_NurbsSurface&, 10182: double = 0.0 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 366 "/<>/external/onurbs/opennurbs_surfaceproxy.h" 10182: ) const; 10182: 10182: bool GetSurfaceParameterFromNurbFormParameter( 10182: double nurbs_s, double nurbs_t, 10182: double* surface_s, double* surface_t 10182: ) const; 10182: 10182: bool GetNurbFormParameterFromSurfaceParameter( 10182: double surface_s, double surface_t, 10182: double* nurbs_s, double* nurbs_t 10182: ) const; 10182: 10182: private: 10182: 10182: protected: static void* m_s_ON_SurfaceProxy_ptr; public: static const ON_ClassId m_ON_SurfaceProxy_class_id; static ON_SurfaceProxy * Cast( ON_Object* ); static const ON_SurfaceProxy * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_SurfaceProxy( const ON_Object*, ON_Object* ); public: ON_SurfaceProxy * Duplicate() const;; 10182: }; 10182: # 100 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_mesh.h" 1 10182: # 24 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshParameters 10182: { 10182: 10182: public: 10182: 10182: enum MESH_STYLE 10182: { 10182: 10182: 10182: unset_mesh_style = 0, 10182: render_mesh_fast = 1, 10182: render_mesh_quality = 2, 10182: 10182: render_mesh_custom = 9, 10182: render_mesh_per_object = 10 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: static 10182: const ON_MeshParameters FastRenderMesh; 10182: 10182: 10182: 10182: 10182: 10182: 10182: static 10182: const ON_MeshParameters QualityRenderMesh; 10182: # 71 "/<>/external/onurbs/opennurbs_mesh.h" 10182: static 10182: double Tolerance( double relative_tolerance, double actual_size ); 10182: # 87 "/<>/external/onurbs/opennurbs_mesh.h" 10182: static 10182: double MinEdgeLength( double max_edge_length, double tolerance ); 10182: 10182: ON_MeshParameters(); 10182: ~ON_MeshParameters(); 10182: 10182: 10182: 10182: bool operator!=(const ON_MeshParameters&) const; 10182: bool operator==(const ON_MeshParameters&) const; 10182: 10182: 10182: bool operator==(const ON_Mesh&) const; 10182: bool operator!=(const ON_Mesh&) const; 10182: 10182: void Dump( ON_TextLog& test_log ) const; 10182: 10182: void Default(); 10182: # 114 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void Set( 10182: double density, 10182: double min_edge_length = 0.0001 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void JaggedAndFasterMeshParameters(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SmoothAndSlowerMeshParameters(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void DefaultAnalysisMeshParameters(); 10182: 10182: 10182: 10182: int Compare( const ON_MeshParameters& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int CompareGeometrySettings( const ON_MeshParameters& ) const; 10182: 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: ON__UINT32 DataCRC(ON__UINT32) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_bCustomSettings; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_bComputeCurvature; 10182: 10182: 10182: bool m_bSimplePlanes; 10182: 10182: 10182: 10182: 10182: 10182: bool m_bRefine; 10182: 10182: 10182: bool m_bJaggedSeams; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_bDoublePrecision; 10182: 10182: 10182: 10182: 10182: 10182: bool m_bCustomSettingsEnabled; 10182: 10182: 10182: 10182: unsigned char m_mesher; 10182: 10182: int m_texture_range; 10182: # 219 "/<>/external/onurbs/opennurbs_mesh.h" 10182: private: 10182: unsigned int m_reserved2; 10182: public: 10182: 10182: 10182: 10182: double m_tolerance; 10182: 10182: 10182: double m_relative_tolerance; 10182: double m_min_tolerance; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double m_min_edge_length; 10182: 10182: 10182: 10182: double m_max_edge_length; 10182: 10182: 10182: 10182: 10182: double m_grid_aspect_ratio; 10182: 10182: 10182: int m_grid_min_count; 10182: int m_grid_max_count; 10182: double m_grid_angle; 10182: 10182: 10182: double m_grid_amplification; 10182: 10182: 10182: 10182: 10182: 10182: 10182: double m_refine_angle; 10182: 10182: 10182: 10182: int m_face_type; 10182: 10182: 10182: private: 10182: unsigned int m_reserved3; 10182: }; 10182: 10182: class ON_MeshCurvatureStats 10182: { 10182: public: 10182: ON_MeshCurvatureStats(); 10182: ~ON_MeshCurvatureStats(); 10182: ON_MeshCurvatureStats(const ON_MeshCurvatureStats& ); 10182: ON_MeshCurvatureStats& operator=(const ON_MeshCurvatureStats&); 10182: 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: 10182: bool Set( ON::curvature_style, 10182: int, 10182: const ON_SurfaceCurvature*, 10182: const ON_3fVector*, 10182: double = 0.0 10182: ); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: ON::curvature_style m_style; 10182: 10182: double m_infinity; 10182: 10182: int m_count_infinite; 10182: int m_count; 10182: double m_mode; 10182: double m_average; 10182: double m_adev; 10182: 10182: ON_Interval m_range; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct ON_MeshTopologyVertex 10182: { 10182: 10182: 10182: int m_tope_count; 10182: 10182: 10182: 10182: 10182: 10182: 10182: const int* m_topei; 10182: 10182: 10182: 10182: int m_v_count; 10182: 10182: 10182: 10182: const int* m_vi; 10182: }; 10182: 10182: struct ON_MeshTopologyEdge 10182: { 10182: 10182: 10182: int m_topvi[2]; 10182: 10182: 10182: int m_topf_count; 10182: 10182: 10182: 10182: const int* m_topfi; 10182: }; 10182: 10182: struct ON_MeshTopologyFace 10182: { 10182: # 376 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int m_topei[4]; 10182: 10182: 10182: 10182: 10182: 10182: 10182: char m_reve[4]; 10182: # 393 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsTriangle() const; 10182: # 402 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsQuad() const; 10182: # 413 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsValid( ) const; 10182: }; 10182: 10182: class ON_MeshFace 10182: { 10182: public: 10182: int vi[4]; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsTriangle() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsQuad() const; 10182: # 453 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsValid( 10182: int mesh_vertex_count 10182: ) const; 10182: bool IsValid( 10182: int mesh_vertex_count, 10182: const ON_3fPoint* V 10182: ) const; 10182: bool IsValid( 10182: int mesh_vertex_count, 10182: const ON_3dPoint* V 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Flip(); 10182: # 488 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool Repair( 10182: int mesh_vertex_count 10182: ); 10182: bool Repair( 10182: int mesh_vertex_count, 10182: const ON_3fPoint* V 10182: ); 10182: bool Repair( 10182: int mesh_vertex_count, 10182: const ON_3dPoint* V 10182: ); 10182: # 510 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool ComputeFaceNormal( const ON_3dPoint* dV, ON_3dVector& FN ) const; 10182: bool ComputeFaceNormal( const ON_3fPoint* fV, ON_3dVector& FN ) const; 10182: }; 10182: 10182: struct ON_MeshFaceSide 10182: { 10182: int vi[2]; 10182: int fi; 10182: unsigned char side; 10182: unsigned char dir; 10182: unsigned short value; 10182: }; 10182: # 535 "/<>/external/onurbs/opennurbs_mesh.h" 10182: 10182: void ON_SortMeshFaceSidesByVertexIndex( 10182: int sides_count, 10182: struct ON_MeshFaceSide* sides 10182: ); 10182: 10182: struct ON_MeshPart 10182: { 10182: 10182: 10182: int vi[2]; 10182: int fi[2]; 10182: int vertex_count; 10182: int triangle_count; 10182: }; 10182: # 565 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshTopology 10182: { 10182: 10182: 10182: public: 10182: ON_MeshTopology(); 10182: ~ON_MeshTopology(); 10182: 10182: bool IsValid() const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: const ON_Mesh* m_mesh; 10182: 10182: 10182: 10182: int TopVertexCount() const; 10182: 10182: 10182: 10182: int TopEdgeCount() const; 10182: 10182: 10182: 10182: int TopFaceCount() const; 10182: # 601 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshVertexRef VertexRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: class ON_MeshVertexRef VertexRef(int topv_index) const; 10182: # 613 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshEdgeRef EdgeRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: class ON_MeshEdgeRef EdgeRef(int tope_index) const; 10182: # 629 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshFaceRef FaceRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: class ON_MeshFaceRef FaceRef(int topf_index) const; 10182: # 642 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_3fPoint TopVertexPoint( 10182: int topv_index 10182: ) const; 10182: # 655 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_Line TopEdgeLine( 10182: int tope_index 10182: ) const; 10182: 10182: 10182: 10182: 10182: int TopEdge( 10182: int vtopi0, 10182: int vtopi1 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool GetTopFaceVertices( 10182: int topfi, 10182: int topvi[4] 10182: ) const; 10182: # 688 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool SortVertexEdges( int topvi ) const; 10182: # 700 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool SortVertexEdges() const; 10182: # 713 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool TopVertexIsHidden( int topvi ) const; 10182: # 726 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool TopEdgeIsHidden( int topei ) const; 10182: # 739 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool TopFaceIsHidden( int topfi ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_topv_map; 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_topv; 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_tope; 10182: # 764 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_SimpleArray m_topf; 10182: # 777 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int* GetIntArray(int count); 10182: 10182: private: 10182: friend class ON_Mesh; 10182: 10182: bool Create(); 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: 10182: 10182: struct memchunk 10182: { 10182: struct memchunk* next; 10182: } *m_memchunk; 10182: 10182: 10182: volatile int m_b32IsValid; 10182: 10182: 10182: 10182: int WaitUntilReady(int sleep_value) const; 10182: 10182: private: 10182: 10182: ON_MeshTopology(const ON_MeshTopology&); 10182: ON_MeshTopology& operator=(const ON_MeshTopology&); 10182: }; 10182: 10182: struct ON_MeshNgon 10182: { 10182: 10182: int N; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int* vi; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int* fi; 10182: }; 10182: 10182: class ON_MeshNgonList 10182: { 10182: public: 10182: ON_MeshNgonList(); 10182: ~ON_MeshNgonList(); 10182: ON_MeshNgonList(const ON_MeshNgonList&); 10182: ON_MeshNgonList& operator=(const ON_MeshNgonList&); 10182: # 848 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool AddNgon(int N, const int* vi, const int* fi); 10182: struct ON_MeshNgon* AddNgon(int N); 10182: 10182: 10182: 10182: 10182: 10182: int NgonCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_MeshNgon* Ngon(int Ngon_index) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ReserveNgonCapacity(int capacity); 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: private: 10182: int m_ngons_count; 10182: int m_ngons_capacity; 10182: ON_MeshNgon* m_ngons; 10182: struct ON_NGON_MEMBLK* m_memblk_list; 10182: }; 10182: 10182: class ON_MeshPartition 10182: { 10182: public: 10182: ON_MeshPartition(); 10182: ~ON_MeshPartition(); 10182: 10182: 10182: int m_partition_max_vertex_count; 10182: 10182: int m_partition_max_triangle_count; 10182: # 910 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_SimpleArray m_part; 10182: }; 10182: 10182: 10182: 10182: class ON_MappingTag 10182: { 10182: public: 10182: ON_MappingTag(); 10182: void Default(); 10182: bool Write(ON_BinaryArchive&) const; 10182: bool Read(ON_BinaryArchive&); 10182: void Dump( ON_TextLog& ) const; 10182: void Transform( const ON_Xform& xform ); 10182: void Set(const ON_TextureMapping& mapping); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetDefaultSurfaceParameterMappingTag(); 10182: 10182: int Compare( const ON_MappingTag& other, 10182: bool bCompareId = true, 10182: bool bCompareCRC = true, 10182: bool bCompareXform = true 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsDefaultSurfaceParameterMapping() const; 10182: # 961 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_UUID m_mapping_id; 10182: ON_TextureMapping::TYPE m_mapping_type; 10182: ON__UINT32 m_mapping_crc; 10182: ON_Xform m_mesh_xform; 10182: }; 10182: 10182: class ON_TextureCoordinates 10182: { 10182: public: 10182: ON_TextureCoordinates(); 10182: 10182: ON_MappingTag m_tag; 10182: int m_dim; 10182: ON_SimpleArray m_T; 10182: }; 10182: # 989 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_Mesh : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Mesh_ptr; public: static const ON_ClassId m_ON_Mesh_class_id; static ON_Mesh * Cast( ON_Object* ); static const ON_Mesh * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Mesh( const ON_Object*, ON_Object* ); public: ON_Mesh * Duplicate() const;; 10182: public: 10182: ON_Mesh(); 10182: ON_Mesh( 10182: int initial_face_array_capacity, 10182: int initial_vertex_array_capacity, 10182: bool has_vertex_normals, 10182: bool has_texture_coordinates 10182: ); 10182: ON_Mesh( const ON_Mesh& ); 10182: ON_Mesh& operator=( const ON_Mesh& ); 10182: ~ON_Mesh(); 10182: 10182: 10182: void MemoryRelocate(); 10182: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 1020 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void DestroyTree( bool bDeleteTree = true ); 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 1050 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1050 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: # 1050 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 1087 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetVertex( 10182: int, 10182: const ON_3dPoint& 10182: ); 10182: bool SetVertex( 10182: int, 10182: const ON_3fPoint& 10182: ); 10182: bool SetVertexNormal( 10182: int, 10182: const ON_3dVector& 10182: ); 10182: bool SetVertexNormal( 10182: int, 10182: const ON_3fVector& 10182: ); 10182: bool SetTextureCoord( 10182: int, 10182: double, double 10182: ); 10182: bool SetTriangle( 10182: int, 10182: int,int,int 10182: ); 10182: bool SetQuad( 10182: int, 10182: int,int,int,int 10182: ); 10182: # 1153 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_MeshVertexRef VertexRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: ON_MeshVertexRef VertexRef(int mesh_V_index) const; 10182: # 1165 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_MeshEdgeRef EdgeRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: ON_MeshEdgeRef EdgeRef(int tope_index) const; 10182: # 1177 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_MeshFaceRef FaceRef(ON_COMPONENT_INDEX ci) const; 10182: 10182: ON_MeshFaceRef FaceRef(int mesh_F_index) const; 10182: # 1194 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_Geometry* MeshComponent( 10182: ON_COMPONENT_INDEX ci 10182: ) const; 10182: 10182: 10182: int VertexCount() const; 10182: int FaceCount() const; 10182: int QuadCount() const; 10182: int TriangleCount() const; 10182: int InvalidFaceCount() const; 10182: bool HasVertexNormals() const; 10182: bool HasFaceNormals() const; 10182: bool HasTextureCoordinates() const; 10182: bool HasSurfaceParameters() const; 10182: bool HasPrincipalCurvatures() const; 10182: bool HasVertexColors() const; 10182: 10182: 10182: 10182: 10182: 10182: int HiddenVertexCount() const; 10182: 10182: bool GetCurvatureStats( 10182: ON::curvature_style, 10182: ON_MeshCurvatureStats& 10182: ) const; 10182: 10182: void InvalidateVertexBoundingBox(); 10182: 10182: void InvalidateVertexNormalBoundingBox(); 10182: 10182: void InvalidateTextureCoordinateBoundingBox(); 10182: 10182: void InvalidateCurvatureStats(); 10182: 10182: void InvalidateBoundingBoxes(); 10182: 10182: 10182: void Flip(); 10182: 10182: void FlipVertexNormals(); 10182: void FlipFaceNormals(); 10182: void FlipFaceOrientation(); 10182: 10182: void SetMeshParameters( const ON_MeshParameters& ); 10182: const ON_MeshParameters* MeshParameters() const; 10182: void DeleteMeshParameters(); 10182: 10182: 10182: bool UnitizeVertexNormals(); 10182: bool UnitizeFaceNormals(); 10182: bool CountQuads(); 10182: 10182: 10182: 10182: 10182: 10182: bool ConvertQuadsToTriangles(); 10182: # 1269 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool ConvertTrianglesToQuads( 10182: double angle_tol_radians, 10182: double min_diagonal_length_ratio 10182: ); 10182: 10182: bool ComputeFaceNormals(); 10182: bool ComputeFaceNormal(int); 10182: # 1292 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetClashingFacePairs( 10182: int max_pair_count, 10182: ON_SimpleArray< ON_2dex >& clashing_pairs 10182: ) const; 10182: # 1318 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int CullClashingFaces( int what_to_cull ); 10182: 10182: int CullDegenerateFaces(); 10182: 10182: int CullUnusedVertices(); 10182: 10182: 10182: 10182: 10182: bool Compact(); 10182: 10182: bool ComputeVertexNormals(); 10182: 10182: 10182: 10182: 10182: bool NormalizeTextureCoordinates(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool TransposeTextureCoordinates(); 10182: bool TransposeSurfaceParameters(); 10182: # 1352 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool ReverseTextureCoordinates( int dir ); 10182: bool ReverseSurfaceParameters( int dir ); 10182: # 1374 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool SetTextureCoordinates( 10182: const class ON_TextureMapping& mapping, 10182: const class ON_Xform* mesh_xform = 0, 10182: bool bLazy = true 10182: ); 10182: 10182: bool HasCachedTextureCoordinates() const; 10182: 10182: const ON_TextureCoordinates* CachedTextureCoordinates( 10182: const ON_UUID& mapping_id 10182: ) const; 10182: 10182: const ON_TextureCoordinates* SetCachedTextureCoordinates( 10182: const class ON_TextureMapping& mapping, 10182: const class ON_Xform* mesh_xform = 0, 10182: bool bLazy = true 10182: ); 10182: 10182: bool EvaluateMeshGeometry( const ON_Surface& ); 10182: 10182: 10182: 10182: bool CombineCoincidentVertices( 10182: ON_3fVector, 10182: 10182: double 10182: 10182: 10182: ); 10182: # 1417 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool CombineIdenticalVertices( 10182: bool bIgnoreVertexNormals = false, 10182: bool bIgnoreTextureCoordinates = false 10182: ); 10182: 10182: void Append( const ON_Mesh& ); 10182: # 1436 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void Append( int count, const ON_Mesh* const* meshes ); 10182: # 1452 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void SetClosed(int closed); 10182: 10182: 10182: 10182: 10182: 10182: bool IsClosed() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsManifold() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsOriented() const; 10182: # 1494 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsManifold( 10182: bool bTopologicalTest, 10182: bool* pbIsOriented = 10182: # 1496 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: # 1496 "/<>/external/onurbs/opennurbs_mesh.h" 10182: , 10182: bool* pbHasBoundary = 10182: # 1497 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: 10182: # 1498 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ) const; 10182: # 1517 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void SetSolidOrientation(int solid_orientation); 10182: # 1529 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int SolidOrientation() const; 10182: # 1542 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsSolid() const; 10182: # 1570 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetVertexEdges( 10182: int vcount, 10182: const int* vertex_index, 10182: bool bNoDuplicates, 10182: ON_SimpleArray& edges 10182: ) const; 10182: # 1589 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetMeshEdges( 10182: ON_SimpleArray& edges 10182: ) const; 10182: # 1619 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int* GetVertexLocationIds( 10182: int first_vid, 10182: int* Vid, 10182: int* Vindex 10182: ) const; 10182: # 1653 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetMeshFaceSideList( 10182: const int* Vid, 10182: struct ON_MeshFaceSide*& sides 10182: ) const; 10182: # 1706 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetMeshEdgeList( 10182: ON_SimpleArray& edge_list, 10182: int edge_type_partition[5] 10182: ) const; 10182: 10182: int GetMeshEdgeList( 10182: ON_SimpleArray& edge_list, 10182: ON_SimpleArray& ci_meshtop_edge_map, 10182: int edge_type_partition[5] 10182: ) const; 10182: 10182: int GetMeshEdgeList( 10182: ON_SimpleArray& edge_list, 10182: ON_SimpleArray& ci_meshtop_edge_map, 10182: ON_SimpleArray& ci_meshtop_vertex_map, 10182: int edge_type_partition[5] 10182: ) const; 10182: # 1738 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool CollapseEdge( int topei ); 10182: # 1751 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool IsSwappableEdge( int topei ); 10182: # 1765 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool SwapEdge( int topei ); 10182: # 1780 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool DeleteFace( int meshfi ); 10182: 10182: 10182: 10182: 10182: 10182: void DestroyHiddenVertexArray(); 10182: # 1795 "/<>/external/onurbs/opennurbs_mesh.h" 10182: const bool* HiddenVertexArray() const; 10182: # 1804 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void SetVertexHiddenFlag( int meshvi, bool bHidden ); 10182: # 1815 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool VertexIsHidden( int meshvi ) const; 10182: # 1829 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool FaceIsHidden( int meshvi ) const; 10182: # 1843 "/<>/external/onurbs/opennurbs_mesh.h" 10182: const ON_MeshTopology& Topology() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void DestroyTopology(); 10182: # 1859 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool TopologyExists() const; 10182: # 1871 "/<>/external/onurbs/opennurbs_mesh.h" 10182: const ON_MeshPartition* CreatePartition( 10182: int, 10182: int 10182: ); 10182: const ON_MeshPartition* Partition() const; 10182: void DestroyPartition(); 10182: # 1894 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_Mesh* MeshPart( 10182: const ON_MeshPart& mesh_part, 10182: ON_Mesh* mesh 10182: ) const; 10182: # 1908 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_Mesh* DuplicateFace( 10182: int face_index, 10182: ON_Mesh* mesh 10182: ) const; 10182: # 1928 "/<>/external/onurbs/opennurbs_mesh.h" 10182: const class ON_MeshNgonList* NgonList() const; 10182: # 1938 "/<>/external/onurbs/opennurbs_mesh.h" 10182: class ON_MeshNgonList* ModifyNgonList(); 10182: 10182: 10182: 10182: 10182: 10182: void DestroyNgonList(); 10182: # 1978 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetConnectedComponents( bool bUseVertexConnections, 10182: bool bTopologicalConnections, 10182: ON_SimpleArray& facet_component_labels 10182: ) const; 10182: # 2005 "/<>/external/onurbs/opennurbs_mesh.h" 10182: int GetConnectedComponents( bool bUseVertexConnections, 10182: bool bTopologicalConnections, 10182: ON_SimpleArray* components 10182: ) const; 10182: # 2021 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool HasSynchronizedDoubleAndSinglePrecisionVertices() const; 10182: # 2039 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool HasDoublePrecisionVertices() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void EnableDoublePrecisionVertices(bool bEnableDoublePrecisionVertices); 10182: # 2057 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void UpdateSinglePrecisionVertices(); 10182: # 2067 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void UpdateDoublePrecisionVertices(); 10182: # 2078 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void SetSinglePrecisionVerticesAsValid(); 10182: # 2089 "/<>/external/onurbs/opennurbs_mesh.h" 10182: void SetDoublePrecisionVerticesAsValid(); 10182: # 2105 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool SinglePrecisionVerticesAreValid() const; 10182: # 2120 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool DoublePrecisionVerticesAreValid() const; 10182: 10182: 10182: 10182: 10182: 10182: void DestroyDoublePrecisionVertices(); 10182: # 2166 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_3dPointArray& DoublePrecisionVertices(); 10182: const ON_3dPointArray& DoublePrecisionVertices() const; 10182: # 2178 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_3fPointArray& SinglePrecisionVertices(); 10182: const ON_3fPointArray& SinglePrecisionVertices() const; 10182: # 2192 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_3fPointArray m_V; 10182: # 2201 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_3dPoint Vertex(int vertex_index) const; 10182: 10182: 10182: ON_SimpleArray m_F; 10182: 10182: 10182: 10182: 10182: 10182: ON_3fVectorArray m_N; 10182: 10182: 10182: 10182: 10182: 10182: ON_3fVectorArray m_FN; 10182: # 2226 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_MappingTag m_Ttag; 10182: ON_2fPointArray m_T; 10182: # 2236 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_ClassArray m_TC; 10182: # 2271 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_2dPointArray m_S; 10182: ON_Interval m_srf_domain[2]; 10182: double m_srf_scale[2]; 10182: # 2282 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_Interval m_packed_tex_domain[2]; 10182: # 2313 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool m_packed_tex_rotate; 10182: # 2323 "/<>/external/onurbs/opennurbs_mesh.h" 10182: bool HasPackedTextureRegion() const; 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_K; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_MappingTag m_Ctag; 10182: ON_SimpleArray m_C; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_H; 10182: 10182: 10182: 10182: int m_hidden_count; 10182: 10182: 10182: 10182: 10182: const ON_Object* m_parent; 10182: 10182: protected: 10182: friend class ON_MeshVertexRef; 10182: friend class ON_MeshEdgeRef; 10182: friend class ON_MeshFaceRef; 10182: 10182: 10182: 10182: 10182: ON_MeshTopology m_top; 10182: 10182: ON_MeshParameters* m_mesh_parameters; 10182: 10182: int m_invalid_count; 10182: int m_quad_count; 10182: int m_triangle_count; 10182: 10182: private: 10182: char m_mesh_is_closed; 10182: char m_mesh_is_manifold; 10182: char m_mesh_is_oriented; 10182: char m_mesh_is_solid; 10182: 10182: protected: 10182: 10182: float m_vbox[2][3]; 10182: float m_nbox[2][3]; 10182: 10182: float m_tbox[2][2]; 10182: ON_MeshCurvatureStats* m_kstat[4]; 10182: 10182: 10182: ON_MeshPartition* m_partition; 10182: 10182: private: 10182: bool Write_1( ON_BinaryArchive& ) const; 10182: bool Write_2( int, ON_BinaryArchive& ) const; 10182: bool Read_1( ON_BinaryArchive& ); 10182: bool Read_2( int, ON_BinaryArchive& ); 10182: bool WriteFaceArray( int, int, ON_BinaryArchive& ) const; 10182: bool ReadFaceArray( int, int, ON_BinaryArchive& ); 10182: bool SwapEdge_Helper( int, bool ); 10182: }; 10182: 10182: class ON_MeshVertexRef : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_MeshVertexRef_ptr; public: static const ON_ClassId m_ON_MeshVertexRef_class_id; static ON_MeshVertexRef * Cast( ON_Object* ); static const ON_MeshVertexRef * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_MeshVertexRef( const ON_Object*, ON_Object* ); public: ON_MeshVertexRef * Duplicate() const;; 10182: public: 10182: ON_MeshVertexRef(); 10182: ~ON_MeshVertexRef(); 10182: ON_MeshVertexRef& operator=(const ON_MeshVertexRef&); 10182: 10182: 10182: 10182: const ON_Mesh* m_mesh; 10182: 10182: 10182: 10182: int m_mesh_vi; 10182: 10182: 10182: int m_top_vi; 10182: # 2427 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshTopology* MeshTopology() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint Point() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshTopologyVertex* MeshTopologyVertex() const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 2453 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: # 2453 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: unsigned int SizeOf() const; 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: }; 10182: 10182: class ON_MeshEdgeRef : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_MeshEdgeRef_ptr; public: static const ON_ClassId m_ON_MeshEdgeRef_class_id; static ON_MeshEdgeRef * Cast( ON_Object* ); static const ON_MeshEdgeRef * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_MeshEdgeRef( const ON_Object*, ON_Object* ); public: ON_MeshEdgeRef * Duplicate() const;; 10182: public: 10182: ON_MeshEdgeRef(); 10182: ~ON_MeshEdgeRef(); 10182: ON_MeshEdgeRef& operator=(const ON_MeshEdgeRef&); 10182: 10182: 10182: const ON_Mesh* m_mesh; 10182: 10182: 10182: int m_top_ei; 10182: # 2492 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: # 2501 "/<>/external/onurbs/opennurbs_mesh.h" 10182: const ON_MeshTopology* MeshTopology() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Line Line() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshTopologyEdge* MeshTopologyEdge() const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 2518 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: # 2518 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: unsigned int SizeOf() const; 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: }; 10182: 10182: class ON_MeshFaceRef : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_MeshFaceRef_ptr; public: static const ON_ClassId m_ON_MeshFaceRef_class_id; static ON_MeshFaceRef * Cast( ON_Object* ); static const ON_MeshFaceRef * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_MeshFaceRef( const ON_Object*, ON_Object* ); public: ON_MeshFaceRef * Duplicate() const;; 10182: public: 10182: ON_MeshFaceRef(); 10182: ~ON_MeshFaceRef(); 10182: ON_MeshFaceRef& operator=(const ON_MeshFaceRef&); 10182: 10182: 10182: const ON_Mesh* m_mesh; 10182: 10182: 10182: int m_mesh_fi; 10182: # 2557 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshTopology* MeshTopology() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshFace* MeshFace() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_MeshTopologyFace* MeshTopologyFace() const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 2581 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: # 2581 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: unsigned int SizeOf() const; 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: }; 10182: # 2612 "/<>/external/onurbs/opennurbs_mesh.h" 10182: 10182: ON_Mesh* ON_ControlPolygonMesh( 10182: const ON_NurbsSurface& nurbs_surface, 10182: bool bCleanMesh, 10182: ON_Mesh* input_mesh = 10182: # 2616 "/<>/external/onurbs/opennurbs_mesh.h" 3 4 10182: __null 10182: 10182: # 2617 "/<>/external/onurbs/opennurbs_mesh.h" 10182: ); 10182: # 2629 "/<>/external/onurbs/opennurbs_mesh.h" 10182: 10182: ON_3dVector ON_TriangleNormal( 10182: const ON_3dPoint& A, 10182: const ON_3dPoint& B, 10182: const ON_3dPoint& C 10182: ); 10182: # 2657 "/<>/external/onurbs/opennurbs_mesh.h" 10182: 10182: bool ON_GetTrianglePlaneEquation( 10182: const ON_3dPoint& A, 10182: const ON_3dPoint& B, 10182: const ON_3dPoint& C, 10182: double* a, 10182: double* b, 10182: double* c, 10182: double* d, 10182: double* evaluation_tol 10182: ); 10182: # 101 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_pointgrid.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_pointgrid.h" 10182: class ON_PointGrid : public ON_Geometry 10182: { 10182: public: 10182: ON_PointGrid(); 10182: ON_PointGrid(const ON_PointGrid&); 10182: ON_PointGrid( 10182: int, 10182: int 10182: ); 10182: 10182: void Initialize(void); 10182: 10182: ON_BOOL32 Create( 10182: int, 10182: int 10182: ); 10182: 10182: void Destroy(); 10182: 10182: virtual ~ON_PointGrid(); 10182: void EmergencyDestroy(); 10182: 10182: ON_PointGrid& operator=(const ON_PointGrid&); 10182: 10182: 10182: ON_3dPoint* operator[](int); 10182: const ON_3dPoint* operator[](int) const; 10182: # 70 "/<>/external/onurbs/opennurbs_pointgrid.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 70 "/<>/external/onurbs/opennurbs_pointgrid.h" 3 4 10182: __null 10182: # 70 "/<>/external/onurbs/opennurbs_pointgrid.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 111 "/<>/external/onurbs/opennurbs_pointgrid.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: int PointCount( 10182: int 10182: ) const; 10182: 10182: int PointCount( 10182: void 10182: ) const; 10182: 10182: ON_3dPoint& Point( 10182: int, int 10182: ); 10182: 10182: ON_3dPoint Point( 10182: int, int 10182: ) const; 10182: 10182: double* PointArray(); 10182: 10182: const double* PointArray() const; 10182: 10182: int PointArrayStride( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 SetPoint( 10182: int, int, 10182: const ON_3dPoint& 10182: ); 10182: 10182: ON_BOOL32 GetPoint( 10182: int, int, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: 10182: 10182: protected: 10182: 10182: int m_point_count[2]; 10182: int m_point_stride0; 10182: ON_3dPointArray m_point; 10182: 10182: 10182: private: 10182: static ON_3dPoint m_no_point; 10182: 10182: protected: static void* m_s_ON_PointGrid_ptr; public: static const ON_ClassId m_ON_PointGrid_class_id; static ON_PointGrid * Cast( ON_Object* ); static const ON_PointGrid * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_PointGrid( const ON_Object*, ON_Object* ); public: ON_PointGrid * Duplicate() const;; 10182: }; 10182: # 102 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_linecurve.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: class ON_LineCurve; 10182: class ON_LineCurve : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_LineCurve_ptr; public: static const ON_ClassId m_ON_LineCurve_class_id; static ON_LineCurve * Cast( ON_Object* ); static const ON_LineCurve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_LineCurve( const ON_Object*, ON_Object* ); public: ON_LineCurve * Duplicate() const;; 10182: 10182: public: 10182: ON_LineCurve(); 10182: ON_LineCurve(const ON_2dPoint&,const ON_2dPoint&); 10182: ON_LineCurve(const ON_3dPoint&,const ON_3dPoint&); 10182: ON_LineCurve(const ON_Line&); 10182: ON_LineCurve(const ON_Line&, 10182: double,double 10182: ); 10182: ON_LineCurve(const ON_LineCurve&); 10182: 10182: virtual ~ON_LineCurve(); 10182: 10182: ON_LineCurve& operator=(const ON_LineCurve&); 10182: ON_LineCurve& operator=(const ON_Line&); 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 68 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 68 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: # 68 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 107 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: 10182: 10182: ON_Interval Domain() const; 10182: # 139 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: 10182: int SpanCount() const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: ) const; 10182: 10182: ON_BOOL32 IsLinear( 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: # 179 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: virtual 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 181 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: # 181 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 182 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: 10182: # 183 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ) const; 10182: 10182: ON_BOOL32 IsArc( 10182: 10182: const ON_Plane* = 10182: # 187 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: # 187 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: , 10182: ON_Arc* = 10182: # 188 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: # 188 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* = 10182: # 194 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: # 194 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane&, 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: void 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: # 228 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 247 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 276 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 Trim( 10182: const ON_Interval& domain 10182: ); 10182: # 289 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 313 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ON_BOOL32 Split( 10182: double t, 10182: ON_Curve*& left_side, 10182: ON_Curve*& right_side 10182: ) const; 10182: # 339 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: int GetNurbForm( 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 342 "/<>/external/onurbs/opennurbs_linecurve.h" 3 4 10182: __null 10182: 10182: # 343 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: ) const; 10182: # 360 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: int HasNurbForm( 10182: ) const; 10182: # 377 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: virtual 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double nurbs_t, 10182: double* curve_t 10182: ) const; 10182: # 397 "/<>/external/onurbs/opennurbs_linecurve.h" 10182: virtual 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double curve_t, 10182: double* nurbs_t 10182: ) const; 10182: 10182: 10182: 10182: 10182: ON_Line m_line; 10182: ON_Interval m_t; 10182: int m_dim; 10182: }; 10182: # 103 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_arccurve.h" 1 10182: # 35 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: class ON_ArcCurve : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_ArcCurve_ptr; public: static const ON_ClassId m_ON_ArcCurve_class_id; static ON_ArcCurve * Cast( ON_Object* ); static const ON_ArcCurve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_ArcCurve( const ON_Object*, ON_Object* ); public: ON_ArcCurve * Duplicate() const;; 10182: 10182: public: 10182: ON_ArcCurve(); 10182: ON_ArcCurve(const ON_ArcCurve&); 10182: virtual ~ON_ArcCurve(); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve( 10182: const ON_Arc& arc 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve( 10182: const ON_Arc& arc, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve( 10182: const ON_Circle& circle 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve( 10182: const ON_Circle& circle, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: 10182: ON_ArcCurve& operator=(const ON_ArcCurve&); 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve& operator=(const ON_Arc& arc); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_ArcCurve& operator=(const ON_Circle& circle); 10182: # 125 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 125 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: # 125 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 164 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: # 186 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: 10182: ON_Interval Domain() const; 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: 10182: ON_BOOL32 ChangeClosedCurveSeam( 10182: double t 10182: ); 10182: 10182: int SpanCount() const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: ) const; 10182: 10182: ON_BOOL32 IsLinear( 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsArc( 10182: 10182: const ON_Plane* = 10182: # 218 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: # 218 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: , 10182: ON_Arc* = 10182: # 219 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: # 219 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: , 10182: 10182: double = 0.0 10182: ) const; 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* = 10182: # 225 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: # 225 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: , 10182: 10182: double = 0.0 10182: ) const; 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane&, 10182: double = 0.0 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: void 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 247 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: # 247 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse(); 10182: # 273 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 292 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: ON_BOOL32 Trim( const ON_Interval& ); 10182: # 320 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 342 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: virtual 10182: ON_BOOL32 Split( 10182: double t, 10182: ON_Curve*& left_side, 10182: ON_Curve*& right_side 10182: ) const; 10182: 10182: 10182: int GetNurbForm( 10182: # 360 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 362 "/<>/external/onurbs/opennurbs_arccurve.h" 3 4 10182: __null 10182: 10182: # 363 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ) const; 10182: 10182: 10182: int HasNurbForm( 10182: # 376 "/<>/external/onurbs/opennurbs_arccurve.h" 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsCircle() const; 10182: 10182: 10182: 10182: double Radius() const; 10182: 10182: 10182: 10182: double AngleRadians() const; 10182: 10182: 10182: 10182: double AngleDegrees() const; 10182: 10182: 10182: 10182: 10182: ON_Arc m_arc; 10182: 10182: 10182: 10182: ON_Interval m_t; 10182: 10182: 10182: 10182: int m_dim; 10182: 10182: }; 10182: # 104 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_polylinecurve.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: class ON_PolylineCurve; 10182: class ON_PolylineCurve : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_PolylineCurve_ptr; public: static const ON_ClassId m_ON_PolylineCurve_class_id; static ON_PolylineCurve * Cast( ON_Object* ); static const ON_PolylineCurve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_PolylineCurve( const ON_Object*, ON_Object* ); public: ON_PolylineCurve * Duplicate() const;; 10182: 10182: public: 10182: ON_PolylineCurve(); 10182: ON_PolylineCurve(const ON_3dPointArray&); 10182: ON_PolylineCurve(const ON_PolylineCurve&); 10182: ON_PolylineCurve& operator=(const ON_PolylineCurve&); 10182: ON_PolylineCurve& operator=(const ON_3dPointArray&); 10182: 10182: virtual ~ON_PolylineCurve(); 10182: 10182: 10182: 10182: void EmergencyDestroy(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 67 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 67 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 67 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ) const; 10182: 10182: 10182: 10182: void Dump( 10182: ON_TextLog& dump 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: # 94 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: int Dimension() const; 10182: # 108 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: # 129 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 147 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int i, 10182: int j 10182: ); 10182: # 175 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_Interval Domain() const; 10182: # 185 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: # 206 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 ChangeClosedCurveSeam( 10182: double t 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int SpanCount() const; 10182: # 226 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 GetSpanVector( 10182: double* knot_values 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: int Degree() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsLinear( 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 261 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 262 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 262 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 263 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: 10182: # 264 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsArc( 10182: const ON_Plane* plane = 10182: # 271 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 271 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: ON_Arc* arc = 10182: # 272 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 272 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 281 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 281 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane& test_plane, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 302 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 IsClosed() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: # 348 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: bool GetNextDiscontinuity( 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 353 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 353 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: int* dtype= 10182: # 354 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 354 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 392 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 395 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: # 395 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Reverse(); 10182: # 427 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 447 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 Trim( const ON_Interval& ); 10182: # 477 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 496 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_BOOL32 Split( 10182: double, 10182: ON_Curve*&, 10182: ON_Curve*& 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 512 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 514 "/<>/external/onurbs/opennurbs_polylinecurve.h" 3 4 10182: __null 10182: 10182: # 515 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 527 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double, 10182: double* 10182: ) const; 10182: # 563 "/<>/external/onurbs/opennurbs_polylinecurve.h" 10182: bool ParameterSearch(double t, int& index, bool bEnableSnap) const; 10182: 10182: bool Append( const ON_PolylineCurve& ); 10182: 10182: 10182: 10182: public: 10182: int PointCount() const; 10182: 10182: ON_Polyline m_pline; 10182: ON_SimpleArray m_t; 10182: int m_dim; 10182: }; 10182: # 105 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_nurbscurve.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: class ON_NurbsCurve; 10182: class ON_NurbsCurve : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_NurbsCurve_ptr; public: static const ON_ClassId m_ON_NurbsCurve_class_id; static ON_NurbsCurve * Cast( ON_Object* ); static const ON_NurbsCurve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_NurbsCurve( const ON_Object*, ON_Object* ); public: ON_NurbsCurve * Duplicate() const;; 10182: 10182: public: 10182: # 40 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: static ON_NurbsCurve* New(); 10182: static ON_NurbsCurve* New( 10182: const ON_NurbsCurve& nurbs_curve 10182: ); 10182: static ON_NurbsCurve* New( 10182: const ON_BezierCurve& bezier_curve 10182: ); 10182: static ON_NurbsCurve* New( 10182: int dimension, 10182: ON_BOOL32 bIsRational, 10182: int order, 10182: int cv_count 10182: ); 10182: 10182: ON_NurbsCurve(); 10182: ON_NurbsCurve(const ON_NurbsCurve&); 10182: 10182: 10182: 10182: 10182: 10182: ON_NurbsCurve( 10182: const ON_BezierCurve& bezier_curve 10182: ); 10182: # 72 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_NurbsCurve( 10182: int dimension, 10182: ON_BOOL32 bIsRational, 10182: int order, 10182: int cv_count 10182: ); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 97 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool IsDuplicate( 10182: const ON_NurbsCurve& other, 10182: bool bIgnoreParameterization, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: void Initialize(void); 10182: # 114 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool Create( 10182: int dimension, 10182: ON_BOOL32 bIsRational, 10182: int order, 10182: int cv_count 10182: ); 10182: # 132 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool CreateClampedUniformNurbs( 10182: int dimension, 10182: int order, 10182: int point_count, 10182: const ON_3dPoint* point, 10182: double knot_delta = 1.0 10182: ); 10182: # 151 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool CreatePeriodicUniformNurbs( 10182: int dimension, 10182: int order, 10182: int point_count, 10182: const ON_3dPoint* point, 10182: double knot_delta = 1.0 10182: ); 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: virtual ~ON_NurbsCurve(); 10182: 10182: 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_NurbsCurve& operator=(const ON_NurbsCurve& src); 10182: 10182: 10182: 10182: 10182: 10182: ON_NurbsCurve& operator=( 10182: const ON_BezierCurve& bezier_curve 10182: ); 10182: # 201 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 201 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 201 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ) const; 10182: 10182: 10182: 10182: void Dump( 10182: ON_TextLog& dump 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: # 228 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: int Dimension() const; 10182: # 242 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: # 260 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int i, 10182: int j 10182: ); 10182: # 288 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_Interval Domain() const; 10182: # 298 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: # 315 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 ChangeClosedCurveSeam( 10182: double t 10182: ); 10182: # 327 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: int SpanCount() const; 10182: # 338 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 GetSpanVector( 10182: double* knot_values 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: int Degree() const; 10182: 10182: 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: double t, 10182: double* tminus, 10182: double* tplus 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsLinear( 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 378 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 379 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 379 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 380 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: 10182: # 381 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsArc( 10182: const ON_Plane* plane = 10182: # 386 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 386 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: ON_Arc* arc = 10182: # 387 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 387 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 394 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 394 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane& test_plane, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 412 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 IsClosed() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsPeriodic() const; 10182: # 458 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool GetNextDiscontinuity( 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 463 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 463 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: int* dtype= 10182: # 464 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 464 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 502 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 505 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: # 505 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 529 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 549 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 596 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool SpanIsLinear( 10182: int span_index, 10182: double min_length, 10182: double tolerance 10182: ) const; 10182: 10182: bool SpanIsLinear( 10182: int span_index, 10182: double min_length, 10182: double tolerance, 10182: ON_Line* line 10182: ) const; 10182: # 624 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool RepairBadKnots( 10182: double knot_tolerance=0.0, 10182: bool bRepair = true 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 Trim( const ON_Interval& ); 10182: # 642 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 661 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_BOOL32 Split( 10182: double split_param, 10182: ON_Curve*& left_result, 10182: ON_Curve*& right_result 10182: ) const; 10182: 10182: 10182: 10182: int GetNurbForm( 10182: # 679 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON_NurbsCurve& nurbsform, 10182: double tolerance = 0.0, 10182: const ON_Interval* subdomain = 10182: # 681 "/<>/external/onurbs/opennurbs_nurbscurve.h" 3 4 10182: __null 10182: 10182: # 682 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ) const; 10182: 10182: 10182: 10182: int HasNurbForm( 10182: # 696 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double nurbs_t, 10182: double* curve_t 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double curve_t, 10182: double* nurbs_t 10182: ) const; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: bool IsRational( 10182: void 10182: ) const; 10182: 10182: int CVSize( 10182: void 10182: ) const; 10182: 10182: int Order( 10182: void 10182: ) const; 10182: 10182: int CVCount( 10182: void 10182: ) const; 10182: 10182: int KnotCount( 10182: void 10182: ) const; 10182: # 758 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: double* CV( 10182: int cv_index 10182: ) const; 10182: # 770 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: ON::point_style CVStyle() const; 10182: 10182: 10182: double Weight( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 SetWeight( 10182: int, 10182: double 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int, 10182: ON::point_style, 10182: const double* 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int, 10182: const ON_3dPoint& 10182: 10182: 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int, 10182: const ON_4dPoint& 10182: 10182: 10182: 10182: ); 10182: 10182: ON_BOOL32 GetCV( 10182: int, 10182: ON::point_style, 10182: double* 10182: ) const; 10182: 10182: ON_BOOL32 GetCV( 10182: int, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: ON_BOOL32 GetCV( 10182: int, 10182: ON_4dPoint& 10182: ) const; 10182: # 831 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool SetKnot( 10182: int knot_index, 10182: double knot_value 10182: ); 10182: # 844 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: double Knot( 10182: int knot_index 10182: ) const; 10182: # 857 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: int KnotMultiplicity( 10182: int knot_index 10182: ) const; 10182: # 868 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: const double* Knot() const; 10182: # 882 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool MakeClampedUniformKnotVector( 10182: double delta = 1.0 10182: ); 10182: # 898 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool MakePeriodicUniformKnotVector( 10182: double delta = 1.0 10182: ); 10182: 10182: bool IsClamped( 10182: int = 2 10182: ) const; 10182: 10182: double SuperfluousKnot( 10182: int 10182: ) const; 10182: 10182: double GrevilleAbcissa( 10182: int 10182: ) const; 10182: 10182: bool GetGrevilleAbcissae( 10182: double* 10182: ) const; 10182: 10182: bool ZeroCVs(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ClampEnd( 10182: int end 10182: ); 10182: # 939 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool InsertKnot( 10182: double knot_value, 10182: int knot_multiplicity 10182: ); 10182: 10182: bool MakeRational(); 10182: 10182: bool MakeNonRational(); 10182: 10182: bool IncreaseDegree( 10182: int desired_degree 10182: ); 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: 10182: bool Append( const ON_NurbsCurve& ); 10182: 10182: 10182: 10182: bool ReserveCVCapacity( 10182: int 10182: ); 10182: bool ReserveKnotCapacity( 10182: int 10182: ); 10182: 10182: 10182: 10182: double ControlPolygonLength() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ConvertSpanToBezier( 10182: int, 10182: ON_BezierCurve& 10182: ) const; 10182: # 994 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool SpanIsSingular( 10182: int span_index 10182: ) const; 10182: # 1005 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool IsSingular() const; 10182: # 1027 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool RemoveSpan( 10182: int span_index 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: int RemoveSingularSpans(); 10182: 10182: 10182: 10182: 10182: bool HasBezierSpans() const; 10182: # 1053 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool MakePiecewiseBezier( 10182: bool bSetEndWeightsToOne = false 10182: ); 10182: # 1075 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool ChangeEndWeights( double w0, double w1 ); 10182: # 1097 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: bool Reparameterize( double c ); 10182: 10182: 10182: 10182: 10182: 10182: public: 10182: # 1112 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: int m_dim; 10182: 10182: int m_is_rat; 10182: 10182: 10182: 10182: 10182: int m_order; 10182: 10182: int m_cv_count; 10182: 10182: 10182: 10182: int m_knot_capacity; 10182: # 1136 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: double* m_knot; 10182: 10182: 10182: 10182: 10182: int m_cv_stride; 10182: 10182: 10182: int m_cv_capacity; 10182: # 1153 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: double* m_cv; 10182: # 1163 "/<>/external/onurbs/opennurbs_nurbscurve.h" 10182: }; 10182: # 106 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_polycurve.h" 1 10182: # 36 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: class ON_PolyCurve; 10182: class ON_PolyCurve : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_PolyCurve_ptr; public: static const ON_ClassId m_ON_PolyCurve_class_id; static ON_PolyCurve * Cast( ON_Object* ); static const ON_PolyCurve * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_PolyCurve( const ON_Object*, ON_Object* ); public: ON_PolyCurve * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: ON_PolyCurve(); 10182: ON_PolyCurve( int ); 10182: 10182: ON_PolyCurve(const ON_PolyCurve&); 10182: 10182: void Destroy(); 10182: 10182: virtual ~ON_PolyCurve(); 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_PolyCurve& operator=(const ON_PolyCurve&); 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 87 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 87 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 87 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ) const; 10182: # 111 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool IsValid( bool bAllowGaps, ON_TextLog* text_log ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 150 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: 10182: 10182: 10182: 10182: ON_Curve* DuplicateCurve() const; 10182: 10182: ON_Interval Domain() const; 10182: # 188 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 SetDomain( 10182: double t0, 10182: double t1 10182: ); 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: # 209 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 ChangeClosedCurveSeam( 10182: double t 10182: ); 10182: 10182: int SpanCount() const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: ) const; 10182: 10182: ON_BOOL32 IsLinear( 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: # 244 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: int IsPolyline( 10182: ON_SimpleArray* pline_points = 10182: # 245 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 245 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: ON_SimpleArray* pline_t = 10182: # 246 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: 10182: # 247 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ) const; 10182: 10182: ON_BOOL32 IsArc( 10182: 10182: const ON_Plane* = 10182: # 251 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 251 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: ON_Arc* = 10182: # 252 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 252 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* = 10182: # 258 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 258 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane&, 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: void 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: # 313 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool GetNextDiscontinuity( 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 318 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 318 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: int* dtype= 10182: # 319 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 319 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 357 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double t, 10182: int* hint = 10182: # 360 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: # 360 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse(); 10182: # 387 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: # 407 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 433 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 Trim( 10182: const ON_Interval& domain 10182: ); 10182: # 446 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool Extend( 10182: const ON_Interval& domain 10182: ); 10182: # 470 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_BOOL32 Split( 10182: double t, 10182: ON_Curve*& left_side, 10182: ON_Curve*& right_side 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 486 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 488 "/<>/external/onurbs/opennurbs_polycurve.h" 3 4 10182: __null 10182: 10182: # 489 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 501 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetCurveParameterFromNurbFormParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: ON_BOOL32 GetNurbFormParameterFromCurveParameter( 10182: double, 10182: double* 10182: ) const; 10182: 10182: 10182: 10182: 10182: int Count() const; 10182: 10182: 10182: ON_Curve* operator[](int) const; 10182: # 532 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_Curve* SegmentCurve( 10182: int segment_index 10182: ) const; 10182: # 547 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: double SegmentCurveParameter( 10182: double polycurve_parameter 10182: ) const; 10182: # 563 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: double PolyCurveParameter( 10182: int segment_index, 10182: double segmentcurve_parameter 10182: ) const; 10182: # 578 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: ON_Interval SegmentDomain( 10182: int segment_index 10182: ) const; 10182: # 592 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: int SegmentIndex( 10182: double polycurve_parameter 10182: ) const; 10182: # 608 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: int SegmentIndex( 10182: ON_Interval sub_domain, 10182: int* segment_index0, 10182: int* segment_index1 10182: ) const; 10182: 10182: ON_Curve* FirstSegmentCurve() const; 10182: 10182: ON_Curve* LastSegmentCurve() const; 10182: # 633 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: int FindNextGap( int segment_index0 ) const; 10182: # 648 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool HasGapAt( int segment_index ) const; 10182: 10182: 10182: int HasGap() const; 10182: # 680 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool CloseGap( int gap_index, int segments_to_modify ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int CloseGaps(); 10182: 10182: void Reserve( int ); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Prepend( ON_Curve* ); 10182: ON_BOOL32 Append( ON_Curve* ); 10182: ON_BOOL32 Insert( 10182: int, 10182: ON_Curve* 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 PrependAndMatch(ON_Curve*); 10182: ON_BOOL32 AppendAndMatch(ON_Curve*); 10182: 10182: ON_BOOL32 Remove(); 10182: ON_BOOL32 Remove( int ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Curve* HarvestSegment( int ); 10182: 10182: 10182: 10182: 10182: 10182: bool IsNested() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void RemoveNesting(); 10182: # 740 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool RemoveNestingEx(); 10182: # 749 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool HasSynchronizedSegmentDomains() const; 10182: # 760 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool SynchronizeSegmentDomains(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetSegment(int index, ON_Curve* crv); 10182: # 779 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool SetParameterization( const double* t ); 10182: # 802 "/<>/external/onurbs/opennurbs_polycurve.h" 10182: bool ParameterSearch(double t, int& index, bool bEnableSnap) const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_CurveArray& SegmentCurves() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_SimpleArray& SegmentParameters() const; 10182: 10182: 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: ON_CurveArray m_segment; 10182: 10182: 10182: 10182: ON_SimpleArray m_t; 10182: }; 10182: # 107 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_curveonsurface.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: class ON_CurveOnSurface; 10182: class ON_CurveOnSurface : public ON_Curve 10182: { 10182: protected: static void* m_s_ON_CurveOnSurface_ptr; public: static const ON_ClassId m_ON_CurveOnSurface_class_id; static ON_CurveOnSurface * Cast( ON_Object* ); static const ON_CurveOnSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_CurveOnSurface( const ON_Object*, ON_Object* ); public: ON_CurveOnSurface * Duplicate() const;; 10182: 10182: public: 10182: ON_CurveOnSurface(); 10182: # 37 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: ON_CurveOnSurface( ON_Curve* p2dCurve, 10182: ON_Curve* p3dCurve, 10182: ON_Surface* pSurface 10182: ); 10182: ON_CurveOnSurface(const ON_CurveOnSurface&); 10182: ON_CurveOnSurface& operator=(const ON_CurveOnSurface&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual ~ON_CurveOnSurface(); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: # 77 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 77 "/<>/external/onurbs/opennurbs_curveonsurface.h" 3 4 10182: __null 10182: # 77 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: 10182: 10182: ON_Interval Domain() const; 10182: 10182: int SpanCount() const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: 10182: ON_BOOL32 IsLinear( 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsArc( 10182: 10182: const ON_Plane* = 10182: # 139 "/<>/external/onurbs/opennurbs_curveonsurface.h" 3 4 10182: __null 10182: # 139 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: , 10182: ON_Arc* = 10182: # 140 "/<>/external/onurbs/opennurbs_curveonsurface.h" 3 4 10182: __null 10182: # 140 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* = 10182: # 146 "/<>/external/onurbs/opennurbs_curveonsurface.h" 3 4 10182: __null 10182: # 146 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: , 10182: 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsInPlane( 10182: const ON_Plane&, 10182: double = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: void 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: void 10182: ) const; 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 191 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: ON_NurbsCurve&, 10182: double = 0.0, 10182: const ON_Interval* = 10182: # 193 "/<>/external/onurbs/opennurbs_curveonsurface.h" 3 4 10182: __null 10182: 10182: # 194 "/<>/external/onurbs/opennurbs_curveonsurface.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Curve* m_c2; 10182: ON_Curve* m_c3; 10182: ON_Surface* m_s; 10182: }; 10182: # 108 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_nurbssurface.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: class ON_TensorProduct 10182: { 10182: 10182: public: 10182: ON_TensorProduct(); 10182: 10182: virtual 10182: ~ON_TensorProduct(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: int DimensionA() const = 0; 10182: 10182: virtual 10182: int DimensionB() const = 0; 10182: 10182: virtual 10182: int DimensionC() const = 0; 10182: 10182: virtual 10182: bool Evaluate( double, 10182: const double*, 10182: double, 10182: const double*, 10182: double* 10182: ) = 0; 10182: 10182: }; 10182: 10182: class ON_Brep; 10182: class ON_NurbsSurface; 10182: 10182: class ON_NurbsSurface : public ON_Surface 10182: { 10182: protected: static void* m_s_ON_NurbsSurface_ptr; public: static const ON_ClassId m_ON_NurbsSurface_class_id; static ON_NurbsSurface * Cast( ON_Object* ); static const ON_NurbsSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_NurbsSurface( const ON_Object*, ON_Object* ); public: ON_NurbsSurface * Duplicate() const;; 10182: 10182: public: 10182: # 75 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: static ON_NurbsSurface* New(); 10182: static ON_NurbsSurface* New( 10182: const ON_NurbsSurface& nurbs_surface 10182: ); 10182: static ON_NurbsSurface* New( 10182: const ON_BezierSurface& bezier_surface 10182: ); 10182: static ON_NurbsSurface* New( 10182: int dimension, 10182: ON_BOOL32 bIsRational, 10182: int order0, 10182: int order1, 10182: int cv_count0, 10182: int cv_count1 10182: ); 10182: 10182: ON_NurbsSurface(); 10182: ON_NurbsSurface(const ON_NurbsSurface& nurbs_surface); 10182: ON_NurbsSurface(const ON_BezierSurface& bezier_surface); 10182: ON_NurbsSurface( 10182: int dimension, 10182: ON_BOOL32 bIsRational, 10182: int order0, 10182: int order1, 10182: int cv_count0, 10182: int cv_count1 10182: ); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 121 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool IsDuplicate( 10182: const ON_NurbsSurface& other, 10182: bool bIgnoreParameterization, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: void Initialize(void); 10182: 10182: ON_BOOL32 Create( 10182: int dim, 10182: ON_BOOL32 is_rat, 10182: int order0, 10182: int order1, 10182: int cv_count0, 10182: int cv_count1 10182: ); 10182: # 164 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: virtual 10182: int CreateRuledSurface( 10182: const ON_Curve& curveA, 10182: const ON_Curve& curveB, 10182: const ON_Interval* curveA_domain = 10182: # 168 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 168 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: , 10182: const ON_Interval* curveB_domain = 10182: # 169 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: 10182: # 170 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ); 10182: # 196 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: int CreateConeSurface( 10182: ON_3dPoint apex_point, 10182: const ON_Curve& curve, 10182: const ON_Interval* curve_domain = 10182: # 199 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: 10182: # 200 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ); 10182: # 219 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool CollapseSide( 10182: int side, 10182: ON_3dPoint point = ON_UNSET_POINT 10182: ); 10182: 10182: void Destroy(); 10182: 10182: virtual ~ON_NurbsSurface(); 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_NurbsSurface& operator=(const ON_NurbsSurface&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_NurbsSurface& operator=( 10182: const ON_BezierSurface& bezier_surface 10182: ); 10182: # 264 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 264 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 264 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: # 327 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: int SpanCount( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: int, 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: int, 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: # 366 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 367 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 367 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: # 437 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 443 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 443 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: , 10182: int* dtype= 10182: # 444 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 444 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 476 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 480 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 480 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 523 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: # 545 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 566 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 599 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: # 621 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_Surface* Offset( 10182: double offset_distance, 10182: double tolerance, 10182: double* max_deviation = 10182: # 624 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: 10182: # 625 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 637 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_NurbsSurface&, 10182: double = 0.0 10182: ) const; 10182: # 656 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double ControlPolygonLength( int dir ) const; 10182: 10182: 10182: bool IsRational( 10182: void 10182: ) const; 10182: 10182: int CVSize( 10182: void 10182: ) const; 10182: 10182: int Order( 10182: int 10182: ) const; 10182: 10182: int CVCount( 10182: int 10182: ) const; 10182: 10182: int CVCount( 10182: void 10182: ) const; 10182: 10182: int KnotCount( 10182: int dir 10182: ) const; 10182: # 705 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double* CV( 10182: int i, 10182: int j 10182: ) const; 10182: # 718 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON::point_style CVStyle() const; 10182: 10182: double Weight( 10182: int i, int j 10182: ) const; 10182: 10182: ON_BOOL32 SetWeight( 10182: int i, int j, 10182: double weight 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int i, int j, 10182: ON::point_style, 10182: const double* cv 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int i, int j, 10182: const ON_3dPoint& cv 10182: 10182: 10182: ); 10182: 10182: ON_BOOL32 SetCV( 10182: int i, int j, 10182: const ON_4dPoint& cv 10182: ); 10182: 10182: ON_BOOL32 SetCVRow( 10182: int row_index, 10182: const ON_3dPoint& cv 10182: 10182: 10182: ); 10182: 10182: ON_BOOL32 SetCVRow( 10182: int row_index, 10182: int v_stride, 10182: const double* v 10182: ); 10182: 10182: ON_BOOL32 SetCVColumn( 10182: int col_index, 10182: const ON_3dPoint& cv 10182: 10182: 10182: ); 10182: 10182: ON_BOOL32 SetCVColumn( 10182: int col_index, 10182: int v_stride, 10182: const double* v 10182: ); 10182: 10182: ON_BOOL32 GetCV( 10182: int i, int j, 10182: ON::point_style, 10182: double* cv 10182: ) const; 10182: 10182: ON_BOOL32 GetCV( 10182: int i, int j, 10182: ON_3dPoint& cv 10182: ) const; 10182: 10182: ON_BOOL32 GetCV( 10182: int i, int j, 10182: ON_4dPoint& cv 10182: ) const; 10182: 10182: int SetKnot( 10182: int dir, 10182: int knot_index, 10182: double knot_value 10182: ); 10182: 10182: double Knot( 10182: int dir, 10182: int knot_index 10182: ) const; 10182: 10182: int KnotMultiplicity( 10182: int dir, 10182: int knot_index 10182: ) const; 10182: 10182: const double* Knot( 10182: int dir 10182: ) const; 10182: # 822 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool MakeClampedUniformKnotVector( 10182: int dir, 10182: double delta = 1.0 10182: ); 10182: # 840 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool MakePeriodicUniformKnotVector( 10182: int dir, 10182: double delta = 1.0 10182: ); 10182: 10182: 10182: bool IsClamped( 10182: int dir, 10182: int end = 2 10182: ) const; 10182: 10182: double SuperfluousKnot( 10182: int dir, 10182: int end 10182: ) const; 10182: 10182: double GrevilleAbcissa( 10182: int dir, 10182: int cv_index 10182: ) const; 10182: 10182: bool GetGrevilleAbcissae( 10182: int dir, 10182: double* g 10182: ) const; 10182: 10182: bool SetClampedGrevilleKnotVector( 10182: int dir, 10182: int g_stride, 10182: const double* g 10182: ); 10182: 10182: bool SetPeriodicGrevilleKnotVector( 10182: int dir, 10182: int g_stride, 10182: const double* g 10182: ); 10182: 10182: bool ZeroCVs(); 10182: 10182: bool ClampEnd( 10182: int dir, 10182: int end 10182: ); 10182: 10182: bool InsertKnot( 10182: int dir, 10182: double knot_value, 10182: int knot_multiplicity=1 10182: ); 10182: 10182: bool MakeRational(); 10182: 10182: bool MakeNonRational(); 10182: 10182: bool IncreaseDegree( 10182: int dir, 10182: int desired_degree 10182: ); 10182: 10182: bool ChangeDimension( 10182: int desired_dimension 10182: ); 10182: # 915 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 ChangeSurfaceSeam( 10182: int dir, 10182: double t 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 TensorProduct( 10182: const ON_NurbsCurve&, 10182: const ON_NurbsCurve&, 10182: ON_TensorProduct& 10182: ); 10182: 10182: 10182: 10182: ON_BOOL32 ReserveKnotCapacity( 10182: 10182: int dir, 10182: int knot_array_capacity 10182: ); 10182: ON_BOOL32 ReserveCVCapacity( 10182: 10182: int cv_array_capacity 10182: ); 10182: # 955 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 ConvertSpanToBezier( 10182: int span_index0, 10182: int span_index1, 10182: ON_BezierSurface& bezier_surface 10182: ) const; 10182: 10182: 10182: 10182: public: 10182: # 972 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: int m_dim; 10182: 10182: int m_is_rat; 10182: 10182: 10182: 10182: 10182: int m_order[2]; 10182: 10182: int m_cv_count[2]; 10182: 10182: 10182: 10182: int m_knot_capacity[2]; 10182: # 996 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double* m_knot[2]; 10182: 10182: 10182: 10182: 10182: int m_cv_stride[2]; 10182: 10182: 10182: int m_cv_capacity; 10182: # 1013 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double* m_cv; 10182: # 1023 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: }; 10182: 10182: 10182: class ON_NurbsCage : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_NurbsCage_ptr; public: static const ON_ClassId m_ON_NurbsCage_class_id; static ON_NurbsCage * Cast( ON_Object* ); static const ON_NurbsCage * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_NurbsCage( const ON_Object*, ON_Object* ); public: ON_NurbsCage * Duplicate() const;; 10182: 10182: public: 10182: ON_NurbsCage(); 10182: 10182: ON_NurbsCage( 10182: int dim, 10182: bool is_rat, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: 10182: ON_NurbsCage( 10182: const ON_BoundingBox& bbox, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: 10182: ON_NurbsCage( 10182: const ON_3dPoint* box_corners, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: 10182: ON_NurbsCage( const ON_BezierCage& src ); 10182: 10182: ~ON_NurbsCage(); 10182: 10182: ON_NurbsCage(const ON_NurbsCage& src); 10182: 10182: ON_NurbsCage& operator=(const ON_NurbsCage& src); 10182: 10182: ON_NurbsCage& operator=(const ON_BezierCage& src); 10182: # 1088 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 IsValid( 10182: ON_TextLog* text_log = 10182: # 1089 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: 10182: # 1090 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Dump( ON_TextLog& text_log) const; 10182: # 1107 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 1122 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& archive 10182: ); 10182: # 1136 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& archive 10182: ) const; 10182: # 1150 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON::object_type ObjectType() const; 10182: # 1166 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: void DestroyRuntimeCache( 10182: bool bDelete = true 10182: ); 10182: # 1185 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: int Dimension() const; 10182: # 1202 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: # 1223 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 1238 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 1250 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool IsDeformable() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsParallelogram(double tolerance) const; 10182: 10182: bool Create( 10182: int dim, 10182: bool is_rat, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: # 1300 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool Create( 10182: const ON_BoundingBox& bbox, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: # 1331 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool Create( 10182: const ON_3dPoint* box_corners, 10182: int order0, 10182: int order1, 10182: int order2, 10182: int cv_count0, 10182: int cv_count1, 10182: int cv_count2 10182: ); 10182: 10182: void Destroy(); 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: 10182: bool Reverse( 10182: int dir 10182: ); 10182: 10182: bool Transpose( 10182: int dir0, 10182: int dir1 10182: ); 10182: 10182: bool ClampEnd( 10182: int dir, 10182: int end 10182: ); 10182: 10182: bool InsertKnot( 10182: int dir, 10182: double knot_value, 10182: int knot_multiplicity=1 10182: ); 10182: 10182: ON_BOOL32 IncreaseDegree( 10182: int dir, 10182: int desired_degree 10182: ); 10182: 10182: ON_BOOL32 ChangeDimension( 10182: int desired_dimension 10182: ); 10182: # 1446 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool Evaluate( 10182: double r, 10182: double s, 10182: double t, 10182: int der_count, 10182: int v_stride, 10182: double* v, 10182: int side=0, 10182: int* hint=0 10182: ) const; 10182: # 1465 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_3dPoint PointAt( 10182: double r, 10182: double s, 10182: double t 10182: ) const; 10182: 10182: ON_NurbsSurface* IsoSurface( 10182: int dir, 10182: double c, 10182: ON_NurbsSurface* srf = 0 10182: ) const; 10182: 10182: bool Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 1495 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON_3dPoint PointAt( 10182: ON_3dPoint rst 10182: ) const; 10182: 10182: bool IsRational() const; 10182: 10182: int CVSize() const; 10182: 10182: int Order( 10182: int dir 10182: ) const; 10182: 10182: int CVCount( 10182: int 10182: ) const; 10182: 10182: int CVCount( 10182: void 10182: ) const; 10182: 10182: int KnotCount( 10182: int dir 10182: ) const; 10182: 10182: int Degree( 10182: int dir 10182: ) const; 10182: 10182: 10182: int SpanCount( 10182: int dir 10182: ) const; 10182: 10182: bool GetSpanVector( 10182: int dir, 10182: double* span_vector 10182: ) const; 10182: # 1555 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double* CV( 10182: int i, 10182: int j, 10182: int k 10182: ) const; 10182: # 1569 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ON::point_style CVStyle() const; 10182: 10182: double Weight( 10182: int i, 10182: int j, 10182: int k 10182: ) const; 10182: 10182: bool SetWeight( 10182: int i, 10182: int j, 10182: int k, 10182: double w 10182: ); 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON::point_style, 10182: const double* 10182: ); 10182: 10182: 10182: 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: const ON_3dPoint& point 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetCV( 10182: int i, 10182: int j, 10182: int k, 10182: const ON_4dPoint& hpoint 10182: ); 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON::point_style, 10182: double* 10182: ) const; 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: bool GetCV( 10182: int i, 10182: int j, 10182: int k, 10182: ON_4dPoint& 10182: ) const; 10182: # 1645 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool SetKnot( 10182: int dir, 10182: int knot_index, 10182: double knot_value 10182: ); 10182: # 1658 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: double Knot( 10182: int dir, 10182: int knot_index 10182: ) const; 10182: 10182: bool ZeroCVs(); 10182: 10182: bool MakeRational(); 10182: 10182: bool MakeNonRational(); 10182: 10182: bool IsClosed( 10182: int 10182: ) const; 10182: 10182: 10182: bool IsPeriodic( 10182: int 10182: ) const; 10182: 10182: bool IsSingular( 10182: int 10182: 10182: ) const; 10182: 10182: double GrevilleAbcissa( 10182: int dir, 10182: int gindex 10182: ) const; 10182: # 1695 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool ReserveCVCapacity( 10182: int cv_capacity 10182: ); 10182: 10182: bool ReserveKnotCapacity( 10182: int dir, 10182: int cv_capacity 10182: ); 10182: 10182: 10182: 10182: public: 10182: # 1716 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: int m_dim; 10182: bool m_is_rat; 10182: int m_order[3]; 10182: int m_cv_count[3]; 10182: int m_knot_capacity[3]; 10182: double* m_knot[3]; 10182: int m_cv_stride[3]; 10182: int m_cv_capacity; 10182: double* m_cv; 10182: }; 10182: 10182: 10182: bool ON_GetCageXform( 10182: const ON_NurbsCage& cage, 10182: ON_Xform& cage_xform 10182: ); 10182: 10182: 10182: class ON_MorphControl : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_MorphControl_ptr; public: static const ON_ClassId m_ON_MorphControl_class_id; static ON_MorphControl * Cast( ON_Object* ); static const ON_MorphControl * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_MorphControl( const ON_Object*, ON_Object* ); public: ON_MorphControl * Duplicate() const;; 10182: 10182: public: 10182: ON_MorphControl(); 10182: ~ON_MorphControl(); 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void MemoryRelocate(); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1754 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 1754 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& archive 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& archive 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: void ClearBoundingBox(); 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: ON_BOOL32 HasBrepForm() const; 10182: 10182: ON_Brep* BrepForm( ON_Brep* brep = 10182: # 1799 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: # 1799 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsRational() const; 10182: 10182: 10182: 10182: 10182: 10182: bool MakeRational(); 10182: 10182: 10182: 10182: 10182: 10182: bool MakeNonRational(); 10182: 10182: 10182: 10182: 10182: 10182: int CVCount() const; 10182: 10182: int CVCount(int dir) const; 10182: int Order(int dir) const; 10182: const double* Knot(int dir) const; 10182: ON_3dex MaxCVIndex() const; 10182: const double* CV(ON_3dex) const; 10182: double Weight(ON_3dex) const; 10182: # 1855 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: bool AddControlLocalizer( 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: bool AddSphereLocalizer( 10182: ON_3dPoint center, 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: bool AddCylinderLocalizer( 10182: ON_Line axis, 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: bool AddBoxLocalizer( 10182: ON_BoundingBox bbox, 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: bool AddPlaneLocalizer( 10182: const ON_Plane& plane, 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: bool AddConvexPolygonLocalizer( 10182: const ON_SimpleArray& planes, 10182: double support_distance, 10182: double falloff_distance 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool GetCageMorph( class ON_CageMorph& cage_morph ) const; 10182: 10182: bool IsIdentity( const ON_BoundingBox& bbox ) const; 10182: 10182: int m_varient; 10182: 10182: 10182: 10182: ON_NurbsCurve m_nurbs_curve0; 10182: ON_NurbsCurve m_nurbs_curve; 10182: ON_Interval m_nurbs_curve_domain; 10182: 10182: ON_NurbsSurface m_nurbs_surface0; 10182: ON_NurbsSurface m_nurbs_surface; 10182: ON_Interval m_nurbs_surface_domain[2]; 10182: 10182: ON_Xform m_nurbs_cage0; 10182: ON_NurbsCage m_nurbs_cage; 10182: 10182: 10182: ON_UuidList m_captive_id; 10182: 10182: 10182: 10182: 10182: ON_ClassArray m_localizers; 10182: 10182: 10182: double m_sporh_tolerance; 10182: bool m_sporh_bQuickPreview; 10182: bool m_sporh_bPreserveStructure; 10182: }; 10182: 10182: 10182: class ON_CageMorph : public ON_SpaceMorph 10182: { 10182: public: 10182: ON_CageMorph(); 10182: ~ON_CageMorph(); 10182: 10182: bool IsIdentity( const ON_BoundingBox& bbox ) const; 10182: 10182: const ON_MorphControl* m_control; 10182: }; 10182: # 1953 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: 10182: ON_NurbsSurface* ON_NurbsSurfaceQuadrilateral( 10182: const ON_3dPoint& P, 10182: const ON_3dPoint& Q, 10182: const ON_3dPoint& R, 10182: const ON_3dPoint& S, 10182: ON_NurbsSurface* nurbs_surface = 10182: # 1959 "/<>/external/onurbs/opennurbs_nurbssurface.h" 3 4 10182: __null 10182: 10182: # 1960 "/<>/external/onurbs/opennurbs_nurbssurface.h" 10182: ); 10182: # 109 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_planesurface.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: class ON_PlaneSurface; 10182: 10182: class ON_PlaneSurface : public ON_Surface 10182: { 10182: protected: static void* m_s_ON_PlaneSurface_ptr; public: static const ON_ClassId m_ON_PlaneSurface_class_id; static ON_PlaneSurface * Cast( ON_Object* ); static const ON_PlaneSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_PlaneSurface( const ON_Object*, ON_Object* ); public: ON_PlaneSurface * Duplicate() const;; 10182: 10182: public: 10182: ON_PlaneSurface(); 10182: ON_PlaneSurface(const ON_PlaneSurface&); 10182: ON_PlaneSurface& operator=(const ON_PlaneSurface&); 10182: 10182: ON_PlaneSurface(const ON_Plane&); 10182: ON_PlaneSurface& operator=(const ON_Plane&); 10182: 10182: virtual ~ON_PlaneSurface(); 10182: # 45 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_Plane m_plane; 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 75 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 75 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 75 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: # 118 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: # 140 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: int SpanCount( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: int, 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: int, 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: # 179 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 180 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 180 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: # 249 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 255 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 255 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: , 10182: int* dtype= 10182: # 256 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 256 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 288 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 292 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 292 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 336 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: # 358 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 379 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 411 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: # 442 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool GetClosestPoint( 10182: const ON_3dPoint& P, 10182: double* s, 10182: double* t, 10182: double maximum_distance = 0.0, 10182: const ON_Interval* sdomain = 0, 10182: const ON_Interval* tdomain = 0 10182: ) const; 10182: # 459 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_BOOL32 GetLocalClosestPoint( const ON_3dPoint&, 10182: double,double, 10182: double*,double*, 10182: const ON_Interval* = 10182: # 462 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: # 462 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: , 10182: const ON_Interval* = 10182: # 463 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: 10182: # 464 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ) const; 10182: # 484 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_Surface* Offset( 10182: double offset_distance, 10182: double tolerance, 10182: double* max_deviation = 10182: # 487 "/<>/external/onurbs/opennurbs_planesurface.h" 3 4 10182: __null 10182: 10182: # 488 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ) const; 10182: 10182: 10182: int GetNurbForm( 10182: # 501 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_NurbsSurface&, 10182: double = 0.0 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 515 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ) const; 10182: # 532 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool SetExtents( 10182: int dir, 10182: ON_Interval extents, 10182: bool bSynchDomain = false 10182: ); 10182: # 549 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: ON_Interval Extents( 10182: int dir 10182: ) const; 10182: # 565 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool CreatePseudoInfinitePlane( 10182: ON_PlaneEquation plane_equation, 10182: const ON_BoundingBox& bbox, 10182: double padding = 0.0625 10182: ); 10182: # 583 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool CreatePseudoInfinitePlane( 10182: const ON_Plane& plane, 10182: const ON_BoundingBox& bbox, 10182: double padding = 0.0625 10182: ); 10182: # 602 "/<>/external/onurbs/opennurbs_planesurface.h" 10182: bool CreatePseudoInfinitePlane( 10182: const ON_Plane& plane, 10182: int point_count, 10182: const ON_3dPoint* point_list, 10182: double padding = 0.0625 10182: ); 10182: 10182: protected: 10182: 10182: ON_Interval m_domain[2]; 10182: 10182: 10182: ON_Interval m_extents[2]; 10182: }; 10182: 10182: 10182: class ON_ClippingPlaneSurface : public ON_PlaneSurface 10182: { 10182: protected: static void* m_s_ON_ClippingPlaneSurface_ptr; public: static const ON_ClassId m_ON_ClippingPlaneSurface_class_id; static ON_ClippingPlaneSurface * Cast( ON_Object* ); static const ON_ClippingPlaneSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_ClippingPlaneSurface( const ON_Object*, ON_Object* ); public: ON_ClippingPlaneSurface * Duplicate() const;; 10182: public: 10182: ON_ClippingPlaneSurface(); 10182: ON_ClippingPlaneSurface(const ON_Plane& src); 10182: ON_ClippingPlaneSurface(const ON_PlaneSurface& src); 10182: ~ON_ClippingPlaneSurface(); 10182: 10182: ON_ClippingPlaneSurface& operator=(const ON_Plane& src); 10182: ON_ClippingPlaneSurface& operator=(const ON_PlaneSurface& src); 10182: 10182: void Default(); 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON_ClippingPlane m_clipping_plane; 10182: }; 10182: # 110 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_revsurface.h" 1 10182: # 21 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: class ON_RevSurface : public ON_Surface 10182: { 10182: protected: static void* m_s_ON_RevSurface_ptr; public: static const ON_ClassId m_ON_RevSurface_class_id; static ON_RevSurface * Cast( ON_Object* ); static const ON_RevSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_RevSurface( const ON_Object*, ON_Object* ); public: ON_RevSurface * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: 10182: 10182: ON_Curve* m_curve; 10182: 10182: 10182: ON_Line m_axis; 10182: 10182: 10182: 10182: 10182: ON_Interval m_angle; 10182: # 50 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_Interval m_t; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 m_bTransposed; 10182: 10182: 10182: ON_BoundingBox m_bbox; 10182: # 69 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: static ON_RevSurface* New(); 10182: static ON_RevSurface* New( const ON_RevSurface& rev_surface ); 10182: 10182: 10182: ON_RevSurface(); 10182: ~ON_RevSurface(); 10182: ON_RevSurface( const ON_RevSurface& ); 10182: ON_RevSurface& operator=( const ON_RevSurface& ); 10182: 10182: void Destroy(); 10182: 10182: ON_BOOL32 SetAngleRadians( 10182: double start_angle_radians, 10182: double end_angle_radians 10182: ); 10182: 10182: ON_BOOL32 SetAngleDegrees( 10182: double start_angle_degrees, 10182: double end_angle_degrees 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 120 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 120 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 120 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: void ClearBoundingBox(); 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: # 182 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: int SpanCount( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: int, 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: int, 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: # 219 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 IsSpherical( 10182: ON_Sphere* sphere = 10182: # 220 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 220 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 235 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 IsCylindrical( 10182: ON_Cylinder* cylinder = 10182: # 236 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 236 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 251 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 IsConical( 10182: ON_Cone* cone = 10182: # 252 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 252 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: # 269 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 270 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 270 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: # 339 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 345 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 345 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: int* dtype= 10182: # 346 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 346 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 378 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 382 "/<>/external/onurbs/opennurbs_revsurface.h" 3 4 10182: __null 10182: # 382 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 425 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: # 446 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 467 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 498 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 515 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ON_NurbsSurface&, 10182: double = 0.0 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 529 "/<>/external/onurbs/opennurbs_revsurface.h" 10182: ) const; 10182: 10182: bool GetSurfaceParameterFromNurbFormParameter( 10182: double nurbs_s, double nurbs_t, 10182: double* surface_s, double* surface_t 10182: ) const; 10182: 10182: bool GetNurbFormParameterFromSurfaceParameter( 10182: double surface_s, double surface_t, 10182: double* nurbs_s, double* nurbs_t 10182: ) const; 10182: }; 10182: # 111 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_sumsurface.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: class ON_SumSurface; 10182: 10182: 10182: class ON_SumSurface : public ON_Surface 10182: { 10182: protected: static void* m_s_ON_SumSurface_ptr; public: static const ON_ClassId m_ON_SumSurface_class_id; static ON_SumSurface * Cast( ON_Object* ); static const ON_SumSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_SumSurface( const ON_Object*, ON_Object* ); public: ON_SumSurface * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: ON_Curve* m_curve[2]; 10182: 10182: ON_3dVector m_basepoint; 10182: ON_BoundingBox m_bbox; 10182: 10182: public: 10182: # 51 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: static ON_SumSurface* New(); 10182: static ON_SumSurface* New( const ON_SumSurface& rev_surface ); 10182: 10182: ON_SumSurface(); 10182: ~ON_SumSurface(); 10182: ON_SumSurface( const ON_SumSurface& ); 10182: ON_SumSurface& operator=(const ON_SumSurface&); 10182: # 68 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Create( const ON_Curve& curve, ON_3dVector extrusion_vector ); 10182: # 81 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Create( ON_Curve* pCurve, ON_3dVector extrusion_vector ); 10182: # 92 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Create( const ON_Curve& curve, 10182: const ON_Curve& path_curve 10182: ); 10182: # 109 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Create( 10182: ON_Curve* pCurve, 10182: ON_Curve* pPathCurve 10182: ); 10182: 10182: void Destroy(); 10182: 10182: void EmergencyDestroy(); 10182: # 125 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 147 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 147 "/<>/external/onurbs/opennurbs_sumsurface.h" 3 4 10182: __null 10182: # 147 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: void ClearBoundingBox(); 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: 10182: ON_Interval Domain( 10182: int 10182: ) const; 10182: # 214 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: 10182: int SpanCount( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetSpanVector( 10182: int, 10182: double* 10182: ) const; 10182: 10182: int Degree( 10182: 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 GetParameterTolerance( 10182: int, 10182: double, 10182: double*, 10182: double* 10182: ) const; 10182: # 253 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 254 "/<>/external/onurbs/opennurbs_sumsurface.h" 3 4 10182: __null 10182: # 254 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: 10182: ON_BOOL32 IsSingular( 10182: int 10182: 10182: ) const; 10182: # 323 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 329 "/<>/external/onurbs/opennurbs_sumsurface.h" 3 4 10182: __null 10182: # 329 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: , 10182: int* dtype= 10182: # 330 "/<>/external/onurbs/opennurbs_sumsurface.h" 3 4 10182: __null 10182: # 330 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: # 362 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 366 "/<>/external/onurbs/opennurbs_sumsurface.h" 3 4 10182: __null 10182: # 366 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: 10182: ON_BOOL32 Reverse( 10182: int 10182: ); 10182: 10182: ON_BOOL32 Transpose(); 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: 10182: ON_Curve* IsoCurve( 10182: int, 10182: 10182: 10182: 10182: double 10182: ) const; 10182: 10182: int GetNurbForm( 10182: # 413 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_NurbsSurface&, 10182: double = 0.0 10182: ) const; 10182: 10182: int HasNurbForm( 10182: # 427 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ) const; 10182: 10182: bool GetSurfaceParameterFromNurbFormParameter( 10182: double nurbs_s, double nurbs_t, 10182: double* surface_s, double* surface_t 10182: ) const; 10182: 10182: bool GetNurbFormParameterFromSurfaceParameter( 10182: double surface_s, double surface_t, 10182: double* nurbs_s, double* nurbs_t 10182: ) const; 10182: # 456 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 477 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: # 508 "/<>/external/onurbs/opennurbs_sumsurface.h" 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: }; 10182: # 112 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_brep.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepTrim; 10182: class ON_BrepEdge; 10182: class ON_BrepLoop; 10182: class ON_BrepFace; 10182: # 49 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepVertex : public ON_Point 10182: { 10182: protected: static void* m_s_ON_BrepVertex_ptr; public: static const ON_ClassId m_ON_BrepVertex_class_id; static ON_BrepVertex * Cast( ON_Object* ); static const ON_BrepVertex * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepVertex( const ON_Object*, ON_Object* ); public: ON_BrepVertex * Duplicate() const;; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: ON_U m_vertex_user; 10182: 10182: 10182: int m_vertex_index; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepVertex(); 10182: ON_BrepVertex( 10182: int 10182: ); 10182: ON_BrepVertex& operator=(const ON_BrepVertex&); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 99 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 99 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 99 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: # 120 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetPoint( 10182: const ON_3dPoint& 10182: ); 10182: 10182: 10182: 10182: ON_3dPoint Point() const; 10182: 10182: 10182: 10182: 10182: 10182: double Tolerance() const; 10182: 10182: 10182: 10182: int EdgeCount() const; 10182: # 150 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_SimpleArray m_ei; 10182: # 172 "/<>/external/onurbs/opennurbs_brep.h" 10182: double m_tolerance; 10182: 10182: private: 10182: ON_BrepVertex( const ON_BrepVertex& ); 10182: 10182: }; 10182: # 192 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepEdge : public ON_CurveProxy 10182: { 10182: protected: static void* m_s_ON_BrepEdge_ptr; public: static const ON_ClassId m_ON_BrepEdge_class_id; static ON_BrepEdge * Cast( ON_Object* ); static const ON_BrepEdge * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepEdge( const ON_Object*, ON_Object* ); public: ON_BrepEdge * Duplicate() const;; 10182: public: 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_edge_user; 10182: 10182: 10182: int m_edge_index; 10182: 10182: 10182: 10182: ON_BOOL32 IsClosed() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepEdge(); 10182: ON_BrepEdge(int); 10182: ON_BrepEdge& operator=(const ON_BrepEdge&); 10182: 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: # 236 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim* Trim( int eti ) const; 10182: 10182: 10182: 10182: 10182: 10182: int TrimCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepVertex* Vertex(int evi) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 277 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 277 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 277 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: 10182: 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: # 312 "/<>/external/onurbs/opennurbs_brep.h" 10182: int EdgeCurveIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_Curve* EdgeCurveOf() const; 10182: # 337 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ChangeEdgeCurve( 10182: int c3i 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void UnsetPlineEdgeParameters(); 10182: 10182: 10182: 10182: int m_c3i; 10182: # 361 "/<>/external/onurbs/opennurbs_brep.h" 10182: int m_vi[2]; 10182: 10182: 10182: ON_SimpleArray m_ti; 10182: # 375 "/<>/external/onurbs/opennurbs_brep.h" 10182: double m_tolerance; 10182: 10182: private: 10182: friend class ON_Brep; 10182: ON_Brep* m_brep; 10182: ON_BrepEdge( const ON_BrepEdge& ); 10182: }; 10182: 10182: struct ON_BrepTrimPoint 10182: { 10182: ON_2dPoint p; 10182: double t; 10182: double e; 10182: }; 10182: # 414 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepTrim : public ON_CurveProxy 10182: { 10182: protected: static void* m_s_ON_BrepTrim_ptr; public: static const ON_ClassId m_ON_BrepTrim_class_id; static ON_BrepTrim * Cast( ON_Object* ); static const ON_BrepTrim * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepTrim( const ON_Object*, ON_Object* ); public: ON_BrepTrim * Duplicate() const;; 10182: 10182: public: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_trim_user; 10182: 10182: int m_trim_index; 10182: 10182: 10182: enum TYPE 10182: { 10182: unknown = 0, 10182: boundary = 1, 10182: 10182: 10182: mated = 2, 10182: 10182: 10182: 10182: seam = 3, 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: singular = 4, 10182: 10182: 10182: 10182: crvonsrf = 5, 10182: 10182: 10182: ptonsrf = 6, 10182: 10182: 10182: 10182: slit = 7, 10182: 10182: trim_type_count = 8, 10182: force_32_bit_trim_type = 0xFFFFFFFF 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepTrim(); 10182: ON_BrepTrim(int); 10182: ON_BrepTrim& operator=(const ON_BrepTrim&); 10182: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepLoop* Loop() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepFace* Face() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepEdge* Edge() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepVertex* Vertex(int tvi) const; 10182: # 535 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 535 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 535 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Reverse(); 10182: 10182: 10182: ON_BOOL32 SetStartPoint( 10182: ON_3dPoint start_point 10182: ); 10182: 10182: 10182: ON_BOOL32 SetEndPoint( 10182: ON_3dPoint end_point 10182: ); 10182: # 584 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ChangeTrimCurve( int c2i ); 10182: # 594 "/<>/external/onurbs/opennurbs_brep.h" 10182: void DestroyPspaceInformation(); 10182: # 613 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool RemoveFromEdge( 10182: bool bRemoveFromStartVertex, 10182: bool bRemoveFromEndVertex 10182: ); 10182: # 631 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool AttachToEdge( 10182: int edge_index, 10182: bool bRev3d 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: const ON_Curve* TrimCurveOf() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_Curve* EdgeCurveOf() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_Surface* SurfaceOf() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int TrimCurveIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int EdgeCurveIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int SurfaceIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: int FaceIndexOf() const; 10182: # 694 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsSlit() const; 10182: # 711 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsSeam() const; 10182: # 725 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool TransformTrim( const ON_Xform& xform ); 10182: 10182: 10182: int m_c2i; 10182: 10182: 10182: int m_ei; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_vi[2]; 10182: 10182: 10182: bool m_bRev3d; 10182: 10182: TYPE m_type; 10182: ON_Surface::ISO m_iso; 10182: 10182: 10182: int m_li; 10182: # 788 "/<>/external/onurbs/opennurbs_brep.h" 10182: double m_tolerance[2]; 10182: 10182: 10182: 10182: ON_SimpleArray m_pline; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void UnsetPlineEdgeParameters(); 10182: 10182: 10182: 10182: ON_BoundingBox m_pbox; 10182: 10182: public: 10182: 10182: 10182: void m__legacy_flags_Set(int,int); 10182: bool m__legacy_flags_Get(int*,int*) const; 10182: double m__legacy_2d_tol; 10182: double m__legacy_3d_tol; 10182: int m__legacy_flags; 10182: 10182: private: 10182: friend class ON_Brep; 10182: ON_Brep* m_brep; 10182: ON_BrepTrim( const ON_BrepTrim& ); 10182: }; 10182: 10182: class ON_BrepLoop : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_BrepLoop_ptr; public: static const ON_ClassId m_ON_BrepLoop_class_id; static ON_BrepLoop * Cast( ON_Object* ); static const ON_BrepLoop * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepLoop( const ON_Object*, ON_Object* ); public: ON_BrepLoop * Duplicate() const;; 10182: 10182: public: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: # 838 "/<>/external/onurbs/opennurbs_brep.h" 10182: int Dimension() const; 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: public: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepFace* Face() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepTrim* Trim( int lti ) const; 10182: 10182: 10182: 10182: 10182: 10182: int TrimCount() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_loop_user; 10182: 10182: int m_loop_index; 10182: 10182: enum TYPE { 10182: unknown = 0, 10182: outer = 1, 10182: inner = 2, 10182: slit = 3, 10182: crvonsrf = 4, 10182: 10182: ptonsrf = 5, 10182: 10182: type_count = 6 10182: }; 10182: 10182: ON_BrepLoop(); 10182: ON_BrepLoop(int); 10182: ON_BrepLoop& operator=(const ON_BrepLoop&); 10182: # 909 "/<>/external/onurbs/opennurbs_brep.h" 10182: unsigned int SizeOf() const; 10182: # 930 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 930 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 930 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int IndexOfTrim( const ON_BrepTrim& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int SurfaceIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_Surface* SurfaceOf() const; 10182: # 974 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool TransformTrim( const ON_Xform& xform ); 10182: 10182: ON_SimpleArray m_ti; 10182: TYPE m_type; 10182: int m_fi; 10182: 10182: 10182: 10182: 10182: ON_BoundingBox m_pbox; 10182: private: 10182: friend class ON_Brep; 10182: ON_Brep* m_brep; 10182: ON_BrepLoop(const ON_BrepLoop&); 10182: }; 10182: 10182: class ON_BrepFace : public ON_SurfaceProxy 10182: { 10182: protected: static void* m_s_ON_BrepFace_ptr; public: static const ON_ClassId m_ON_BrepFace_class_id; static ON_BrepFace * Cast( ON_Object* ); static const ON_BrepFace * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepFace( const ON_Object*, ON_Object* ); public: ON_BrepFace * Duplicate() const;; 10182: 10182: public: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_face_user; 10182: 10182: int m_face_index; 10182: 10182: ON_BrepFace(); 10182: ~ON_BrepFace(); 10182: ON_BrepFace(int); 10182: ON_BrepFace& operator=(const ON_BrepFace&); 10182: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepLoop* Loop( int fli ) const; 10182: 10182: 10182: 10182: 10182: 10182: int LoopCount() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BrepLoop* OuterLoop() const; 10182: # 1048 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepFaceSide* FaceSide(int dir) const; 10182: # 1058 "/<>/external/onurbs/opennurbs_brep.h" 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: # 1082 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1082 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1082 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_COMPONENT_INDEX ComponentIndex() const; 10182: 10182: 10182: void ClearBoundingBox(); 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: # 1117 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 Reverse( 10182: int dir 10182: ); 10182: # 1132 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 Transpose(); 10182: # 1145 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: # 1158 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetDomain( 10182: ON_Interval udom, 10182: ON_Interval vdom 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetMesh( ON::mesh_type, ON_Mesh* mesh ); 10182: 10182: const ON_Mesh* Mesh( ON::mesh_type mesh_type ) const; 10182: # 1186 "/<>/external/onurbs/opennurbs_brep.h" 10182: void DestroyMesh( ON::mesh_type mesh_type, bool bDeleteMesh = true ); 10182: # 1203 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool TransformTrim( const ON_Xform& xform ); 10182: # 1235 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ChangeSurface( 10182: int si 10182: ); 10182: bool ChangeSurface( 10182: int si, 10182: bool bTransformTrimCurves 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int SurfaceIndexOf() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_Surface* SurfaceOf() const; 10182: 10182: ON_SimpleArray m_li; 10182: int m_si; 10182: bool m_bRev; 10182: # 1274 "/<>/external/onurbs/opennurbs_brep.h" 10182: int m_face_material_channel; 10182: 10182: 10182: ON_UUID m_face_uuid; 10182: private: 10182: ON_BoundingBox m_bbox; 10182: ON_Interval m_domain[2]; 10182: ON_Mesh* m_render_mesh; 10182: ON_Mesh* m_analysis_mesh; 10182: ON_Mesh* m_preview_mesh; 10182: 10182: 10182: private: 10182: friend class ON_Brep; 10182: ON_Brep* m_brep; 10182: ON_BrepFace( const ON_BrepFace& ); 10182: }; 10182: 10182: class ON_BrepFaceSide : public ON_Object 10182: { 10182: protected: static void* m_s_ON_BrepFaceSide_ptr; public: static const ON_ClassId m_ON_BrepFaceSide_class_id; static ON_BrepFaceSide * Cast( ON_Object* ); static const ON_BrepFaceSide * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepFaceSide( const ON_Object*, ON_Object* ); public: ON_BrepFaceSide * Duplicate() const;; 10182: public: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1296 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1296 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_faceside_user; 10182: 10182: 10182: int m_faceside_index; 10182: 10182: ON_BrepFaceSide(); 10182: ~ON_BrepFaceSide(); 10182: ON_BrepFaceSide& operator=(const ON_BrepFaceSide&); 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: 10182: 10182: 10182: 10182: 10182: class ON_BrepRegionTopology* RegionTopology() const; 10182: 10182: 10182: 10182: 10182: 10182: class ON_BrepRegion* Region() const; 10182: 10182: 10182: 10182: 10182: 10182: class ON_BrepFace* Face() const; 10182: # 1346 "/<>/external/onurbs/opennurbs_brep.h" 10182: int SurfaceNormalDirection() const; 10182: 10182: public: 10182: int m_ri; 10182: 10182: 10182: 10182: int m_fi; 10182: int m_srf_dir; 10182: 10182: 10182: private: 10182: friend class ON_Brep; 10182: friend class ON_BrepRegionTopology; 10182: ON_BrepRegionTopology* m_rtop; 10182: ON_BrepFaceSide( const ON_BrepFaceSide& ); 10182: }; 10182: 10182: class ON_BrepRegion : public ON_Object 10182: { 10182: protected: static void* m_s_ON_BrepRegion_ptr; public: static const ON_ClassId m_ON_BrepRegion_class_id; static ON_BrepRegion * Cast( ON_Object* ); static const ON_BrepRegion * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_BrepRegion( const ON_Object*, ON_Object* ); public: ON_BrepRegion * Duplicate() const;; 10182: public: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1368 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1368 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_region_user; 10182: 10182: 10182: int m_region_index; 10182: 10182: ON_BrepRegion(); 10182: ~ON_BrepRegion(); 10182: ON_BrepRegion& operator=(const ON_BrepRegion&); 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: 10182: 10182: 10182: 10182: ON_Brep* Brep() const; 10182: 10182: 10182: 10182: 10182: 10182: class ON_BrepRegionTopology* RegionTopology() const; 10182: # 1406 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFaceSide* FaceSide(int rfsi) const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsFinite() const; 10182: 10182: 10182: 10182: 10182: 10182: const ON_BoundingBox& BoundingBox() const; 10182: 10182: ON_SimpleArray m_fsi; 10182: int m_type; 10182: ON_BoundingBox m_bbox; 10182: # 1436 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* RegionBoundaryBrep( ON_Brep* brep = 10182: # 1436 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1436 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: 10182: private: 10182: friend class ON_Brep; 10182: friend class ON_BrepRegionTopology; 10182: ON_BrepRegionTopology* m_rtop; 10182: ON_BrepRegion( const ON_BrepRegion& ); 10182: }; 10182: # 1466 "/<>/external/onurbs/opennurbs_brep.h" 10182: class ON_BrepVertexArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepVertexArray(); 10182: ~ON_BrepVertexArray(); 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepEdgeArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepEdgeArray(); 10182: ~ON_BrepEdgeArray(); 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepTrimArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepTrimArray(); 10182: ~ON_BrepTrimArray(); 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepLoopArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepLoopArray(); 10182: ~ON_BrepLoopArray(); 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepFaceArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepFaceArray(); 10182: ~ON_BrepFaceArray(); 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepFaceSideArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepFaceSideArray(); 10182: ~ON_BrepFaceSideArray(); 10182: 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepRegionArray : public ON_ObjectArray 10182: { 10182: public: 10182: ON_BrepRegionArray(); 10182: ~ON_BrepRegionArray(); 10182: 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: }; 10182: 10182: class ON_BrepRegionTopology 10182: { 10182: public: 10182: ON_BrepRegionTopology(); 10182: ON_BrepRegionTopology(const ON_BrepRegionTopology& src); 10182: ~ON_BrepRegionTopology(); 10182: ON_BrepRegionTopology& operator=(const ON_BrepRegionTopology&); 10182: 10182: ON_BrepFaceSideArray m_FS; 10182: ON_BrepRegionArray m_R; 10182: 10182: ON_Brep* Brep() const; 10182: bool IsValid( ON_TextLog* text_log = 0 ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: 10182: private: 10182: friend class ON_BrepRegionTopologyUserData; 10182: friend class ON_Brep; 10182: ON_Brep* m_brep; 10182: }; 10182: 10182: class ON_Brep : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Brep_ptr; public: static const ON_ClassId m_ON_Brep_class_id; static ON_Brep * Cast( ON_Object* ); static const ON_Brep * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Brep( const ON_Object*, ON_Object* ); public: ON_Brep * Duplicate() const;; 10182: 10182: public: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON__UINT32 DataCRC(ON__UINT32 current_remainder) const; 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: 10182: public: 10182: # 1617 "/<>/external/onurbs/opennurbs_brep.h" 10182: static ON_Brep* New(); 10182: # 1628 "/<>/external/onurbs/opennurbs_brep.h" 10182: static ON_Brep* New(const ON_Brep&); 10182: 10182: 10182: ON_Brep(); 10182: ~ON_Brep(); 10182: ON_Brep(const ON_Brep&); 10182: ON_Brep& operator=(const ON_Brep&); 10182: 10182: 10182: void MemoryRelocate(); 10182: # 1650 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsDuplicate( 10182: const ON_Brep& other, 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: 10182: void EmergencyDestroy(); 10182: # 1675 "/<>/external/onurbs/opennurbs_brep.h" 10182: int CreateMesh( 10182: const ON_MeshParameters& mp, 10182: ON_SimpleArray& mesh_list 10182: ) const; 10182: # 1693 "/<>/external/onurbs/opennurbs_brep.h" 10182: void DestroyMesh( ON::mesh_type mesh_type, bool bDeleteMesh = true ); 10182: # 1710 "/<>/external/onurbs/opennurbs_brep.h" 10182: int GetMesh( ON::mesh_type mesh_type, ON_SimpleArray< const ON_Mesh* >& meshes ) const; 10182: # 1736 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool Create( 10182: ON_Surface*& pSurface 10182: ); 10182: 10182: bool Create( 10182: ON_NurbsSurface*& pNurbsSurface 10182: ); 10182: 10182: bool Create( 10182: ON_PlaneSurface*& pPlaneSurface 10182: ); 10182: 10182: bool Create( 10182: ON_RevSurface*& pRevSurface 10182: ); 10182: 10182: bool Create( 10182: ON_SumSurface*& pSumSurface 10182: ); 10182: # 1777 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 1777 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1777 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 1802 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsValidTopology( ON_TextLog* text_log = 10182: # 1802 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1802 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 1831 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsValidGeometry( ON_TextLog* text_log = 10182: # 1831 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1831 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 1861 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsValidTolerancesAndFlags( ON_TextLog* text_log = 10182: # 1861 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1861 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 1870 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsValidForV2() const; 10182: bool IsValidForV2( const ON_BrepTrim& ) const; 10182: bool IsValidForV2( const ON_BrepEdge& ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: int Dimension() const; 10182: 10182: 10182: void ClearBoundingBox(); 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: ON_BOOL32 SwapCoordinates( 10182: int, int 10182: ); 10182: 10182: 10182: ON_BOOL32 HasBrepForm() const; 10182: # 1925 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* BrepForm( ON_Brep* brep = 10182: # 1925 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1925 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 1934 "/<>/external/onurbs/opennurbs_brep.h" 10182: int AddTrimCurve( ON_Curve* ); 10182: int AddEdgeCurve( ON_Curve* ); 10182: int AddSurface( ON_Surface* ); 10182: # 1947 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetEdgeCurve( 10182: ON_BrepEdge& edge, 10182: int c3_index, 10182: const ON_Interval* sub_domain = 10182: # 1950 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 1951 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 1962 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetTrimCurve( 10182: ON_BrepTrim& trim, 10182: int c2_index, 10182: const ON_Interval* sub_domain = 10182: # 1965 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 1966 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: 10182: 10182: 10182: ON_BrepVertex& NewVertex(); 10182: ON_BrepVertex& NewVertex( 10182: ON_3dPoint vertex_point, 10182: double vertex_tolerance = -1.23432101234321e+308 10182: ); 10182: 10182: ON_BrepEdge& NewEdge( 10182: int = -1 10182: ); 10182: ON_BrepEdge& NewEdge( 10182: ON_BrepVertex&, 10182: ON_BrepVertex&, 10182: int = -1, 10182: const ON_Interval* = 10182: # 1983 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 1983 "/<>/external/onurbs/opennurbs_brep.h" 10182: , 10182: double edge_tolerance = -1.23432101234321e+308 10182: ); 10182: # 2006 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace& NewFace( 10182: int si = -1 10182: ); 10182: # 2034 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace* NewFace( 10182: const ON_Surface& surface 10182: ); 10182: # 2069 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace* NewFace( 10182: ON_Surface* pSurface, 10182: int vid[4], 10182: int eid[4], 10182: ON_BOOL32 bRev3d[4] 10182: ); 10182: # 2095 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace* NewRuledFace( 10182: const ON_BrepEdge& edgeA, 10182: bool bRevEdgeA, 10182: const ON_BrepEdge& edgeB, 10182: bool bRevEdgeB 10182: ); 10182: # 2120 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace* NewConeFace( 10182: const ON_BrepVertex& vertex, 10182: const ON_BrepEdge& edge, 10182: bool bRevEdge 10182: ); 10182: # 2133 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepLoop& NewLoop( ON_BrepLoop::TYPE ); 10182: # 2143 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepLoop& NewLoop( ON_BrepLoop::TYPE loop_type, ON_BrepFace& face ); 10182: # 2156 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepLoop* NewOuterLoop( int face_index ); 10182: # 2184 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepLoop* NewOuterLoop( 10182: int face_index, 10182: int vid[4], 10182: int eid[4], 10182: ON_BOOL32 bRev3d[4] 10182: ); 10182: # 2215 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool NewPlanarFaceLoop( 10182: int face_index, 10182: ON_BrepLoop::TYPE loop_type, 10182: ON_SimpleArray& boundary, 10182: ON_BOOL32 bDuplicateCurves = true 10182: ); 10182: # 2255 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewTrim( 10182: int c2i = -1 10182: ); 10182: # 2293 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewTrim( 10182: ON_BOOL32 bRev3d, 10182: ON_BrepLoop& loop, 10182: int c2i = -1 10182: ); 10182: # 2334 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewTrim( 10182: ON_BrepEdge& edge, 10182: ON_BOOL32 bRev3d, 10182: int c2i = -1 10182: ); 10182: # 2373 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewTrim( 10182: ON_BrepEdge& edge, 10182: ON_BOOL32 bRev3d, 10182: ON_BrepLoop& loop, 10182: int c2i = -1 10182: ); 10182: # 2394 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewSingularTrim( 10182: const ON_BrepVertex& vertex, 10182: ON_BrepLoop& loop, 10182: ON_Surface::ISO iso, 10182: int c2i = -1 10182: ); 10182: # 2415 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepVertex& NewPointOnFace( 10182: ON_BrepFace& face, 10182: double s, 10182: double t 10182: ); 10182: # 2436 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim& NewCurveOnFace( 10182: ON_BrepFace& face, 10182: ON_BrepEdge& edge, 10182: ON_BOOL32 bRev3d = false, 10182: int c2i = -1 10182: ); 10182: 10182: 10182: 10182: void Append( 10182: const ON_Brep& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: void SetVertices(void); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool SetTrimIsoFlags(); 10182: bool SetTrimIsoFlags( ON_BrepFace& ); 10182: bool SetTrimIsoFlags( ON_BrepLoop& ); 10182: bool SetTrimIsoFlags( ON_BrepTrim& ); 10182: # 2483 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim::TYPE TrimType( 10182: const ON_BrepTrim& trim, 10182: ON_BOOL32 bLazy = true 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: bool SetTrimTypeFlags( ON_BOOL32 bLazy = false ); 10182: bool SetTrimTypeFlags( ON_BrepFace&, ON_BOOL32 bLazy = false ); 10182: bool SetTrimTypeFlags( ON_BrepLoop&, ON_BOOL32 bLazy = false ); 10182: bool SetTrimTypeFlags( ON_BrepTrim&, ON_BOOL32 bLazy = false ); 10182: 10182: 10182: 10182: bool GetTrim2dStart( 10182: int trim_index, 10182: ON_2dPoint& 10182: ) const; 10182: 10182: 10182: 10182: bool GetTrim2dEnd( 10182: int, 10182: ON_2dPoint& 10182: ) const; 10182: 10182: 10182: 10182: bool GetTrim3dStart( 10182: int, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: 10182: 10182: bool GetTrim3dEnd( 10182: int, 10182: ON_3dPoint& 10182: ) const; 10182: 10182: 10182: 10182: 10182: ON_BrepLoop::TYPE ComputeLoopType( const ON_BrepLoop& ) const; 10182: 10182: 10182: 10182: 10182: 10182: bool SetVertexTolerance( ON_BrepVertex& vertex, ON_BOOL32 bLazy = false ) const; 10182: virtual 10182: bool SetTrimTolerance( ON_BrepTrim& trim, ON_BOOL32 bLazy = false ) const; 10182: virtual 10182: bool SetEdgeTolerance( ON_BrepEdge& edge, ON_BOOL32 bLazy = false ) const; 10182: # 2558 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetVertexTolerances( ON_BOOL32 bLazy = false ); 10182: # 2578 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetTrimTolerances( ON_BOOL32 bLazy = false ); 10182: # 2598 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SetEdgeTolerances( ON_BOOL32 bLazy = false ); 10182: # 2611 "/<>/external/onurbs/opennurbs_brep.h" 10182: virtual 10182: bool SetTrimBoundingBox( ON_BrepTrim& trim, ON_BOOL32 bLazy=false ); 10182: # 2624 "/<>/external/onurbs/opennurbs_brep.h" 10182: virtual 10182: bool SetTrimBoundingBoxes( ON_BrepLoop& loop, ON_BOOL32 bLazy=false ); 10182: # 2640 "/<>/external/onurbs/opennurbs_brep.h" 10182: virtual 10182: bool SetTrimBoundingBoxes( ON_BrepFace& face, ON_BOOL32 bLazy=false ); 10182: # 2654 "/<>/external/onurbs/opennurbs_brep.h" 10182: virtual 10182: bool SetTrimBoundingBoxes( ON_BOOL32 bLazy=false ); 10182: # 2680 "/<>/external/onurbs/opennurbs_brep.h" 10182: void SetTolerancesBoxesAndFlags( 10182: ON_BOOL32 bLazy = false, 10182: ON_BOOL32 bSetVertexTolerances = true, 10182: ON_BOOL32 bSetEdgeTolerances = true, 10182: ON_BOOL32 bSetTrimTolerances = true, 10182: ON_BOOL32 bSetTrimIsoFlags = true, 10182: ON_BOOL32 bSetTrimTypeFlags = true, 10182: ON_BOOL32 bSetLoopTypeFlags = true, 10182: ON_BOOL32 bSetTrimBoxes = true 10182: ); 10182: # 2705 "/<>/external/onurbs/opennurbs_brep.h" 10182: int SurfaceUseCount( 10182: int surface_index, 10182: int max_count=0 ) 10182: const; 10182: # 2719 "/<>/external/onurbs/opennurbs_brep.h" 10182: int EdgeCurveUseCount( 10182: int c3_index, 10182: int max_count=0 ) 10182: const; 10182: # 2734 "/<>/external/onurbs/opennurbs_brep.h" 10182: int TrimCurveUseCount( 10182: int c2_index, 10182: int max_count=0 ) 10182: const; 10182: # 2753 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Curve* Loop3dCurve( 10182: const ON_BrepLoop& loop, 10182: ON_BOOL32 bRevCurveIfFaceRevIsTrue = false 10182: ) const; 10182: # 2773 "/<>/external/onurbs/opennurbs_brep.h" 10182: int Loop3dCurve( 10182: const ON_BrepLoop& loop, 10182: ON_SimpleArray& curve_list, 10182: ON_BOOL32 bRevCurveIfFaceRevIsTrue = false 10182: ) const; 10182: # 2789 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Curve* Loop2dCurve( const ON_BrepLoop& loop ) const; 10182: # 2807 "/<>/external/onurbs/opennurbs_brep.h" 10182: virtual 10182: int SolidOrientation() const; 10182: # 2822 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsSolid() const; 10182: # 2840 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsManifold( 10182: ON_BOOL32* pbIsOriented = 10182: # 2841 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 2841 "/<>/external/onurbs/opennurbs_brep.h" 10182: , 10182: ON_BOOL32* pbHasBoundary = 10182: # 2842 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 2843 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 2864 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool IsPointInside( 10182: ON_3dPoint P, 10182: double tolerance, 10182: bool bStrictlyInside 10182: ) const; 10182: 10182: 10182: bool IsSurface() const; 10182: # 2882 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool FaceIsSurface( 10182: int 10182: ) const; 10182: # 2894 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool LoopIsSurfaceBoundary( 10182: int 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool FlipReversedSurfaces(); 10182: 10182: 10182: 10182: 10182: 10182: bool SetTrimDomain( 10182: int, 10182: const ON_Interval& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: bool SetEdgeDomain( 10182: int, 10182: const ON_Interval& 10182: ); 10182: 10182: 10182: 10182: void Flip(); 10182: 10182: 10182: void FlipFace(ON_BrepFace&); 10182: # 2938 "/<>/external/onurbs/opennurbs_brep.h" 10182: void FlipLoop(ON_BrepLoop&); 10182: # 2951 "/<>/external/onurbs/opennurbs_brep.h" 10182: int LoopDirection( const ON_BrepLoop& ) const; 10182: # 2968 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool SortFaceLoops( ON_BrepFace& face ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool CombineCoincidentVertices(ON_BrepVertex&, ON_BrepVertex&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool CombineCoincidentEdges(ON_BrepEdge&, ON_BrepEdge&); 10182: # 3006 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepEdge* CombineContiguousEdges( 10182: int edge_index0, 10182: int edge_iindex1, 10182: double angle_tolerance_radians = 3.141592653589793238462643/180.0 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void DeleteVertex(ON_BrepVertex& vertex); 10182: void DeleteEdge(ON_BrepEdge& edge, ON_BOOL32 bDeleteEdgeVertices); 10182: void DeleteTrim(ON_BrepTrim& trim, ON_BOOL32 bDeleteTrimEdges); 10182: void DeleteLoop(ON_BrepLoop& loop, ON_BOOL32 bDeleteLoopEdges); 10182: void DeleteFace(ON_BrepFace& face, ON_BOOL32 bDeleteFaceEdges); 10182: void DeleteSurface(int s_index); 10182: void Delete2dCurve(int c2_index); 10182: void Delete3dCurve(int c3_index); 10182: # 3037 "/<>/external/onurbs/opennurbs_brep.h" 10182: void LabelConnectedComponent( 10182: int face_index, 10182: int label 10182: ); 10182: # 3056 "/<>/external/onurbs/opennurbs_brep.h" 10182: int LabelConnectedComponents(); 10182: # 3073 "/<>/external/onurbs/opennurbs_brep.h" 10182: int GetConnectedComponents( 10182: ON_SimpleArray< ON_Brep* >& components, 10182: bool bDuplicateMeshes 10182: ) const; 10182: # 3097 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* SubBrep( 10182: int subfi_count, 10182: const int* sub_fi, 10182: ON_Brep* sub_brep = 0 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: bool HasRegionTopology() const; 10182: # 3116 "/<>/external/onurbs/opennurbs_brep.h" 10182: const ON_BrepRegionTopology& RegionTopology() const; 10182: # 3125 "/<>/external/onurbs/opennurbs_brep.h" 10182: void DestroyRegionTopology(); 10182: # 3139 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* DuplicateFace( 10182: int face_index, 10182: ON_BOOL32 bDuplicateMeshes 10182: ) const; 10182: # 3158 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* DuplicateFaces( 10182: int face_count, 10182: const int* face_index, 10182: ON_BOOL32 bDuplicateMeshes 10182: ) const; 10182: # 3172 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_Brep* ExtractFace( 10182: int face_index 10182: ); 10182: # 3191 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool StandardizeEdgeCurve( int edge_index, bool bAdjustEnds ); 10182: # 3213 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool StandardizeEdgeCurve( int edge_index, bool bAdjustEnds, int EdgeCurveUse ); 10182: # 3225 "/<>/external/onurbs/opennurbs_brep.h" 10182: void StandardizeEdgeCurves( bool bAdjustEnds ); 10182: # 3240 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool StandardizeTrimCurve( int trim_index ); 10182: # 3249 "/<>/external/onurbs/opennurbs_brep.h" 10182: void StandardizeTrimCurves(); 10182: # 3264 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool StandardizeFaceSurface( int face_index ); 10182: # 3273 "/<>/external/onurbs/opennurbs_brep.h" 10182: void StandardizeFaceSurfaces(); 10182: 10182: 10182: void StardardizeFaceSurfaces(); 10182: # 3291 "/<>/external/onurbs/opennurbs_brep.h" 10182: void Standardize(); 10182: # 3323 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ShrinkSurface( ON_BrepFace& face, int DisableSide=0 ); 10182: # 3344 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ShrinkSurfaces(); 10182: # 3361 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool Compact(); 10182: 10182: bool CullUnusedFaces(); 10182: bool CullUnusedLoops(); 10182: bool CullUnusedTrims(); 10182: bool CullUnusedEdges(); 10182: bool CullUnusedVertices(); 10182: bool CullUnused3dCurves(); 10182: bool CullUnused2dCurves(); 10182: bool CullUnusedSurfaces(); 10182: 10182: 10182: 10182: 10182: 10182: int PrevTrim( 10182: int 10182: ) const; 10182: int NextTrim( 10182: int 10182: ) const; 10182: # 3402 "/<>/external/onurbs/opennurbs_brep.h" 10182: int PrevEdge( 10182: int current_edge_index, 10182: int endi, 10182: int* prev_endi = 10182: # 3405 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 3406 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 3427 "/<>/external/onurbs/opennurbs_brep.h" 10182: int NextEdge( 10182: int current_edge_index, 10182: int endi, 10182: int* next_endi = 10182: # 3430 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 3431 "/<>/external/onurbs/opennurbs_brep.h" 10182: ) const; 10182: # 3449 "/<>/external/onurbs/opennurbs_brep.h" 10182: const ON_Geometry* BrepComponent( 10182: ON_COMPONENT_INDEX ci 10182: ) const; 10182: # 3466 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepVertex* Vertex( int vertex_index ) const; 10182: ON_BrepVertex* Vertex( ON_COMPONENT_INDEX vertex_index ) const; 10182: # 3482 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepEdge* Edge( int edge_index ) const; 10182: ON_BrepEdge* Edge( ON_COMPONENT_INDEX edge_index ) const; 10182: # 3498 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepTrim* Trim( int trim_index ) const; 10182: ON_BrepTrim* Trim( ON_COMPONENT_INDEX trim_index ) const; 10182: # 3514 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepLoop* Loop( int loop_index ) const; 10182: ON_BrepLoop* Loop( ON_COMPONENT_INDEX loop_index ) const; 10182: # 3530 "/<>/external/onurbs/opennurbs_brep.h" 10182: ON_BrepFace* Face( int face_index ) const; 10182: ON_BrepFace* Face( ON_COMPONENT_INDEX face_index ) const; 10182: # 3541 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool RemoveSlits(); 10182: # 3553 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool RemoveSlits(ON_BrepFace& F); 10182: # 3567 "/<>/external/onurbs/opennurbs_brep.h" 10182: int MergeFaces(int fid0, int fid1); 10182: # 3577 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool MergeFaces(); 10182: # 3591 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool RemoveNesting( 10182: bool bExtractSingleSegments, 10182: bool bEdges = true, 10182: bool bTrimCurves = true 10182: ); 10182: # 3620 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool CollapseEdge( 10182: int edge_index, 10182: bool bCloseTrimGap = true, 10182: int vertex_index = -1 10182: ); 10182: # 3647 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool ChangeVertex( 10182: int old_vi, 10182: int new_vi, 10182: bool bClearTolerances 10182: ); 10182: # 3667 "/<>/external/onurbs/opennurbs_brep.h" 10182: bool CloseTrimGap( 10182: ON_BrepTrim& trim0, 10182: ON_BrepTrim& trim1 10182: ); 10182: # 3694 "/<>/external/onurbs/opennurbs_brep.h" 10182: int RemoveWireEdges( bool bDeleteVertices = true ); 10182: # 3708 "/<>/external/onurbs/opennurbs_brep.h" 10182: int RemoveWireVertices(); 10182: 10182: 10182: 10182: 10182: void Set_user(ON_U u); 10182: void Clear_vertex_user_i(); 10182: void Clear_edge_user_i(int); 10182: void Clear_edge_user_i(); 10182: void Clear_trim_user_i(); 10182: void Clear_loop_user_i(); 10182: void Clear_face_user_i(); 10182: void Clear_user_i(); 10182: 10182: 10182: 10182: 10182: 10182: ON_U m_brep_user; 10182: 10182: 10182: 10182: 10182: ON_CurveArray m_C2; 10182: 10182: ON_CurveArray m_C3; 10182: ON_SurfaceArray m_S; 10182: 10182: 10182: 10182: 10182: ON_BrepVertexArray m_V; 10182: ON_BrepEdgeArray m_E; 10182: ON_BrepTrimArray m_T; 10182: ON_BrepLoopArray m_L; 10182: ON_BrepFaceArray m_F; 10182: 10182: protected: 10182: friend class ON_BrepFace; 10182: friend class ON_BrepRegion; 10182: friend class ON_BrepFaceSide; 10182: ON_BoundingBox m_bbox; 10182: # 3758 "/<>/external/onurbs/opennurbs_brep.h" 10182: int m_is_solid; 10182: 10182: 10182: 10182: 10182: friend bool ON_BinaryArchive::ReadV1_TCODE_LEGACY_FAC(ON_Object**,ON_3dmObjectAttributes*); 10182: friend bool ON_BinaryArchive::ReadV1_TCODE_LEGACY_SHL(ON_Object**,ON_3dmObjectAttributes*); 10182: void Initialize(); 10182: 10182: 10182: void SetTrimIsoFlag(int,double[6]); 10182: void SetTrimIsoFlag(int); 10182: 10182: 10182: bool SetEdgeVertex(const int, const int, const int ); 10182: bool HopAcrossEdge( int&, int& ) const; 10182: bool SetTrimStartVertex( const int, const int); 10182: void SetLoopVertices(const int); 10182: void ClearTrimVertices(); 10182: void ClearEdgeVertices(); 10182: 10182: 10182: bool SwapLoopParameters( 10182: int 10182: ); 10182: bool SwapTrimParameters( 10182: int 10182: ); 10182: 10182: 10182: bool IsValidTrim(int trim_index,ON_TextLog* text_log) const; 10182: bool IsValidTrimTopology(int trim_index,ON_TextLog* text_log) const; 10182: bool IsValidTrimGeometry(int trim_index,ON_TextLog* text_log) const; 10182: bool IsValidTrimTolerancesAndFlags(int trim_index,ON_TextLog* text_log) const; 10182: 10182: bool IsValidLoop(int loop_index,ON_TextLog* text_log) const; 10182: bool IsValidLoopTopology(int loop_index,ON_TextLog* text_log) const; 10182: bool IsValidLoopGeometry(int loop_index,ON_TextLog* text_log) const; 10182: bool IsValidLoopTolerancesAndFlags(int loop_index,ON_TextLog* text_log) const; 10182: 10182: bool IsValidFace(int face_index,ON_TextLog* text_log) const; 10182: bool IsValidFaceTopology(int face_index,ON_TextLog* text_log) const; 10182: bool IsValidFaceGeometry(int face_index,ON_TextLog* text_log) const; 10182: bool IsValidFaceTolerancesAndFlags(int face_index,ON_TextLog* text_log) const; 10182: 10182: bool IsValidEdge(int edge_index,ON_TextLog* text_log) const; 10182: bool IsValidEdgeTopology(int edge_index,ON_TextLog* text_log) const; 10182: bool IsValidEdgeGeometry(int edge_index,ON_TextLog* text_log) const; 10182: bool IsValidEdgeTolerancesAndFlags(int edge_index,ON_TextLog* text_log) const; 10182: 10182: bool IsValidVertex(int vertex_index,ON_TextLog* text_log) const; 10182: bool IsValidVertexTopology(int vertex_index,ON_TextLog* text_log) const; 10182: bool IsValidVertexGeometry(int vertex_index,ON_TextLog* text_log) const; 10182: bool IsValidVertexTolerancesAndFlags(int vertex_index,ON_TextLog* text_log) const; 10182: 10182: void SetTolsFromLegacyValues(); 10182: 10182: 10182: bool ReadOld100( ON_BinaryArchive& ); 10182: bool ReadOld101( ON_BinaryArchive& ); 10182: bool ReadOld200( ON_BinaryArchive&, int ); 10182: ON_Curve* Read100_BrepCurve( ON_BinaryArchive& ) const; 10182: ON_Surface* Read100_BrepSurface( ON_BinaryArchive& ) const; 10182: 10182: 10182: bool ReadV1_LegacyTrimStuff( ON_BinaryArchive&, ON_BrepFace&, ON_BrepLoop& ); 10182: bool ReadV1_LegacyTrim( ON_BinaryArchive&, ON_BrepFace&, ON_BrepLoop& ); 10182: bool ReadV1_LegacyLoopStuff( ON_BinaryArchive&, ON_BrepFace& ); 10182: bool ReadV1_LegacyLoop( ON_BinaryArchive&, ON_BrepFace& ); 10182: bool ReadV1_LegacyFaceStuff( ON_BinaryArchive& ); 10182: bool ReadV1_LegacyShellStuff( ON_BinaryArchive& ); 10182: }; 10182: # 3857 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepFromMesh( 10182: const ON_MeshTopology& mesh_topology, 10182: ON_BOOL32 bTrimmedTriangles = true, 10182: ON_Brep* pBrep = 10182: # 3861 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 3862 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 3911 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepBox( const ON_3dPoint* box_corners, ON_Brep* pBrep = 10182: # 3912 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 3912 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 3961 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepWedge( const ON_3dPoint* corners, ON_Brep* pBrep = 10182: # 3962 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 3962 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 3976 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepSphere( const ON_Sphere& sphere, ON_Brep* pBrep = 10182: # 3977 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 3977 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 3990 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepTorus( const ON_Torus& torus, ON_Brep* pBrep = 10182: # 3991 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 3991 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4009 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepCylinder( const ON_Cylinder& cylinder, 10182: ON_BOOL32 bCapBottom, 10182: ON_BOOL32 bCapTop, 10182: ON_Brep* pBrep = 10182: # 4013 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 4013 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4030 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepCone( 10182: const ON_Cone& cone, 10182: ON_BOOL32 bCapBottom, 10182: ON_Brep* pBrep = 10182: # 4034 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 4035 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4062 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepRevSurface( 10182: ON_RevSurface*& pRevSurface, 10182: ON_BOOL32 bCapStart, 10182: ON_BOOL32 bCapEnd, 10182: ON_Brep* pBrep = 10182: # 4067 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: 10182: # 4068 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4086 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepTrimmedPlane( 10182: const ON_Plane& plane, 10182: const ON_Curve& boundary, 10182: ON_Brep* pBrep = 10182: # 4090 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 4090 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4111 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_BrepTrimmedPlane( 10182: const ON_Plane& plane, 10182: ON_SimpleArray& boundary, 10182: ON_BOOL32 bDuplicateCurves = true, 10182: ON_Brep* pBrep = 10182: # 4116 "/<>/external/onurbs/opennurbs_brep.h" 3 4 10182: __null 10182: # 4116 "/<>/external/onurbs/opennurbs_brep.h" 10182: ); 10182: # 4141 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: bool ON_BrepExtrude( 10182: ON_Brep& brep, 10182: const ON_Curve& path_curve, 10182: bool bCap = true 10182: ); 10182: # 4183 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepExtrudeFace( 10182: ON_Brep& brep, 10182: int face_index, 10182: const ON_Curve& path_curve, 10182: bool bCap = true 10182: ); 10182: # 4217 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepExtrudeLoop( 10182: ON_Brep& brep, 10182: int loop_index, 10182: const ON_Curve& path_curve, 10182: bool bCap = true 10182: ); 10182: # 4247 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepExtrudeEdge( 10182: ON_Brep& brep, 10182: int edge_index, 10182: const ON_Curve& path_curve 10182: ); 10182: # 4278 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepExtrudeVertex( 10182: ON_Brep& brep, 10182: int vertex_index, 10182: const ON_Curve& path_curve 10182: ); 10182: # 4308 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepConeFace( 10182: ON_Brep& brep, 10182: int face_index, 10182: ON_3dPoint apex_point 10182: ); 10182: # 4337 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: bool ON_BrepConeLoop( 10182: ON_Brep& brep, 10182: int loop_index, 10182: ON_3dPoint apex_point 10182: ); 10182: # 4366 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: int ON_BrepConeEdge( 10182: ON_Brep& brep, 10182: int edge_index, 10182: ON_3dPoint apex_point 10182: ); 10182: 10182: 10182: 10182: int ON_BrepMergeFaces(ON_Brep& B, int fid0, int fid1); 10182: 10182: 10182: bool ON_BrepMergeFaces(ON_Brep& B); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ON_BrepRemoveSlits(ON_BrepFace& F); 10182: 10182: 10182: 10182: void ON_BrepMergeAllEdges(ON_Brep& B); 10182: # 4404 "/<>/external/onurbs/opennurbs_brep.h" 10182: 10182: ON_Brep* ON_MergeBreps( 10182: const ON_Brep& brep0, 10182: const ON_Brep& brep1, 10182: double tolerance 10182: ); 10182: # 113 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_beam.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_beam.h" 10182: 10182: bool ON_GetEndCapTransformation( 10182: ON_3dPoint P, 10182: ON_3dVector T, 10182: ON_3dVector U, 10182: const ON_3dVector* Normal, 10182: ON_Xform& xform, 10182: ON_Xform* scale2d, 10182: ON_Xform* rot2d 10182: ); 10182: 10182: class ON_Extrusion : public ON_Surface 10182: { 10182: protected: static void* m_s_ON_Extrusion_ptr; public: static const ON_ClassId m_ON_Extrusion_class_id; static ON_Extrusion * Cast( ON_Object* ); static const ON_Extrusion * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Extrusion( const ON_Object*, ON_Object* ); public: ON_Extrusion * Duplicate() const;; 10182: public: 10182: ON_Extrusion(); 10182: ON_Extrusion(const ON_Extrusion& src); 10182: ~ON_Extrusion(); 10182: 10182: ON_Extrusion& operator=(const ON_Extrusion&); 10182: 10182: 10182: 10182: 10182: 10182: void DestroyRuntimeCache( bool bDelete = true ); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 52 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 52 "/<>/external/onurbs/opennurbs_beam.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: unsigned int SizeOf() const; 10182: ON__UINT32 DataCRC( ON__UINT32 current_remainder ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive& binary_archive) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& binary_archive ); 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: # 94 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Brep* BrepForm( 10182: ON_Brep* brep = 10182: # 95 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: 10182: # 96 "/<>/external/onurbs/opennurbs_beam.h" 10182: ) const; 10182: # 116 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Brep* BrepForm( 10182: ON_Brep* brep, 10182: bool bSmoothFaces 10182: ) const; 10182: # 134 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_SumSurface* SumSurfaceForm( 10182: ON_SumSurface* sum_surface 10182: ) const; 10182: # 156 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool GetBrepFormComponentIndex( 10182: ON_COMPONENT_INDEX extrusion_ci, 10182: ON_COMPONENT_INDEX& brep_ci 10182: ) const; 10182: 10182: bool GetBrepFormComponentIndex( 10182: ON_COMPONENT_INDEX extrusion_ci, 10182: double extrusion_profile_parameter, 10182: const ON_Brep& brep_form, 10182: ON_COMPONENT_INDEX& brep_ci 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 SetDomain( 10182: int dir, 10182: double t0, 10182: double t1 10182: ); 10182: ON_Interval Domain( 10182: int dir 10182: ) const; 10182: ON_BOOL32 GetSurfaceSize( 10182: double* width, 10182: double* height 10182: ) const; 10182: int SpanCount( 10182: int dir 10182: ) const; 10182: ON_BOOL32 GetSpanVector( 10182: int dir, 10182: double* span_vector 10182: ) const; 10182: ON_BOOL32 GetSpanVectorIndex( 10182: int dir, 10182: double t, 10182: int side, 10182: int* span_vector_index, 10182: ON_Interval* span_interval 10182: ) const; 10182: int Degree( 10182: int dir 10182: ) const; 10182: ON_BOOL32 GetParameterTolerance( 10182: int dir, 10182: double t, 10182: double* tminus, 10182: double* tplus 10182: ) const; 10182: ISO IsIsoparametric( 10182: const ON_Curve& curve, 10182: const ON_Interval* curve_domain = 10182: # 209 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: 10182: # 210 "/<>/external/onurbs/opennurbs_beam.h" 10182: ) const; 10182: ON_BOOL32 IsPlanar( 10182: ON_Plane* plane = 10182: # 212 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 212 "/<>/external/onurbs/opennurbs_beam.h" 10182: , 10182: double tolerance = 2.3283064365386962890625e-10 10182: ) const; 10182: ON_BOOL32 IsClosed( 10182: int 10182: ) const; 10182: ON_BOOL32 IsPeriodic( 10182: int 10182: ) const; 10182: bool GetNextDiscontinuity( 10182: int dir, 10182: ON::continuity c, 10182: double t0, 10182: double t1, 10182: double* t, 10182: int* hint= 10182: # 227 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 227 "/<>/external/onurbs/opennurbs_beam.h" 10182: , 10182: int* dtype= 10182: # 228 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 228 "/<>/external/onurbs/opennurbs_beam.h" 10182: , 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: bool IsContinuous( 10182: ON::continuity c, 10182: double s, 10182: double t, 10182: int* hint = 10182: # 236 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 236 "/<>/external/onurbs/opennurbs_beam.h" 10182: , 10182: double point_tolerance=2.3283064365386962890625e-10, 10182: double d1_tolerance=2.3283064365386962890625e-10, 10182: double d2_tolerance=2.3283064365386962890625e-10, 10182: double cos_angle_tolerance=0.99984769515639123915701155881391, 10182: double curvature_tolerance=1.490116119385000000e-8 10182: ) const; 10182: ISO IsIsoparametric( 10182: const ON_BoundingBox& bbox 10182: ) const; 10182: ON_BOOL32 Reverse( int dir ); 10182: ON_BOOL32 Transpose(); 10182: ON_BOOL32 Evaluate( 10182: double u, double v, 10182: int num_der, 10182: int array_stride, 10182: double* der_array, 10182: int quadrant = 0, 10182: int* hint = 0 10182: ) const; 10182: ON_Curve* IsoCurve( 10182: int dir, 10182: double c 10182: ) const; 10182: 10182: ON_BOOL32 Trim( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: bool Extend( 10182: int dir, 10182: const ON_Interval& domain 10182: ); 10182: ON_BOOL32 Split( 10182: int dir, 10182: double c, 10182: ON_Surface*& west_or_south_side, 10182: ON_Surface*& east_or_north_side 10182: ) const; 10182: 10182: bool GetClosestPoint( 10182: const ON_3dPoint& P, 10182: double* s, 10182: double* t, 10182: double maximum_distance = 0.0, 10182: const ON_Interval* sdomain = 0, 10182: const ON_Interval* tdomain = 0 10182: ) const; 10182: 10182: ON_BOOL32 GetLocalClosestPoint( const ON_3dPoint&, 10182: double,double, 10182: double*,double*, 10182: const ON_Interval* = 10182: # 288 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: # 288 "/<>/external/onurbs/opennurbs_beam.h" 10182: , 10182: const ON_Interval* = 10182: # 289 "/<>/external/onurbs/opennurbs_beam.h" 3 4 10182: __null 10182: 10182: # 290 "/<>/external/onurbs/opennurbs_beam.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int GetNurbForm( 10182: ON_NurbsSurface& nurbs_surface, 10182: double tolerance = 0.0 10182: ) const; 10182: int HasNurbForm() const; 10182: bool GetSurfaceParameterFromNurbFormParameter( 10182: double nurbs_s, double nurbs_t, 10182: double* surface_s, double* surface_t 10182: ) const; 10182: bool GetNurbFormParameterFromSurfaceParameter( 10182: double surface_s, double surface_t, 10182: double* nurbs_s, double* nurbs_t 10182: ) const; 10182: # 337 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool SetMesh( ON::mesh_type mt, ON_Mesh* mesh ); 10182: # 355 "/<>/external/onurbs/opennurbs_beam.h" 10182: const ON_Mesh* Mesh( ON::mesh_type mt ) const; 10182: # 373 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Mesh* RemoveMesh( ON::mesh_type mt ); 10182: # 385 "/<>/external/onurbs/opennurbs_beam.h" 10182: void DestroyMesh( ON::mesh_type mt, bool bDeleteMesh = true ); 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: # 408 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool SetPath(ON_3dPoint A, ON_3dPoint B); 10182: # 430 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool SetPathAndUp(ON_3dPoint A, ON_3dPoint B, ON_3dVector up ); 10182: # 444 "/<>/external/onurbs/opennurbs_beam.h" 10182: int PathParameter() const; 10182: 10182: ON_3dPoint PathStart() const; 10182: ON_3dPoint PathEnd() const; 10182: ON_3dVector PathTangent() const; 10182: # 463 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool SetMiterPlaneNormal(ON_3dVector N, int end); 10182: 10182: void GetMiterPlaneNormal(int end, ON_3dVector& N) const; 10182: # 474 "/<>/external/onurbs/opennurbs_beam.h" 10182: int IsMitered() const; 10182: 10182: 10182: 10182: 10182: 10182: bool IsSolid() const; 10182: # 489 "/<>/external/onurbs/opennurbs_beam.h" 10182: int IsCapped() const; 10182: # 500 "/<>/external/onurbs/opennurbs_beam.h" 10182: int CapCount() const; 10182: # 525 "/<>/external/onurbs/opennurbs_beam.h" 10182: int FaceCount() const; 10182: # 535 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool GetProfileTransformation( double s, ON_Xform& xform ) const; 10182: # 555 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool GetProfilePlane( double s, ON_Plane& plane ) const; 10182: # 576 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool GetPathPlane( double s, ON_Plane& plane ) const; 10182: # 600 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool SetOuterProfile( ON_Curve* outer_profile, bool bCap ); 10182: # 619 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool AddInnerProfile( ON_Curve* inner_profile ); 10182: # 628 "/<>/external/onurbs/opennurbs_beam.h" 10182: int ProfileCount() const; 10182: # 642 "/<>/external/onurbs/opennurbs_beam.h" 10182: int ProfileSmoothSegmentCount( int profile_index ) const; 10182: # 656 "/<>/external/onurbs/opennurbs_beam.h" 10182: int ProfileParameter() const; 10182: # 669 "/<>/external/onurbs/opennurbs_beam.h" 10182: const ON_Curve* Profile(int profile_index) const; 10182: # 686 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Curve* Profile3d(int profile_index, double s ) const; 10182: # 698 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Curve* Profile3d( ON_COMPONENT_INDEX ci ) const; 10182: # 710 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Curve* WallEdge( ON_COMPONENT_INDEX ci ) const; 10182: # 722 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Surface* WallSurface( ON_COMPONENT_INDEX ci ) const; 10182: # 733 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_LineCurve* PathLineCurve(ON_LineCurve* line_curve) const; 10182: # 747 "/<>/external/onurbs/opennurbs_beam.h" 10182: int ProfileIndex( double profile_parameter ) const; 10182: # 757 "/<>/external/onurbs/opennurbs_beam.h" 10182: const ON_PolyCurve* PolyProfile() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int GetProfileCurves( ON_SimpleArray& profile_curves ) const; 10182: # 781 "/<>/external/onurbs/opennurbs_beam.h" 10182: int GetProfileKinkParameters( int profile_index, ON_SimpleArray& profile_kink_parameters ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool ProfileIsKinked( int profile_index ) const; 10182: # 799 "/<>/external/onurbs/opennurbs_beam.h" 10182: static bool IsValidPolyCurveProfile( const ON_PolyCurve& polycurve, ON_TextLog* text_log = 0 ); 10182: # 809 "/<>/external/onurbs/opennurbs_beam.h" 10182: static bool CleanupPolyCurveProfile( ON_PolyCurve& polycurve ); 10182: # 818 "/<>/external/onurbs/opennurbs_beam.h" 10182: ON_Line m_path; 10182: ON_Interval m_t; 10182: ON_3dVector m_up; 10182: # 839 "/<>/external/onurbs/opennurbs_beam.h" 10182: int m_profile_count; 10182: ON_Curve* m_profile; 10182: 10182: 10182: 10182: 10182: bool m_bCap[2]; 10182: # 855 "/<>/external/onurbs/opennurbs_beam.h" 10182: bool m_bHaveN[2]; 10182: ON_3dVector m_N[2]; 10182: 10182: 10182: ON_Interval m_path_domain; 10182: bool m_bTransposed; 10182: 10182: 10182: 10182: static const double m_Nz_min; 10182: 10182: 10182: 10182: static const double m_path_length_min; 10182: # 903 "/<>/external/onurbs/opennurbs_beam.h" 10182: static ON_Extrusion* Cylinder( 10182: const ON_Cylinder& cylinder, 10182: bool bCapBottom, 10182: bool bCapTop, 10182: ON_Extrusion* extrusion = 0 10182: ); 10182: # 949 "/<>/external/onurbs/opennurbs_beam.h" 10182: static ON_Extrusion* Pipe( 10182: const ON_Cylinder& cylinder, 10182: double other_radius, 10182: bool bCapBottom, 10182: bool bCapTop, 10182: ON_Extrusion* extrusion = 0 10182: ); 10182: # 985 "/<>/external/onurbs/opennurbs_beam.h" 10182: static ON_Extrusion* CreateFrom3dCurve( 10182: const ON_Curve& curve, 10182: const ON_Plane* plane, 10182: double height, 10182: bool bCap, 10182: ON_Extrusion* extrusion = 0 10182: ); 10182: 10182: }; 10182: # 114 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_bitmap.h" 1 10182: # 28 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: class ON_Bitmap : public ON_Object 10182: { 10182: 10182: protected: static void* m_s_ON_Bitmap_ptr; public: static const ON_ClassId m_ON_Bitmap_class_id; static ON_Bitmap * Cast( ON_Object* ); static const ON_Bitmap * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Bitmap( const ON_Object*, ON_Object* ); public: ON_Bitmap * Duplicate() const;; 10182: public: 10182: ON_Bitmap(); 10182: ~ON_Bitmap(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: void EmergencyDestroy(); 10182: void Destroy(); 10182: 10182: void Defaults(); 10182: 10182: virtual 10182: int Width() const = 0; 10182: virtual 10182: int Height() const = 0; 10182: 10182: virtual 10182: int BitsPerPixel() const = 0; 10182: virtual 10182: int SizeofScan() const = 0; 10182: virtual 10182: int SizeofImage() const = 0; 10182: 10182: virtual 10182: unsigned char* Bits( 10182: int 10182: ) = 0; 10182: virtual 10182: const unsigned char* Bits( 10182: int 10182: ) const = 0; 10182: 10182: ON_UUID m_bitmap_id; 10182: int m_bitmap_index; 10182: ON_wString m_bitmap_name; 10182: ON_wString m_bitmap_filename; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_EmbeddedFile : public ON_Object 10182: { 10182: protected: static void* m_s_ON_EmbeddedFile_ptr; public: static const ON_ClassId m_ON_EmbeddedFile_class_id; static ON_EmbeddedFile * Cast( ON_Object* ); static const ON_EmbeddedFile * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_EmbeddedFile( const ON_Object*, ON_Object* ); public: ON_EmbeddedFile * Duplicate() const;; 10182: public: 10182: ON_EmbeddedFile(); 10182: ON_EmbeddedFile(const ON_EmbeddedFile& src); 10182: ON_EmbeddedFile& operator=(const ON_EmbeddedFile& src); 10182: 10182: virtual ~ON_EmbeddedFile(); 10182: void EmergencyDestroy(); 10182: void Destroy(); 10182: void DestroyBuffer(); 10182: # 112 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: bool Create( 10182: const wchar_t* filename, 10182: bool bCompress 10182: ); 10182: # 128 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: bool Create( 10182: FILE* fp, 10182: bool bCompress 10182: ); 10182: # 144 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: bool Create( 10182: const void* source_buffer, 10182: ON__UINT64 sizeof_source_buffer, 10182: bool bCompress 10182: ); 10182: 10182: bool Extract( 10182: const wchar_t* destination_filename 10182: ) const; 10182: 10182: bool Extract( 10182: FILE* fp 10182: ) const; 10182: # 169 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: bool Extract( 10182: void* buffer 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: const wchar_t* FullFileName() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const wchar_t* RelativeFileName() const; 10182: 10182: ON_UUID Id() const; 10182: 10182: void SetId( ON_UUID id ); 10182: 10182: void SetFullFileName( const wchar_t* full_file_name ); 10182: 10182: 10182: void SetRelativeFileName( const wchar_t* relative_file_name ); 10182: 10182: ON__UINT64 FileSize() const; 10182: ON__UINT64 FileLastModifiedTime() const; 10182: ON__UINT32 FileCRC() const; 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 200 "/<>/external/onurbs/opennurbs_bitmap.h" 3 4 10182: __null 10182: # 200 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_id; 10182: ON_wString m_full_file_name; 10182: ON_wString m_relative_file_name; 10182: 10182: private: 10182: void* m_reserved; 10182: 10182: public: 10182: ON__UINT64 m_file_size; 10182: ON__UINT64 m_file_time; 10182: ON__UINT32 m_file_crc; 10182: 10182: public: 10182: ON__UINT32 m_buffer_crc; 10182: ON_Buffer m_buffer; 10182: unsigned char m_bCompressedBuffer; 10182: 10182: private: 10182: unsigned char m_reserved3[7]; 10182: }; 10182: # 245 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: struct ON_WindowsBITMAPINFOHEADER 10182: { 10182: unsigned int biSize; 10182: int biWidth; 10182: int biHeight; 10182: 10182: 10182: 10182: 10182: unsigned short biPlanes; 10182: 10182: unsigned short biBitCount; 10182: # 285 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: unsigned int biCompression; 10182: # 299 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: unsigned int biSizeImage; 10182: int biXPelsPerMeter; 10182: int biYPelsPerMeter; 10182: unsigned int biClrUsed; 10182: 10182: 10182: unsigned int biClrImportant; 10182: }; 10182: 10182: struct ON_WindowsRGBQUAD { 10182: 10182: 10182: unsigned char rgbBlue; 10182: unsigned char rgbGreen; 10182: unsigned char rgbRed; 10182: unsigned char rgbReserved; 10182: }; 10182: 10182: struct ON_WindowsBITMAPINFO 10182: { 10182: 10182: 10182: ON_WindowsBITMAPINFOHEADER bmiHeader; 10182: ON_WindowsRGBQUAD bmiColors[1]; 10182: # 335 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_WindowsBitmap : public ON_Bitmap 10182: { 10182: protected: static void* m_s_ON_WindowsBitmap_ptr; public: static const ON_ClassId m_ON_WindowsBitmap_class_id; static ON_WindowsBitmap * Cast( ON_Object* ); static const ON_WindowsBitmap * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_WindowsBitmap( const ON_Object*, ON_Object* ); public: ON_WindowsBitmap * Duplicate() const;; 10182: 10182: 10182: public: 10182: 10182: ON_WindowsBitmap(); 10182: ON_WindowsBitmap( const ON_WindowsBitmap& ); 10182: ~ON_WindowsBitmap(); 10182: 10182: ON_WindowsBitmap& operator=( const ON_WindowsBitmap& ); 10182: 10182: void EmergencyDestroy(); 10182: void Destroy(); 10182: 10182: bool Create( 10182: int, 10182: int, 10182: int 10182: ); 10182: # 382 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 382 "/<>/external/onurbs/opennurbs_bitmap.h" 3 4 10182: __null 10182: # 382 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: bool WriteCompressed( ON_BinaryArchive& ) const; 10182: bool ReadCompressed( ON_BinaryArchive& ); 10182: bool WriteUncompressed( ON_BinaryArchive& ) const; 10182: bool ReadUncompressed( ON_BinaryArchive& ); 10182: 10182: int Width() const; 10182: int Height() const; 10182: 10182: 10182: int PaletteColorCount() const; 10182: int SizeofPalette() const; 10182: int BitsPerPixel() const; 10182: 10182: int SizeofScan() const; 10182: int SizeofImage() const; 10182: 10182: unsigned char* Bits( 10182: int 10182: ); 10182: const unsigned char* Bits( 10182: int 10182: ) const; 10182: 10182: 10182: 10182: ON_Color Pixel( 10182: int, 10182: int 10182: ) const; 10182: ON_Color Pixel( 10182: int, 10182: const unsigned char* 10182: ) const; 10182: # 538 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: bool IsContiguous() const; 10182: 10182: 10182: 10182: 10182: struct ON_WindowsBITMAPINFO* m_bmi; 10182: 10182: 10182: unsigned char* m_bits; 10182: 10182: private: 10182: int m_bFreeBMI; 10182: 10182: 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_WindowsBitmapEx : public ON_WindowsBitmap 10182: { 10182: protected: static void* m_s_ON_WindowsBitmapEx_ptr; public: static const ON_ClassId m_ON_WindowsBitmapEx_class_id; static ON_WindowsBitmapEx * Cast( ON_Object* ); static const ON_WindowsBitmapEx * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_WindowsBitmapEx( const ON_Object*, ON_Object* ); public: ON_WindowsBitmapEx * Duplicate() const;; 10182: public: 10182: ON_WindowsBitmapEx(); 10182: ~ON_WindowsBitmapEx(); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: }; 10182: 10182: class ON_EmbeddedBitmap : public ON_Bitmap 10182: { 10182: protected: static void* m_s_ON_EmbeddedBitmap_ptr; public: static const ON_ClassId m_ON_EmbeddedBitmap_class_id; static ON_EmbeddedBitmap * Cast( ON_Object* ); static const ON_EmbeddedBitmap * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_EmbeddedBitmap( const ON_Object*, ON_Object* ); public: ON_EmbeddedBitmap * Duplicate() const;; 10182: public: 10182: ON_EmbeddedBitmap(); 10182: ~ON_EmbeddedBitmap(); 10182: void EmergencyDestroy(); 10182: void Destroy(); 10182: void Create( int sizeof_buffer ); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 580 "/<>/external/onurbs/opennurbs_bitmap.h" 3 4 10182: __null 10182: # 580 "/<>/external/onurbs/opennurbs_bitmap.h" 10182: ) const; 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: 10182: int Width() const; 10182: int Height() const; 10182: int BitsPerPixel() const; 10182: int SizeofScan() const; 10182: int SizeofImage() const; 10182: unsigned char* Bits(int); 10182: const unsigned char* Bits(int) const; 10182: 10182: void* m_buffer; 10182: size_t m_sizeof_buffer; 10182: int m_free_buffer; 10182: ON__UINT32 m_biffer_crc32; 10182: }; 10182: # 115 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_instance.h" 1 10182: # 27 "/<>/external/onurbs/opennurbs_instance.h" 10182: class ON_InstanceDefinition : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_InstanceDefinition_ptr; public: static const ON_ClassId m_ON_InstanceDefinition_class_id; static ON_InstanceDefinition * Cast( ON_Object* ); static const ON_InstanceDefinition * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_InstanceDefinition( const ON_Object*, ON_Object* ); public: ON_InstanceDefinition * Duplicate() const;; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: enum IDEF_UPDATE_TYPE 10182: { 10182: static_def = 0, 10182: embedded_def = 1, 10182: # 49 "/<>/external/onurbs/opennurbs_instance.h" 10182: linked_and_embedded_def = 2, 10182: # 58 "/<>/external/onurbs/opennurbs_instance.h" 10182: linked_def = 3, 10182: # 69 "/<>/external/onurbs/opennurbs_instance.h" 10182: force_32bit_idef_update_type = 0xFFFFFFFF 10182: }; 10182: 10182: 10182: static IDEF_UPDATE_TYPE IdefUpdateType(int i); 10182: 10182: 10182: 10182: 10182: 10182: enum 10182: { 10182: no_idef_settings = 0, 10182: idef_name_setting = 1, 10182: idef_description_setting = 2, 10182: idef_url_setting = 4, 10182: idef_units_setting = 8, 10182: idef_source_archive_setting = 0x10, 10182: idef_userdata_setting = 0x20, 10182: all_idef_settings = 0xFFFFFFFF 10182: }; 10182: 10182: public: 10182: ON_InstanceDefinition(); 10182: ~ON_InstanceDefinition(); 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 96 "/<>/external/onurbs/opennurbs_instance.h" 3 4 10182: __null 10182: # 96 "/<>/external/onurbs/opennurbs_instance.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: ON::object_type ObjectType() const; 10182: unsigned int SizeOf() const; 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: const wchar_t* Name() const; 10182: # 135 "/<>/external/onurbs/opennurbs_instance.h" 10182: void SetName( const wchar_t* name ); 10182: 10182: const wchar_t* Description() const; 10182: void SetDescription( const wchar_t* description ); 10182: 10182: const wchar_t* URL() const; 10182: void SetURL( const wchar_t* url ); 10182: 10182: const wchar_t* URL_Tag() const; 10182: void SetURL_Tag( const wchar_t* url_tag ); 10182: 10182: ON_UUID Uuid() const; 10182: void SetUuid( ON_UUID uuid ); 10182: 10182: void SetBoundingBox( ON_BoundingBox bbox ); 10182: 10182: 10182: ON_SimpleArray m_object_uuid; 10182: # 176 "/<>/external/onurbs/opennurbs_instance.h" 10182: void SetSourceArchive( 10182: const wchar_t* source_archive, 10182: ON_CheckSum checksum, 10182: IDEF_UPDATE_TYPE update_type 10182: ); 10182: # 194 "/<>/external/onurbs/opennurbs_instance.h" 10182: void DestroySourceArchive(); 10182: 10182: 10182: 10182: 10182: 10182: const wchar_t* SourceArchive() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_CheckSum SourceArchiveCheckSum() const; 10182: 10182: const ON_UnitSystem& UnitSystem() const; 10182: # 221 "/<>/external/onurbs/opennurbs_instance.h" 10182: void SetAlternateSourceArchivePath( 10182: const wchar_t* alternate_source_archive_path, 10182: bool bRelativePath 10182: ); 10182: # 237 "/<>/external/onurbs/opennurbs_instance.h" 10182: bool GetAlternateSourceArchivePath( 10182: ON_wString& alternate_source_archive_path, 10182: bool& bRelativePath 10182: ) const; 10182: 10182: 10182: 10182: 10182: void SetUnitSystem( ON::unit_system us ); 10182: void SetUnitSystem( const ON_UnitSystem& us ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool HasLinkedIdefLayerSettings() const; 10182: # 263 "/<>/external/onurbs/opennurbs_instance.h" 10182: void UpdateLinkedIdefReferenceFileLayerSettings( unsigned int layer_count, ON_Layer** layer_settings ); 10182: # 273 "/<>/external/onurbs/opennurbs_instance.h" 10182: void UpdateLinkedIdefParentLayerSettings( const ON_Layer* linked_idef_parent_layer ); 10182: 10182: const ON_Layer* LinkedIdefParentLayerSettings() const; 10182: # 290 "/<>/external/onurbs/opennurbs_instance.h" 10182: void UpdateLinkedIdefReferenceFileLayerRuntimeId( const ON_UuidPairList& id_map ); 10182: # 306 "/<>/external/onurbs/opennurbs_instance.h" 10182: void UpdateLinkedIdefLayerSettings( unsigned int layer_count, const ON_Layer*const* layer_settings ); 10182: 10182: public: 10182: 10182: ON_UUID m_uuid; 10182: ON_wString m_name; 10182: 10182: 10182: 10182: ON_wString m_description; 10182: 10182: ON_wString m_url; 10182: ON_wString m_url_tag; 10182: # 330 "/<>/external/onurbs/opennurbs_instance.h" 10182: public: 10182: ON_BoundingBox m_bbox; 10182: 10182: ON_UnitSystem m_us; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: IDEF_UPDATE_TYPE m_idef_update_type; 10182: 10182: IDEF_UPDATE_TYPE IdefUpdateType() const; 10182: 10182: int m_idef_update_depth; 10182: 10182: 10182: 10182: 10182: ON_wString m_source_archive; 10182: 10182: bool m_source_bRelativePath; 10182: # 361 "/<>/external/onurbs/opennurbs_instance.h" 10182: unsigned char m_idef_layer_style; 10182: 10182: private: 10182: unsigned char m_reserved2[2]; 10182: 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: 10182: unsigned int m_reserved1; 10182: 10182: 10182: public: 10182: ON_CheckSum m_source_archive_checksum; 10182: 10182: }; 10182: # 389 "/<>/external/onurbs/opennurbs_instance.h" 10182: class ON_InstanceRef : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_InstanceRef_ptr; public: static const ON_ClassId m_ON_InstanceRef_class_id; static ON_InstanceRef * Cast( ON_Object* ); static const ON_InstanceRef * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_InstanceRef( const ON_Object*, ON_Object* ); public: ON_InstanceRef * Duplicate() const;; 10182: 10182: public: 10182: ON_InstanceRef(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 400 "/<>/external/onurbs/opennurbs_instance.h" 3 4 10182: __null 10182: # 400 "/<>/external/onurbs/opennurbs_instance.h" 10182: ) const; 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: ON_BOOL32 Transform( 10182: const ON_Xform& xform 10182: ); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_instance_definition_uuid; 10182: 10182: 10182: ON_Xform m_xform; 10182: 10182: 10182: ON_BoundingBox m_bbox; 10182: 10182: 10182: 10182: static const double m_singular_xform_tol; 10182: }; 10182: # 116 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_3dm_properties.h" 1 10182: # 22 "/<>/external/onurbs/opennurbs_3dm_properties.h" 10182: class ON_3dmRevisionHistory 10182: { 10182: public: 10182: ON_3dmRevisionHistory(); 10182: ~ON_3dmRevisionHistory(); 10182: 10182: 10182: void Default(); 10182: ON_BOOL32 IsValid() const; 10182: int NewRevision(); 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool CreateTimeIsSet() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool LastEditedTimeIsSet() const; 10182: 10182: ON_wString m_sCreatedBy; 10182: ON_wString m_sLastEditedBy; 10182: struct tm m_create_time; 10182: struct tm m_last_edit_time; 10182: int m_revision_count; 10182: }; 10182: 10182: 10182: 10182: class ON_3dmNotes 10182: { 10182: public: 10182: ON_3dmNotes(); 10182: ON_3dmNotes( const ON_3dmNotes& ); 10182: ~ON_3dmNotes(); 10182: ON_3dmNotes& operator=(const ON_3dmNotes&); 10182: 10182: void Default(); 10182: ON_BOOL32 IsValid() const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: void Dump(ON_TextLog&) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_wString m_notes; 10182: ON_BOOL32 m_bVisible; 10182: ON_BOOL32 m_bHTML; 10182: 10182: 10182: int m_window_left; 10182: int m_window_top; 10182: int m_window_right; 10182: int m_window_bottom; 10182: }; 10182: 10182: 10182: 10182: class ON_3dmApplication 10182: { 10182: 10182: public: 10182: ON_3dmApplication(); 10182: ON_3dmApplication( const ON_3dmApplication& ); 10182: ~ON_3dmApplication(); 10182: ON_3dmApplication& operator=(const ON_3dmApplication&); 10182: 10182: void Default(); 10182: ON_BOOL32 IsValid() const; 10182: 10182: ON_BOOL32 Read( ON_BinaryArchive& ); 10182: ON_BOOL32 Write( ON_BinaryArchive& ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_wString m_application_name; 10182: ON_wString m_application_URL; 10182: ON_wString m_application_details; 10182: }; 10182: 10182: 10182: 10182: class ON_3dmProperties 10182: { 10182: public: 10182: ON_3dmProperties(); 10182: ~ON_3dmProperties(); 10182: ON_3dmProperties(const ON_3dmProperties&); 10182: ON_3dmProperties& operator=(const ON_3dmProperties&); 10182: 10182: void Default(); 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_3dmRevisionHistory m_RevisionHistory; 10182: ON_3dmNotes m_Notes; 10182: ON_WindowsBitmap m_PreviewImage; 10182: ON_3dmApplication m_Application; 10182: }; 10182: # 117 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_3dm_settings.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: class ON_3dmUnitsAndTolerances 10182: { 10182: public: 10182: 10182: 10182: ON_3dmUnitsAndTolerances(); 10182: ~ON_3dmUnitsAndTolerances(); 10182: 10182: ON_3dmUnitsAndTolerances(const ON_3dmUnitsAndTolerances&); 10182: ON_3dmUnitsAndTolerances& operator=(const ON_3dmUnitsAndTolerances&); 10182: 10182: 10182: void Default(); 10182: 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool TolerancesAreValid() const; 10182: # 69 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: unsigned int SetInvalidTolerancesToDefaultValues(); 10182: # 78 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: double Scale( ON::unit_system ) const; 10182: 10182: ON_UnitSystem m_unit_system; 10182: 10182: double m_absolute_tolerance; 10182: double m_angle_tolerance; 10182: double m_relative_tolerance; 10182: 10182: ON::distance_display_mode m_distance_display_mode; 10182: int m_distance_display_precision; 10182: 10182: 10182: 10182: public: 10182: # 101 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: static const ON_3dmUnitsAndTolerances DefaultValue; 10182: }; 10182: # 112 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: class ON_3dmAnnotationSettings 10182: { 10182: public: 10182: ON_3dmAnnotationSettings(); 10182: ~ON_3dmAnnotationSettings(); 10182: ON_3dmAnnotationSettings(const ON_3dmAnnotationSettings&); 10182: ON_3dmAnnotationSettings& operator=(const ON_3dmAnnotationSettings&); 10182: 10182: void Default(); 10182: 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: 10182: 10182: double m_dimscale; 10182: double m_textheight; 10182: double m_dimexe; 10182: double m_dimexo; 10182: double m_arrowlength; 10182: double m_arrowwidth; 10182: double m_centermark; 10182: 10182: 10182: 10182: 10182: 10182: double WorldViewTextScale() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetWorldViewTextScale(double world_view_text_scale ); 10182: 10182: 10182: 10182: 10182: 10182: double WorldViewHatchScale() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetWorldViewHatchScale(double world_view_hatch_scale ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsAnnotationScalingEnabled() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void EnableAnnotationScaling( bool bEnable ); 10182: 10182: 10182: 10182: 10182: 10182: bool IsHatchScalingEnabled() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void EnableHatchScaling( bool bEnable ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: private: 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: float m_world_view_text_scale; 10182: float m_world_view_hatch_scale; 10182: 10182: private: 10182: # 229 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: unsigned char m_bEnableAnnotationScaling; 10182: 10182: unsigned char m_bEnableHatchScaling; 10182: 10182: private: 10182: unsigned char m_reserved[6]; 10182: 10182: public: 10182: 10182: ON::unit_system m_dimunits; 10182: int m_arrowtype; 10182: int m_angularunits; 10182: int m_lengthformat; 10182: int m_angleformat; 10182: int m_textalign; 10182: int m_resolution; 10182: 10182: 10182: ON_wString m_facename; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmConstructionPlaneGridDefaults 10182: { 10182: public: 10182: ON_3dmConstructionPlaneGridDefaults(); 10182: ~ON_3dmConstructionPlaneGridDefaults(); 10182: ON_3dmConstructionPlaneGridDefaults(const ON_3dmConstructionPlaneGridDefaults&); 10182: ON_3dmConstructionPlaneGridDefaults& operator=(const ON_3dmConstructionPlaneGridDefaults&); 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: double m_grid_spacing; 10182: double m_snap_spacing; 10182: 10182: 10182: int m_grid_line_count; 10182: int m_grid_thick_frequency; 10182: 10182: 10182: 10182: 10182: ON_BOOL32 m_bShowGrid; 10182: ON_BOOL32 m_bShowGridAxes; 10182: ON_BOOL32 m_bShowWorldAxes; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmConstructionPlane 10182: { 10182: public: 10182: ON_3dmConstructionPlane(); 10182: ~ON_3dmConstructionPlane(); 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: ON_Plane m_plane; 10182: 10182: 10182: double m_grid_spacing; 10182: double m_snap_spacing; 10182: 10182: 10182: int m_grid_line_count; 10182: int m_grid_thick_frequency; 10182: 10182: 10182: 10182: bool m_bDepthBuffer; 10182: 10182: 10182: 10182: ON_wString m_name; 10182: }; 10182: # 339 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: class ON_3dmViewPosition 10182: { 10182: public: 10182: 10182: ON_3dmViewPosition(); 10182: ~ON_3dmViewPosition(); 10182: ON_3dmViewPosition(const ON_3dmViewPosition&); 10182: ON_3dmViewPosition& operator=(const ON_3dmViewPosition&); 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: 10182: 10182: 10182: double m_wnd_left; 10182: double m_wnd_right; 10182: double m_wnd_top; 10182: double m_wnd_bottom; 10182: ON_BOOL32 m_bMaximized; 10182: 10182: 10182: 10182: 10182: 10182: unsigned char m_floating_viewport; 10182: private: 10182: 10182: unsigned char m_reserved_1; 10182: unsigned char m_reserved_2; 10182: unsigned char m_reserved_3; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmViewTraceImage 10182: { 10182: public: 10182: ON_3dmViewTraceImage(); 10182: ~ON_3dmViewTraceImage(); 10182: bool operator==( const ON_3dmViewTraceImage& ) const; 10182: bool operator!=( const ON_3dmViewTraceImage& ) const; 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: 10182: ON_Plane m_plane; 10182: double m_width; 10182: double m_height; 10182: 10182: ON_wString m_bitmap_filename; 10182: bool m_bGrayScale; 10182: bool m_bHidden; 10182: bool m_bFiltered; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmWallpaperImage 10182: { 10182: public: 10182: ON_3dmWallpaperImage(); 10182: ~ON_3dmWallpaperImage(); 10182: bool operator==( const ON_3dmWallpaperImage& ) const; 10182: bool operator!=( const ON_3dmWallpaperImage& ) const; 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: ON_wString m_bitmap_filename; 10182: bool m_bGrayScale; 10182: bool m_bHidden; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmPageSettings 10182: { 10182: public: 10182: ON_3dmPageSettings(); 10182: ~ON_3dmPageSettings(); 10182: 10182: bool IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: void Default(); 10182: 10182: int m_page_number; 10182: 10182: 10182: double m_width_mm; 10182: double m_height_mm; 10182: 10182: 10182: double m_left_margin_mm; 10182: double m_right_margin_mm; 10182: double m_top_margin_mm; 10182: double m_bottom_margin_mm; 10182: 10182: ON_wString m_printer_name; 10182: 10182: bool Write(ON_BinaryArchive& archive) const; 10182: bool Read(ON_BinaryArchive& archive); 10182: }; 10182: 10182: 10182: class ON_3dmView 10182: { 10182: public: 10182: ON_3dmView(); 10182: ~ON_3dmView(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: bool IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_Viewport m_vp; 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m_clipping_planes; 10182: 10182: 10182: 10182: 10182: bool m_bLockedProjection; 10182: # 509 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: ON_3dPoint TargetPoint() const; 10182: # 523 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: bool SetTargetPoint(ON_3dPoint target_point); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint m_target; 10182: # 540 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: ON_wString m_name; 10182: 10182: 10182: 10182: 10182: 10182: ON_UUID m_display_mode_id; 10182: ON::display_mode m_display_mode; 10182: 10182: 10182: 10182: ON_3dmViewPosition m_position; 10182: 10182: ON::view_type m_view_type; 10182: 10182: 10182: 10182: 10182: ON_3dmPageSettings m_page_settings; 10182: 10182: 10182: ON_3dmConstructionPlane m_cplane; 10182: bool m_bShowConstructionGrid; 10182: bool m_bShowConstructionAxes; 10182: 10182: 10182: bool m_bShowWorldAxes; 10182: 10182: 10182: ON_3dmViewTraceImage m_trace_image; 10182: 10182: 10182: ON_3dmWallpaperImage m_wallpaper_image; 10182: }; 10182: # 590 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: class ON_3dmRenderSettings 10182: { 10182: public: 10182: ON_3dmRenderSettings(); 10182: ~ON_3dmRenderSettings(); 10182: ON_3dmRenderSettings(const ON_3dmRenderSettings&); 10182: ON_3dmRenderSettings& operator=(const ON_3dmRenderSettings&); 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: bool ScaleBackgroundToFit() const; 10182: void SetScaleBackgroundToFit( bool bScaleBackgroundToFit ); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 m_bCustomImageSize; 10182: int m_image_width; 10182: int m_image_height; 10182: 10182: private: 10182: bool m_bScaleBackgroundToFit; 10182: unsigned char m_reserved1[3]; 10182: public: 10182: 10182: 10182: 10182: 10182: double m_image_dpi; 10182: 10182: 10182: 10182: ON::unit_system m_image_us; 10182: 10182: ON_Color m_ambient_light; 10182: 10182: int m_background_style; 10182: ON_Color m_background_color; 10182: ON_wString m_background_bitmap_filename; 10182: 10182: ON_BOOL32 m_bUseHiddenLights; 10182: 10182: ON_BOOL32 m_bDepthCue; 10182: ON_BOOL32 m_bFlatShade; 10182: 10182: ON_BOOL32 m_bRenderBackfaces; 10182: ON_BOOL32 m_bRenderPoints; 10182: ON_BOOL32 m_bRenderCurves; 10182: ON_BOOL32 m_bRenderIsoparams; 10182: ON_BOOL32 m_bRenderMeshEdges; 10182: ON_BOOL32 m_bRenderAnnotation; 10182: 10182: int m_antialias_style; 10182: 10182: int m_shadowmap_style; 10182: int m_shadowmap_width; 10182: int m_shadowmap_height; 10182: double m_shadowmap_offset; 10182: 10182: ON_Color m_background_bottom_color; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_bUsesAmbientAttr; 10182: bool m_bUsesBackgroundAttr; 10182: bool m_bUsesBackfaceAttr; 10182: bool m_bUsesPointsAttr; 10182: bool m_bUsesCurvesAttr; 10182: bool m_bUsesIsoparmsAttr; 10182: bool m_bUsesMeshEdgesAttr; 10182: bool m_bUsesAnnotationAttr; 10182: bool m_bUsesHiddenLightsAttr; 10182: 10182: private: 10182: unsigned char m_reserved2[3]; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_EarthAnchorPoint 10182: { 10182: public: 10182: ON_EarthAnchorPoint(); 10182: ~ON_EarthAnchorPoint(); 10182: 10182: static 10182: int Compare( 10182: const ON_EarthAnchorPoint*, 10182: const ON_EarthAnchorPoint* 10182: ); 10182: 10182: static 10182: int CompareEarthLocation( 10182: const ON_EarthAnchorPoint*, 10182: const ON_EarthAnchorPoint* 10182: ); 10182: 10182: static 10182: int CompareModelDirection( 10182: const ON_EarthAnchorPoint*, 10182: const ON_EarthAnchorPoint* 10182: ); 10182: 10182: static 10182: int CompareIdentification( 10182: const ON_EarthAnchorPoint*, 10182: const ON_EarthAnchorPoint* 10182: ); 10182: 10182: void Default(); 10182: bool Read( ON_BinaryArchive& ); 10182: bool Write( ON_BinaryArchive& ) const; 10182: 10182: 10182: 10182: 10182: 10182: double m_earth_basepoint_latitude; 10182: double m_earth_basepoint_longitude; 10182: double m_earth_basepoint_elevation; 10182: int m_earth_basepoint_elevation_zero; 10182: 10182: 10182: 10182: 10182: ON_3dPoint m_model_basepoint; 10182: 10182: 10182: ON_3dVector m_model_north; 10182: ON_3dVector m_model_east; 10182: 10182: 10182: ON_UUID m_id; 10182: ON_wString m_name; 10182: ON_wString m_description; 10182: ON_wString m_url; 10182: ON_wString m_url_tag; 10182: # 748 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: bool GetModelCompass( 10182: ON_Plane& model_compass 10182: ) const; 10182: # 785 "/<>/external/onurbs/opennurbs_3dm_settings.h" 10182: bool GetModelToEarthXform( 10182: const ON_UnitSystem& model_unit_system, 10182: ON_Xform& model_to_earth 10182: ) const; 10182: }; 10182: 10182: 10182: 10182: class ON_3dmIOSettings 10182: { 10182: public: 10182: ON_3dmIOSettings(); 10182: 10182: void Default(); 10182: 10182: bool Read(ON_BinaryArchive&); 10182: bool Write(ON_BinaryArchive&) const; 10182: 10182: 10182: bool m_bSaveTextureBitmapsInFile; 10182: 10182: 10182: 10182: 10182: 10182: int m_idef_link_update; 10182: 10182: 10182: 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_3dmSettings 10182: { 10182: public: 10182: ON_3dmSettings(); 10182: ~ON_3dmSettings(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void Default(); 10182: 10182: bool Read(ON_BinaryArchive&); 10182: bool Write(ON_BinaryArchive&) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_wString m_model_URL; 10182: 10182: 10182: 10182: 10182: ON_3dPoint m_model_basepoint; 10182: 10182: 10182: 10182: 10182: 10182: ON_EarthAnchorPoint m_earth_anchor_point; 10182: 10182: 10182: ON_3dmUnitsAndTolerances m_ModelUnitsAndTolerances; 10182: 10182: 10182: ON_3dmUnitsAndTolerances m_PageUnitsAndTolerances; 10182: 10182: 10182: ON_MeshParameters m_RenderMeshSettings; 10182: 10182: 10182: ON_MeshParameters m_CustomRenderMeshSettings; 10182: 10182: 10182: ON_MeshParameters m_AnalysisMeshSettings; 10182: 10182: 10182: ON_3dmAnnotationSettings m_AnnotationSettings; 10182: 10182: ON_ClassArray m_named_cplanes; 10182: ON_ClassArray m_named_views; 10182: ON_ClassArray m_views; 10182: ON_UUID m_active_view_id; 10182: 10182: 10182: 10182: int m_current_layer_index; 10182: 10182: int m_current_material_index; 10182: ON::object_material_source m_current_material_source; 10182: 10182: ON_Color m_current_color; 10182: ON::object_color_source m_current_color_source; 10182: 10182: ON_Color m_current_plot_color; 10182: ON::plot_color_source m_current_plot_color_source; 10182: 10182: int m_current_linetype_index; 10182: ON::object_linetype_source m_current_linetype_source; 10182: 10182: int m_current_font_index; 10182: 10182: int m_current_dimstyle_index; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_current_wire_density; 10182: 10182: ON_3dmRenderSettings m_RenderSettings; 10182: 10182: 10182: ON_3dmConstructionPlaneGridDefaults m_GridDefaults; 10182: 10182: 10182: 10182: 10182: double m_linetype_display_scale; 10182: 10182: 10182: ON_ClassArray m_plugin_list; 10182: 10182: ON_3dmIOSettings m_IO_settings; 10182: private: 10182: bool Read_v1(ON_BinaryArchive&); 10182: bool Read_v2(ON_BinaryArchive&); 10182: bool Write_v1(ON_BinaryArchive&) const; 10182: bool Write_v2(ON_BinaryArchive&) const; 10182: }; 10182: # 118 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 1 10182: # 41 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: class ON_3dmObjectAttributes : public ON_Object 10182: { 10182: protected: static void* m_s_ON_3dmObjectAttributes_ptr; public: static const ON_ClassId m_ON_3dmObjectAttributes_class_id; static ON_3dmObjectAttributes * Cast( ON_Object* ); static const ON_3dmObjectAttributes * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_3dmObjectAttributes( const ON_Object*, ON_Object* ); public: ON_3dmObjectAttributes * Duplicate() const;; 10182: 10182: public: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 50 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 3 4 10182: __null 10182: # 50 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool Transform( const ON_Xform& xform ); 10182: 10182: 10182: public: 10182: ON_3dmObjectAttributes(); 10182: ~ON_3dmObjectAttributes(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool operator==(const ON_3dmObjectAttributes&) const; 10182: bool operator!=(const ON_3dmObjectAttributes&) const; 10182: 10182: 10182: void Default(); 10182: # 90 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON::object_mode Mode() const; 10182: void SetMode( ON::object_mode ); 10182: # 100 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool IsInstanceDefinitionObject() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsVisible() const; 10182: # 119 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: void SetVisible( bool bVisible ); 10182: 10182: 10182: 10182: 10182: 10182: ON::object_linetype_source LinetypeSource() const; 10182: void SetLinetypeSource( ON::object_linetype_source ); 10182: # 135 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON::object_color_source ColorSource() const; 10182: void SetColorSource( ON::object_color_source ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON::plot_color_source PlotColorSource() const; 10182: void SetPlotColorSource( ON::plot_color_source ); 10182: 10182: ON::plot_weight_source PlotWeightSource() const; 10182: void SetPlotWeightSource( ON::plot_weight_source ); 10182: # 156 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON::display_mode DisplayMode() const; 10182: void SetDisplayMode( ON::display_mode ); 10182: # 190 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: unsigned int ApplyParentalControl( 10182: const ON_3dmObjectAttributes& parent_attributes, 10182: unsigned int control_limits = 0xFFFFFFFF 10182: ); 10182: 10182: unsigned int ApplyParentalControl( 10182: const ON_3dmObjectAttributes& parent_attributes, 10182: const ON_Layer& parent_layer, 10182: unsigned int control_limits = 0xFFFFFFFF 10182: ); 10182: # 208 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON_UUID m_uuid; 10182: 10182: 10182: 10182: ON_wString m_name; 10182: 10182: 10182: 10182: 10182: 10182: ON_wString m_url; 10182: 10182: 10182: 10182: 10182: 10182: int m_layer_index; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_linetype_index; 10182: # 248 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: int m_material_index; 10182: ON_ObjectRenderingAttributes m_rendering_attributes; 10182: # 263 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool SetCustomRenderMeshParameters(const class ON_MeshParameters& mp); 10182: # 278 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool EnableCustomRenderMeshParameters(bool bEnable); 10182: # 293 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: const ON_MeshParameters* CustomRenderMeshParameters() const; 10182: 10182: 10182: 10182: 10182: 10182: void DeleteCustomRenderMeshParameters(); 10182: # 316 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON::object_material_source MaterialSource() const; 10182: # 326 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: void SetMaterialSource( ON::object_material_source ms ); 10182: 10182: 10182: 10182: ON_Color m_color; 10182: 10182: 10182: 10182: ON_Color m_plot_color; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_display_order; 10182: 10182: 10182: 10182: 10182: double m_plot_weight_mm; 10182: 10182: 10182: ON::object_decoration m_object_decoration; 10182: # 361 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: int m_wire_density; 10182: # 370 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ON_UUID m_viewport_id; 10182: 10182: 10182: 10182: 10182: 10182: ON::active_space m_space; 10182: 10182: private: 10182: bool m_bVisible; 10182: unsigned char m_mode; 10182: 10182: unsigned char m_color_source; 10182: unsigned char m_plot_color_source; 10182: unsigned char m_plot_weight_source; 10182: unsigned char m_material_source; 10182: unsigned char m_linetype_source; 10182: 10182: unsigned char m_reserved_0; 10182: 10182: ON_SimpleArray m_group; 10182: public: 10182: 10182: 10182: 10182: 10182: int GroupCount() const; 10182: 10182: 10182: 10182: 10182: const int* GroupList() const; 10182: 10182: 10182: 10182: int GetGroupList(ON_SimpleArray&) const; 10182: 10182: 10182: 10182: int TopGroup() const; 10182: 10182: 10182: ON_BOOL32 IsInGroup( 10182: int 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsInGroups( 10182: int, 10182: const int* 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsInGroups( 10182: const ON_SimpleArray& 10182: ) const; 10182: 10182: 10182: 10182: void AddToGroup( 10182: int 10182: ); 10182: 10182: 10182: 10182: void RemoveFromGroup( 10182: int 10182: ); 10182: 10182: 10182: void RemoveFromTopGroup(); 10182: 10182: 10182: void RemoveFromAllGroups(); 10182: # 495 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool FindDisplayMaterialRef( 10182: const ON_DisplayMaterialRef& search_material, 10182: ON_DisplayMaterialRef* found_material = 10182: # 497 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 3 4 10182: __null 10182: 10182: # 498 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ) const; 10182: # 509 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool FindDisplayMaterialId( 10182: const ON_UUID& viewport_id, 10182: ON_UUID* display_material_id = 10182: # 511 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 3 4 10182: __null 10182: 10182: # 512 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: ) const; 10182: # 527 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool AddDisplayMaterialRef( 10182: ON_DisplayMaterialRef display_material 10182: ); 10182: # 549 "/<>/external/onurbs/opennurbs_3dm_attributes.h" 10182: bool RemoveDisplayMaterialRef( 10182: ON_UUID viewport_id, 10182: ON_UUID display_material_id = ON_nil_uuid 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: void RemoveAllDisplayMaterialRefs(); 10182: 10182: 10182: 10182: 10182: 10182: int DisplayMaterialRefCount() const; 10182: 10182: ON_SimpleArray m_dmref; 10182: 10182: private: 10182: bool WriteV5Helper( ON_BinaryArchive& file ) const; 10182: bool ReadV5Helper( ON_BinaryArchive& file ); 10182: }; 10182: # 119 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_annotation.h" 1 10182: # 21 "/<>/external/onurbs/opennurbs_annotation.h" 10182: class ON_AnnotationTextDot : public ON_Point 10182: { 10182: 10182: protected: static void* m_s_ON_AnnotationTextDot_ptr; public: static const ON_ClassId m_ON_AnnotationTextDot_class_id; static ON_AnnotationTextDot * Cast( ON_Object* ); static const ON_AnnotationTextDot * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_AnnotationTextDot( const ON_Object*, ON_Object* ); public: ON_AnnotationTextDot * Duplicate() const;; 10182: public: 10182: ON_AnnotationTextDot(); 10182: ~ON_AnnotationTextDot(); 10182: ON_AnnotationTextDot(const ON_AnnotationTextDot&); 10182: ON_AnnotationTextDot& operator=(const ON_AnnotationTextDot&); 10182: # 55 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 55 "/<>/external/onurbs/opennurbs_annotation.h" 3 4 10182: __null 10182: # 55 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON_wString m_text; 10182: }; 10182: 10182: class ON_AnnotationArrow : public ON_Geometry 10182: { 10182: 10182: protected: static void* m_s_ON_AnnotationArrow_ptr; public: static const ON_ClassId m_ON_AnnotationArrow_class_id; static ON_AnnotationArrow * Cast( ON_Object* ); static const ON_AnnotationArrow * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_AnnotationArrow( const ON_Object*, ON_Object* ); public: ON_AnnotationArrow * Duplicate() const;; 10182: public: 10182: ON_AnnotationArrow(); 10182: ~ON_AnnotationArrow(); 10182: ON_AnnotationArrow(const ON_AnnotationArrow&); 10182: ON_AnnotationArrow& operator=(const ON_AnnotationArrow&); 10182: # 104 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 104 "/<>/external/onurbs/opennurbs_annotation.h" 3 4 10182: __null 10182: # 104 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: ON_3dVector Vector() const; 10182: ON_3dPoint Head() const; 10182: ON_3dPoint Tail() const; 10182: 10182: ON_3dPoint m_tail; 10182: ON_3dPoint m_head; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: class ON_Annotation : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Annotation_ptr; public: static const ON_ClassId m_ON_Annotation_class_id; static ON_Annotation * Cast( ON_Object* ); static const ON_Annotation * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Annotation( const ON_Object*, ON_Object* ); public: ON_Annotation * Duplicate() const;; 10182: 10182: enum SYMBOLS 10182: { 10182: degreesym = 176, 10182: radiussym = 'R', 10182: diametersym = 216, 10182: plusminussym = 177, 10182: }; 10182: 10182: 10182: 10182: public: 10182: 10182: virtual ON_BOOL32 IsRealObject() const = 0; 10182: 10182: ON_Annotation(); 10182: ON_Annotation(const ON_Annotation&); 10182: ~ON_Annotation(); 10182: ON_Annotation& operator=(const ON_Annotation&); 10182: 10182: void Create(); 10182: 10182: void Destroy(); 10182: void EmergencyDestroy(); 10182: # 206 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 206 "/<>/external/onurbs/opennurbs_annotation.h" 3 4 10182: __null 10182: # 206 "/<>/external/onurbs/opennurbs_annotation.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: ON_BOOL32 Transform( 10182: const ON_Xform& 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const ON_3dmAnnotationSettings& AnnotationSettings(); 10182: static void SetAnnotationSettings( const ON_3dmAnnotationSettings* ); 10182: 10182: bool IsText() const; 10182: bool IsLeader() const; 10182: bool IsDimension() const; 10182: 10182: virtual double NumericValue() const; 10182: virtual void SetTextToDefault(); 10182: 10182: void SetType( ON::eAnnotationType type ); 10182: ON::eAnnotationType Type() const; 10182: void SetTextDisplayMode( ON::eTextDisplayMode mode); 10182: ON::eTextDisplayMode TextDisplayMode() const; 10182: 10182: void SetPlane( const ON_Plane& plane ); 10182: ON_Plane Plane() const; 10182: int PointCount() const; 10182: void SetPoints( const ON_SimpleArray& points ); 10182: const ON_SimpleArray& Points() const; 10182: void SetPoint( int idx, ON_3dPoint point ); 10182: ON_2dPoint Point( int idx ) const; 10182: void SetUserText( const wchar_t* string ); 10182: const ON_wString& UserText() const; 10182: void SetDefaultText( const wchar_t* string ); 10182: const ON_wString& DefaultText() const; 10182: void SetUserPositionedText( int bUserPositionedText ); 10182: bool UserPositionedText() const; 10182: 10182: 10182: bool GetECStoWCSXform( ON_Xform& xform ) const; 10182: bool GeWCStoECSXform( ON_Xform& xform ) const; 10182: 10182: ON::eAnnotationType m_type; 10182: 10182: 10182: ON::eTextDisplayMode m_textdisplaymode; 10182: 10182: 10182: ON_Plane m_plane; 10182: ON_SimpleArray m_points; 10182: 10182: ON_wString m_usertext; 10182: ON_wString m_defaulttext; 10182: 10182: bool m_userpositionedtext; 10182: 10182: }; 10182: 10182: 10182: class ON_LinearDimension : public ON_Annotation 10182: { 10182: protected: static void* m_s_ON_LinearDimension_ptr; public: static const ON_ClassId m_ON_LinearDimension_class_id; static ON_LinearDimension * Cast( ON_Object* ); static const ON_LinearDimension * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_LinearDimension( const ON_Object*, ON_Object* ); public: ON_LinearDimension * Duplicate() const;; 10182: 10182: public: 10182: ON_BOOL32 IsRealObject() const; 10182: ON_LinearDimension(); 10182: ON_LinearDimension(const ON_LinearDimension&); 10182: ~ON_LinearDimension(); 10182: ON_LinearDimension& operator=(const ON_LinearDimension&); 10182: 10182: double NumericValue(); 10182: void SetTextToDefault(); 10182: void EmergencyDestroy(); 10182: }; 10182: 10182: class ON_RadialDimension : public ON_Annotation 10182: { 10182: protected: static void* m_s_ON_RadialDimension_ptr; public: static const ON_ClassId m_ON_RadialDimension_class_id; static ON_RadialDimension * Cast( ON_Object* ); static const ON_RadialDimension * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_RadialDimension( const ON_Object*, ON_Object* ); public: ON_RadialDimension * Duplicate() const;; 10182: 10182: public: 10182: ON_BOOL32 IsRealObject() const; 10182: ON_RadialDimension(); 10182: ON_RadialDimension(const ON_RadialDimension&); 10182: ~ON_RadialDimension(); 10182: ON_RadialDimension& operator=(const ON_RadialDimension&); 10182: 10182: double NumericValue(); 10182: void SetTextToDefault(); 10182: 10182: void EmergencyDestroy(); 10182: }; 10182: 10182: class ON_AngularDimension : public ON_Annotation 10182: { 10182: protected: static void* m_s_ON_AngularDimension_ptr; public: static const ON_ClassId m_ON_AngularDimension_class_id; static ON_AngularDimension * Cast( ON_Object* ); static const ON_AngularDimension * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_AngularDimension( const ON_Object*, ON_Object* ); public: ON_AngularDimension * Duplicate() const;; 10182: 10182: public: 10182: ON_BOOL32 IsRealObject() const; 10182: 10182: ON_AngularDimension(); 10182: ON_AngularDimension(const ON_AngularDimension&); 10182: ~ON_AngularDimension(); 10182: ON_AngularDimension& operator=(const ON_AngularDimension&); 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& file ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& file ); 10182: 10182: void SetAngle( double angle ) { m_angle = angle; } 10182: double Angle() const { return m_angle; } 10182: void SetRadius( double radius ) { m_radius = radius; } 10182: double Radius() const { return m_radius; } 10182: 10182: double NumericValue(); 10182: void SetTextToDefault(); 10182: 10182: 10182: private: 10182: double m_angle; 10182: double m_radius; 10182: }; 10182: 10182: class ON_TextEntity : public ON_Annotation 10182: { 10182: protected: static void* m_s_ON_TextEntity_ptr; public: static const ON_ClassId m_ON_TextEntity_class_id; static ON_TextEntity * Cast( ON_Object* ); static const ON_TextEntity * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_TextEntity( const ON_Object*, ON_Object* ); public: ON_TextEntity * Duplicate() const;; 10182: 10182: public: 10182: ON_BOOL32 IsRealObject() const; 10182: ON_TextEntity(); 10182: ON_TextEntity(const ON_TextEntity&); 10182: ~ON_TextEntity(); 10182: ON_TextEntity& operator=(const ON_TextEntity&); 10182: 10182: void EmergencyDestroy(); 10182: 10182: ON_BOOL32 Write( ON_BinaryArchive& file ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& file ); 10182: 10182: void SetFaceName( ON_wString string ) { m_facename = string; } 10182: ON_wString FaceName() const { return m_facename; } 10182: void SetFontWeight( int weight ) { m_fontweight = weight; } 10182: int FontWeight() const { return m_fontweight; } 10182: void SetHeight( double height ) { m_height = height; } 10182: double Height() const { return m_height; } 10182: 10182: private: 10182: ON_wString m_facename; 10182: int m_fontweight; 10182: double m_height; 10182: }; 10182: 10182: class ON_Leader : public ON_Annotation 10182: { 10182: protected: static void* m_s_ON_Leader_ptr; public: static const ON_ClassId m_ON_Leader_class_id; static ON_Leader * Cast( ON_Object* ); static const ON_Leader * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Leader( const ON_Object*, ON_Object* ); public: ON_Leader * Duplicate() const;; 10182: 10182: public: 10182: ON_BOOL32 IsRealObject() const; 10182: ON_Leader(); 10182: ON_Leader(const ON_Leader&); 10182: ~ON_Leader(); 10182: ON_Leader& operator=(const ON_Leader&); 10182: 10182: void EmergencyDestroy(); 10182: }; 10182: # 120 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_annotation2.h" 1 10182: # 26 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: typedef struct tagON_RECT 10182: { 10182: int left; 10182: int top; 10182: int right; 10182: int bottom; 10182: } ON_RECT; 10182: 10182: 10182: 10182: 10182: class ON_Annotation2Text : public ON_wString 10182: { 10182: public: 10182: ON_Annotation2Text(); 10182: ~ON_Annotation2Text(); 10182: # 66 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_Annotation2Text& operator=(const char*); 10182: ON_Annotation2Text& operator=(const wchar_t*); 10182: 10182: void SetText( const char* s ); 10182: void SetText( const wchar_t* s ); 10182: # 81 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_RECT m_rect; 10182: }; 10182: 10182: 10182: class ON_TextExtra : public ON_UserData 10182: { 10182: protected: static void* m_s_ON_TextExtra_ptr; public: static const ON_ClassId m_ON_TextExtra_class_id; static ON_TextExtra * Cast( ON_Object* ); static const ON_TextExtra * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_TextExtra( const ON_Object*, ON_Object* ); public: ON_TextExtra * Duplicate() const;; 10182: public: 10182: 10182: ON_TextExtra(); 10182: ~ON_TextExtra(); 10182: 10182: static 10182: ON_TextExtra* TextExtension(class ON_TextEntity2* pDim, bool bCreate); 10182: static const 10182: ON_TextExtra* TextExtension(const class ON_TextEntity2* pDim, bool bCreate); 10182: 10182: void SetDefaults(); 10182: 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: 10182: ON_BOOL32 GetDescription( ON_wString& description ); 10182: 10182: 10182: ON_BOOL32 Archive() const; 10182: 10182: ON_UUID ParentUUID() const; 10182: void SetParentUUID( ON_UUID parent_uuid); 10182: 10182: bool DrawTextMask() const; 10182: void SetDrawTextMask(bool bDraw); 10182: 10182: int MaskColorSource() const; 10182: void SetMaskColorSource(int source); 10182: 10182: ON_Color MaskColor() const; 10182: 10182: void SetMaskColor(ON_Color color); 10182: 10182: double MaskOffsetFactor() const; 10182: void SetMaskOffsetFactor(double offset); 10182: 10182: ON_UUID m_parent_uuid; 10182: 10182: bool m_bDrawMask; 10182: 10182: int m_color_source; 10182: 10182: 10182: ON_Color m_mask_color; 10182: 10182: double m_border_offset; 10182: 10182: 10182: }; 10182: 10182: 10182: class ON_DimensionExtra : public ON_UserData 10182: { 10182: protected: static void* m_s_ON_DimensionExtra_ptr; public: static const ON_ClassId m_ON_DimensionExtra_class_id; static ON_DimensionExtra * Cast( ON_Object* ); static const ON_DimensionExtra * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_DimensionExtra( const ON_Object*, ON_Object* ); public: ON_DimensionExtra * Duplicate() const;; 10182: public: 10182: 10182: ON_DimensionExtra(); 10182: ~ON_DimensionExtra(); 10182: 10182: static 10182: ON_DimensionExtra* DimensionExtension(class ON_LinearDimension2* pDim, bool bCreate); 10182: static const 10182: ON_DimensionExtra* DimensionExtension(const class ON_LinearDimension2* pDim, bool bCreate); 10182: static 10182: ON_DimensionExtra* DimensionExtension(class ON_RadialDimension2* pDim, bool bCreate); 10182: static const 10182: ON_DimensionExtra* DimensionExtension(const class ON_RadialDimension2* pDim, bool bCreate); 10182: static 10182: ON_DimensionExtra* DimensionExtension(class ON_OrdinateDimension2* pDim, bool bCreate); 10182: static const 10182: ON_DimensionExtra* DimensionExtension(const class ON_OrdinateDimension2* pDim, bool bCreate); 10182: 10182: void SetDefaults(); 10182: 10182: 10182: void Dump( ON_TextLog& text_log ) const; 10182: 10182: 10182: unsigned int SizeOf() const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: 10182: ON_BOOL32 GetDescription( ON_wString& description ); 10182: 10182: 10182: ON_BOOL32 Archive() const; 10182: 10182: ON_UUID ParentUUID() const; 10182: void SetParentUUID( ON_UUID parent_uuid); 10182: 10182: 10182: 10182: 10182: int ArrowPosition() const; 10182: void SetArrowPosition( int position); 10182: 10182: 10182: 10182: 10182: 10182: double DistanceScale() const; 10182: void SetDistanceScale(double s); 10182: 10182: 10182: void SetModelSpaceBasePoint(ON_3dPoint basepoint); 10182: ON_3dPoint ModelSpaceBasePoint() const; 10182: # 235 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_UUID m_partent_uuid; 10182: 10182: int m_arrow_position; 10182: # 250 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_RECT* m_text_rects; 10182: 10182: double m_distance_scale; 10182: ON_3dPoint m_modelspace_basepoint; 10182: }; 10182: # 265 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: class ON_Annotation2 : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Annotation2_ptr; public: static const ON_ClassId m_ON_Annotation2_class_id; static ON_Annotation2 * Cast( ON_Object* ); static const ON_Annotation2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Annotation2( const ON_Object*, ON_Object* ); public: ON_Annotation2 * Duplicate() const;; 10182: 10182: 10182: enum SYMBOLS 10182: { 10182: degreesym = 176, 10182: radiussym = L'R', 10182: diametersym = 216, 10182: plusminussym = 177, 10182: }; 10182: 10182: public: 10182: ON_Annotation2(); 10182: ~ON_Annotation2(); 10182: 10182: 10182: 10182: 10182: 10182: ON_Annotation2(const ON_Annotation&); 10182: ON_Annotation2& operator=(const ON_Annotation&); 10182: 10182: 10182: 10182: void Create(); 10182: 10182: void Destroy(); 10182: 10182: void EmergencyDestroy(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 302 "/<>/external/onurbs/opennurbs_annotation2.h" 3 4 10182: __null 10182: # 302 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ) const; 10182: # 313 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: # 325 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: # 342 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int Dimension() const; 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: 10182: 10182: bool EvaluatePoint( const class ON_ObjRef& objref, ON_3dPoint& P ) const; 10182: # 357 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum eTextJustification 10182: { 10182: tjUndefined = 0, 10182: tjLeft = 1<<0, 10182: tjCenter = 1<<1, 10182: tjRight = 1<<2, 10182: tjBottom = 1<<16, 10182: tjMiddle = 1<<17, 10182: tjTop = 1<<18, 10182: tjBottomLeft = tjBottom | tjLeft, 10182: tjBottomCenter = tjBottom | tjCenter, 10182: tjBottomRight = tjBottom | tjRight, 10182: tjMiddleLeft = tjMiddle | tjLeft, 10182: tjMiddleCenter = tjMiddle | tjCenter, 10182: tjMiddleRight = tjMiddle | tjRight, 10182: tjTopLeft = tjTop | tjLeft, 10182: tjTopCenter = tjTop | tjCenter, 10182: tjTopRight = tjTop | tjRight, 10182: }; 10182: # 387 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool IsText() const; 10182: # 399 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool IsLeader() const; 10182: # 411 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool IsDimension() const; 10182: # 426 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int Index() const; 10182: void SetIndex( int); 10182: # 438 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: virtual 10182: double NumericValue() const; 10182: # 451 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetHeight( double); 10182: double Height() const; 10182: # 463 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetType( ON::eAnnotationType); 10182: ON::eAnnotationType Type() const; 10182: # 474 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetPlane( const ON_Plane&); 10182: const ON_Plane& Plane() const; 10182: # 486 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int PointCount() const; 10182: void SetPointCount( int count); 10182: # 497 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetPoints( const ON_2dPointArray&); 10182: const ON_2dPointArray& Points() const; 10182: # 510 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetPoint( int, const ON_2dPoint&); 10182: ON_2dPoint Point( int) const; 10182: # 530 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetUserText( const wchar_t* text_value ); 10182: 10182: 10182: const ON_wString& UserText() const; 10182: # 558 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: const wchar_t* TextValue() const; 10182: # 579 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetTextValue( const wchar_t* text_value ); 10182: # 599 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: const wchar_t* TextFormula() const; 10182: # 619 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetTextFormula( const wchar_t* s ); 10182: # 638 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetUserPositionedText( int bUserPositionedText ); 10182: bool UserPositionedText() const; 10182: # 652 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetTextDisplayMode( ON::eTextDisplayMode); 10182: ON::eTextDisplayMode TextDisplayMode() const; 10182: # 666 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 GetECStoWCSXform( ON_Xform&) const; 10182: # 678 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 GetWCStoECSXform( ON_Xform& xform) const; 10182: # 688 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void ReservePoints( int); 10182: # 697 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: static const wchar_t* DefaultText(); 10182: # 710 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: virtual 10182: void ConvertBack( ON_Annotation& target); 10182: # 726 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: virtual 10182: void SetJustification( unsigned int justification); 10182: 10182: virtual 10182: unsigned int Justification(); 10182: # 771 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool GetTextXform( 10182: ON_RECT gdi_text_rect, 10182: int gdi_height_of_I, 10182: double dimstyle_textheight, 10182: double dimstyle_textgap, 10182: ON::eTextDisplayMode dimstyle_textalignment, 10182: double dimscale, 10182: ON_3dVector cameraX, 10182: ON_3dVector cameraY, 10182: const ON_Xform* model_xform, 10182: ON_Xform& text_xform 10182: ) const; 10182: # 824 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool GetTextXform( 10182: ON_RECT gdi_text_rect, 10182: int gdi_height_of_I, 10182: double dimstyle_textheight, 10182: double dimstyle_textgap, 10182: ON::eTextDisplayMode dimstyle_textalignment, 10182: double dimscale, 10182: ON_3dVector cameraX, 10182: ON_3dVector cameraY, 10182: ON_Xform& xform 10182: ) const; 10182: # 870 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool GetTextXform( 10182: const ON_RECT gdi_text_rect, 10182: const ON_Font& font, 10182: const ON_DimStyle* dimstyle, 10182: double dimscale, 10182: const ON_Viewport* vp, 10182: const ON_Xform* model_xform, 10182: ON_Xform& text_xform 10182: ) const; 10182: # 906 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool GetTextXform( 10182: ON_RECT gdi_text_rect, 10182: const ON_Font& font, 10182: const ON_DimStyle& dimstyle, 10182: double dimscale, 10182: const ON_Viewport* vp, 10182: ON_Xform& xform 10182: ) const; 10182: # 928 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool GetTextPoint( ON_2dPoint& text_2d_point ) const; 10182: 10182: 10182: ON::eAnnotationType m_type; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON::eTextDisplayMode m_textdisplaymode; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_Plane m_plane; 10182: # 956 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPointArray m_points; 10182: # 973 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_Annotation2Text m_usertext; 10182: 10182: 10182: 10182: bool m_userpositionedtext; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool m_annotative_scale; 10182: private: 10182: bool m_reserved_b1; 10182: bool m_reserved_b2; 10182: public: 10182: 10182: 10182: 10182: int m_index; 10182: 10182: 10182: 10182: 10182: double m_textheight; 10182: 10182: 10182: 10182: unsigned int m_justification; 10182: }; 10182: 10182: 10182: 10182: class ON_LinearDimension2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_LinearDimension2_ptr; public: static const ON_ClassId m_ON_LinearDimension2_class_id; static ON_LinearDimension2 * Cast( ON_Object* ); static const ON_LinearDimension2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_LinearDimension2( const ON_Object*, ON_Object* ); public: ON_LinearDimension2 * Duplicate() const;; 10182: 10182: public: 10182: # 1041 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum POINT_INDEX 10182: { 10182: 10182: 10182: 10182: 10182: 10182: ext0_pt_index = 0, 10182: arrow0_pt_index = 1, 10182: ext1_pt_index = 2, 10182: arrow1_pt_index = 3, 10182: userpositionedtext_pt_index = 4, 10182: dim_pt_count = 5, 10182: 10182: 10182: text_pivot_pt = 10000, 10182: dim_mid_pt = 10001 10182: }; 10182: 10182: ON_LinearDimension2(); 10182: ~ON_LinearDimension2(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: # 1078 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int Repair(); 10182: # 1089 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPoint Dim2dPoint( 10182: int point_index 10182: ) const; 10182: # 1102 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_3dPoint Dim3dPoint( 10182: int point_index 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double NumericValue() const; 10182: # 1145 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int StyleIndex() const; 10182: void SetStyleIndex( int); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const wchar_t* DefaultText(); 10182: 10182: 10182: 10182: void GetV2Form( ON_LinearDimension& dim); 10182: 10182: bool CreateFromV2( 10182: const ON_Annotation& v2_ann, 10182: const ON_3dmAnnotationSettings& settings, 10182: int dimstyle_index 10182: ); 10182: # 1193 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int GetDimensionLineSegments( 10182: ON_RECT gdi_text_rect, 10182: int gdi_height_of_I, 10182: ON_Xform gdi_to_world, 10182: const ON_DimStyle& dimstyle, 10182: double dimscale, 10182: const ON_Viewport* vp, 10182: double a[6], 10182: bool& bInside 10182: ) const; 10182: 10182: 10182: 10182: 10182: ON_DimensionExtra* DimensionExtension(); 10182: const ON_DimensionExtra* DimensionExtension() const; 10182: 10182: 10182: 10182: 10182: }; 10182: 10182: 10182: 10182: class ON_RadialDimension2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_RadialDimension2_ptr; public: static const ON_ClassId m_ON_RadialDimension2_class_id; static ON_RadialDimension2 * Cast( ON_Object* ); static const ON_RadialDimension2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_RadialDimension2( const ON_Object*, ON_Object* ); public: ON_RadialDimension2 * Duplicate() const;; 10182: 10182: public: 10182: # 1243 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum POINT_INDEX 10182: { 10182: 10182: 10182: 10182: 10182: 10182: center_pt_index = 0, 10182: arrow_pt_index = 1, 10182: tail_pt_index = 2, 10182: knee_pt_index = 3, 10182: dim_pt_count = 4, 10182: 10182: 10182: text_pivot_pt = 10000, 10182: }; 10182: 10182: ON_RadialDimension2(); 10182: ~ON_RadialDimension2(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: # 1278 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPoint Dim2dPoint( 10182: int point_index 10182: ) const; 10182: # 1291 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_3dPoint Dim3dPoint( 10182: int point_index 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 1333 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool CreateFromPoints( 10182: ON_3dPoint center, 10182: ON_3dPoint arrowtip, 10182: ON_3dVector xaxis, 10182: ON_3dVector normal, 10182: double offset_distance 10182: ); 10182: # 1348 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: double NumericValue() const; 10182: # 1358 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int StyleIndex() const; 10182: void SetStyleIndex( int); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const wchar_t* DefaultDiameterText(); 10182: static const wchar_t* DefaultRadiusText(); 10182: 10182: 10182: void GetV2Form( ON_RadialDimension& dim); 10182: 10182: bool CreateFromV2( 10182: const ON_Annotation& v2_ann, 10182: const ON_3dmAnnotationSettings& settings, 10182: int dimstyle_index 10182: ); 10182: 10182: bool GetArrowHeadDirection( ON_2dVector& arrowhead_dir ) const; 10182: bool GetArrowHeadTip( ON_2dPoint& arrowhead_tip ) const; 10182: }; 10182: 10182: 10182: 10182: 10182: class ON_AngularDimension2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_AngularDimension2_ptr; public: static const ON_ClassId m_ON_AngularDimension2_class_id; static ON_AngularDimension2 * Cast( ON_Object* ); static const ON_AngularDimension2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_AngularDimension2( const ON_Object*, ON_Object* ); public: ON_AngularDimension2 * Duplicate() const;; 10182: 10182: public: 10182: # 1426 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum POINT_INDEX 10182: { 10182: 10182: 10182: 10182: 10182: 10182: userpositionedtext_pt_index = 0, 10182: start_pt_index = 1, 10182: end_pt_index = 2, 10182: arc_pt_index = 3, 10182: dim_pt_count = 4, 10182: 10182: 10182: text_pivot_pt = 10000, 10182: arcstart_pt = 10001, 10182: arcend_pt = 10002, 10182: arcmid_pt = 10003, 10182: arccenter_pt = 10004, 10182: extension0_pt = 10005, 10182: extension1_pt = 10006 10182: }; 10182: 10182: ON_AngularDimension2(); 10182: ~ON_AngularDimension2(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: # 1467 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPoint Dim2dPoint( 10182: int point_index 10182: ) const; 10182: # 1480 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_3dPoint Dim3dPoint( 10182: int point_index 10182: ) const; 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 1510 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Write( ON_BinaryArchive& file ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& file ); 10182: # 1531 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool CreateFromPoints( 10182: const ON_3dPoint& apex, 10182: const ON_3dPoint& p0, 10182: const ON_3dPoint& p1, 10182: ON_3dPoint& arcpt, 10182: ON_3dVector& Normal 10182: ); 10182: # 1549 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: bool CreateFromArc( 10182: const ON_Arc& arc 10182: ); 10182: 10182: bool CreateFromV2( 10182: const ON_Annotation& v2_ann, 10182: const ON_3dmAnnotationSettings& settings, 10182: int dimstyle_index 10182: ); 10182: 10182: bool GetArc( ON_Arc& arc ) const; 10182: 10182: bool GetExtensionLines(ON_Line extensions[2]) const; 10182: 10182: 10182: void SetAngle( double angle); 10182: double Angle() const; 10182: void SetRadius( double radius); 10182: double Radius() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double NumericValue() const; 10182: # 1585 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int StyleIndex() const; 10182: void SetStyleIndex( int); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: static const wchar_t* DefaultText(); 10182: # 1608 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void ConvertBack( ON_AngularDimension2& target); 10182: 10182: 10182: void GetV2Form( ON_AngularDimension& dim); 10182: 10182: double m_angle; 10182: double m_radius; 10182: # 1639 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int GetDimensionArcSegments( 10182: ON_RECT gdi_text_rect, 10182: int gdi_height_of_I, 10182: ON_Xform gdi_to_world, 10182: const ON_DimStyle& dimstyle, 10182: double dimscale, 10182: const ON_Viewport* vp, 10182: double a[6], 10182: bool& bInside 10182: ) const; 10182: # 1659 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: double DimpointOffset( 10182: int index) const; 10182: # 1669 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetDimpointOffset( 10182: int index, 10182: double offset); 10182: }; 10182: # 1682 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: class ON_OrdinateDimension2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_OrdinateDimension2_ptr; public: static const ON_ClassId m_ON_OrdinateDimension2_class_id; static ON_OrdinateDimension2 * Cast( ON_Object* ); static const ON_OrdinateDimension2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_OrdinateDimension2( const ON_Object*, ON_Object* ); public: ON_OrdinateDimension2 * Duplicate() const;; 10182: 10182: public: 10182: # 1730 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum POINT_INDEX 10182: { 10182: 10182: 10182: 10182: 10182: 10182: definition_pt_index = 0, 10182: leader_end_pt_index = 1, 10182: dim_pt_count = 2, 10182: 10182: 10182: text_pivot_pt = 10000, 10182: offset_pt_0 = 10001, 10182: offset_pt_1 = 10002 10182: }; 10182: 10182: enum DIRECTION 10182: { 10182: x = 0, 10182: y = 1, 10182: }; 10182: 10182: ON_OrdinateDimension2(); 10182: ~ON_OrdinateDimension2(); 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: # 1770 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPoint Dim2dPoint( 10182: int point_index, 10182: double default_offset = 1.0 10182: ) const; 10182: # 1786 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_3dPoint Dim3dPoint( 10182: int point_index, 10182: double default_offset = 1.0 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: ON_BOOL32 bGrowBox = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 1816 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Write( ON_BinaryArchive& file ) const; 10182: ON_BOOL32 Read( ON_BinaryArchive& file ); 10182: # 1826 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: double NumericValue() const; 10182: # 1836 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int StyleIndex() const; 10182: void SetStyleIndex( int); 10182: # 1849 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int ImpliedDirection() const; 10182: # 1859 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int Direction() const; 10182: void SetDirection( int direction); 10182: # 1879 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: static const wchar_t* DefaultText(); 10182: # 1893 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: double KinkOffset( int index) const; 10182: void SetKinkOffset( int index, double offset); 10182: 10182: 10182: int m_direction; 10182: 10182: 10182: 10182: 10182: double m_kink_offset_0; 10182: double m_kink_offset_1; 10182: # 1918 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void CalcKinkPoints( ON_2dPoint p0, ON_2dPoint p1, 10182: int direction, double default_offset, 10182: ON_2dPoint& k0, ON_2dPoint& k1) const; 10182: 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_TextEntity2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_TextEntity2_ptr; public: static const ON_ClassId m_ON_TextEntity2_class_id; static ON_TextEntity2 * Cast( ON_Object* ); static const ON_TextEntity2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_TextEntity2( const ON_Object*, ON_Object* ); public: ON_TextEntity2 * Duplicate() const;; 10182: 10182: public: 10182: ON_TextEntity2(); 10182: ~ON_TextEntity2(); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 1978 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: int FontIndex() const; 10182: void SetFontIndex( int); 10182: 10182: 10182: void GetV2Form( ON_TextEntity& text); 10182: 10182: void SetJustification( unsigned int justification); 10182: 10182: unsigned int Justification(); 10182: 10182: 10182: bool DrawTextMask() const; 10182: void SetDrawTextMask(bool bDraw); 10182: 10182: 10182: 10182: 10182: int MaskColorSource() const; 10182: void SetMaskColorSource(int source); 10182: 10182: ON_Color MaskColor() const; 10182: 10182: void SetMaskColor(ON_Color color); 10182: 10182: 10182: 10182: 10182: double MaskOffsetFactor() const; 10182: void SetMaskOffsetFactor(double offset); 10182: 10182: 10182: 10182: 10182: bool AnnotativeScaling() const; 10182: void SetAnnotativeScaling(bool b); 10182: }; 10182: 10182: 10182: 10182: class ON_Leader2 : public ON_Annotation2 10182: { 10182: protected: static void* m_s_ON_Leader2_ptr; public: static const ON_ClassId m_ON_Leader2_class_id; static ON_Leader2 * Cast( ON_Object* ); static const ON_Leader2 * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Leader2( const ON_Object*, ON_Object* ); public: ON_Leader2 * Duplicate() const;; 10182: 10182: public: 10182: # 2048 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: enum POINT_INDEX 10182: { 10182: 10182: 10182: 10182: 10182: 10182: arrow_pt_index = 0, 10182: 10182: 10182: text_pivot_pt = 10000, 10182: tail_pt = 10001 10182: }; 10182: 10182: 10182: ON_Leader2(); 10182: ~ON_Leader2(); 10182: 10182: 10182: 10182: 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: # 2081 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_2dPoint Dim2dPoint( 10182: int point_index 10182: ) const; 10182: # 2094 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_3dPoint Dim3dPoint( 10182: int point_index 10182: ) const; 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 0 ) const; 10182: 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive&) const; 10182: 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive&); 10182: 10182: 10182: ON_BOOL32 GetBBox( 10182: double*, 10182: double*, 10182: ON_BOOL32 = false 10182: ) const; 10182: 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 2132 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void AddPoint( const ON_2dPoint& point); 10182: bool RemovePoint( int index = -1); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void GetV2Form( ON_Leader& leader); 10182: bool CreateFromV2( 10182: const ON_Annotation& v2_ann, 10182: const ON_3dmAnnotationSettings& settings, 10182: int dimstyle_index 10182: ); 10182: 10182: 10182: bool GetTextDirection( ON_2dVector& text_dir ) const; 10182: bool GetArrowHeadDirection( ON_2dVector& arrowhead_dir ) const; 10182: bool GetArrowHeadTip( ON_2dPoint& arrowhead_tip ) const; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ON_TextDot : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_TextDot_ptr; public: static const ON_ClassId m_ON_TextDot_class_id; static ON_TextDot * Cast( ON_Object* ); static const ON_TextDot * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_TextDot( const ON_Object*, ON_Object* ); public: ON_TextDot * Duplicate() const;; 10182: 10182: public: 10182: ON_TextDot(); 10182: ~ON_TextDot(); 10182: 10182: 10182: 10182: 10182: void EmergencyDestroy(); 10182: # 2193 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 2193 "/<>/external/onurbs/opennurbs_annotation2.h" 3 4 10182: __null 10182: # 2193 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ) const; 10182: 10182: 10182: 10182: 10182: void Dump( ON_TextLog& log) const; 10182: # 2208 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Write( ON_BinaryArchive& ar) const; 10182: # 2218 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Read( ON_BinaryArchive& ar); 10182: 10182: 10182: 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: # 2248 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 GetBBox( double* box_min, double* box_max, ON_BOOL32 grow_box = false) const; 10182: # 2261 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: ON_BOOL32 Transform( const ON_Xform& xform); 10182: 10182: 10182: bool IsDeformable() const; 10182: 10182: 10182: bool MakeDeformable(); 10182: 10182: const ON_3dPoint& Point() const; 10182: void SetPoint( const ON_3dPoint& point); 10182: 10182: int Height() const; 10182: void SetHeight( int); 10182: 10182: const wchar_t* TextString() const; 10182: void SetTextString( const wchar_t* string); 10182: 10182: const wchar_t* FontFace() const; 10182: void SetFontFace( const wchar_t* face); 10182: # 2292 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetAlwaysOnTop(bool bTop); 10182: bool AlwaysOnTop() const; 10182: # 2305 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetTransparent(bool bTransparent); 10182: bool Transparent() const; 10182: # 2318 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetBold(bool bBold); 10182: bool Bold() const; 10182: # 2331 "/<>/external/onurbs/opennurbs_annotation2.h" 10182: void SetItalic(bool bItalic); 10182: bool Italic() const; 10182: 10182: 10182: ON_3dPoint m_point; 10182: int m_height; 10182: ON_wString m_text; 10182: ON_wString m_fontface; 10182: int m_display; 10182: }; 10182: # 121 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_hatch.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_hatch.h" 10182: class ON_HatchLoop 10182: { 10182: public: 10182: # 47 "/<>/external/onurbs/opennurbs_hatch.h" 10182: enum eLoopType 10182: { 10182: ltOuter = 0, 10182: ltInner = 1, 10182: }; 10182: 10182: ON_HatchLoop(); 10182: ON_HatchLoop( ON_Curve* pCurve2d, eLoopType type = ltOuter); 10182: ON_HatchLoop( const ON_HatchLoop& src); 10182: ~ON_HatchLoop(); 10182: 10182: ON_HatchLoop& operator=( const ON_HatchLoop& src); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 60 "/<>/external/onurbs/opennurbs_hatch.h" 3 4 10182: __null 10182: # 60 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive&) const; 10182: ON_BOOL32 Read( ON_BinaryArchive&); 10182: # 75 "/<>/external/onurbs/opennurbs_hatch.h" 10182: const ON_Curve* Curve() const; 10182: # 87 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool SetCurve( const ON_Curve& curve); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: eLoopType Type() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetType( eLoopType type); 10182: 10182: protected: 10182: friend class ON_Hatch; 10182: eLoopType m_type; 10182: ON_Curve* m_p2dCurve; 10182: 10182: }; 10182: # 136 "/<>/external/onurbs/opennurbs_hatch.h" 10182: class ON_HatchLine 10182: { 10182: public: 10182: ON_HatchLine(); 10182: 10182: 10182: ON_HatchLine( 10182: double angle, 10182: const ON_2dPoint& base, 10182: const ON_2dVector& offset, 10182: const ON_SimpleArray dashes); 10182: 10182: bool operator==( const ON_HatchLine&) const; 10182: bool operator!=( const ON_HatchLine&) const; 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 151 "/<>/external/onurbs/opennurbs_hatch.h" 3 4 10182: __null 10182: # 151 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive&) const; 10182: ON_BOOL32 Read( ON_BinaryArchive&); 10182: # 167 "/<>/external/onurbs/opennurbs_hatch.h" 10182: double Angle() const; 10182: # 177 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetAngle( double angle); 10182: # 186 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ON_2dPoint Base() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetBase( const ON_2dPoint& base); 10182: # 205 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ON_2dVector Offset() const; 10182: # 216 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetOffset( const ON_2dVector& offset); 10182: # 225 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int DashCount() const; 10182: # 235 "/<>/external/onurbs/opennurbs_hatch.h" 10182: double Dash( int) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void AppendDash( double dash); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetPattern( const ON_SimpleArray& dashes); 10182: # 264 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void GetLineData( 10182: double& angle, 10182: ON_2dPoint& base, 10182: ON_2dVector& offset, 10182: ON_SimpleArray& dashes) const; 10182: # 277 "/<>/external/onurbs/opennurbs_hatch.h" 10182: double GetPatternLength() const; 10182: 10182: public: 10182: double m_angle; 10182: ON_2dPoint m_base; 10182: ON_2dVector m_offset; 10182: ON_SimpleArray< double> m_dashes; 10182: }; 10182: # 312 "/<>/external/onurbs/opennurbs_hatch.h" 10182: class ON_HatchPattern : public ON_Object 10182: { 10182: protected: static void* m_s_ON_HatchPattern_ptr; public: static const ON_ClassId m_ON_HatchPattern_class_id; static ON_HatchPattern * Cast( ON_Object* ); static const ON_HatchPattern * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_HatchPattern( const ON_Object*, ON_Object* ); public: ON_HatchPattern * Duplicate() const;; 10182: 10182: public: 10182: 10182: enum eFillType 10182: { 10182: ftSolid = 0, 10182: ftLines = 1, 10182: ftGradient = 2, 10182: ftLast = 3 10182: }; 10182: 10182: ON_HatchPattern(); 10182: ~ON_HatchPattern(); 10182: 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 332 "/<>/external/onurbs/opennurbs_hatch.h" 3 4 10182: __null 10182: # 332 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive&) const; 10182: ON_BOOL32 Read( ON_BinaryArchive&); 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: # 349 "/<>/external/onurbs/opennurbs_hatch.h" 10182: eFillType FillType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetFillType( eFillType type); 10182: # 366 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetName( const wchar_t* pName); 10182: void SetName( const char* pName); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void GetName( ON_wString& string) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const wchar_t* Name() const; 10182: # 392 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetDescription( const wchar_t* pDescription); 10182: void SetDescription( const char* pDescription); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: void GetDescription( ON_wString& string) const; 10182: # 410 "/<>/external/onurbs/opennurbs_hatch.h" 10182: const wchar_t* Description() const; 10182: # 419 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetIndex( int index); 10182: # 428 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int Index() const; 10182: # 439 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int HatchLineCount() const; 10182: # 450 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int AddHatchLine( const ON_HatchLine& line); 10182: # 461 "/<>/external/onurbs/opennurbs_hatch.h" 10182: const ON_HatchLine* HatchLine( int index) const; 10182: # 472 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool RemoveHatchLine( int index); 10182: # 483 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void RemoveAllHatchLines(); 10182: # 494 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int SetHatchLines( const ON_ClassArray lines); 10182: 10182: public: 10182: int m_hatchpattern_index; 10182: ON_wString m_hatchpattern_name; 10182: ON_UUID m_hatchpattern_id; 10182: 10182: eFillType m_type; 10182: 10182: ON_wString m_description; 10182: 10182: 10182: 10182: 10182: 10182: ON_ClassArray m_lines; 10182: }; 10182: # 524 "/<>/external/onurbs/opennurbs_hatch.h" 10182: class ON_Hatch : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_Hatch_ptr; public: static const ON_ClassId m_ON_Hatch_class_id; static ON_Hatch * Cast( ON_Object* ); static const ON_Hatch * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_Hatch( const ON_Object*, ON_Object* ); public: ON_Hatch * Duplicate() const;; 10182: 10182: public: 10182: 10182: ON_Hatch(); 10182: ON_Hatch( const ON_Hatch&); 10182: ON_Hatch& operator=(const ON_Hatch&); 10182: ~ON_Hatch(); 10182: 10182: virtual ON_Hatch* DuplicateHatch() const; 10182: 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 539 "/<>/external/onurbs/opennurbs_hatch.h" 3 4 10182: __null 10182: # 539 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ) const; 10182: void Dump( ON_TextLog& ) const; 10182: ON_BOOL32 Write( ON_BinaryArchive&) const; 10182: ON_BOOL32 Read( ON_BinaryArchive&); 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: # 566 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ON_BOOL32 GetBBox( double*, double*, ON_BOOL32 = false) const; 10182: # 584 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: # 603 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ON_BOOL32 Transform( const ON_Xform&); 10182: # 620 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool Create( const ON_Plane& plane, 10182: const ON_SimpleArray loops, 10182: int pattern_index, 10182: double pattern_rotation, 10182: double pattern_scale); 10182: # 633 "/<>/external/onurbs/opennurbs_hatch.h" 10182: const ON_Plane& Plane() const; 10182: # 642 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetPlane( const ON_Plane& plane); 10182: # 654 "/<>/external/onurbs/opennurbs_hatch.h" 10182: double PatternRotation() const; 10182: # 666 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetPatternRotation( double rotation); 10182: # 678 "/<>/external/onurbs/opennurbs_hatch.h" 10182: double PatternScale() const; 10182: # 690 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetPatternScale( double scale); 10182: # 699 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int LoopCount() const; 10182: # 709 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void AddLoop( ON_HatchLoop* loop); 10182: # 722 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool InsertLoop( int index, 10182: ON_HatchLoop* loop); 10182: # 733 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool RemoveLoop( int index); 10182: # 744 "/<>/external/onurbs/opennurbs_hatch.h" 10182: const ON_HatchLoop* Loop( int index) const; 10182: # 756 "/<>/external/onurbs/opennurbs_hatch.h" 10182: ON_Curve* LoopCurve3d( int index) const; 10182: # 765 "/<>/external/onurbs/opennurbs_hatch.h" 10182: int PatternIndex() const; 10182: # 774 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetPatternIndex( int index); 10182: # 783 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetBasePoint(ON_2dPoint basepoint); 10182: # 793 "/<>/external/onurbs/opennurbs_hatch.h" 10182: void SetBasePoint(ON_3dPoint point); 10182: 10182: 10182: 10182: 10182: 10182: ON_3dPoint BasePoint() const; 10182: 10182: 10182: 10182: 10182: 10182: ON_2dPoint BasePoint2d() const; 10182: # 819 "/<>/external/onurbs/opennurbs_hatch.h" 10182: bool ReplaceLoops(ON_SimpleArray loops); 10182: 10182: protected: 10182: ON_Plane m_plane; 10182: double m_pattern_scale; 10182: double m_pattern_rotation; 10182: ON_SimpleArray m_loops; 10182: int m_pattern_index; 10182: 10182: 10182: class ON_HatchExtra* HatchExtension(); 10182: 10182: }; 10182: # 122 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_dimstyle.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_dimstyle.h" 10182: class ON_DimStyle : public ON_Object 10182: { 10182: protected: static void* m_s_ON_DimStyle_ptr; public: static const ON_ClassId m_ON_DimStyle_class_id; static ON_DimStyle * Cast( ON_Object* ); static const ON_DimStyle * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_DimStyle( const ON_Object*, ON_Object* ); public: ON_DimStyle * Duplicate() const;; 10182: 10182: public: 10182: enum eArrowType 10182: { 10182: solidtriangle = 0, 10182: dot = 1, 10182: tick = 2, 10182: shorttriangle = 3, 10182: arrow = 4, 10182: rectangle = 5, 10182: longtriangle = 6, 10182: longertriangle = 7, 10182: }; 10182: 10182: ON_DimStyle(); 10182: ~ON_DimStyle(); 10182: 10182: 10182: ON_DimStyle& operator=( const ON_3dmAnnotationSettings& src); 10182: # 66 "/<>/external/onurbs/opennurbs_dimstyle.h" 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 66 "/<>/external/onurbs/opennurbs_dimstyle.h" 3 4 10182: __null 10182: # 66 "/<>/external/onurbs/opennurbs_dimstyle.h" 10182: ) const; 10182: 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& 10182: ) const; 10182: 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& 10182: ); 10182: 10182: void EmergencyDestroy(); 10182: 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetName( const wchar_t* ); 10182: void SetName( const char* ); 10182: 10182: void GetName( ON_wString& ) const; 10182: const wchar_t* Name() const; 10182: 10182: void SetIndex(int); 10182: int Index() const; 10182: 10182: void SetDefaults(); 10182: void SetDefaultsNoExtension(); 10182: 10182: 10182: double ExtExtension() const; 10182: void SetExtExtension( const double); 10182: 10182: double ExtOffset() const; 10182: void SetExtOffset( const double); 10182: 10182: double ArrowSize() const; 10182: void SetArrowSize( const double); 10182: 10182: double LeaderArrowSize() const; 10182: void SetLeaderArrowSize( const double); 10182: 10182: double CenterMark() const; 10182: void SetCenterMark( const double); 10182: 10182: int TextAlignment() const; 10182: void SetTextAlignment( ON::eTextDisplayMode); 10182: 10182: int ArrowType() const; 10182: void SetArrowType( eArrowType); 10182: 10182: int LeaderArrowType() const; 10182: void SetLeaderArrowType( eArrowType); 10182: 10182: int AngularUnits() const; 10182: void SetAngularUnits( int); 10182: 10182: int LengthFormat() const; 10182: void SetLengthFormat( int); 10182: 10182: int AngleFormat() const; 10182: void SetAngleFormat( int); 10182: 10182: int LengthResolution() const; 10182: void SetLengthResolution( int); 10182: 10182: int AngleResolution() const; 10182: void SetAngleResolution( int); 10182: 10182: int FontIndex() const; 10182: virtual void SetFontIndex( int index); 10182: 10182: double TextGap() const; 10182: void SetTextGap( double gap); 10182: 10182: double TextHeight() const; 10182: void SetTextHeight( double height); 10182: 10182: 10182: double LengthFactor() const; 10182: void SetLengthactor( double); 10182: void SetLengthFactor( double); 10182: 10182: bool Alternate() const; 10182: void SetAlternate( bool); 10182: 10182: double AlternateLengthFactor() const; 10182: void SetAlternateLengthactor( double); 10182: void SetAlternateLengthFactor( double); 10182: 10182: int AlternateLengthFormat() const; 10182: void SetAlternateLengthFormat( int); 10182: 10182: int AlternateLengthResolution() const; 10182: void SetAlternateLengthResolution( int); 10182: 10182: int AlternateAngleFormat() const; 10182: void SetAlternateAngleFormat( int); 10182: 10182: int AlternateAngleResolution() const; 10182: void SetAlternateAngleResolution( int); 10182: 10182: void GetPrefix( ON_wString& ) const; 10182: const wchar_t* Prefix() const; 10182: void SetPrefix( const wchar_t*); 10182: void SetPrefix( wchar_t*); 10182: 10182: void GetSuffix( ON_wString& ) const; 10182: const wchar_t* Suffix() const; 10182: void SetSuffix( const wchar_t*); 10182: void SetSuffix( wchar_t*); 10182: 10182: void GetAlternatePrefix( ON_wString& ) const; 10182: const wchar_t* AlternatePrefix() const; 10182: void SetAlternatePrefix( const wchar_t*); 10182: void SetAlternatePrefix( wchar_t*); 10182: 10182: void GetAlternateSuffix( ON_wString& ) const; 10182: const wchar_t* AlternateSuffix() const; 10182: void SetAlternateSuffix( const wchar_t*); 10182: void SetAlternateSuffix( wchar_t*); 10182: 10182: bool SuppressExtension1() const; 10182: void SetSuppressExtension1( bool); 10182: 10182: bool SuppressExtension2() const; 10182: void SetSuppressExtension2( bool); 10182: 10182: 10182: void Composite( const ON_DimStyle& override); 10182: 10182: 10182: 10182: enum eField 10182: { 10182: fn_name = 0, 10182: fn_index = 1, 10182: fn_extextension = 2, 10182: fn_extoffset = 3, 10182: fn_arrowsize = 4, 10182: fn_centermark = 5, 10182: fn_textgap = 6, 10182: fn_textheight = 7, 10182: fn_textalign = 8, 10182: fn_arrowtype = 9, 10182: fn_angularunits = 10, 10182: fn_lengthformat = 11, 10182: fn_angleformat = 12, 10182: fn_angleresolution = 13, 10182: fn_lengthresolution = 14, 10182: fn_fontindex = 15, 10182: fn_lengthfactor = 16, 10182: fn_bAlternate = 17, 10182: fn_alternate_lengthfactor = 18, 10182: fn_alternate_lengthformat = 19, 10182: fn_alternate_lengthresolution = 20, 10182: fn_alternate_angleformat = 21, 10182: fn_alternate_angleresolution = 22, 10182: fn_prefix = 23, 10182: fn_suffix = 24, 10182: fn_alternate_prefix = 25, 10182: fn_alternate_suffix = 26, 10182: fn_dimextension = 27, 10182: fn_leaderarrowsize = 28, 10182: fn_leaderarrowtype = 29, 10182: fn_suppressextension1 = 30, 10182: fn_suppressextension2 = 31, 10182: fn_last = 32, 10182: 10182: 10182: 10182: fn_overall_scale = 33, 10182: fn_ext_line_color_source = 34, 10182: fn_dim_line_color_source = 35, 10182: fn_arrow_color_source = 36, 10182: fn_text_color_source = 37, 10182: fn_ext_line_color = 38, 10182: fn_dim_line_color = 39, 10182: fn_arrow_color = 40, 10182: fn_text_color = 41, 10182: fn_ext_line_plot_color_source = 42, 10182: fn_dim_line_plot_color_source = 43, 10182: fn_arrow_plot_color_source = 44, 10182: fn_text_plot_color_source = 45, 10182: fn_ext_line_plot_color = 46, 10182: fn_dim_line_plot_color = 47, 10182: fn_arrow_plot_color = 48, 10182: fn_text_plot_color = 49, 10182: fn_ext_line_plot_weight_source = 50, 10182: fn_dim_line_plot_weight_source = 51, 10182: fn_ext_line_plot_weight_mm = 52, 10182: fn_dim_line_plot_weight_mm = 53, 10182: fn_tolerance_style = 54, 10182: fn_tolerance_resolution = 55, 10182: fn_tolerance_upper_value = 56, 10182: fn_tolerance_lower_value = 57, 10182: fn_tolerance_height_scale = 58, 10182: fn_baseline_spacing = 59, 10182: 10182: 10182: 10182: fn_draw_mask = 60, 10182: fn_mask_color_source = 61, 10182: fn_mask_color = 62, 10182: fn_mask_border = 63, 10182: 10182: 10182: 10182: fn_dimscale = 64, 10182: fn_dimscale_source = 65, 10182: 10182: 10182: 10182: 10182: fn_really_last = 0xFFFF 10182: }; 10182: 10182: 10182: 10182: void InvalidateField( eField field); 10182: void InvalidateAllFields(); 10182: void ValidateField( eField field); 10182: bool IsFieldValid( eField) const; 10182: 10182: 10182: double DimExtension() const; 10182: void SetDimExtension( const double); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool IsFieldOverride( eField field_id) const; 10182: 10182: 10182: void SetFieldOverride( ON_DimStyle::eField field_id, bool bOverride); 10182: 10182: 10182: bool HasOverrides() const; 10182: 10182: 10182: 10182: 10182: 10182: bool OverrideFields( const ON_DimStyle& source, const ON_DimStyle& parent); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool InheritFields( const ON_DimStyle& parent); 10182: 10182: 10182: bool IsChildDimstyle() const; 10182: 10182: 10182: 10182: bool IsChildOf( const ON_UUID& parent_uuid) const; 10182: bool IsChildOf( ON_UUID& parent_uuid) const; 10182: 10182: ON_UUID ParentId() const; 10182: 10182: 10182: void SetParentId( ON_UUID parent_uuid); 10182: void SetParent( ON_UUID& parent_uuid); 10182: # 349 "/<>/external/onurbs/opennurbs_dimstyle.h" 10182: int ToleranceStyle() const; 10182: int ToleranceResolution() const; 10182: double ToleranceUpperValue() const; 10182: double ToleranceLowerValue() const; 10182: double ToleranceHeightScale() const; 10182: 10182: double BaselineSpacing() const; 10182: 10182: void SetToleranceStyle( int style); 10182: void SetToleranceResolution( int resolution); 10182: void SetToleranceUpperValue( double upper_value); 10182: void SetToleranceLowerValue( double lower_value); 10182: void SetToleranceHeightScale( double scale); 10182: 10182: void SetBaselineSpacing( double spacing = false); 10182: 10182: 10182: bool DrawTextMask() const; 10182: void SetDrawTextMask(bool bDraw); 10182: 10182: 10182: 10182: 10182: int MaskColorSource() const; 10182: void SetMaskColorSource(int source); 10182: 10182: ON_Color MaskColor() const; 10182: 10182: void SetMaskColor(ON_Color color); 10182: 10182: 10182: void SetDimScaleSource(int source); 10182: int DimScaleSource() const; 10182: void SetDimScale(double scale); 10182: double DimScale() const; 10182: 10182: 10182: 10182: 10182: double MaskOffsetFactor() const; 10182: 10182: void Scale( double scale); 10182: 10182: 10182: 10182: void SetSourceDimstyle(ON_UUID source_uuid); 10182: ON_UUID SourceDimstyle() const; 10182: 10182: 10182: static int DefaultToleranceStyle(); 10182: static int DefaultToleranceResolution(); 10182: static double DefaultToleranceUpperValue(); 10182: static double DefaultToleranceLowerValue(); 10182: static double DefaultToleranceHeightScale(); 10182: static double DefaultBaselineSpacing(); 10182: static bool DefaultDrawTextMask(); 10182: static int DefaultMaskColorSource(); 10182: static ON_Color DefaultMaskColor(); 10182: static double DefaultDimScale(); 10182: static int DefaultDimScaleSource(); 10182: 10182: bool CompareFields(const ON_DimStyle& other) const; 10182: 10182: public: 10182: ON_wString m_dimstyle_name; 10182: int m_dimstyle_index; 10182: ON_UUID m_dimstyle_id; 10182: 10182: double m_extextension; 10182: double m_extoffset; 10182: double m_arrowsize; 10182: double m_centermark; 10182: double m_textgap; 10182: double m_textheight; 10182: int m_textalign; 10182: int m_arrowtype; 10182: int m_angularunits; 10182: int m_lengthformat; 10182: int m_angleformat; 10182: int m_angleresolution; 10182: int m_lengthresolution; 10182: 10182: int m_fontindex; 10182: 10182: 10182: double m_lengthfactor; 10182: bool m_bAlternate; 10182: 10182: double m_alternate_lengthfactor; 10182: int m_alternate_lengthformat; 10182: int m_alternate_lengthresolution; 10182: 10182: int m_alternate_angleformat; 10182: int m_alternate_angleresolution; 10182: ON_wString m_prefix; 10182: ON_wString m_suffix; 10182: ON_wString m_alternate_prefix; 10182: ON_wString m_alternate_suffix; 10182: 10182: private: 10182: unsigned int m_valid; 10182: public: 10182: 10182: 10182: double m_dimextension; 10182: 10182: 10182: double m_leaderarrowsize; 10182: int m_leaderarrowtype; 10182: bool m_bSuppressExtension1; 10182: bool m_bSuppressExtension2; 10182: 10182: 10182: 10182: 10182: class ON_DimStyleExtra* DimStyleExtension(); 10182: const class ON_DimStyleExtra* DimStyleExtension() const; 10182: }; 10182: # 123 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_objref.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_objref.h" 10182: class ON_ObjRefEvaluationParameter 10182: { 10182: public: 10182: ON_ObjRefEvaluationParameter(); 10182: ~ON_ObjRefEvaluationParameter(); 10182: 10182: void Default(); 10182: 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: # 90 "/<>/external/onurbs/opennurbs_objref.h" 10182: int m_t_type; 10182: private: 10182: int m_reserved; 10182: public: 10182: double m_t[4]; 10182: ON_Interval m_s[3]; 10182: ON_COMPONENT_INDEX m_t_ci; 10182: 10182: }; 10182: 10182: class ON_ObjRef_IRefID 10182: { 10182: public: 10182: ON_ObjRef_IRefID(); 10182: ~ON_ObjRef_IRefID(); 10182: 10182: bool Write(ON_BinaryArchive&) const; 10182: bool Read(ON_BinaryArchive&); 10182: 10182: void Default(); 10182: 10182: 10182: 10182: ON_UUID m_iref_uuid; 10182: 10182: 10182: ON_Xform m_iref_xform; 10182: 10182: 10182: 10182: 10182: ON_UUID m_idef_uuid; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_idef_geometry_index; 10182: # 137 "/<>/external/onurbs/opennurbs_objref.h" 10182: ON_Xform m_geometry_xform; 10182: # 146 "/<>/external/onurbs/opennurbs_objref.h" 10182: ON_COMPONENT_INDEX m_component_index; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_ObjRefEvaluationParameter m_evp; 10182: }; 10182: # 167 "/<>/external/onurbs/opennurbs_objref.h" 10182: class ON_ObjRef 10182: { 10182: public: 10182: ON_ObjRef(); 10182: ON_ObjRef(const ON_ObjRef& src); 10182: ON_ObjRef& operator=(const ON_ObjRef& src); 10182: ~ON_ObjRef(); 10182: 10182: void Destroy(); 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: 10182: 10182: 10182: 10182: ON_UUID m_uuid; 10182: # 215 "/<>/external/onurbs/opennurbs_objref.h" 10182: const ON_Geometry* m_geometry; 10182: const ON_Geometry* m_parent_geometry; 10182: ON_COMPONENT_INDEX m_component_index; 10182: int m_geometry_type; 10182: # 227 "/<>/external/onurbs/opennurbs_objref.h" 10182: unsigned int m_runtime_sn; 10182: 10182: 10182: 10182: 10182: ON_3dPoint m_point; 10182: 10182: 10182: 10182: ON::osnap_mode m_osnap_mode; 10182: 10182: 10182: 10182: 10182: ON_ObjRefEvaluationParameter m_evp; 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_SimpleArray m__iref; 10182: # 258 "/<>/external/onurbs/opennurbs_objref.h" 10182: void DecrementProxyReferenceCount(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: void SetProxy( 10182: ON_Object* proxy1, 10182: ON_Object* proxy2, 10182: bool bCountReferences 10182: ); 10182: 10182: bool SetParentIRef( const ON_InstanceRef& iref, 10182: ON_UUID iref_id, 10182: int idef_geometry_index 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int ProxyReferenceCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: const ON_Object* ProxyObject(int proxy_object_index) const; 10182: # 300 "/<>/external/onurbs/opennurbs_objref.h" 10182: void RemapObjectId( const ON_SimpleArray& uuid_remap ); 10182: 10182: private: 10182: # 322 "/<>/external/onurbs/opennurbs_objref.h" 10182: ON_Object* m__proxy1; 10182: ON_Object* m__proxy2; 10182: int* m__proxy_ref_count; 10182: 10182: }; 10182: # 126 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_offsetsurface.h" 1 10182: # 24 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: class ON_BumpFunction 10182: { 10182: public: 10182: ON_BumpFunction(); 10182: 10182: bool operator==(const ON_BumpFunction& other) const; 10182: bool operator<(const ON_BumpFunction& other) const; 10182: bool operator>(const ON_BumpFunction& other) const; 10182: 10182: double ValueAt( 10182: double s, 10182: double t 10182: ) const; 10182: 10182: void Evaluate( 10182: double s, 10182: double t, 10182: int der_count, 10182: double* value 10182: ) const; 10182: 10182: ON_2dPoint m_point; 10182: int m_type[2]; 10182: 10182: 10182: double m_x0; 10182: double m_y0; 10182: double m_sx[2]; 10182: double m_sy[2]; 10182: double m_a; 10182: 10182: void EvaluateHelperLinearBump(double t, double dt, int der_count, double* value) const; 10182: void EvaluateHelperQuinticBump(double t, double dt, int der_count, double* value) const; 10182: }; 10182: 10182: 10182: class ON_OffsetSurfaceValue 10182: { 10182: public: 10182: double m_s; 10182: double m_t; 10182: double m_distance; 10182: double m_radius; 10182: int m_index; 10182: }; 10182: # 83 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: class ON_OffsetSurfaceFunction 10182: { 10182: public: 10182: ON_OffsetSurfaceFunction(); 10182: ~ON_OffsetSurfaceFunction(); 10182: # 99 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetBaseSurface( 10182: const ON_Surface* srf 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: const ON_Surface* BaseSurface() const; 10182: # 126 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetSideTangency( 10182: int side, 10182: bool bEnable 10182: ); 10182: # 141 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SideTangency(int side) const; 10182: # 154 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetOffsetPoint( 10182: double s, 10182: double t, 10182: double distance, 10182: double radius = 0.0 10182: ); 10182: # 169 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetPoint( 10182: int index, 10182: double s, 10182: double t 10182: ); 10182: # 183 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetDistance( 10182: int index, 10182: double distance); 10182: 10182: 10182: 10182: 10182: 10182: 10182: int OffsetPointCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: ON_2dPoint OffsetSurfaceParameter(int i) const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double OffsetDistance(int i) const; 10182: # 219 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: double DistanceAt( 10182: double s, 10182: double t 10182: ) const; 10182: # 237 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool EvaluateDistance( 10182: double s, 10182: double t, 10182: int num_der, 10182: double* value 10182: ) const; 10182: # 253 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: ON_3dPoint PointAt( 10182: double s, 10182: double t 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: private: 10182: friend class ON_OffsetSurface; 10182: bool Initialize(); 10182: 10182: const ON_Surface* m_srf; 10182: 10182: ON_Interval m_domain[2]; 10182: 10182: bool m_bZeroSideDerivative[4]; 10182: 10182: ON_SimpleArray m_offset_value; 10182: 10182: 10182: ON_SimpleArray m_bumps; 10182: 10182: bool m_bValid; 10182: }; 10182: 10182: class ON_OffsetSurface : public ON_SurfaceProxy 10182: { 10182: # 292 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: protected: static void* m_s_ON_OffsetSurface_ptr; public: static const ON_ClassId m_ON_OffsetSurface_class_id; static ON_OffsetSurface * Cast( ON_Object* ); static const ON_OffsetSurface * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_OffsetSurface( const ON_Object*, ON_Object* ); public: ON_OffsetSurface * Duplicate() const;; 10182: public: 10182: ON_OffsetSurface(); 10182: ~ON_OffsetSurface(); 10182: ON_OffsetSurface( const ON_OffsetSurface& src); 10182: ON_OffsetSurface& operator=(const ON_OffsetSurface& src); 10182: 10182: ON_BOOL32 GetBBox( 10182: double* bbox_min, 10182: double* bbox_max, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: ON_BOOL32 Evaluate( 10182: double, double, 10182: int, 10182: int, 10182: double*, 10182: int = 0, 10182: 10182: 10182: 10182: 10182: 10182: int* = 0 10182: 10182: ) const; 10182: # 331 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetBaseSurface( 10182: const ON_Surface* base_surface 10182: ); 10182: # 349 "/<>/external/onurbs/opennurbs_offsetsurface.h" 10182: bool SetBaseSurface( 10182: ON_Surface* base_surface, 10182: bool bManage 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: const ON_Surface* BaseSurface() const; 10182: 10182: ON_OffsetSurfaceFunction& OffsetFunction(); 10182: const ON_OffsetSurfaceFunction& OffsetFunction() const; 10182: 10182: private: 10182: 10182: ON_Surface* m__pSrf; 10182: ON_OffsetSurfaceFunction m_offset_function; 10182: }; 10182: # 127 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_detail.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_detail.h" 10182: class ON_DetailView : public ON_Geometry 10182: { 10182: protected: static void* m_s_ON_DetailView_ptr; public: static const ON_ClassId m_ON_DetailView_class_id; static ON_DetailView * Cast( ON_Object* ); static const ON_DetailView * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_DetailView( const ON_Object*, ON_Object* ); public: ON_DetailView * Duplicate() const;; 10182: 10182: public: 10182: ON_DetailView(); 10182: ~ON_DetailView(); 10182: # 35 "/<>/external/onurbs/opennurbs_detail.h" 10182: void MemoryRelocate(); 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 37 "/<>/external/onurbs/opennurbs_detail.h" 3 4 10182: __null 10182: # 37 "/<>/external/onurbs/opennurbs_detail.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: unsigned int SizeOf() const; 10182: 10182: ON_BOOL32 Write( 10182: ON_BinaryArchive& binary_archive 10182: ) const; 10182: 10182: ON_BOOL32 Read( 10182: ON_BinaryArchive& binary_archive 10182: ); 10182: 10182: ON::object_type ObjectType() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: int Dimension() const; 10182: 10182: ON_BOOL32 GetBBox( 10182: double* boxmin, 10182: double* boxmax, 10182: int bGrowBox = false 10182: ) const; 10182: 10182: bool GetTightBoundingBox( 10182: ON_BoundingBox& tight_bbox, 10182: int bGrowBox = false, 10182: const ON_Xform* xform = 0 10182: ) const; 10182: 10182: ON_BOOL32 Transform( const ON_Xform& xform ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: double m_page_per_model_ratio; 10182: 10182: 10182: 10182: 10182: ON_3dmView m_view; 10182: 10182: 10182: 10182: ON_NurbsCurve m_boundary; 10182: }; 10182: # 128 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_lookup.h" 1 10182: # 33 "/<>/external/onurbs/opennurbs_lookup.h" 10182: class ON_SerialNumberMap 10182: { 10182: public: 10182: ON_SerialNumberMap( void* pool = 0 ); 10182: ~ON_SerialNumberMap(); 10182: 10182: struct MAP_VALUE 10182: { 10182: ON__UINT32 m_u_type; 10182: union 10182: { 10182: void* ptr; 10182: unsigned int ui; 10182: int i; 10182: } m_u; 10182: }; 10182: 10182: struct SN_ELEMENT 10182: { 10182: 10182: 10182: 10182: 10182: ON_UUID m_id; 10182: struct SN_ELEMENT* m_next; 10182: 10182: 10182: 10182: 10182: 10182: unsigned int m_sn; 10182: # 72 "/<>/external/onurbs/opennurbs_lookup.h" 10182: unsigned char m_sn_active; 10182: unsigned char m_id_active; 10182: unsigned char m_reserved1; 10182: unsigned char m_reserved2; 10182: # 86 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct MAP_VALUE m_value; 10182: 10182: void Dump(ON_TextLog&) const; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: size_t ActiveSerialNumberCount() const; 10182: 10182: 10182: 10182: 10182: 10182: 10182: size_t ActiveIdCount() const; 10182: # 143 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* LastElement() const; 10182: # 163 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* FindSerialNumber(unsigned int sn) const; 10182: # 183 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* FindId(ON_UUID) const; 10182: # 213 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* AddSerialNumber(unsigned int sn); 10182: # 248 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* AddSerialNumberAndId(unsigned int sn, ON_UUID id); 10182: # 269 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* RemoveSerialNumberAndId(unsigned int sn); 10182: # 294 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_ELEMENT* RemoveId(unsigned int sn, ON_UUID id); 10182: # 318 "/<>/external/onurbs/opennurbs_lookup.h" 10182: size_t GetElements( 10182: unsigned int sn0, 10182: unsigned int sn1, 10182: size_t max_count, 10182: ON_SimpleArray& elements 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: void EmptyList(); 10182: # 340 "/<>/external/onurbs/opennurbs_lookup.h" 10182: bool IsValid(ON_TextLog* textlog) const; 10182: 10182: void Dump(ON_TextLog& text_log) const; 10182: 10182: private: 10182: 10182: 10182: ON_SerialNumberMap(const ON_SerialNumberMap&); 10182: ON_SerialNumberMap& operator=(const ON_SerialNumberMap&); 10182: 10182: enum 10182: { 10182: 10182: 10182: 10182: SN_BLOCK_CAPACITY = 8192, 10182: SN_PURGE_RATIO = 16, 10182: ID_HASH_TABLE_COUNT = 8192 10182: }; 10182: 10182: struct SN_BLOCK 10182: { 10182: size_t m_count; 10182: size_t m_purged; 10182: unsigned int m_sorted; 10182: unsigned int m_sn0; 10182: unsigned int m_sn1; 10182: struct SN_ELEMENT m_sn[SN_BLOCK_CAPACITY]; 10182: void EmptyBlock(); 10182: void CullBlockHelper(); 10182: void SortBlockHelper(); 10182: bool IsValidBlock(ON_TextLog* textlog,struct SN_ELEMENT*const* hash_table,size_t* active_id_count) const; 10182: struct SN_ELEMENT* BinarySearchBlockHelper(unsigned int sn); 10182: static int CompareMaxSN(const void*,const void*); 10182: size_t ActiveElementEstimate(unsigned int sn0, unsigned int sn1) const; 10182: void Dump(ON_TextLog&) const; 10182: }; 10182: 10182: unsigned int m_maxsn; 10182: unsigned int m_reserved; 10182: 10182: 10182: void* m_pool; 10182: 10182: 10182: size_t m_sn_count; 10182: size_t m_sn_purged; 10182: 10182: 10182: bool m_bHashTableIsValid; 10182: size_t m_active_id_count; 10182: ON_UUID m_inactive_id; 10182: # 405 "/<>/external/onurbs/opennurbs_lookup.h" 10182: struct SN_BLOCK** m_snblk_list; 10182: size_t m_snblk_list_capacity; 10182: size_t m_snblk_list_count; 10182: 10182: 10182: 10182: 10182: 10182: 10182: struct SN_BLOCK* m_e_blk; 10182: 10182: 10182: 10182: 10182: SN_BLOCK m_sn_block0; 10182: 10182: struct SN_ELEMENT* FindElementHelper(unsigned int sn); 10182: void UpdateMaxSNHelper(); 10182: void GarbageCollectHelper(); 10182: size_t GarbageCollectMoveHelper(SN_BLOCK* dst,SN_BLOCK* src); 10182: 10182: 10182: 10182: 10182: 10182: struct SN_ELEMENT* m_hash_table[ID_HASH_TABLE_COUNT]; 10182: size_t HashIndex(const ON_UUID*) const; 10182: void InvalidateHashTableHelper(); 10182: bool RemoveBlockFromHashTableHelper(const struct SN_BLOCK* blk); 10182: void AddBlockToHashTableHelper(struct SN_BLOCK* blk); 10182: void BuildHashTableHelper(); 10182: }; 10182: # 129 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_object_history.h" 1 10182: # 30 "/<>/external/onurbs/opennurbs_object_history.h" 10182: class ON_CurveProxyHistory 10182: { 10182: public: 10182: 10182: 10182: ON_CurveProxyHistory(); 10182: ~ON_CurveProxyHistory(); 10182: 10182: ON_ObjRef m_curve_ref; 10182: bool m_bReversed; 10182: ON_Interval m_full_real_curve_domain; 10182: ON_Interval m_sub_real_curve_domain; 10182: ON_Interval m_proxy_curve_domain; 10182: 10182: void Destroy(); 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: void Dump( ON_TextLog& ) const; 10182: 10182: private: 10182: ON__UINT8 m_reserved[64]; 10182: }; 10182: # 63 "/<>/external/onurbs/opennurbs_object_history.h" 10182: class ON_PolyEdgeHistory 10182: { 10182: public: 10182: 10182: 10182: ON_PolyEdgeHistory(); 10182: ~ON_PolyEdgeHistory(); 10182: 10182: void Destroy(); 10182: bool Write( ON_BinaryArchive& ) const; 10182: bool Read( ON_BinaryArchive& ); 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_ClassArray< ON_CurveProxyHistory > m_segment; 10182: ON_SimpleArray m_t; 10182: int m_evaluation_mode; 10182: private: 10182: ON__UINT8 m_reserved[64]; 10182: }; 10182: 10182: class ON_HistoryRecord : public ON_Object 10182: { 10182: protected: static void* m_s_ON_HistoryRecord_ptr; public: static const ON_ClassId m_ON_HistoryRecord_class_id; static ON_HistoryRecord * Cast( ON_Object* ); static const ON_HistoryRecord * Cast( const ON_Object* ); virtual const ON_ClassId* ClassId() const; private: virtual ON_Object* DuplicateObject() const; static bool CopyON_HistoryRecord( const ON_Object*, ON_Object* ); public: ON_HistoryRecord * Duplicate() const;; 10182: public: 10182: ON_HistoryRecord(); 10182: ~ON_HistoryRecord(); 10182: 10182: 10182: 10182: ON_HistoryRecord(const ON_HistoryRecord& src); 10182: ON_HistoryRecord& operator=(const ON_HistoryRecord& src); 10182: 10182: 10182: ON_BOOL32 IsValid( ON_TextLog* text_log = 10182: # 96 "/<>/external/onurbs/opennurbs_object_history.h" 3 4 10182: __null 10182: # 96 "/<>/external/onurbs/opennurbs_object_history.h" 10182: ) const; 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_BOOL32 Write(ON_BinaryArchive& binary_archive) const; 10182: 10182: ON_BOOL32 Read(ON_BinaryArchive& binary_archive); 10182: 10182: ON_UUID ModelObjectId() const; 10182: 10182: 10182: 10182: void Destroy(); 10182: 10182: void DestroyValue( int value_id ); 10182: # 144 "/<>/external/onurbs/opennurbs_object_history.h" 10182: bool SetBoolValue( int value_id, bool b); 10182: bool SetIntValue( int value_id, int i); 10182: bool SetDoubleValue( int value_id, double x); 10182: bool SetPointValue( int value_id, ON_3dPoint p); 10182: bool SetVectorValue( int value_id, ON_3dVector v); 10182: bool SetXformValue( int value_id, ON_Xform xform); 10182: bool SetColorValue( int value_id, ON_Color c); 10182: bool SetObjRefValue( int value_id, const ON_ObjRef& oref); 10182: bool SetPointOnObjectValue( int value_id, const ON_ObjRef& oref, ON_3dPoint point ); 10182: bool SetUuidValue( int value_id, ON_UUID uuid ); 10182: bool SetStringValue( int value_id, const wchar_t* s ); 10182: bool SetGeometryValue( int value_id, ON_Geometry* g); 10182: bool SetPolyEdgeValue( int value_id, const ON_PolyEdgeHistory& polyedge ); 10182: # 190 "/<>/external/onurbs/opennurbs_object_history.h" 10182: bool SetBoolValues( int value_id, int count, const bool* b); 10182: bool SetIntValues( int value_id, int count, const int* i); 10182: bool SetDoubleValues( int value_id, int count, const double* x); 10182: bool SetPointValues( int value_id, int count, const ON_3dPoint* P); 10182: bool SetVectorValues( int value_id, int count, const ON_3dVector* V); 10182: bool SetXformValues( int value_id, int count, const ON_Xform* xform); 10182: bool SetColorValues( int value_id, int count, const ON_Color* c); 10182: bool SetObjRefValues( int value_id, int count, const ON_ObjRef* oref); 10182: bool SetUuidValues( int value_id, int count, const ON_UUID* u ); 10182: bool SetStringValues( int value_id, int count, const wchar_t* const* s ); 10182: bool SetStringValues( int value_id, const ON_ClassArray& s ); 10182: bool SetGeometryValues( int value_id, const ON_SimpleArray a); 10182: bool SetPolyEdgeValues( int value_id, int count, const ON_PolyEdgeHistory* a ); 10182: 10182: 10182: 10182: 10182: 10182: bool GetStringValue( int value_id, ON_wString& str ) const; 10182: bool GetBoolValue( int value_id, bool* b ) const; 10182: bool GetIntValue( int value_id, int* i ) const; 10182: bool GetDoubleValue( int value_id, double* number ) const; 10182: bool GetPointValue( int value_id, ON_3dPoint& point ) const; 10182: bool GetVectorValue( int value_id, ON_3dVector& point ) const; 10182: bool GetXformValue( int value_id, ON_Xform& point ) const; 10182: bool GetColorValue( int value_id, ON_Color* color ) const; 10182: bool GetObjRefValue( int value_id, ON_ObjRef& oref ) const; 10182: bool GetPointOnObjectValue( int value_id, ON_ObjRef& oref ) const; 10182: bool GetCurveValue( int value_id, const ON_Curve*& ) const; 10182: bool GetSurfaceValue( int value_id, const ON_Surface*& ) const; 10182: bool GetBrepValue( int value_id, const ON_Brep*& ) const; 10182: bool GetMeshValue( int value_id, const ON_Mesh*& ) const; 10182: bool GetGeometryValue( int value_id, const ON_Geometry*& ) const; 10182: bool GetUuidValue( int value_id, ON_UUID* uuid ) const; 10182: bool GetPolyEdgeValue( int value_id, const ON_PolyEdgeHistory*& polyedge ) const; 10182: 10182: int GetStringValues( int value_id, ON_ClassArray& string ) const; 10182: int GetBoolValues( int value_id, ON_SimpleArray& ) const; 10182: int GetIntValues( int value_id, ON_SimpleArray& ) const; 10182: int GetDoubleValues( int value_id, ON_SimpleArray& ) const; 10182: int GetPointValues( int value_id, ON_SimpleArray& ) const; 10182: int GetVectorValues( int value_id, ON_SimpleArray& ) const; 10182: int GetXformValues( int value_id, ON_SimpleArray& ) const; 10182: int GetColorValues( int value_id, ON_SimpleArray& ) const; 10182: int GetObjRefValues( int value_id, ON_ClassArray& objects ) const; 10182: int GetGeometryValues( int value_id, ON_SimpleArray& ) const; 10182: int GetUuidValues( int value_id, ON_SimpleArray& ) const; 10182: int GetPolyEdgeValues( int value_id, ON_SimpleArray& ) const; 10182: # 249 "/<>/external/onurbs/opennurbs_object_history.h" 10182: bool IsAntecedent( ON_UUID object_uuid ) const; 10182: # 260 "/<>/external/onurbs/opennurbs_object_history.h" 10182: int ValueReport( ON_TextLog& text_log ) const; 10182: 10182: 10182: 10182: 10182: ON_UUID m_command_id; 10182: 10182: 10182: 10182: 10182: 10182: int m_version; 10182: 10182: enum RECORD_TYPE 10182: { 10182: history_parameters = 0, 10182: feature_parameters = 1, 10182: force_32bit_record_type = 0xFFFFFFFF 10182: }; 10182: 10182: RECORD_TYPE m_record_type; 10182: # 290 "/<>/external/onurbs/opennurbs_object_history.h" 10182: static 10182: RECORD_TYPE RecordType(int i); 10182: 10182: 10182: 10182: ON_UUID m_record_id; 10182: 10182: 10182: 10182: 10182: ON_UuidList m_antecedents; 10182: 10182: 10182: 10182: ON_UuidList m_descendants; 10182: 10182: 10182: 10182: ON_SimpleArray< class ON_Value* > m_value; 10182: # 319 "/<>/external/onurbs/opennurbs_object_history.h" 10182: void RemapObjectIds( const ON_SimpleArray& uuid_remap ); 10182: 10182: private: 10182: bool m_bValuesSorted; 10182: ON_Value* FindValueHelper( int, int, bool ) const; 10182: void CopyHelper( const ON_HistoryRecord&); 10182: }; 10182: # 130 "/<>/external/onurbs/opennurbs.h" 2 10182: # 1 "/<>/external/onurbs/opennurbs_photogrammetry.h" 1 10182: # 20 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: class ON_AerialPhotoImageFrustum 10182: { 10182: public: 10182: ON_AerialPhotoImageFrustum(); 10182: 10182: bool IsSet() const; 10182: 10182: bool HeightIsSet() const; 10182: bool CornersAreSet() const; 10182: bool UnitSystemIsSet() const; 10182: 10182: void Unset(); 10182: 10182: 10182: 10182: ON_UnitSystem m_unit_system; 10182: 10182: 10182: 10182: 10182: double m_height; 10182: # 50 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: ON_2dPoint m_corners[4]; 10182: }; 10182: 10182: class ON_AerialPhotoCameraPosition 10182: { 10182: public: 10182: ON_AerialPhotoCameraPosition(); 10182: 10182: 10182: 10182: 10182: 10182: bool IsSet() const; 10182: 10182: void Unset(); 10182: 10182: 10182: 10182: 10182: 10182: bool UnitSystemIsSet() const; 10182: bool SetUnitSystem( ON::unit_system unit_system ); 10182: bool SetUnitSystem ( ON_UnitSystem unit_system ); 10182: ON_UnitSystem UnitSystem() const; 10182: bool GetUnitSystem( ON_UnitSystem& unit_system ) const; 10182: void UnsetUnitSystem(); 10182: 10182: 10182: 10182: 10182: 10182: 10182: bool LocationIsSet() const; 10182: 10182: bool SetLocation( 10182: ON_3dPoint camera_location 10182: ); 10182: 10182: bool GetLocation( 10182: ON_3dPoint& camera_location 10182: ) const; 10182: 10182: ON_3dPoint Location() const; 10182: 10182: void UnsetLocation(); 10182: 10182: 10182: 10182: 10182: 10182: bool OrientationIsSet() const; 10182: 10182: bool GetOrientationAnglesDegrees( 10182: double* omega_degrees, 10182: double* phi_degrees, 10182: double* kappa_degrees 10182: ) const; 10182: 10182: bool GetOrientationAnglesRadians( 10182: double* omega_radians, 10182: double* phi_radians, 10182: double* kappa_radians 10182: ) const; 10182: # 126 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool GetOrientationFrame( 10182: ON_3dVector& camera_X, 10182: ON_3dVector& camera_Y, 10182: ON_3dVector& camera_Z 10182: ) const; 10182: 10182: bool GetOrientationUp( 10182: ON_3dVector& camera_up 10182: ) const; 10182: 10182: bool GetOrientationRight( 10182: ON_3dVector& camera_right 10182: ) const; 10182: 10182: bool GetOrientationDirection( 10182: ON_3dVector& camera_direction 10182: ) const; 10182: # 152 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool GetOrientationRotation( 10182: ON_Xform& camera_rotaion 10182: ) const; 10182: 10182: ON_Xform OrientationRotation() const; 10182: # 181 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool SetOrientationAnglesRadians( 10182: double omega_radians, 10182: double phi_radians, 10182: double kappa_radians 10182: ); 10182: # 210 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool SetOrientationAnglesDegrees( 10182: double omega_degrees, 10182: double phi_degrees, 10182: double kappa_degrees 10182: ); 10182: # 239 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool SetOrientationVectors( 10182: ON_3dVector camera_up, 10182: ON_3dVector camera_right, 10182: ON_3dVector camera_direction 10182: ); 10182: # 267 "/<>/external/onurbs/opennurbs_photogrammetry.h" 10182: bool SetOrientationRotation( 10182: ON_Xform camera_rotation 10182: ); 10182: 10182: void UnsetOrientation(); 10182: 10182: private: 10182: unsigned char m_status; 10182: unsigned char m_reserved1[3]; 10182: unsigned int m_reserved2; 10182: 10182: ON_UnitSystem m_unit_system; 10182: 10182: ON_3dPoint m_location; 10182: 10182: ON_3dVector m_orientation_angles_degrees; 10182: ON_3dVector m_orientation_angles_radians; 10182: 10182: ON_3dVector m_orientation_direction; 10182: ON_3dVector m_orientation_up; 10182: ON_3dVector m_orientation_right; 10182: 10182: ON_Xform m_orientation_rotation; 10182: }; 10182: 10182: 10182: 10182: 10182: class ON_AerialPhotoImage 10182: { 10182: public: 10182: ON_AerialPhotoImage(); 10182: 10182: void Unset(); 10182: 10182: bool NameIsSet() const; 10182: 10182: void SetName( 10182: const wchar_t* name 10182: ); 10182: 10182: void GetName( 10182: ON_wString& name 10182: ) const; 10182: 10182: void UnsetName(); 10182: 10182: void SetId( ON_UUID image_id ); 10182: 10182: ON_UUID Id() const; 10182: 10182: 10182: 10182: 10182: 10182: bool CameraPositionIsSet() const; 10182: bool CameraLocationIsSet() const; 10182: bool CameraOrientationIsSet() const; 10182: 10182: void SetCameraPosition( 10182: ON_AerialPhotoCameraPosition camera_position 10182: ); 10182: 10182: void GetCameraPosition( 10182: ON_AerialPhotoCameraPosition& camera_position 10182: ) const; 10182: 10182: void UnsetCameraPosition(); 10182: 10182: 10182: 10182: 10182: 10182: bool ImageFrustumIsSet() const; 10182: 10182: void SetImageFrustum( 10182: ON_AerialPhotoImageFrustum image_frustum 10182: ); 10182: 10182: void GetImageFrustum( 10182: ON_AerialPhotoImageFrustum& image_frustum 10182: ) const; 10182: 10182: void UnsetImageFrustum(); 10182: 10182: 10182: 10182: 10182: 10182: bool ImageFileNameIsSet() const; 10182: 10182: void SetImageFileName( 10182: const wchar_t* image_file_name 10182: ); 10182: 10182: void GetImageFileName( 10182: ON_wString& image_file_name 10182: ) const; 10182: 10182: void UnsetImageFileName(); 10182: 10182: bool ImageSizeIsSet() const; 10182: 10182: bool SetImageSize( 10182: int width_pixels, 10182: int height_pixels 10182: ); 10182: 10182: bool GetImageSize( 10182: int* width_pixels, 10182: int* height_pixels 10182: ) const; 10182: 10182: void UnsetImageSize(); 10182: 10182: 10182: 10182: 10182: 10182: bool GetViewProjection( 10182: ON_BoundingBox target_bbox, 10182: ON_Viewport& viewport 10182: ) const; 10182: 10182: private: 10182: ON_wString m_name; 10182: 10182: ON_UUID m_id; 10182: 10182: ON_AerialPhotoCameraPosition m_camera_position; 10182: 10182: ON_AerialPhotoImageFrustum m_image_frustum; 10182: 10182: ON_wString m_image_file_name; 10182: 10182: int m_image_width_pixels; 10182: int m_image_height_pixels; 10182: }; 10182: # 131 "/<>/external/onurbs/opennurbs.h" 2 10182: 10182: # 1 "/<>/external/onurbs/opennurbs_extensions.h" 1 10182: # 25 "/<>/external/onurbs/opennurbs_extensions.h" 10182: class ONX_Model_UserData 10182: { 10182: public: 10182: # 44 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ONX_Model_UserData(); 10182: ~ONX_Model_UserData(); 10182: ONX_Model_UserData(const ONX_Model_UserData&); 10182: ONX_Model_UserData& operator=(const ONX_Model_UserData&); 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: ON_UUID m_uuid; 10182: ON_3dmGoo m_goo; 10182: 10182: private: 10182: void Destroy(); 10182: unsigned int* m_ref_count; 10182: 10182: public: 10182: int m_usertable_3dm_version ; 10182: int m_usertable_opennurbs_version; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ONX_Model_Object 10182: { 10182: public: 10182: # 86 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ONX_Model_Object(); 10182: ~ONX_Model_Object(); 10182: ONX_Model_Object(const ONX_Model_Object&); 10182: ONX_Model_Object& operator=(const ONX_Model_Object&); 10182: 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: 10182: 10182: bool m_bDeleteObject; 10182: const ON_Object* m_object; 10182: ON_3dmObjectAttributes m_attributes; 10182: 10182: private: 10182: void Destroy(); 10182: unsigned int* m_ref_count; 10182: }; 10182: 10182: 10182: 10182: 10182: 10182: class ONX_Model_RenderLight 10182: { 10182: public: 10182: # 128 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ONX_Model_RenderLight(); 10182: ~ONX_Model_RenderLight(); 10182: ONX_Model_RenderLight(const ONX_Model_RenderLight&); 10182: ONX_Model_RenderLight& operator=(const ONX_Model_RenderLight&); 10182: 10182: ON_Light m_light; 10182: ON_3dmObjectAttributes m_attributes; 10182: }; 10182: # 175 "/<>/external/onurbs/opennurbs_extensions.h" 10182: class ONX_Model 10182: { 10182: public: 10182: # 194 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ONX_Model(); 10182: virtual ~ONX_Model(); 10182: 10182: 10182: 10182: 10182: 10182: void Destroy(); 10182: # 247 "/<>/external/onurbs/opennurbs_extensions.h" 10182: bool Read( 10182: ON_BinaryArchive& archive, 10182: ON_TextLog* error_log = 10182: # 249 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 250 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: 10182: bool Read( 10182: const char* filename, 10182: ON_TextLog* error_log = 10182: # 254 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 255 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: 10182: bool Read( 10182: const wchar_t* filename, 10182: ON_TextLog* error_log = 10182: # 259 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 260 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: # 343 "/<>/external/onurbs/opennurbs_extensions.h" 10182: bool Write( 10182: ON_BinaryArchive& archive, 10182: int version = 0, 10182: const char* sStartSectionComment = 10182: # 346 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: # 346 "/<>/external/onurbs/opennurbs_extensions.h" 10182: , 10182: ON_TextLog* error_log = 10182: # 347 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 348 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: 10182: bool Write( 10182: const char* filename, 10182: int version = 0, 10182: const char* sStartSectionComment = 10182: # 353 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: # 353 "/<>/external/onurbs/opennurbs_extensions.h" 10182: , 10182: ON_TextLog* error_log = 10182: # 354 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 355 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: 10182: bool Write( 10182: const wchar_t* filename, 10182: int version = 0, 10182: const char* sStartSectionComment = 10182: # 360 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: # 360 "/<>/external/onurbs/opennurbs_extensions.h" 10182: , 10182: ON_TextLog* error_log = 10182: # 361 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: 10182: # 362 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ); 10182: # 374 "/<>/external/onurbs/opennurbs_extensions.h" 10182: bool IsValid( ON_TextLog* text_log = 10182: # 374 "/<>/external/onurbs/opennurbs_extensions.h" 3 4 10182: __null 10182: # 374 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ) const; 10182: # 384 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: void Polish(); 10182: # 423 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int Audit( 10182: bool bAttemptRepair, 10182: int* repair_count, 10182: ON_TextLog* text_log, 10182: ON_SimpleArray* warnings 10182: ); 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: int m_3dm_file_version; 10182: int m_3dm_opennurbs_version; 10182: ON_String m_sStartSectionComments; 10182: 10182: 10182: 10182: ON_3dmProperties m_properties; 10182: 10182: 10182: 10182: ON_3dmSettings m_settings; 10182: 10182: 10182: ON_SimpleArray m_bitmap_table; 10182: ON_ObjectArray m_mapping_table; 10182: ON_ObjectArray m_material_table; 10182: ON_ObjectArray m_linetype_table; 10182: ON_ObjectArray m_layer_table; 10182: ON_ObjectArray m_group_table; 10182: ON_ObjectArray m_font_table; 10182: ON_ObjectArray m_dimstyle_table; 10182: ON_ClassArray m_light_table; 10182: ON_ObjectArray m_hatch_pattern_table; 10182: ON_ObjectArray m_idef_table; 10182: ON_ClassArray m_object_table; 10182: ON_SimpleArray m_history_record_table; 10182: ON_ClassArray m_userdata_table; 10182: 10182: 10182: ON_UuidIndexList m_mapping_id_index; 10182: ON_UuidIndexList m_material_id_index; 10182: ON_UuidIndexList m_object_id_index; 10182: ON_UuidIndexList m_idef_id_index; 10182: 10182: 10182: size_t m_file_length; 10182: 10182: 10182: 10182: int m_crc_error_count; 10182: # 487 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ON_BoundingBox BoundingBox() const; 10182: # 496 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void GetRenderMaterial( 10182: const ON_3dmObjectAttributes& attributes, 10182: ON_Material& material 10182: ) const; 10182: # 508 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void GetRenderMaterial( 10182: int object_index, 10182: ON_Material& material 10182: ) const; 10182: # 520 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void GetLinetype( 10182: const ON_3dmObjectAttributes& attributes, 10182: ON_Linetype& linetype 10182: ) const; 10182: # 532 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void GetLinetype( 10182: int object_index, 10182: ON_Linetype& linetype 10182: ) const; 10182: # 545 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ON_Color WireframeColor(const ON_3dmObjectAttributes& attributes) const; 10182: # 555 "/<>/external/onurbs/opennurbs_extensions.h" 10182: ON_Color WireframeColor(int object_index) const; 10182: # 565 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int ObjectIndex( 10182: ON_UUID object_uuid 10182: ) const; 10182: # 591 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int IDefIndex( 10182: ON_UUID idef_uuid 10182: ) const; 10182: # 604 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int IDefIndex( 10182: const wchar_t* idef_name 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: void GetUnusedIDefName( ON_wString& idef_name ) const; 10182: # 631 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int UsesIDef( 10182: const ON_InstanceRef& iref, 10182: ON_UUID idef_uuid 10182: ) const; 10182: # 658 "/<>/external/onurbs/opennurbs_extensions.h" 10182: virtual 10182: int LayerIndex( 10182: const wchar_t* layer_name 10182: ) const; 10182: 10182: 10182: 10182: 10182: 10182: virtual 10182: void GetUnusedLayerName( ON_wString& layer_name ) const; 10182: # 685 "/<>/external/onurbs/opennurbs_extensions.h" 10182: bool SetDocumentUserString( 10182: const wchar_t* key, 10182: const wchar_t* string_value 10182: ); 10182: # 699 "/<>/external/onurbs/opennurbs_extensions.h" 10182: bool GetDocumentUserString( 10182: const wchar_t* key, 10182: ON_wString& string_value 10182: ) const; 10182: # 713 "/<>/external/onurbs/opennurbs_extensions.h" 10182: int GetDocumentUserStrings( ON_ClassArray& user_strings ) const; 10182: # 727 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void Dump( ON_TextLog& ) const; 10182: 10182: 10182: void DumpSummary( ON_TextLog& ) const; 10182: 10182: 10182: void DumpBitmapTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpTextureMappingTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpMaterialTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpLinetypeTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpLayerTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpLightTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpGroupTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpFontTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpDimStyleTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpHatchPatternTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpIDefTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpObjectTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpHistoryRecordTable( ON_TextLog& ) const; 10182: 10182: 10182: void DumpUserDataTable( ON_TextLog& ) const; 10182: # 784 "/<>/external/onurbs/opennurbs_extensions.h" 10182: void DestroyCache(); 10182: 10182: 10182: 10182: 10182: 10182: static bool IsRDKDocumentInformation(const ONX_Model_UserData& docud); 10182: static bool GetRDKDocumentInformation(const ONX_Model_UserData& docud,ON_wString& rdk_xml_document_data); 10182: 10182: static bool IsRDKObjectInformation(const ON_UserData& objectud); 10182: static bool GetRDKObjectInformation(const ON_Object& object,ON_wString& rdk_xml_object_data); 10182: 10182: 10182: 10182: 10182: 10182: 10182: private: 10182: 10182: ONX_Model(const ONX_Model&); 10182: ONX_Model& operator=(const ONX_Model&); 10182: 10182: private: 10182: 10182: 10182: ON_BoundingBox m__object_table_bbox; 10182: }; 10182: # 821 "/<>/external/onurbs/opennurbs_extensions.h" 10182: 10182: bool ONX_IsValidName( 10182: const wchar_t* name 10182: ); 10182: # 133 "/<>/external/onurbs/opennurbs.h" 2 10182: # 18 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 2 10182: 10182: void* ON_3dmObjectAttributes::m_s_ON_3dmObjectAttributes_ptr = 0; static ON_Object* CreateNewON_3dmObjectAttributes() {return new ON_3dmObjectAttributes();} const ON_ClassId ON_3dmObjectAttributes::m_ON_3dmObjectAttributes_class_id("ON_3dmObjectAttributes","ON_Object",CreateNewON_3dmObjectAttributes,ON_3dmObjectAttributes::CopyON_3dmObjectAttributes,"A828C015-09F5-477c-8665-F0482F5D6996"); ON_3dmObjectAttributes * ON_3dmObjectAttributes::Cast( ON_Object* p) {return(ON_3dmObjectAttributes *)Cast((const ON_Object*)p);} const ON_3dmObjectAttributes * ON_3dmObjectAttributes::Cast( const ON_Object* p) {return(p&&p->IsKindOf(&ON_3dmObjectAttributes::m_ON_3dmObjectAttributes_class_id))?(const ON_3dmObjectAttributes *)p:0;} const ON_ClassId* ON_3dmObjectAttributes::ClassId() const {return &ON_3dmObjectAttributes::m_ON_3dmObjectAttributes_class_id;} ON_Object* ON_3dmObjectAttributes::DuplicateObject() const {ON_3dmObjectAttributes* p = new ON_3dmObjectAttributes(); if (p) {*p=*this;}return p;} bool ON_3dmObjectAttributes::CopyON_3dmObjectAttributes( const ON_Object* src, ON_Object* dst ){ON_3dmObjectAttributes* d;const ON_3dmObjectAttributes* s;if (0!=(s=ON_3dmObjectAttributes::Cast(src))&&0!=(d=ON_3dmObjectAttributes::Cast(dst))) {d->ON_3dmObjectAttributes::operator=(*s);return true;}return false;} ON_3dmObjectAttributes * ON_3dmObjectAttributes::Duplicate() const {return static_cast(DuplicateObject());}; 10182: 10182: ON_3dmObjectAttributes::ON_3dmObjectAttributes() 10182: { 10182: Default(); 10182: } 10182: 10182: ON_3dmObjectAttributes::~ON_3dmObjectAttributes() 10182: {} 10182: # 60 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 10182: bool ON_3dmObjectAttributes::operator==(const ON_3dmObjectAttributes& other) const 10182: { 10182: if ( ON_UuidCompare( m_uuid, other.m_uuid ) ) 10182: return false; 10182: if ( m_name.Compare(other.m_name) ) 10182: return false; 10182: if ( m_url.Compare(other.m_url) ) 10182: return false; 10182: if ( m_layer_index != other.m_layer_index ) 10182: return false; 10182: if ( m_material_index != other.m_material_index ) 10182: return false; 10182: if ( m_linetype_index != other.m_linetype_index ) 10182: return false; 10182: if ( m_color != other.m_color ) 10182: return false; 10182: if ( m_plot_color != other.m_plot_color ) 10182: return false; 10182: if ( m_display_order != other.m_display_order ) 10182: return false; 10182: if ( m_object_decoration != other.m_object_decoration ) 10182: return false; 10182: if ( m_wire_density != other.m_wire_density ) 10182: return false; 10182: if ( m_mode != other.m_mode ) 10182: return false; 10182: if ( m_color_source != other.m_color_source ) 10182: return false; 10182: if ( m_linetype_source != other.m_linetype_source ) 10182: return false; 10182: if ( m_plot_color_source != other.m_plot_color_source ) 10182: return false; 10182: if ( m_material_source != other.m_material_source ) 10182: return false; 10182: if ( m_plot_weight_mm != other.m_plot_weight_mm ) 10182: return false; 10182: if ( m_plot_weight_source != other.m_plot_weight_source ) 10182: return false; 10182: 10182: int count = m_group.Count(); 10182: if ( count != other.m_group.Count() ) 10182: return false; 10182: if ( count > 0 ) 10182: { 10182: const int* a = m_group.Array(); 10182: const int* b = other.m_group.Array(); 10182: if ( memcmp( a, b, count*sizeof(*a) ) ) 10182: return false; 10182: } 10182: 10182: if ( m_bVisible != other.m_bVisible ) 10182: return false; 10182: 10182: if ( m_rendering_attributes.Compare(other.m_rendering_attributes) ) 10182: return false; 10182: 10182: if ( m_space != other.m_space) 10182: return false; 10182: 10182: if ( m_viewport_id != other.m_viewport_id ) 10182: return false; 10182: 10182: if ( m_dmref != other.m_dmref ) 10182: return false; 10182: 10182: return true; 10182: } 10182: 10182: bool ON_3dmObjectAttributes::operator!=(const ON_3dmObjectAttributes& other) const 10182: { 10182: return !ON_3dmObjectAttributes::operator==(other); 10182: } 10182: # 146 "/<>/external/onurbs/opennurbs_3dm_attributes.cpp" 10182: void ON_3dmObjectAttributes::Default() 10182: { 10182: PurgeUserData(); 10182: m_uuid = ON_nil_uuid; 10182: m_name.Destroy(); 10182: m_url.Destroy(); 10182: m_layer_index = 0; 10182: m_linetype_index = -1; 10182: m_material_index = -1; 10182: m_rendering_attributes.Default(); 10182: m_color = ON_Color(0,0,0); 10182: m_plot_color = ON_Color(0,0,0); 10182: m_display_order = 0; 10182: m_plot_weight_mm = 0.0; 10182: m_object_decoration = ON::no_object_decoration; 10182: m_wire_density = 1; 10182: m_mode = ON::normal_object; 10182: m_bVisible = true; 10182: m_color_source = ON::color_from_layer; 10182: m_material_source = ON::material_from_layer; 10182: m_linetype_source = ON::linetype_from_layer; 10182: m_plot_color_source = ON::plot_color_from_layer; 10182: m_plot_weight_source = ON::plot_weight_from_layer; 10182: m_group.Destroy(); 10182: m_space = ON::model_space; 10182: m_viewport_id = ON_nil_uuid; 10182: m_dmref.Destroy(); 10182: } 10182: 10182: 10182: 10182: const ON_UUID ON_ObsoletePageSpaceObjectId = 10182: { 0x9bbb37e9, 0x2131, 0x4fb8, { 0xb9, 0xc6, 0x55, 0x24, 0x85, 0x9b, 0x98, 0xb8 } }; 10182: 10182: 10182: bool ON_3dmObjectAttributes::ReadV5Helper( ON_BinaryArchive& file ) 10182: { 10182: unsigned char itemid, c; 10182: int major_version = 0; 10182: int minor_version = 0; 10182: bool rc = file.Read3dmChunkVersion(&major_version,&minor_version); 10182: if ( rc && 2 != major_version ) 10182: rc = false; 10182: 10182: itemid = 0xFF; 10182: 10182: while(rc) 10182: { 10182: if (!rc) break; 10182: rc = file.ReadUuid(m_uuid); 10182: if (!rc) break; 10182: rc = file.ReadInt(&m_layer_index); 10182: if (!rc) break; 10182: 10182: 10182: rc = file.ReadChar(&itemid); 10182: if (!rc) break; 10182: if ( 0 == itemid ) 10182: break; 10182: 10182: if ( 1 == itemid ) 10182: { 10182: rc = file.ReadString(m_name); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 2 == itemid ) 10182: { 10182: rc = file.ReadString(m_url); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 3 == itemid ) 10182: { 10182: rc = file.ReadInt(&m_linetype_index); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 4 == itemid ) 10182: { 10182: rc = file.ReadInt(&m_material_index); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 5 == itemid ) 10182: { 10182: rc = m_rendering_attributes.Read(file); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 6 == itemid ) 10182: { 10182: rc = file.ReadColor(m_color); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 7 == itemid ) 10182: { 10182: rc = file.ReadColor(m_plot_color); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 8 == itemid ) 10182: { 10182: rc = file.ReadDouble(&m_plot_weight_mm); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 9 == itemid ) 10182: { 10182: rc = file.ReadChar(&c); 10182: if (!rc) break; 10182: m_object_decoration = ON::ObjectDecoration(c); 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 10 == itemid ) 10182: { 10182: rc = file.ReadInt(&m_wire_density); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 11 == itemid ) 10182: { 10182: rc = file.ReadBool(&m_bVisible); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 12 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_mode); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 13 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_color_source); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 14 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_plot_color_source); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 15 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_plot_weight_source); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 16 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_material_source); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 17 == itemid ) 10182: { 10182: rc = file.ReadChar(&m_linetype_source); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 18 == itemid ) 10182: { 10182: rc = file.ReadArray(m_group); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 19 == itemid ) 10182: { 10182: rc = file.ReadChar(&c); 10182: if (!rc) break; 10182: m_space = ON::ActiveSpace(c); 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 20 == itemid ) 10182: { 10182: rc = file.ReadUuid(m_viewport_id); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: if ( 21 == itemid ) 10182: { 10182: rc = file.ReadArray(m_dmref); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: 10182: 10182: if ( minor_version <= 0 ) 10182: break; 10182: 10182: 10182: 10182: if ( 22 == itemid ) 10182: { 10182: rc = file.ReadInt(&m_display_order); 10182: if (!rc) break; 10182: rc = file.ReadChar(&itemid); 10182: if ( !rc || 0 == itemid ) break; 10182: } 10182: 10182: if ( minor_version <= 1 ) 10182: break; 10182: 10182: 10182: 10182: 10182: 10182: 10182: 10182: if ( itemid > 22 ) 10182: { 10182: 10182: 10182: itemid = 0; 10182: } 10182: 10182: break; 10182: } 10182: 10182: if ( rc && 0 != itemid ) 10182: { 10182: ON_Error("/<>/external/onurbs/opennurbs_3dm_attributes.cpp",391,"Bug in ON_3dmObjectAttributes::ReadV5Helper or WriteV5Helper"); 10182: } 10182: 10182: return rc; 10182: } 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::Read( ON_BinaryArchive& file ) 10182: { 10182: Default(); 10182: if ( file.Archive3dmVersion() >= 5 10182: && file.ArchiveOpenNURBSVersion() >= 200712190 ) 10182: { 10182: return ReadV5Helper(file); 10182: } 10182: int i; 10182: int major_version = 0; 10182: int minor_version = 0; 10182: bool rc = file.Read3dmChunkVersion(&major_version,&minor_version); 10182: if ( rc && major_version == 1 ) 10182: { 10182: if (rc) rc = file.ReadUuid(m_uuid); 10182: if (rc) rc = file.ReadInt(&m_layer_index); 10182: if (rc) rc = file.ReadInt(&m_material_index); 10182: if (rc) rc = file.ReadColor(m_color); 10182: 10182: while(rc) 10182: { 10182: 10182: 10182: short s = 0; 10182: double x; 10182: rc = file.ReadShort(&s); 10182: if (!rc) break; 10182: if ( file.Archive3dmVersion() < 4 || file.ArchiveOpenNURBSVersion() < 200503170 ) 10182: { 10182: 10182: 10182: 10182: m_object_decoration = ON::ObjectDecoration( (s & ON::both_arrowhead) ); 10182: } 10182: rc = file.ReadShort(&s); 10182: if (!rc) break; 10182: rc = file.ReadDouble(&x); 10182: if (!rc) break; 10182: rc = file.ReadDouble(&x); 10182: break; 10182: } 10182: 10182: if (rc) rc = file.ReadInt(&m_wire_density); 10182: if (rc) rc = file.ReadChar(&m_mode); 10182: 10182: if (rc) rc = file.ReadChar(&m_color_source); 10182: if (rc) m_color_source = (unsigned char)ON::ObjectColorSource(m_color_source); 10182: 10182: if (rc) rc = file.ReadChar(&m_linetype_source); 10182: if (rc) m_linetype_source = (unsigned char)ON::ObjectLinetypeSource(m_linetype_source); 10182: 10182: if (rc) rc = file.ReadChar(&m_material_source); 10182: if (rc) m_material_source = (unsigned char)ON::ObjectMaterialSource(m_material_source); 10182: 10182: if (rc) rc = file.ReadString(m_name); 10182: if (rc) rc = file.ReadString(m_url); 10182: 10182: m_bVisible = (Mode() != ON::hidden_object); 10182: if ( rc && minor_version >= 1 ) 10182: { 10182: rc = file.ReadArray( m_group ); 10182: if ( rc && minor_version >= 2 ) 10182: { 10182: rc = file.ReadBool(&m_bVisible); 10182: 10182: if ( rc && minor_version >= 3 ) 10182: { 10182: rc = file.ReadArray(m_dmref); 10182: 10182: if (rc && minor_version >= 4 ) 10182: { 10182: 10182: 10182: i = 0; 10182: if (rc) rc = file.ReadInt(&i); 10182: if (rc) m_object_decoration = ON::ObjectDecoration(i); 10182: if (rc) rc = file.ReadChar(&m_plot_color_source); 10182: if (rc) m_plot_color_source = (unsigned char)ON::PlotColorSource(m_plot_color_source); 10182: if (rc) rc = file.ReadColor( m_plot_color ); 10182: if (rc) rc = file.ReadChar(&m_plot_weight_source); 10182: if (rc) m_plot_weight_source = (unsigned char)ON::PlotWeightSource(m_plot_weight_source); 10182: if (rc) rc = file.ReadDouble(&m_plot_weight_mm); 10182: 10182: 10182: if (rc && minor_version >= 5 ) 10182: { 10182: 10182: if (rc) rc = file.ReadInt(&m_linetype_index); 10182: 10182: 10182: if (rc && minor_version >= 6 ) 10182: { 10182: unsigned char uc = 0; 10182: rc = file.ReadChar(&uc); 10182: if (rc) 10182: { 10182: m_space = (1 == uc) ? ON::page_space : ON::model_space; 10182: m_dmref.Empty(); 10182: int i, count=0; 10182: rc = file.ReadInt(&count); 10182: if (rc && count > 0) 10182: { 10182: m_dmref.SetCapacity(count); 10182: for ( i = 0; i < count && rc; i++) 10182: { 10182: ON_DisplayMaterialRef& dmr = m_dmref.AppendNew(); 10182: rc = file.ReadUuid(dmr.m_viewport_id); 10182: if (rc) rc = file.ReadUuid(dmr.m_display_material_id); 10182: if ( rc ) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: if ( 0 == ON_UuidCompare(&ON_ObsoletePageSpaceObjectId,&dmr.m_display_material_id) ) 10182: { 10182: m_viewport_id = dmr.m_viewport_id; 10182: m_dmref.Remove(); 10182: } 10182: } 10182: } 10182: if ( 0 == m_dmref.Count() ) 10182: m_dmref.Destroy(); 10182: } 10182: } 10182: 10182: if ( rc && minor_version >= 7 ) 10182: { 10182: 10182: if (rc) rc = m_rendering_attributes.Read(file); 10182: } 10182: } 10182: } 10182: } 10182: } 10182: } 10182: } 10182: } 10182: else 10182: { 10182: rc = false; 10182: } 10182: return rc; 10182: } 10182: 10182: bool ON_3dmObjectAttributes::WriteV5Helper( ON_BinaryArchive& file ) const 10182: { 10182: unsigned char c; 10182: 10182: 10182: bool rc = file.Write3dmChunkVersion(2,1); 10182: while(rc) 10182: { 10182: if (!rc) break; 10182: rc = file.WriteUuid(m_uuid); 10182: if (!rc) break; 10182: rc = file.WriteInt(m_layer_index); 10182: if (!rc) break; 10182: 10182: 10182: if ( !m_name.IsEmpty() ) 10182: { 10182: c = 1; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteString(m_name); 10182: if (!rc) break; 10182: } 10182: if ( !m_url.IsEmpty() ) 10182: { 10182: c = 2; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteString(m_url); 10182: if (!rc) break; 10182: } 10182: if ( -1 != m_linetype_index ) 10182: { 10182: c = 3; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteInt(m_linetype_index); 10182: if (!rc) break; 10182: } 10182: if ( -1 != m_material_index ) 10182: { 10182: c = 4; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteInt(m_material_index); 10182: if (!rc) break; 10182: } 10182: if ( m_rendering_attributes.m_mappings.Count() > 0 10182: || m_rendering_attributes.m_materials.Count() > 0 10182: || true != m_rendering_attributes.m_bCastsShadows 10182: || true != m_rendering_attributes.m_bReceivesShadows 10182: || false != m_rendering_attributes.AdvancedTexturePreview() 10182: ) 10182: { 10182: c = 5; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = m_rendering_attributes.Write(file); 10182: if (!rc) break; 10182: } 10182: if ( 0 != m_color ) 10182: { 10182: c = 6; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteColor(m_color); 10182: if (!rc) break; 10182: } 10182: if ( 0 != m_plot_color ) 10182: { 10182: c = 7; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteColor(m_plot_color); 10182: if (!rc) break; 10182: } 10182: if ( 0.0 != m_plot_weight_mm ) 10182: { 10182: c = 8; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteDouble(m_plot_weight_mm); 10182: if (!rc) break; 10182: } 10182: if ( ON::no_object_decoration != m_object_decoration ) 10182: { 10182: c = 9; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: c = (unsigned char)m_object_decoration; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: } 10182: if ( 1 != m_wire_density ) 10182: { 10182: c = 10; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteInt(m_wire_density); 10182: if (!rc) break; 10182: } 10182: if ( true != m_bVisible ) 10182: { 10182: c = 11; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteBool(m_bVisible); 10182: if (!rc) break; 10182: } 10182: if ( ON::normal_object != m_mode ) 10182: { 10182: c = 12; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_mode); 10182: if (!rc) break; 10182: } 10182: if ( ON::color_from_layer != m_color_source ) 10182: { 10182: c = 13; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_color_source); 10182: if (!rc) break; 10182: } 10182: if ( ON::plot_color_from_layer != m_plot_color_source ) 10182: { 10182: c = 14; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_plot_color_source); 10182: if (!rc) break; 10182: } 10182: if ( ON::plot_weight_from_layer != m_plot_weight_source ) 10182: { 10182: c = 15; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_plot_weight_source); 10182: if (!rc) break; 10182: } 10182: if ( ON::material_from_layer != m_material_source ) 10182: { 10182: c = 16; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_material_source); 10182: if (!rc) break; 10182: } 10182: if ( ON::linetype_from_layer != m_linetype_source ) 10182: { 10182: c = 17; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteChar(m_linetype_source); 10182: if (!rc) break; 10182: } 10182: if ( m_group.Count() > 0 ) 10182: { 10182: c = 18; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteArray(m_group); 10182: if (!rc) break; 10182: } 10182: if ( ON::model_space != m_space ) 10182: { 10182: c = 19; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: c = (unsigned char)m_space; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: } 10182: if ( !ON_UuidIsNil(m_viewport_id) ) 10182: { 10182: c = 20; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteUuid(m_viewport_id); 10182: if (!rc) break; 10182: } 10182: if ( m_dmref.Count() > 0 ) 10182: { 10182: c = 21; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteArray(m_dmref); 10182: if (!rc) break; 10182: } 10182: 10182: 10182: 10182: 10182: if ( 0 != m_display_order ) 10182: { 10182: c = 22; 10182: rc = file.WriteChar(c); 10182: if (!rc) break; 10182: rc = file.WriteInt(m_display_order); 10182: if (!rc) break; 10182: } 10182: 10182: 10182: c = 0; 10182: rc = file.WriteChar(c); 10182: break; 10182: } 10182: return rc; 10182: } 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::Write( ON_BinaryArchive& file ) const 10182: { 10182: if ( file.Archive3dmVersion() >= 5 ) 10182: { 10182: 10182: return WriteV5Helper(file); 10182: } 10182: 10182: bool rc = file.Write3dmChunkVersion(1,7); 10182: 10182: if (rc) rc = file.WriteUuid(m_uuid); 10182: if (rc) rc = file.WriteInt(m_layer_index); 10182: if (rc) rc = file.WriteInt(m_material_index); 10182: if (rc) rc = file.WriteColor(m_color); 10182: 10182: if (rc) 10182: { 10182: 10182: short s; 10182: s = (short)m_object_decoration; 10182: if (rc) rc = file.WriteShort(s); 10182: s = 0; 10182: if (rc) rc = file.WriteShort(s); 10182: if (rc) rc = file.WriteDouble(0.0); 10182: if (rc) rc = file.WriteDouble(1.0); 10182: } 10182: 10182: if (rc) rc = file.WriteInt(m_wire_density); 10182: if (rc) rc = file.WriteChar(m_mode); 10182: if (rc) rc = file.WriteChar(m_color_source); 10182: if (rc) rc = file.WriteChar(m_linetype_source); 10182: if (rc) rc = file.WriteChar(m_material_source); 10182: if (rc) rc = file.WriteString(m_name); 10182: if (rc) rc = file.WriteString(m_url); 10182: 10182: 10182: if (rc) rc = file.WriteArray(m_group); 10182: 10182: 10182: if (rc) rc = file.WriteBool(m_bVisible); 10182: 10182: 10182: if (rc) rc = file.WriteArray(m_dmref); 10182: 10182: 10182: if (rc) rc = file.WriteInt(m_object_decoration); 10182: if (rc) rc = file.WriteChar(m_plot_color_source); 10182: if (rc) rc = file.WriteColor(m_plot_color); 10182: if (rc) rc = file.WriteChar(m_plot_weight_source); 10182: if (rc) rc = file.WriteDouble(m_plot_weight_mm); 10182: 10182: 10182: if (rc) rc = file.WriteInt(m_linetype_index); 10182: 10182: 10182: if (rc) 10182: { 10182: unsigned char uc = 0; 10182: switch(m_space) 10182: { 10182: case ON::no_space: uc = 0; break; 10182: case ON::model_space: uc = 0; break; 10182: case ON::page_space: uc = 1; break; 10182: } 10182: rc = file.WriteChar(uc); 10182: } 10182: if (rc) 10182: { 10182: 10182: 10182: 10182: 10182: 10182: 10182: int count = m_dmref.Count(); 10182: if ( count < 0 ) 10182: count = 0; 10182: bool bAddPagespaceDMR = ( ON::page_space == m_space && !ON_UuidIsNil(m_viewport_id) ); 10182: rc = file.WriteInt( bAddPagespaceDMR ? (count+1) : count ); 10182: if ( rc && bAddPagespaceDMR ) 10182: { 10182: rc = file.WriteUuid(m_viewport_id); 10182: if (rc) rc = file.WriteUuid(ON_ObsoletePageSpaceObjectId); 10182: } 10182: int i; 10182: for ( i = 0; i < count && rc; i++ ) 10182: { 10182: const ON_DisplayMaterialRef& dmr = m_dmref[i]; 10182: rc = file.WriteUuid(dmr.m_viewport_id); 10182: if (rc) rc = file.WriteUuid(dmr.m_display_material_id); 10182: } 10182: } 10182: 10182: 10182: if (rc) rc = m_rendering_attributes.Write(file); 10182: 10182: return rc; 10182: } 10182: 10182: 10182: bool ON_3dmObjectAttributes::Transform( const ON_Xform& xform ) 10182: { 10182: 10182: ON_Object::TransformUserData(xform); 10182: return m_rendering_attributes.Transform(xform); 10182: } 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::IsValid( ON_TextLog* text_log ) const 10182: { 10182: if ( ON_UuidIsNil(m_uuid) ) 10182: { 10182: if ( text_log ) 10182: { 10182: text_log->Print("Object id is nil - this is not valid.\n"); 10182: } 10182: return false; 10182: } 10182: 10182: if ( !m_rendering_attributes.IsValid(text_log) ) 10182: { 10182: if ( text_log ) 10182: { 10182: text_log->Print("Object rendering attributes are not valid.\n"); 10182: } 10182: return false; 10182: } 10182: 10182: return true; 10182: } 10182: 10182: unsigned int ON_3dmObjectAttributes::SizeOf() const 10182: { 10182: unsigned int sz = sizeof(*this) - sizeof(ON_Object) 10182: + m_name.Length()*sizeof(wchar_t) 10182: + m_url.Length()*sizeof(wchar_t) 10182: + m_group.SizeOfArray() 10182: + ON_Object::SizeOf(); 10182: return sz; 10182: } 10182: 10182: void ON_3dmObjectAttributes::Dump( ON_TextLog& dump ) const 10182: { 10182: const wchar_t* wsName = m_name; 10182: if ( !wsName ) 10182: wsName = L""; 10182: dump.Print("object name = \"%ls\"\n",wsName); 10182: 10182: dump.Print("object uuid = "); 10182: dump.Print(m_uuid); 10182: dump.Print("\n"); 10182: 10182: const char* sMode = "unknown"; 10182: switch( Mode() ) 10182: { 10182: case ON::normal_object: 10182: sMode = "normal"; 10182: break; 10182: case ON::hidden_object: 10182: sMode = "hidden"; 10182: break; 10182: case ON::locked_object: 10182: sMode = "locked"; 10182: break; 10182: default: 10182: sMode = "unknown"; 10182: break; 10182: } 10182: dump.Print("object mode = %s\n",sMode); 10182: 10182: dump.Print("object layer index = %d\n",m_layer_index); 10182: dump.Print("object material index = %d\n",m_material_index); 10182: const char* sMaterialSource = "unknown"; 10182: switch(MaterialSource()) { 10182: case ON::material_from_layer: sMaterialSource = "layer material"; break; 10182: case ON::material_from_object: sMaterialSource = "object material"; break; 10182: case ON::material_from_parent: sMaterialSource = "parent material"; break; 10182: } 10182: dump.Print("material source = %s\n",sMaterialSource); 10182: const int group_count = GroupCount(); 10182: if ( group_count > 0 ) { 10182: const int* group = GroupList(); 10182: dump.Print("groups: "); 10182: int i; 10182: for ( i = 0; i < group_count; i++ ) { 10182: if ( i ) 10182: dump.Print(",%d",group[i]); 10182: else 10182: dump.Print("%d",group[i]); 10182: } 10182: dump.Print("\n"); 10182: } 10182: } 10182: 10182: ON::object_mode ON_3dmObjectAttributes::Mode() const 10182: { 10182: return ON::ObjectMode( m_mode%16 ); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetMode( ON::object_mode m ) 10182: { 10182: int om = ON::ObjectMode(m); 10182: int dm = DisplayMode(); 10182: m_mode = (unsigned char)(16*dm+om); 10182: 10182: 10182: m_bVisible = (om != ON::hidden_object); 10182: } 10182: 10182: bool ON_3dmObjectAttributes::IsInstanceDefinitionObject() const 10182: { 10182: return (ON::idef_object == Mode()); 10182: } 10182: 10182: bool ON_3dmObjectAttributes::IsVisible() const 10182: { 10182: return m_bVisible; 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetVisible( bool bVisible ) 10182: { 10182: if ( m_bVisible != (bVisible?true:false) ) 10182: { 10182: m_bVisible = (bVisible?true:false); 10182: 10182: 10182: if ( Mode() != ON::idef_object ) 10182: SetMode( m_bVisible ? ON::normal_object : ON::hidden_object ); 10182: } 10182: } 10182: 10182: 10182: ON::display_mode ON_3dmObjectAttributes::DisplayMode() const 10182: { 10182: return ON::DisplayMode( m_mode/16 ); 10182: } 10182: 10182: unsigned int ON_3dmObjectAttributes::ApplyParentalControl( 10182: const ON_3dmObjectAttributes& parents_attributes, 10182: unsigned int control_limits 10182: ) 10182: { 10182: ON_Error("/<>/external/onurbs/opennurbs_3dm_attributes.cpp",995,"Do not use deprecated version of ON_3dmObjectAttributes::ApplyParentalControl()"); 10182: ON_Layer bogus_layer; 10182: bogus_layer.m_layer_index = -1; 10182: return ApplyParentalControl(parents_attributes,bogus_layer,control_limits); 10182: } 10182: 10182: unsigned int ON_3dmObjectAttributes::ApplyParentalControl( 10182: const ON_3dmObjectAttributes& parents_attributes, 10182: const ON_Layer& parent_layer, 10182: unsigned int control_limits 10182: ) 10182: { 10182: unsigned int rc = 0; 10182: 10182: if ( m_bVisible && !parents_attributes.m_bVisible ) 10182: { 10182: if ( 0 != (0x01 & control_limits) ) 10182: { 10182: rc |= 0x01; 10182: m_bVisible = false; 10182: } 10182: } 10182: 10182: if ( ON::color_from_parent == m_color_source ) 10182: { 10182: if ( 0 != (0x02 & control_limits) ) 10182: { 10182: rc |= 0x02; 10182: m_color_source = parents_attributes.m_color_source; 10182: m_color = parents_attributes.m_color; 10182: 10182: 10182: 10182: 10182: if ( ON::color_from_layer == m_color_source && parent_layer.m_layer_index >= 0 ) 10182: { 10182: 10182: m_color_source = ON::color_from_object; 10182: m_color = parent_layer.m_color; 10182: } 10182: } 10182: } 10182: 10182: if ( ON::material_from_parent == m_material_source ) 10182: { 10182: if ( 0 != (0x04 & control_limits) ) 10182: { 10182: rc |= 0x04; 10182: m_material_source = parents_attributes.m_material_source; 10182: m_material_index = parents_attributes.m_material_index; 10182: 10182: 10182: 10182: 10182: if ( ON::material_from_layer == m_material_source && parent_layer.m_layer_index >= 0 ) 10182: { 10182: 10182: m_material_source = ON::material_from_object; 10182: m_material_index = parent_layer.m_material_index; 10182: } 10182: } 10182: } 10182: 10182: if ( ON::plot_color_from_parent == m_plot_color_source ) 10182: { 10182: if ( 0 != (0x08 & control_limits) ) 10182: { 10182: rc |= 0x08; 10182: m_plot_color_source = parents_attributes.m_plot_color_source; 10182: m_plot_color = parents_attributes.m_plot_color; 10182: if ( ON::plot_color_from_layer == m_plot_color_source && parent_layer.m_layer_index >= 0 ) 10182: { 10182: 10182: m_plot_color_source = ON::plot_color_from_object; 10182: m_plot_color = parent_layer.m_plot_color; 10182: } 10182: } 10182: } 10182: 10182: if ( ON::plot_weight_from_parent == m_plot_weight_source ) 10182: { 10182: if ( 0 != (0x10 & control_limits) ) 10182: { 10182: rc |= 0x10; 10182: m_plot_weight_source = parents_attributes.m_plot_weight_source; 10182: m_plot_weight_mm = parents_attributes.m_plot_weight_mm; 10182: if ( ON::plot_weight_from_layer == m_plot_weight_source && parent_layer.m_layer_index >= 0 ) 10182: { 10182: 10182: m_plot_weight_source = ON::plot_weight_from_object; 10182: m_plot_weight_mm = parent_layer.m_plot_weight_mm; 10182: } 10182: } 10182: } 10182: 10182: if ( ON::linetype_from_parent == m_linetype_source ) 10182: { 10182: if ( 0 != (0x20 & control_limits) ) 10182: { 10182: rc |= 0x20; 10182: m_linetype_source = parents_attributes.m_linetype_source; 10182: m_linetype_index = parents_attributes.m_linetype_index; 10182: if ( ON::linetype_from_layer == m_linetype_source && parent_layer.m_layer_index >= 0 ) 10182: { 10182: 10182: m_linetype_source = ON::linetype_from_object; 10182: m_linetype_index = parent_layer.m_linetype_index; 10182: } 10182: } 10182: } 10182: 10182: if ( 0 != (0x40 & control_limits) ) 10182: { 10182: rc |= 0x40; 10182: m_display_order = parents_attributes.m_display_order; 10182: } 10182: 10182: return rc; 10182: } 10182: 10182: 10182: void ON_3dmObjectAttributes::SetDisplayMode( ON::display_mode m ) 10182: { 10182: int om = Mode(); 10182: int dm = ON::DisplayMode(m); 10182: m_mode = (unsigned char)(16*dm+om); 10182: } 10182: 10182: ON::object_color_source ON_3dmObjectAttributes::ColorSource() const 10182: { 10182: return ON::ObjectColorSource(m_color_source); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetColorSource( ON::object_color_source c ) 10182: { 10182: m_color_source = (unsigned char)ON::ObjectColorSource(c); 10182: } 10182: 10182: ON::object_linetype_source ON_3dmObjectAttributes::LinetypeSource() const 10182: { 10182: return ON::ObjectLinetypeSource(m_linetype_source); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetLinetypeSource( ON::object_linetype_source c ) 10182: { 10182: m_linetype_source = (unsigned char)ON::ObjectLinetypeSource(c); 10182: } 10182: 10182: ON::object_material_source ON_3dmObjectAttributes::MaterialSource() const 10182: { 10182: return ON::ObjectMaterialSource(m_material_source); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetMaterialSource( ON::object_material_source c ) 10182: { 10182: m_material_source = (unsigned char)ON::ObjectMaterialSource(c); 10182: } 10182: 10182: 10182: ON::plot_color_source ON_3dmObjectAttributes::PlotColorSource() const 10182: { 10182: return ON::PlotColorSource(m_plot_color_source); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetPlotColorSource( ON::plot_color_source pcs ) 10182: { 10182: m_plot_color_source = (unsigned char)ON::PlotColorSource(pcs); 10182: } 10182: 10182: ON::plot_weight_source ON_3dmObjectAttributes::PlotWeightSource() const 10182: { 10182: return ON::PlotWeightSource(m_plot_weight_source); 10182: } 10182: 10182: void ON_3dmObjectAttributes::SetPlotWeightSource( ON::plot_weight_source pws ) 10182: { 10182: m_plot_weight_source = (unsigned char)ON::PlotColorSource(pws); 10182: } 10182: 10182: 10182: int ON_3dmObjectAttributes::GroupCount() const 10182: { 10182: return m_group.Count(); 10182: } 10182: 10182: 10182: 10182: const int* ON_3dmObjectAttributes::GroupList() const 10182: { 10182: return (m_group.Count()>0) ? m_group.Array() : 0; 10182: } 10182: 10182: int ON_3dmObjectAttributes::GetGroupList(ON_SimpleArray& group_list) const 10182: { 10182: group_list = m_group; 10182: return group_list.Count(); 10182: } 10182: 10182: 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::IsInGroup( 10182: int group_index 10182: ) const 10182: { 10182: ON_BOOL32 rc = false; 10182: const int count = m_group.Count(); 10182: int i; 10182: for ( i = 0; i < count; i++ ) { 10182: if (m_group[i] == group_index) { 10182: rc = true; 10182: break; 10182: } 10182: } 10182: return rc; 10182: } 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::IsInGroups( int group_count, const int* group_list ) const 10182: { 10182: 10182: ON_BOOL32 rc = false; 10182: if ( group_count > 0 && group_list ) { 10182: const int obj_group_count = GroupCount(); 10182: const int* obj_group_list = GroupList(); 10182: 10182: int i, j; 10182: for ( i = 0; i < obj_group_count; i++ ) for ( j = 0; j < group_count; j++ ) { 10182: if ( obj_group_list[i] == group_list[j] ) 10182: return true; 10182: } 10182: } 10182: return rc; 10182: } 10182: 10182: ON_BOOL32 ON_3dmObjectAttributes::IsInGroups( const ON_SimpleArray& group_list ) const 10182: { 10182: return IsInGroups( group_list.Count(), group_list.Array() ); 10182: } 10182: 10182: 10182: 10182: 10182: 10182: void ON_3dmObjectAttributes::AddToGroup( 10182: int group_index 10182: ) 10182: { 10182: if ( group_index >= 0 ) { 10182: if ( !IsInGroup(group_index) ) 10182: m_group.Append(group_index); 10182: } 10182: } 10182: 10182: 10182: 10182: 10182: int ON_3dmObjectAttributes::TopGroup() const 10182: { 10182: const int* top_group = m_group.Last(); 10182: return top_group ? *top_group : -1; 10182: } 10182: 10182: 10182: 10182: void ON_3dmObjectAttributes::RemoveFromTopGroup() 10182: { 10182: int c = m_group.Count(); 10182: if ( c > 0 ) { 10182: c--; 10182: m_group.SetCount(c); 10182: } 10182: } 10182: 10182: 10182: 10182: 10182: void ON_3dmObjectAttributes::RemoveFromGroup( 10182: int group_index 10182: ) 10182: { 10182: int i; 10182: const int count = m_group.Count(); 10182: for ( i = 0; i < count; i++ ) { 10182: if (m_group[i] == group_index) { 10182: m_group.Remove(i); 10182: break; 10182: } 10182: } 10182: } 10182: 10182: 10182: 10182: void ON_3dmObjectAttributes::RemoveFromAllGroups() 10182: { 10182: m_group.Destroy(); 10182: } 10182: 10182: 10182: bool ON_3dmObjectAttributes::FindDisplayMaterialId( 10182: const ON_UUID& viewport_id, 10182: ON_UUID* display_material_id 10182: ) const 10182: { 10182: bool rc = false; 10182: if ( m_dmref.Count() > 0 ) 10182: { 10182: ON_DisplayMaterialRef search_material, found_material; 10182: search_material.m_viewport_id = viewport_id; 10182: if ( 0 != (rc = FindDisplayMaterialRef(search_material,&found_material)) ) 10182: { 10182: if ( display_material_id ) 10182: *display_material_id = found_material.m_display_material_id; 10182: } 10182: } 10182: return rc; 10182: } 10182: 10182: 10182: bool ON_3dmObjectAttributes::FindDisplayMaterialRef( 10182: const ON_DisplayMaterialRef& search_material, 10182: ON_DisplayMaterialRef* found_material 10182: ) const 10182: { 10182: int i = m_dmref.Count(); 10182: if ( i > 0 ) 10182: { 10182: int j = -1; 10182: if ( search_material.m_viewport_id != ON_nil_uuid ) 10182: { 10182: if ( search_material.m_display_material_id != ON_nil_uuid ) 10182: { 10182: while(i--) 10182: { 10182: if ( (m_dmref[i].m_display_material_id == search_material.m_display_material_id) && 10182: (m_dmref[i].m_viewport_id == search_material.m_viewport_id) ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[i]; 10182: return true; 10182: } 10182: } 10182: } 10182: else 10182: { 10182: while(i--) 10182: { 10182: const ON_UUID& vid = m_dmref[i].m_viewport_id; 10182: if ( vid == search_material.m_viewport_id ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[i]; 10182: return true; 10182: } 10182: if ( vid == ON_nil_uuid ) 10182: { 10182: j = i; 10182: } 10182: } 10182: if ( j >= 0 ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[j]; 10182: return true; 10182: } 10182: } 10182: } 10182: else 10182: { 10182: if ( search_material.m_display_material_id != ON_nil_uuid ) 10182: { 10182: while(i--) 10182: { 10182: if ( m_dmref[i].m_display_material_id == search_material.m_display_material_id ) 10182: { 10182: if ( m_dmref[i].m_viewport_id == ON_nil_uuid ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[i]; 10182: return true; 10182: } 10182: if ( j < 0 ) 10182: j = i; 10182: } 10182: } 10182: if ( j >= 0 ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[j]; 10182: return true; 10182: } 10182: } 10182: else 10182: { 10182: while(i--) 10182: { 10182: if ( m_dmref[i].m_viewport_id == ON_nil_uuid ) 10182: { 10182: if(found_material) 10182: *found_material = m_dmref[i]; 10182: return true; 10182: } 10182: } 10182: } 10182: } 10182: } 10182: return false; 10182: } 10182: 10182: 10182: bool ON_3dmObjectAttributes::AddDisplayMaterialRef( 10182: ON_DisplayMaterialRef display_material 10182: ) 10182: { 10182: bool rc = false; 10182: if ( !(display_material.m_display_material_id == ON_nil_uuid) ) 10182: { 10182: int i = m_dmref.Count(); 10182: while(i--) 10182: { 10182: if ( m_dmref[i].m_viewport_id == display_material.m_viewport_id ) 10182: { 10182: m_dmref[i] = display_material; 10182: return true; 10182: } 10182: } 10182: m_dmref.Append(display_material); 10182: } 10182: return rc; 10182: } 10182: 10182: void ON_3dmObjectAttributes::RemoveAllDisplayMaterialRefs() 10182: { 10182: m_dmref.Destroy(); 10182: } 10182: 10182: bool ON_3dmObjectAttributes::RemoveDisplayMaterialRef( 10182: ON_UUID viewport_id, 10182: ON_UUID display_material_id 10182: ) 10182: { 10182: bool rc = false; 10182: int i = m_dmref.Count(); 10182: if ( i > 0 ) 10182: { 10182: const bool bCheckViewportId = !ON_UuidIsNil(viewport_id); 10182: const bool bCheckMaterialId = !ON_UuidIsNil(display_material_id); 10182: if ( bCheckViewportId || bCheckMaterialId ) 10182: { 10182: while(i--) 10182: { 10182: if ( bCheckViewportId && m_dmref[i].m_viewport_id != viewport_id ) 10182: continue; 10182: if ( bCheckMaterialId && m_dmref[i].m_display_material_id != display_material_id ) 10182: continue; 10182: 10182: 10182: rc = true; 10182: m_dmref.Remove(i); 10182: } 10182: } 10182: else 10182: { 10182: 10182: 10182: 10182: while(i--) 10182: { 10182: if ( !ON_UuidIsNil(m_dmref[i].m_viewport_id) 10182: && ON_UuidIsNil(m_dmref[i].m_display_material_id) 10182: ) 10182: { 10182: 10182: rc = true; 10182: m_dmref.Remove(i); 10182: } 10182: } 10182: } 10182: } 10182: return rc; 10182: } 10182: 10182: int ON_3dmObjectAttributes::DisplayMaterialRefCount() const 10182: { 10182: return m_dmref.Count(); 10182: } 10182: 10182: 10182: const ON_UUID ON_DisplayMaterialRef::m_invisible_in_detail_id = 10182: { 0x1403a7e4, 0xe7ad, 0x4a01, { 0xa2, 0xaa, 0x41, 0xda, 0xe6, 0xbe, 0x7e, 0xcb } }; 10182: 10182: 10182: ON_DisplayMaterialRef::ON_DisplayMaterialRef() 10182: { 10182: m_viewport_id = ON_nil_uuid; 10182: m_display_material_id = ON_nil_uuid; 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator==(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)==0); 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator!=(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)!=0); 10182: } 10182: 10182: int ON_DisplayMaterialRef::Compare(const ON_DisplayMaterialRef& other) const 10182: { 10182: int i = ON_UuidCompare(m_viewport_id,other.m_viewport_id); 10182: if (0==i) 10182: i = ON_UuidCompare(m_display_material_id,other.m_display_material_id); 10182: return i; 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator<(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)<0); 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator<=(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)<=0); 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator>(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)>0); 10182: } 10182: 10182: bool ON_DisplayMaterialRef::operator>=(const ON_DisplayMaterialRef& other) const 10182: { 10182: return (Compare(other)>=0); 10182: } === END GCC DUMP === optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/build.make:62: recipe for target 'optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/__/__/external/onurbs/opennurbs_3dm_attributes.cpp.o' failed make[3]: *** [optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/__/__/external/onurbs/opennurbs_3dm_attributes.cpp.o] Error 1 make[3]: Leaving directory '/<>/build_dir' CMakeFiles/Makefile2:2006: recipe for target 'optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/all' failed make[2]: *** [optional/gsOpennurbs/CMakeFiles/gsOpennurbs.dir/all] Error 2 make[2]: Leaving directory '/<>/build_dir' Makefile:140: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/<>/build_dir' debian/rules:7: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-04-12T02:34:44Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: arm64 Build Type: any Build-Space: 80344 Build-Time: 8 Distribution: bionic Fail-Stage: build Host Architecture: arm64 Install-Time: 6 Job: gismo_202404120231-b875896c~ubuntu18.04.1.dsc Machine Architecture: arm64 Package: gismo Package-Time: 14 Source-Version: 202404120231-b875896c~ubuntu18.04.1 Space: 80344 Status: attempted Version: 202404120231-b875896c~ubuntu18.04.1 -------------------------------------------------------------------------------- Finished at 2024-04-12T02:34:44Z Build needed 00:00:14, 80344k disk space E: Build failure (dpkg-buildpackage died) RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=bionic --arch=arm64 PACKAGEBUILD-28050690 Scanning for processes to kill in build PACKAGEBUILD-28050690