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
pinocchio
Commits
1f4900b1
Commit
1f4900b1
authored
Jan 24, 2017
by
jcarpent
Browse files
[Python] Move enum GeometryType to GeometryObject
parent
9d2448f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-model.hpp
View file @
1f4900b1
//
// Copyright (c) 2015-201
6
CNRS
// Copyright (c) 2015-201
7
CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
...
...
@@ -84,12 +84,6 @@ namespace se3
/* --- Expose --------------------------------------------------------- */
static
void
expose
()
{
bp
::
enum_
<
GeometryType
>
(
"GeometryType"
)
.
value
(
"VISUAL"
,
VISUAL
)
.
value
(
"COLLISION"
,
COLLISION
)
;
bp
::
class_
<
GeometryModel
>
(
"GeometryModel"
,
"Geometry model (const)"
,
bp
::
no_init
)
...
...
bindings/python/multibody/geometry-object.hpp
View file @
1f4900b1
//
// Copyright (c) 201
6
CNRS
// Copyright (c) 201
7
CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
...
...
@@ -63,6 +63,11 @@ namespace se3
)
.
def
(
GeometryObjectPythonVisitor
())
;
bp
::
enum_
<
GeometryType
>
(
"GeometryType"
)
.
value
(
"VISUAL"
,
VISUAL
)
.
value
(
"COLLISION"
,
COLLISION
)
;
}
};
...
...
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