Part: Remove unused arguments from isLinearEdge

This commit is contained in:
Chris Hennes
2025-08-09 10:22:03 -05:00
committed by Chris Hennes
parent 78a579804c
commit 4be6a64abb
2 changed files with 2 additions and 2 deletions

View File

@@ -497,7 +497,7 @@ public:
/// Checks whether the shape is a planar face
bool isPlanar(double tol = 1.0e-7) const; // NOLINT
/// Check if this shape is a single linear edge, works on BSplineCurve and BezierCurve
bool isLinearEdge(Base::Vector3d *dir = nullptr, Base::Vector3d *base = nullptr) const;
bool isLinearEdge() const;
/// Check if this shape is a single planar face, works on BSplineSurface and BezierSurface
bool isPlanarFace(double tol=1e-7) const; // NOLINT
//@}

View File

@@ -5314,7 +5314,7 @@ TopoShape TopoShape::splitWires(std::vector<TopoShape>* inner, SplitWireReorient
return TopoShape {};
}
bool TopoShape::isLinearEdge(Base::Vector3d* dir, Base::Vector3d* base) const
bool TopoShape::isLinearEdge() const
{
if (isNull() || getShape().ShapeType() != TopAbs_EDGE) {
return false;