Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
curves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Jason Chemin
curves
Commits
46775a79
Commit
46775a79
authored
5 years ago
by
JasonChmn
Browse files
Options
Downloads
Patches
Plain Diff
Edit doc on bezier_polynom_conversion and curve_abc
parent
a434b747
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/curves/bezier_polynom_conversion.h
+3
-3
3 additions, 3 deletions
include/curves/bezier_polynom_conversion.h
include/curves/curve_abc.h
+10
-10
10 additions, 10 deletions
include/curves/curve_abc.h
with
13 additions
and
13 deletions
include/curves/bezier_polynom_conversion.h
+
3
−
3
View file @
46775a79
...
...
@@ -50,9 +50,9 @@ Polynom from_bezier(const Bezier& curve)
return
Polynom
(
coefficients
,
curve
.
min
(),
curve
.
max
());
}
///\brief Converts a polynom to a Bezier curve
///\param polynom: the polynom to
be
convert
ed from
///\return
t
he equivalent Bezier curve
///\brief Converts a polynom to a Bezier curve
.
///\param polynom: the polynom to convert
.
///\return
T
he equivalent Bezier curve
.
/*template<typename Bezier, typename Polynom>
Bezier from_polynom(const Polynom& polynom)
{
...
...
This diff is collapsed.
Click to expand it.
include/curves/curve_abc.h
+
10
−
10
View file @
46775a79
...
...
@@ -18,9 +18,9 @@
namespace
curves
{
/// \struct curve_abc
/// \brief Represents a curve of dimension Dim
///
is
Safe is false, no verification is made on the evaluation of the curve.
/// \struct curve_abc
.
/// \brief Represents a curve of dimension Dim
.
///
If parameter
Safe is false, no verification is made on the evaluation of the curve.
template
<
typename
Time
=
double
,
typename
Numeric
=
Time
,
std
::
size_t
Dim
=
3
,
bool
Safe
=
false
,
typename
Point
=
Eigen
::
Matrix
<
Numeric
,
Dim
,
1
>
>
struct
curve_abc
:
std
::
unary_function
<
Time
,
Point
>
...
...
@@ -30,25 +30,25 @@ struct curve_abc : std::unary_function<Time, Point>
/* Constructors - destructors */
public:
///\brief Constructor
///
\brief Constructor
.
curve_abc
(){}
///\brief Destructor
///
\brief Destructor
.
virtual
~
curve_abc
(){}
/* Constructors - destructors */
/*Operations*/
public
:
/// \brief Evaluation of the cubic spline at time t.
/// \param t :
the
time when to evaluate the spine
/// \
param
return
: the value x(t)
/// \param t : time when to evaluate the spine
/// \return
Point corresponding on curve at time t.
virtual
point_t
operator
()(
const
time_t
t
)
const
=
0
;
/// \brief Evaluation of the derivative spline at time t.
/// \param t :
the
time when to evaluate the spline
/// \param order : order of the derivative
/// \
param
return
: the value x(t)
/// \param t : time when to evaluate the spline
.
/// \param order : order of the derivative
.
/// \return
Point corresponding on curve at time t.
virtual
point_t
derivate
(
const
time_t
t
,
const
std
::
size_t
order
)
const
=
0
;
/*Operations*/
...
...
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