Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
ndcurves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
loco-3d
ndcurves
Commits
27fdaeef
Commit
27fdaeef
authored
5 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
[doc][python] add argument names for polynomials constructors
parent
2c7830b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/curves_python.cpp
+3
-3
3 additions, 3 deletions
python/curves_python.cpp
with
3 additions
and
3 deletions
python/curves_python.cpp
+
3
−
3
View file @
27fdaeef
...
...
@@ -297,11 +297,11 @@ namespace curves
/** END variable points bezier curve**/
/** BEGIN polynomial curve function**/
class_
<
polynomial_t
>
(
"polynomial"
,
init
<>
())
.
def
(
"__init__"
,
make_constructor
(
&
wrap
Polynomial
Constructor1
),
.
def
(
"__init__"
,
make_constructor
(
&
wrap
Spline
Constructor1
,
default_call_policies
(),
args
(
"coeffs"
,
"min"
,
"max"
)
),
"Create polynomial spline from an Eigen matrix of coefficient defined for t \in [min,max]."
" The matrix should contain one coefficient per column, from the zero order coefficient,up to the highest order."
" Spline order is given by the number of the columns -1."
)
.
def
(
"__init__"
,
make_constructor
(
&
wrap
Polynomial
Constructor2
),
.
def
(
"__init__"
,
make_constructor
(
&
wrap
Spline
Constructor2
,
default_call_policies
(),
arg
(
"coeffs"
)
),
"Create polynomial spline from an Eigen matrix of coefficient defined for t \in [0,1]."
" The matrix should contain one coefficient per column, from the zero order coefficient,up to the highest order."
" Spline order is given by the number of the columns -1."
)
...
...
@@ -324,7 +324,7 @@ namespace curves
/** BEGIN piecewise curve function **/
class_
<
piecewise_polynomial_curve_t
>
(
"piecewise_polynomial_curve"
,
init
<>
())
.
def
(
"__init__"
,
make_constructor
(
&
wrapPiecewisePolynomialCurveConstructor
),
.
def
(
"__init__"
,
make_constructor
(
&
wrapPiecewisePolynomialCurveConstructor
,
default_call_policies
(),
arg
(
"curve"
)
),
"Create a peicewise-polynomial curve containing the given polynomial curve."
)
.
def
(
"min"
,
&
piecewise_polynomial_curve_t
::
min
,
"Set the LOWER bound on interval definition of the curve."
)
.
def
(
"max"
,
&
piecewise_polynomial_curve_t
::
max
,
"Set the HIGHER bound on interval definition of the curve."
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment