Part: Remove unused arguments from isLinearEdge
This commit is contained in:
committed by
Chris Hennes
parent
8ada1998f8
commit
d1c8362076
@@ -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
|
||||
//@}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user