Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
d74b4c37
Verified
Commit
d74b4c37
authored
Jan 27, 2020
by
Justin Carpentier
Browse files
python: add doc for BVHModelBase
parent
abcdb7e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/collision-geometries.cc
View file @
d74b4c37
...
...
@@ -320,8 +320,10 @@ void exposeCollisionGeometries ()
class_
<
BVHModelBase
,
bases
<
CollisionGeometry
>
,
BVHModelPtr_t
,
noncopyable
>
(
"BVHModelBase"
,
no_init
)
.
def
(
"vertices"
,
&
BVHModelBaseWrapper
::
vertices
)
.
def
(
"tri_indices"
,
&
BVHModelBaseWrapper
::
tri_indices
)
.
def
(
"vertices"
,
&
BVHModelBaseWrapper
::
vertices
,
bp
::
args
(
"self"
,
"index"
),
"Retrieve the vertex given by its index."
)
.
def
(
"tri_indices"
,
&
BVHModelBaseWrapper
::
tri_indices
,
bp
::
args
(
"self"
,
"index"
),
"Retrieve the triangle given by its index."
)
.
def_readonly
(
"num_vertices"
,
&
BVHModelBase
::
num_vertices
)
.
def_readonly
(
"num_tris"
,
&
BVHModelBase
::
num_tris
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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