Skip to content
Snippets Groups Projects
Commit e59f37d2 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

[LevelSetEdge] Add read access to condition parameterization constraints.

parent 76c9122b
No related branches found
No related tags found
No related merge requests found
...@@ -532,7 +532,8 @@ namespace hpp { ...@@ -532,7 +532,8 @@ namespace hpp {
/// The condition constraints should therefore be the constraints of /// The condition constraints should therefore be the constraints of
/// the target state of the level set edge. /// the target state of the level set edge.
/// ///
/// \sa LevelSetEdge::insertConditionConstraint /// \sa LevelSetEdge::conditionConstraints
/// LevelSetEdge::insertConditionConstraint
LeafHistogramPtr_t histogram () const; LeafHistogramPtr_t histogram () const;
/// \name Foliation definition /// \name Foliation definition
...@@ -545,11 +546,17 @@ namespace hpp { ...@@ -545,11 +546,17 @@ namespace hpp {
void insertParamConstraint (const ImplicitPtr_t& nm, void insertParamConstraint (const ImplicitPtr_t& nm,
const segments_t& passiveDofs = segments_t ()); const segments_t& passiveDofs = segments_t ());
/// Get constraints parameterizing the target state foliation
const NumericalConstraints_t& paramConstraints() const;
/// Insert a condition constraint /// Insert a condition constraint
/// \sa LevelSetEdge::histogram /// \sa LevelSetEdge::histogram
void insertConditionConstraint (const ImplicitPtr_t& nm, void insertConditionConstraint (const ImplicitPtr_t& nm,
const segments_t& passiveDofs = segments_t ()); const segments_t& passiveDofs = segments_t ());
/// Get constraints parameterizing the target state foliation
/// \sa LevelSetEdge::histogram
const NumericalConstraints_t& conditionConstraints() const;
/// \} /// \}
/// Print the object in a stream. /// Print the object in a stream.
......
...@@ -822,6 +822,11 @@ namespace hpp { ...@@ -822,6 +822,11 @@ namespace hpp {
paramPassiveDofs_.push_back (passiveDofs); paramPassiveDofs_.push_back (passiveDofs);
} }
const NumericalConstraints_t& LevelSetEdge::paramConstraints() const
{
return paramNumericalConstraints_;
}
void LevelSetEdge::insertConditionConstraint void LevelSetEdge::insertConditionConstraint
(const constraints::ImplicitPtr_t& nm, (const constraints::ImplicitPtr_t& nm,
const segments_t& passiveDofs) const segments_t& passiveDofs)
...@@ -831,6 +836,11 @@ namespace hpp { ...@@ -831,6 +836,11 @@ namespace hpp {
condPassiveDofs_.push_back (passiveDofs); condPassiveDofs_.push_back (passiveDofs);
} }
const NumericalConstraints_t& LevelSetEdge::conditionConstraints() const
{
return condNumericalConstraints_;
}
LevelSetEdge::LevelSetEdge LevelSetEdge::LevelSetEdge
(const std::string& name) : (const std::string& name) :
Edge (name) Edge (name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment