Sketcher: Constraints - add ability to generate constraint type string
This commit is contained in:
committed by
abdullahtahiriyo
parent
ee66417a57
commit
ad23b275a1
@@ -228,3 +228,13 @@ void Constraint::substituteIndex(int fromGeoId, int toGeoId)
|
||||
this->Third = toGeoId;
|
||||
}
|
||||
}
|
||||
|
||||
std::string Constraint::typeToString(ConstraintType type)
|
||||
{
|
||||
return type2str[type];
|
||||
}
|
||||
|
||||
std::string Constraint::internalAlignmentTypeToString(InternalAlignmentType alignment)
|
||||
{
|
||||
return internalAlignmentType2str[alignment];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user