#include "CurveCreator_Section.hxx"
#include "CurveCreator_Displayer.h"
-#include <AIS_Point.hxx>
-#include <AIS_Line.hxx>
-#include <AIS_Shape.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <Geom_CartesianPoint.hxx>
{
// erase curve from the viewer
if( myDisplayer )
- myDisplayer->erase( true );
+ myDisplayer->eraseAll( true );
// Delete all allocated data.
mySections[ 0 ]->myPoints.clear();
bool CurveCreator_Profile::setSectionTypeInternal( const int theISection,
const CurveCreator::SectionType theType )
{
- return false;
+ return CurveCreator_Curve::setSectionTypeInternal( theISection, theType );
}
bool CurveCreator_Profile::setSectionType( const int theISection,
const CurveCreator::SectionType theType )
{
- return false;
+ return CurveCreator_Curve::setSectionType( theISection, theType );
}
bool CurveCreator_Profile::addPointsInternal( const CurveCreator::SectionsMap &theSectionsMap )