X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_HVDirection.cpp;h=2c0e892dd0973e70dd28ecab984a2d776c72af9a;hb=68420e410a9846ec7dcb2f4645030455bc374288;hp=0ad7c1f15db5c9b9c888e2a6dee2b3b5fd4ed294;hpb=747b8fc4fc7746b3abe2f0b4aa5a583ae38aedcb;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_HVDirection.cpp b/src/SketcherPrs/SketcherPrs_HVDirection.cpp index 0ad7c1f15..2c0e892dd 100644 --- a/src/SketcherPrs/SketcherPrs_HVDirection.cpp +++ b/src/SketcherPrs/SketcherPrs_HVDirection.cpp @@ -8,32 +8,11 @@ #include "SketcherPrs_Tools.h" #include "SketcherPrs_PositionMgr.h" -#include - #include -#include -#include - -#include -#include -#include - -#include -#include #include -#include - -#include -#include - -#include -#include -#include - +#include -extern std::shared_ptr getFeaturePoint(DataPtr theData, - const std::string& theAttribute); IMPLEMENT_STANDARD_HANDLE(SketcherPrs_HVDirection, SketcherPrs_SymbolPrs); @@ -57,7 +36,7 @@ void SketcherPrs_HVDirection::Compute(const Handle(PrsMgr_PresentationManager3d) prepareAspect(); ObjectPtr aObj1 = SketcherPrs_Tools::getResult(myConstraint, SketchPlugin_Constraint::ENTITY_A()); - std::shared_ptr aLine1 = SketcherPrs_Tools::getLine(aObj1); + std::shared_ptr aLine1 = SketcherPrs_Tools::getShape(aObj1); if (aLine1.get() == NULL) return;