CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 11:30:27 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/facebookresearch/pytorch3d.git
etag: W/"b332937a8453ecf75bef9a1db9f2295b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=RWlwv7%2BZ4jm%2Fq2yV6%2FciFIllk%2BFGJu5%2F%2F4rwb5UsUYKRylJBmobT6V%2FO8FqLcL1THmtK3uNbQReKRAuy%2BEv643hM%2FiFrYEnXH4f0%2FKqlUKICwUefdcf3tKGggwLFi1rQU%2FKVmtxBq7jB%2FJAkKqAXg9ebuZjdb96omyLTWJG79fkVfOxH2HGP2QqiY5ik5WLt9%2Br2DgDWhelwW4D8XRmlO4F2FF%2FmAHm5WDnbWKZNjGcntMZ5BAcqmsQVVdQIwFJFwUOGRI7eG4Mr1lQc25ye4g%3D%3D--upjaL9KY8T1ST2QL--eNuC1vVU62Y6QR%2BE8%2B9pzw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.941134567.1753615827; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:30:27 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:30:27 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C83A:37D5F1:D9C2AE:11FC136:68860DD3
add min_triangle_area argument to IsInsideTriangle · facebookresearch/pytorch3d@471b126 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/csrc/point_mesh/point_mesh_cpu.cpp
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 471b126
add min_triangle_area argument to IsInsideTriangle
Summary:
1. changed IsInsideTriangle in geometry_utils to take in min_triangle_area parameter instead of hardcoded value
2. updated point_mesh_cpu.cpp and point_mesh_cuda.[h/cu] to adapt to changes in geometry_utils function signatures
3. updated point_mesh_distance.py and test_point_mesh_distance.py to modify _C. calls
Reviewed By: bottler
Differential Revision: D34459764
fbshipit-source-id: 0549e78713c6d68f03d85fb597a13dd88e09b6861 parent 4d043fc commit 471b126Copy full SHA for 471b126
File tree
Expand file treeCollapse file tree
7 files changed
+344
-134
lines changedFilter options
- pytorch3d
- csrc
- point_mesh
- utils
- loss
- tests
Expand file treeCollapse file tree
7 files changed
+344
-134
lines changedpytorch3d/csrc/point_mesh/point_mesh_cpu.cpp
Copy file name to clipboardExpand all lines: pytorch3d/csrc/point_mesh/point_mesh_cpu.cpp+72-42Lines changed: 72 additions & 42 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
67 |
| - | |
| 68 | + | |
| 69 | + | |
68 | 70 |
| |
69 | 71 |
| |
70 |
| - | |
| 72 | + | |
71 | 73 |
| |
72 | 74 |
| |
73 | 75 |
| |
74 | 76 |
| |
75 |
| - | |
76 |
| - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 |
| |
78 | 81 |
| |
79 | 82 |
| |
80 | 83 |
| |
81 |
| - | |
82 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 |
| |
84 | 88 |
| |
85 | 89 |
| |
| |||
88 | 92 |
| |
89 | 93 |
| |
90 | 94 |
| |
91 |
| - | |
| 95 | + | |
| 96 | + | |
92 | 97 |
| |
93 | 98 |
| |
94 | 99 |
| |
| |||
102 | 107 |
| |
103 | 108 |
| |
104 | 109 |
| |
105 |
| - | |
| 110 | + | |
| 111 | + | |
106 | 112 |
| |
107 | 113 |
| |
108 |
| - | |
| 114 | + | |
109 | 115 |
| |
110 | 116 |
| |
111 | 117 |
| |
| |||
117 | 123 |
| |
118 | 124 |
| |
119 | 125 |
| |
120 |
| - | |
| 126 | + | |
| 127 | + | |
121 | 128 |
| |
122 |
| - | |
| 129 | + | |
123 | 130 |
| |
124 | 131 |
| |
125 | 132 |
| |
126 | 133 |
| |
127 | 134 |
| |
128 | 135 |
| |
129 | 136 |
| |
130 |
| - | |
| 137 | + | |
| 138 | + | |
131 | 139 |
| |
132 |
| - | |
| 140 | + | |
133 | 141 |
| |
134 | 142 |
| |
135 | 143 |
| |
| |||
150 | 158 |
| |
151 | 159 |
| |
152 | 160 |
| |
153 |
| - | |
| 161 | + | |
| 162 | + | |
154 | 163 |
| |
155 | 164 |
| |
156 | 165 |
| |
| |||
190 | 199 |
| |
191 | 200 |
| |
192 | 201 |
| |
193 |
| - | |
| 202 | + | |
| 203 | + | |
194 | 204 |
| |
195 | 205 |
| |
196 | 206 |
| |
| |||
208 | 218 |
| |
209 | 219 |
| |
210 | 220 |
| |
211 |
| - | |
| 221 | + | |
| 222 | + | |
212 | 223 |
| |
213 | 224 |
| |
214 | 225 |
| |
| |||
230 | 241 |
| |
231 | 242 |
| |
232 | 243 |
| |
233 |
| - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
234 | 250 |
| |
235 | 251 |
| |
236 | 252 |
| |
237 | 253 |
| |
238 | 254 |
| |
239 | 255 |
| |
240 | 256 |
| |
241 |
| - | |
| 257 | + | |
| 258 | + | |
242 | 259 |
| |
243 | 260 |
| |
244 | 261 |
| |
| |||
254 | 271 |
| |
255 | 272 |
| |
256 | 273 |
| |
257 |
| - | |
| 274 | + | |
258 | 275 |
| |
259 | 276 |
| |
260 | 277 |
| |
| |||
264 | 281 |
| |
265 | 282 |
| |
266 | 283 |
| |
267 |
| - | |
| 284 | + | |
| 285 | + | |
268 | 286 |
| |
269 | 287 |
| |
270 | 288 |
| |
| |||
287 | 305 |
| |
288 | 306 |
| |
289 | 307 |
| |
290 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
291 | 314 |
| |
292 | 315 |
| |
293 | 316 |
| |
| |||
299 | 322 |
| |
300 | 323 |
| |
301 | 324 |
| |
302 |
| - | |
| 325 | + | |
| 326 | + | |
303 | 327 |
| |
304 |
| - | |
| 328 | + | |
305 | 329 |
| |
306 | 330 |
| |
307 | 331 |
| |
308 | 332 |
| |
309 | 333 |
| |
310 | 334 |
| |
311 |
| - | |
| 335 | + | |
| 336 | + | |
312 | 337 |
| |
313 |
| - | |
| 338 | + | |
314 | 339 |
| |
315 | 340 |
| |
316 | 341 |
| |
317 | 342 |
| |
318 | 343 |
| |
319 | 344 |
| |
320 |
| - | |
| 345 | + | |
| 346 | + | |
321 | 347 |
| |
322 |
| - | |
| 348 | + | |
323 | 349 |
| |
324 | 350 |
| |
325 | 351 |
| |
326 | 352 |
| |
327 | 353 |
| |
328 | 354 |
| |
329 |
| - | |
330 |
| - | |
331 |
| - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
332 | 359 |
| |
333 | 360 |
| |
334 | 361 |
| |
335 | 362 |
| |
336 | 363 |
| |
337 | 364 |
| |
338 |
| - | |
| 365 | + | |
339 | 366 |
| |
340 | 367 |
| |
341 | 368 |
| |
342 | 369 |
| |
343 | 370 |
| |
344 |
| - | |
345 |
| - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
346 | 375 |
| |
347 | 376 |
| |
348 | 377 |
| |
349 | 378 |
| |
350 |
| - | |
351 |
| - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
352 | 382 |
| |
353 | 383 |
| |
354 | 384 |
| |
355 | 385 |
| |
356 | 386 |
| |
357 | 387 |
| |
358 |
| - | |
| 388 | + | |
359 | 389 |
| |
360 | 390 |
| |
361 | 391 |
| |
| |||
365 | 395 |
| |
366 | 396 |
| |
367 | 397 |
| |
368 |
| - | |
| 398 | + | |
369 | 399 |
| |
370 | 400 |
| |
371 | 401 |
| |
| |||
374 | 404 |
| |
375 | 405 |
| |
376 | 406 |
| |
377 |
| - | |
| 407 | + | |
378 | 408 |
| |
379 | 409 |
| |
380 | 410 |
| |
| |||
384 | 414 |
| |
385 | 415 |
| |
386 | 416 |
| |
387 |
| - | |
| 417 | + | |
388 | 418 |
| |
389 | 419 |
| |
390 | 420 |
| |
391 | 421 |
| |
392 | 422 |
| |
393 | 423 |
| |
394 | 424 |
| |
395 |
| - | |
396 |
| - | |
| 425 | + | |
| 426 | + | |
397 | 427 |
| |
398 | 428 |
|
You can’t perform that action at this time.
0 commit comments