ndcurves 2.1.0
create and manipulate spline and bezier curves.
Loading...
Searching...
No Matches
ndcurves::curve_constraints< Point > Struct Template Reference

#include <ndcurves/curve_constraint.h>

Inheritance diagram for ndcurves::curve_constraints< Point >:
ndcurves::serialization::Serializablendcurves::optimization::problem_definition< Point, Numeric >

Public Types

typedef Point point_t

Public Member Functions

 curve_constraints (const size_t dim=3)
 curve_constraints (const curve_constraints &other)
virtual bool operator== (const curve_constraints &other) const
 Check if actual curve_constraints and other are equal.
virtual bool operator!= (const curve_constraints &other) const
 Check if actual curve_constraint and other are different.
virtual ~curve_constraints ()
template<class Archive>
void serialize (Archive &ar, const unsigned int version)
Public Member Functions inherited from ndcurves::serialization::Serializable
template<class Derived>
void loadFromText (const std::string &filename)
 Loads a Derived object from a text file.
template<class Derived>
void saveAsText (const std::string &filename) const
 Saved a Derived object as a text file.
template<class Derived>
void loadFromXML (const std::string &filename, const std::string &tag_name)
 Loads a Derived object from an XML file.
template<class Derived>
void saveAsXML (const std::string &filename, const std::string &tag_name) const
 Saved a Derived object as an XML file.
template<class Derived>
void loadFromBinary (const std::string &filename)
 Loads a Derived object from an binary file.
template<class Derived>
void saveAsBinary (const std::string &filename) const
 Saved a Derived object as an binary file.

Public Attributes

point_t init_vel
point_t init_acc
point_t init_jerk
point_t end_vel
point_t end_acc
point_t end_jerk
size_t dim_

Friends

class boost::serialization::access

Member Typedef Documentation

◆ point_t

template<typename Point>
typedef Point ndcurves::curve_constraints< Point >::point_t

Constructor & Destructor Documentation

◆ curve_constraints() [1/2]

template<typename Point>
ndcurves::curve_constraints< Point >::curve_constraints(const size_tdim = 3)
inline

◆ curve_constraints() [2/2]

template<typename Point>
ndcurves::curve_constraints< Point >::curve_constraints(const curve_constraints< Point > &other)
inline

◆ ~curve_constraints()

template<typename Point>
virtual ndcurves::curve_constraints< Point >::~curve_constraints()
inlinevirtual

Member Function Documentation

◆ operator!=()

template<typename Point>
virtual bool ndcurves::curve_constraints< Point >::operator!=(const curve_constraints< Point > &other)const
inlinevirtual

Check if actual curve_constraint and other are different.

Parameters
other: the other curve_constraint to check.
Returns
true if the two curve_constraint are different.

◆ operator==()

template<typename Point>
virtual bool ndcurves::curve_constraints< Point >::operator==(const curve_constraints< Point > &other)const
inlinevirtual

Check if actual curve_constraints and other are equal.

Parameters
other: the other curve_constraints to check.
Returns
true if the two curve_constraints are equals.

◆ serialize()

template<typename Point>
template<class Archive>
void ndcurves::curve_constraints< Point >::serialize(Archive &ar,
const unsigned intversion )
inline

◆ boost::serialization::access

template<typename Point>
friend class boost::serialization::access
friend

Member Data Documentation

◆ dim_

template<typename Point>
size_t ndcurves::curve_constraints< Point >::dim_

◆ end_acc

template<typename Point>
point_t ndcurves::curve_constraints< Point >::end_acc

◆ end_jerk

template<typename Point>
point_t ndcurves::curve_constraints< Point >::end_jerk

◆ end_vel

template<typename Point>
point_t ndcurves::curve_constraints< Point >::end_vel

◆ init_acc

template<typename Point>
point_t ndcurves::curve_constraints< Point >::init_acc

◆ init_jerk

template<typename Point>
point_t ndcurves::curve_constraints< Point >::init_jerk

◆ init_vel

template<typename Point>
point_t ndcurves::curve_constraints< Point >::init_vel

The documentation for this struct was generated from the following file: