-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include <SketchPlugin_ConstraintCoincidence.h>
#include <SketchPlugin_ConstraintTangent.h>
-/// Obtain constraints prepared by tangent arc
-static std::list<FeaturePtr> tangentArcConstraints(const FeaturePtr& theArc);
-
//================================================================================================
SketchAPI_MacroArc::SketchAPI_MacroArc(const std::shared_ptr<ModelAPI_Feature> & theFeature)
: SketchAPI_SketchEntity(theFeature)
bool theInversed)
{
fillAttribute(SketchPlugin_MacroArc::ARC_TYPE_BY_TRANSVERSAL_LINE(), myarcType);
- fillAttribute(theTransversalPoint, mytangentPoint);
- fillAttribute(endPoint3(), theEndX, theEndY);
+ fillAttribute(theTransversalPoint, mytransversalPoint);
+ fillAttribute(endPoint4(), theEndX, theEndY);
fillAttribute(theInversed, myreversed);
execute();
bool theInversed)
{
fillAttribute(SketchPlugin_MacroArc::ARC_TYPE_BY_TRANSVERSAL_LINE(), myarcType);
- fillAttribute(theTransversalPoint, mytangentPoint);
- fillAttribute(theEnd, myendPoint3);
+ fillAttribute(theTransversalPoint, mytransversalPoint);
+ fillAttribute(theEnd, myendPoint4);
fillAttribute(theInversed, myreversed);
execute();