Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
cubvh
Commits
1b9b10da
Commit
1b9b10da
authored
Dec 03, 2022
by
ashawkey
Browse files
update readme
parent
b7440e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
readme.md
readme.md
+1
-1
No files found.
readme.md
View file @
1b9b10da
...
@@ -35,7 +35,7 @@ points # [N, 3]
...
@@ -35,7 +35,7 @@ points # [N, 3]
# uvw is the barycentric corrdinates of the closest point on the closest face (None if `return_uvw` is False).
# uvw is the barycentric corrdinates of the closest point on the closest face (None if `return_uvw` is False).
distances
,
face_id
,
uvw
=
BVH
.
unsigned_distance
(
points
,
return_uvw
=
True
)
# [N], [N], [N, 3]
distances
,
face_id
,
uvw
=
BVH
.
unsigned_distance
(
points
,
return_uvw
=
True
)
# [N], [N], [N, 3]
### query signed distance (INNER is NEG
E
TIVE!)
### query signed distance (INNER is NEG
A
TIVE!)
# for watertight meshes (default)
# for watertight meshes (default)
distances
,
face_id
,
uvw
=
BVH
.
signed_distance
(
points
,
return_uvw
=
True
,
mode
=
'watertight'
)
# [N], [N], [N, 3]
distances
,
face_id
,
uvw
=
BVH
.
signed_distance
(
points
,
return_uvw
=
True
,
mode
=
'watertight'
)
# [N], [N], [N, 3]
# for non-watertight meshes:
# for non-watertight meshes:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment