/// \param thePrevious the previous presentation
GET_CONSTRAINT_PRS(coincidentConstraint)
-#define GET_CONSTRAINT2_PRS(NAME) \
- static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \
- const std::shared_ptr<GeomAPI_Ax3>& thePlane, \
- AISObjectPtr thePrevious);
-
- /// Creates angle constraint presentation
+ /// Creates length dimension presentation
/// \param theConstraint the constraint
/// \param thePlane the current sketch plane
/// \param thePrevious the previous presentation
- GET_CONSTRAINT2_PRS(angleConstraint)
+ GET_CONSTRAINT_PRS(lengthDimensionConstraint)
- /// Creates length dimension presentation
+ /// Creates angle constraint presentation
/// \param theConstraint the constraint
/// \param thePlane the current sketch plane
/// \param thePrevious the previous presentation
- GET_CONSTRAINT2_PRS(lengthDimensionConstraint)
+ GET_CONSTRAINT_PRS(angleConstraint)
/// Creates radius dimension presentation
/// \param theConstraint the constraint
/// \param thePlane the current sketch plane
/// \param thePrevious the previous presentation
- GET_CONSTRAINT2_PRS(radiusConstraint)
+ GET_CONSTRAINT_PRS(radiusConstraint)
};
#endif