[1350] | 1 | |
---|
| 2 | ======= PCon test ======== |
---|
| 3 | |
---|
| 4 | PCone created ! |
---|
| 5 | Variety is G4BREPSolidPolycone |
---|
| 6 | Its parameters are: |
---|
| 7 | Z[0]= -20 Rmin[0]= 30 Rmax[0]= 70 |
---|
| 8 | Z[1]= -10 Rmin[1]= 30 Rmax[1]= 70 |
---|
| 9 | Z[2]= -10 Rmin[2]= 0 Rmax[2]= 70 |
---|
| 10 | Z[3]= 0 Rmin[3]= 0 Rmax[3]= 40 |
---|
| 11 | Z[4]= 10 Rmin[4]= 0 Rmax[4]= 40 |
---|
| 12 | Z[5]= 20 Rmin[5]= 0 Rmax[5]= 80 |
---|
| 13 | Z[6]= 30 Rmin[6]= 40 Rmax[6]= 80 |
---|
| 14 | Z[7]= 40 Rmin[7]= 40 Rmax[7]= 60 |
---|
| 15 | start angle =0 |
---|
| 16 | opening angle =6.28319 |
---|
| 17 | zstart =-20 |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | ================================================== |
---|
| 21 | x=0 y=-100 z=24 is outside |
---|
| 22 | x=0 y=-90 z=24 is outside |
---|
| 23 | x=0 y=-80 z=24 is on the surface |
---|
| 24 | x=0 y=-70 z=24 is inside |
---|
| 25 | x=0 y=-60 z=24 is inside |
---|
| 26 | x=0 y=-50 z=24 is inside |
---|
| 27 | x=0 y=-40 z=24 is inside |
---|
| 28 | x=0 y=-30 z=24 is inside |
---|
| 29 | x=0 y=-20 z=24 is inside |
---|
| 30 | x=0 y=-10 z=24 is outside |
---|
| 31 | x=0 y=0 z=24 is outside |
---|
| 32 | x=0 y=10 z=24 is outside |
---|
| 33 | x=0 y=20 z=24 is inside |
---|
| 34 | x=0 y=30 z=24 is inside |
---|
| 35 | x=0 y=40 z=24 is inside |
---|
| 36 | x=0 y=50 z=24 is inside |
---|
| 37 | x=0 y=60 z=24 is inside |
---|
| 38 | x=0 y=70 z=24 is inside |
---|
| 39 | x=0 y=80 z=24 is on the surface |
---|
| 40 | x=0 y=90 z=24 is outside |
---|
| 41 | x=0 y=100 z=24 is outside |
---|
| 42 | |
---|
| 43 | ================================================== |
---|
| 44 | Pdep is (0, 0, z) |
---|
| 45 | Dir is (1, 1, 0) |
---|
| 46 | x=0 y=0 z=-30 is outside distance to in=9e+99 closest distance to in=10 |
---|
| 47 | x=0 y=0 z=-25 is outside distance to in=9e+99 closest distance to in=5 |
---|
| 48 | x=0 y=0 z=-20 is outside distance to in=30 closest distance to in=0 |
---|
| 49 | x=0 y=0 z=-15 is outside distance to in=30 closest distance to in=5 |
---|
| 50 | x=0 y=0 z=-10 is on the surface |
---|
| 51 | x=0 y=0 z=-5 is inside distance to out=55 closest distance to out=5 |
---|
| 52 | x=0 y=0 z=0 is inside distance to out=40 closest distance to out=10 |
---|
| 53 | x=0 y=0 z=5 is inside distance to out=40 closest distance to out=15 |
---|
| 54 | x=0 y=0 z=10 is inside distance to out=40 closest distance to out=10 |
---|
| 55 | x=0 y=0 z=15 is inside distance to out=60 closest distance to out=5 |
---|
| 56 | x=0 y=0 z=20 is on the surface |
---|
| 57 | x=0 y=0 z=25 is outside distance to in=20 closest distance to in=4.85071 |
---|
| 58 | x=0 y=0 z=30 is outside distance to in=40 closest distance to in=9.70143 |
---|
| 59 | x=0 y=0 z=35 is outside distance to in=40 closest distance to in=5 |
---|
| 60 | x=0 y=0 z=40 is outside distance to in=40 closest distance to in=0 |
---|
| 61 | x=0 y=0 z=45 is outside distance to in=9e+99 closest distance to in=5 |
---|
| 62 | x=0 y=0 z=50 is outside distance to in=9e+99 closest distance to in=10 |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | ================================================== |
---|
| 66 | Pdep is (0, -100, z) |
---|
| 67 | Dir is (0, 1, 0) |
---|
| 68 | z=-30 distance to in=9e+99 closest distance to in=10 |
---|
| 69 | z=-25 distance to in=9e+99 closest distance to in=5 |
---|
| 70 | z=-20 distance to in=30 closest distance to in=0 |
---|
| 71 | z=-15 distance to in=30 closest distance to in=5 |
---|
| 72 | z=-10 distance to in=30 closest distance to in=0 |
---|
| 73 | z=-5 distance to in=45 closest distance to in=5 |
---|
| 74 | z=0 distance to in=60 closest distance to in=10 |
---|
| 75 | z=5 distance to in=60 closest distance to in=15 |
---|
| 76 | z=10 distance to in=60 closest distance to in=20 |
---|
| 77 | z=15 distance to in=40 closest distance to in=20.6155 |
---|
| 78 | z=20 distance to in=20 closest distance to in=20 |
---|
| 79 | z=25 distance to in=20 closest distance to in=15 |
---|
| 80 | z=30 distance to in=20 closest distance to in=10 |
---|
| 81 | z=35 distance to in=30 closest distance to in=5 |
---|
| 82 | z=40 distance to in=40 closest distance to in=0 |
---|
| 83 | z=45 distance to in=9e+99 closest distance to in=5 |
---|
| 84 | z=50 distance to in=9e+99 closest distance to in=10 |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | ================================================== |
---|
| 88 | Pdep is (0, y, -50) |
---|
| 89 | Dir is (0, 0, 1) |
---|
| 90 | y=0 distance to in=40 |
---|
| 91 | y=5 distance to in=40 |
---|
| 92 | y=10 distance to in=40 |
---|
| 93 | y=15 distance to in=40 |
---|
| 94 | y=20 distance to in=40 |
---|
| 95 | y=25 distance to in=40 |
---|
| 96 | y=30 distance to in=30 |
---|
| 97 | y=35 distance to in=30 |
---|
| 98 | y=40 distance to in=30 |
---|
| 99 | y=45 distance to in=30 |
---|
| 100 | y=50 distance to in=30 |
---|
| 101 | y=55 distance to in=30 |
---|
| 102 | y=60 distance to in=30 |
---|
| 103 | y=65 distance to in=30 |
---|
| 104 | y=70 distance to in=40 |
---|
| 105 | y=75 distance to in=68.75 |
---|
| 106 | y=80 distance to in=70 |
---|
| 107 | y=85 distance to in=9e+99 |
---|
| 108 | y=90 distance to in=9e+99 |
---|
| 109 | |
---|
| 110 | CMS case of BREPPolyconeTOBSolid |
---|
| 111 | -------------------------------- |
---|
| 112 | estimation to in =0 |
---|
| 113 | estimation to out =0 |
---|
| 114 | direction x=-0.32132 y=0.1116 z=0.940372 |
---|
| 115 | position x=904.058 y=-761.448 z=-382.294 is on the surface |
---|
| 116 | |
---|
| 117 | Test of In & Out BREPPolyconeTOBSolid |
---|
| 118 | -------------------------------------- |
---|
| 119 | Distance to in=0 Closest distance to in=0 |
---|
| 120 | Distance to out=1693.26 Closest distance to out=0 |
---|
| 121 | |
---|
| 122 | Surface normal |
---|
| 123 | -------------- |
---|
| 124 | position x=904.058 y=-761.448 z=-382.294 |
---|
| 125 | is normX=0.764855 normY=-0.644203 normZ=0 |
---|
| 126 | |
---|
| 127 | surface of BREPPolyconeTOBSolid |
---|
| 128 | -------------------------------- |
---|
| 129 | estimation to in =0 |
---|
| 130 | estimation to out =0 |
---|
| 131 | direction x=-0.32132 y=0.1116 z=0.940372 |
---|
| 132 | position x=541 y=0 z=1210 is on the surface |
---|
| 133 | |
---|
| 134 | Test of In & Out BREPPolyconeTOBSolid |
---|
| 135 | -------------------------------------- |
---|
| 136 | Distance to in=9e+99 Closest distance to in=0 |
---|
| 137 | Distance to out=0 Closest distance to out=0 |
---|
| 138 | |
---|
| 139 | Surface normal |
---|
| 140 | -------------- |
---|
| 141 | position x=541 y=0 z=1210 |
---|
| 142 | is normX=0 normY=0 normZ=1 |
---|
| 143 | |
---|
| 144 | edge of BREPPolyconeTOBSolid |
---|
| 145 | -------------------------------- |
---|
| 146 | estimation to in =0 |
---|
| 147 | estimation to out =0 |
---|
| 148 | direction x=-0.32132 y=0.1116 z=0.940372 |
---|
| 149 | position x=540 y=540 z=-1210 is on the surface |
---|
| 150 | |
---|
| 151 | Test of In & Out BREPPolyconeTOBSolid |
---|
| 152 | -------------------------------------- |
---|
| 153 | Distance to in=0 Closest distance to in=0 |
---|
| 154 | Distance to out=2573.45 Closest distance to out=0 |
---|
| 155 | |
---|
| 156 | Surface normal |
---|
| 157 | -------------- |
---|
| 158 | position x=540 y=540 z=-1210 |
---|
| 159 | is normX=-0 normY=-0 normZ=-1 |
---|
| 160 | |
---|
| 161 | inside of BREPPolyconeTOBSolid |
---|
| 162 | -------------------------------- |
---|
| 163 | estimation to in =0 |
---|
| 164 | estimation to out =0 |
---|
| 165 | direction x=-0.32132 y=0.1116 z=0.940372 |
---|
| 166 | position x=540 y=540 z=-1209 is inside distance to out=2572.39 closest distance to out=1 |
---|
| 167 | |
---|
| 168 | inside of s1 |
---|
| 169 | -------------------------------- |
---|
| 170 | estimation to in =0 |
---|
| 171 | estimation to out =0 |
---|
| 172 | direction x=0 y=0 z=1 |
---|
| 173 | position x=150 y=0 z=0 is inside distance to out=100 closest distance to out=50 |
---|
| 174 | |
---|
| 175 | outside of s1 |
---|
| 176 | -------------------------------- |
---|
| 177 | estimation to in =0 |
---|
| 178 | estimation to out =0 |
---|
| 179 | direction x=1 y=0 z=0 |
---|
| 180 | position x=0 y=0 z=0 is outside distance to in=25 closest distance to in=25 |
---|
| 181 | |
---|
| 182 | edge of s1 |
---|
| 183 | -------------------------------- |
---|
| 184 | estimation to in =0 |
---|
| 185 | estimation to out =400 |
---|
| 186 | direction x=0 y=0 z=1 |
---|
| 187 | position x=50 y=0 z=-200 is on the surface |
---|
| 188 | |
---|
| 189 | Test of In & Out s1 |
---|
| 190 | -------------------------------------- |
---|
| 191 | Distance to in=0 Closest distance to in=0 |
---|
| 192 | Distance to out=100 Closest distance to out=0 |
---|
| 193 | |
---|
| 194 | Surface normal |
---|
| 195 | -------------- |
---|
| 196 | position x=50 y=0 z=-200 |
---|
| 197 | is normX=-1 normY=-0 normZ=-0 |
---|
| 198 | |
---|
| 199 | outer surface of s1 |
---|
| 200 | -------------------------------- |
---|
| 201 | estimation to in =0 |
---|
| 202 | estimation to out =100 |
---|
| 203 | direction x=-1 y=0 z=0 |
---|
| 204 | position x=200 y=0 z=0 is on the surface |
---|
| 205 | |
---|
| 206 | Test of In & Out s1 |
---|
| 207 | -------------------------------------- |
---|
| 208 | Distance to in=0 Closest distance to in=0 |
---|
| 209 | Distance to out=175 Closest distance to out=0 |
---|
| 210 | |
---|
| 211 | Surface normal |
---|
| 212 | -------------- |
---|
| 213 | position x=200 y=0 z=0 |
---|
| 214 | is normX=1 normY=0 normZ=0 |
---|
| 215 | |
---|
| 216 | inner surface of s1 |
---|
| 217 | -------------------------------- |
---|
| 218 | estimation to in =0 |
---|
| 219 | estimation to out =175 |
---|
| 220 | direction x=0 y=1 z=0 |
---|
| 221 | position x=0 y=25 z=0 is on the surface |
---|
| 222 | |
---|
| 223 | Test of In & Out s1 |
---|
| 224 | -------------------------------------- |
---|
| 225 | Distance to in=0 Closest distance to in=0 |
---|
| 226 | Distance to out=175 Closest distance to out=0 |
---|
| 227 | |
---|
| 228 | Surface normal |
---|
| 229 | -------------- |
---|
| 230 | position x=0 y=25 z=0 |
---|
| 231 | is normX=-0 normY=-1 normZ=-0 |
---|
| 232 | |
---|
| 233 | left outer planar surface of s1 |
---|
| 234 | -------------------------------- |
---|
| 235 | estimation to in =0 |
---|
| 236 | estimation to out =200 |
---|
| 237 | direction x=0 y=0 z=1 |
---|
| 238 | position x=150 y=0 z=-100 is on the surface |
---|
| 239 | |
---|
| 240 | Test of In & Out s1 |
---|
| 241 | -------------------------------------- |
---|
| 242 | Distance to in=0 Closest distance to in=0 |
---|
| 243 | Distance to out=200 Closest distance to out=0 |
---|
| 244 | |
---|
| 245 | Surface normal |
---|
| 246 | -------------- |
---|
| 247 | position x=150 y=0 z=-100 |
---|
| 248 | is normX=-0 normY=-0 normZ=-1 |
---|
| 249 | |
---|
| 250 | left outer planar surface inv of s1 |
---|
| 251 | -------------------------------- |
---|
| 252 | estimation to in =9e+99 |
---|
| 253 | estimation to out =0 |
---|
| 254 | direction x=0 y=0 z=-1 |
---|
| 255 | position x=150 y=0 z=-100 is on the surface |
---|
| 256 | |
---|
| 257 | Test of In & Out s1 |
---|
| 258 | -------------------------------------- |
---|
| 259 | Distance to in=9e+99 Closest distance to in=0 |
---|
| 260 | Distance to out=0 Closest distance to out=0 |
---|
| 261 | |
---|
| 262 | Surface normal |
---|
| 263 | -------------- |
---|
| 264 | position x=150 y=0 z=-100 |
---|
| 265 | is normX=-0 normY=-0 normZ=-1 |
---|
| 266 | |
---|
| 267 | fictious left planar surface of s1 |
---|
| 268 | -------------------------------- |
---|
| 269 | estimation to in =9e+99 |
---|
| 270 | estimation to out =25 |
---|
| 271 | direction x=0 y=0 z=1 |
---|
| 272 | position x=0 y=0 z=-100 is outside distance to in=9e+99 closest distance to in=0 |
---|
| 273 | |
---|
| 274 | fictious left planar surface inv of s1 |
---|
| 275 | -------------------------------- |
---|
| 276 | estimation to in =9e+99 |
---|
| 277 | estimation to out =25 |
---|
| 278 | direction x=0 y=0 z=-1 |
---|
| 279 | position x=0 y=0 z=-100 is outside distance to in=9e+99 closest distance to in=0 |
---|
| 280 | |
---|
| 281 | left inner planar surface of s1 |
---|
| 282 | -------------------------------- |
---|
| 283 | estimation to in =0 |
---|
| 284 | estimation to out =200 |
---|
| 285 | direction x=0 y=0 z=1 |
---|
| 286 | position x=30 y=0 z=-100 is on the surface |
---|
| 287 | |
---|
| 288 | Test of In & Out s1 |
---|
| 289 | -------------------------------------- |
---|
| 290 | Distance to in=0 Closest distance to in=0 |
---|
| 291 | Distance to out=200 Closest distance to out=0 |
---|
| 292 | |
---|
| 293 | Surface normal |
---|
| 294 | -------------- |
---|
| 295 | position x=30 y=0 z=-100 |
---|
| 296 | is normX=-0 normY=-0 normZ=-1 |
---|
| 297 | |
---|
| 298 | left inner planar surface inv of s1 |
---|
| 299 | -------------------------------- |
---|
| 300 | estimation to in =9e+99 |
---|
| 301 | estimation to out =0 |
---|
| 302 | direction x=0 y=0 z=-1 |
---|
| 303 | position x=30 y=0 z=-100 is on the surface |
---|
| 304 | |
---|
| 305 | Test of In & Out s1 |
---|
| 306 | -------------------------------------- |
---|
| 307 | Distance to in=9e+99 Closest distance to in=0 |
---|
| 308 | Distance to out=0 Closest distance to out=0 |
---|
| 309 | |
---|
| 310 | Surface normal |
---|
| 311 | -------------- |
---|
| 312 | position x=30 y=0 z=-100 |
---|
| 313 | is normX=-0 normY=-0 normZ=-1 |
---|
| 314 | |
---|
| 315 | right planar surface of s1 |
---|
| 316 | -------------------------------- |
---|
| 317 | estimation to in =0 |
---|
| 318 | estimation to out =200 |
---|
| 319 | direction x=0 y=0 z=-1 |
---|
| 320 | position x=150 y=0 z=100 is on the surface |
---|
| 321 | |
---|
| 322 | Test of In & Out s1 |
---|
| 323 | -------------------------------------- |
---|
| 324 | Distance to in=0 Closest distance to in=0 |
---|
| 325 | Distance to out=200 Closest distance to out=0 |
---|
| 326 | |
---|
| 327 | Surface normal |
---|
| 328 | -------------- |
---|
| 329 | position x=150 y=0 z=100 |
---|
| 330 | is normX=0 normY=0 normZ=1 |
---|
| 331 | |
---|
| 332 | right planar surface inv of s1 |
---|
| 333 | -------------------------------- |
---|
| 334 | estimation to in =0 |
---|
| 335 | estimation to out =0 |
---|
| 336 | direction x=0 y=0 z=1 |
---|
| 337 | position x=150 y=0 z=100 is on the surface |
---|
| 338 | |
---|
| 339 | Test of In & Out s1 |
---|
| 340 | -------------------------------------- |
---|
| 341 | Distance to in=9e+99 Closest distance to in=0 |
---|
| 342 | Distance to out=0 Closest distance to out=0 |
---|
| 343 | |
---|
| 344 | Surface normal |
---|
| 345 | -------------- |
---|
| 346 | position x=150 y=0 z=100 |
---|
| 347 | is normX=0 normY=0 normZ=1 |
---|