#include <BRep_Tool.hxx>
#include <GeomAdaptor_Curve.hxx>
-
ResultPtr result(const ObjectPtr theObject)
{
return boost::dynamic_pointer_cast<ModelAPI_Result>(theObject);
return TopoDS_Shape();
}
-
bool ModuleBase_ResultPointValidator::isValid(const ObjectPtr theObject) const
{
ResultPtr aResult = result(theObject);
return aShape.ShapeType() == TopAbs_VERTEX;
}
-
bool ModuleBase_ResultLineValidator::isValid(const ObjectPtr theObject) const
{
ResultPtr aResult = result(theObject);
return false;
}
-
bool ModuleBase_ResultArcValidator::isValid(const ObjectPtr theObject) const
{
ResultPtr aResult = result(theObject);