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 {
/// The condition constraints should therefore be the constraints of
/// the target state of the level set edge.
///
/// \sa LevelSetEdge::insertConditionConstraint
/// \sa LevelSetEdge::conditionConstraints
/// LevelSetEdge::insertConditionConstraint
LeafHistogramPtr_t histogram () const;
/// \name Foliation definition
......@@ -545,11 +546,17 @@ namespace hpp {
void insertParamConstraint (const ImplicitPtr_t& nm,
const segments_t& passiveDofs = segments_t ());
/// Get constraints parameterizing the target state foliation
const NumericalConstraints_t& paramConstraints() const;
/// Insert a condition constraint
/// \sa LevelSetEdge::histogram
void insertConditionConstraint (const ImplicitPtr_t& nm,
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.
......
......@@ -822,6 +822,11 @@ namespace hpp {
paramPassiveDofs_.push_back (passiveDofs);
}
const NumericalConstraints_t& LevelSetEdge::paramConstraints() const
{
return paramNumericalConstraints_;
}
void LevelSetEdge::insertConditionConstraint
(const constraints::ImplicitPtr_t& nm,
const segments_t& passiveDofs)
......@@ -831,6 +836,11 @@ namespace hpp {
condPassiveDofs_.push_back (passiveDofs);
}
const NumericalConstraints_t& LevelSetEdge::conditionConstraints() const
{
return condNumericalConstraints_;
}
LevelSetEdge::LevelSetEdge
(const std::string& 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