Salome HOME
Task 2.3. Fix compilation errors
[modules/shaper.git] / src / SketchAPI / SketchAPI_IntersectionPoint.cpp
index 39f5b27266535699f200f1b6eb65c4e2fad51d22..aa5e3c0a5bb10671f2a935ef930e82782700644b 100644 (file)
@@ -61,14 +61,14 @@ SketchAPI_IntersectionPoint::~SketchAPI_IntersectionPoint()
 //--------------------------------------------------------------------------------------
 void SketchAPI_IntersectionPoint::setByExternalLine(const ModelHighAPI_Selection & theExternalLine)
 {
-  fillAttribute(theExternalLine, externalLine());
+  fillAttribute(theExternalLine, externalFeature());
 
   execute();
 }
 
 void SketchAPI_IntersectionPoint::setByExternalLineName(const std::string & theExternalLineName)
 {
-  fillAttribute(ModelHighAPI_Selection("EDGE", theExternalLineName), externalLine());
+  fillAttribute(ModelHighAPI_Selection("EDGE", theExternalLineName), externalFeature());
 
   execute();
 }
@@ -80,7 +80,7 @@ void SketchAPI_IntersectionPoint::dump(ModelHighAPI_Dumper& theDumper) const
   FeaturePtr aBase = feature();
   const std::string& aSketchName = theDumper.parentName(aBase);
 
-  AttributeSelectionPtr aLine = externalLine();
+  AttributeSelectionPtr aLine = externalFeature();
   theDumper << aBase << " = " <<
     aSketchName << ".addIntersectionPoint(" << aLine << ")" << std::endl;
   // dump "auxiliary" flag if necessary