** \brief Boolean Curve Implementation File
**
** $Id: booleancurve.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
** \brief Boolean Curve Implementation File
**
** $Id: booleancurve.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $
for(int i = 0; i < size; ++i)
{
regions.push_back(vector<BLinePoint>(vlist[i].get_list().begin(),vlist[i].get_list().end()));
}
return true;
}
for(int i = 0; i < size; ++i)
{
regions.push_back(vector<BLinePoint>(vlist[i].get_list().begin(),vlist[i].get_list().end()));
}
return true;
}
return Layer_Shape::set_param(param,value);
}
ValueBase BooleanCurve::get_param(const String & param)const
{
EXPORT(regions);
return Layer_Shape::set_param(param,value);
}
ValueBase BooleanCurve::get_param(const String & param)const
{
EXPORT(regions);
return Layer_Shape::get_param(param);
}
Layer::Vocab BooleanCurve::get_param_vocab()const
{
Layer::Vocab ret(Layer_Shape::get_param_vocab());
return Layer_Shape::get_param(param);
}
Layer::Vocab BooleanCurve::get_param_vocab()const
{
Layer::Vocab ret(Layer_Shape::get_param_vocab());
ret.push_back(ParamDesc("regions")
.set_local_name(_("Region Set"))
.set_description(_("Set of regions to combine"))
);
ret.push_back(ParamDesc("regions")
.set_local_name(_("Region Set"))
.set_description(_("Set of regions to combine"))
);