//function : Shape
//purpose :
//=======================================================================
-const TopoDS_Shape& BRepAlgoAPI_Algo::Shape() const
+const TopoDS_Shape& BRepAlgoAPI_Algo::Shape()
{
return myShape;
}
//! Set the Progress Indicator object.
Standard_EXPORT void SetProgressIndicator (const Handle(Message_ProgressIndicator)& theObj);
- Standard_EXPORT virtual const TopoDS_Shape& Shape() const Standard_OVERRIDE;
+ Standard_EXPORT virtual const TopoDS_Shape& Shape() Standard_OVERRIDE;
//purpose :
//=======================================================================
-const TopoDS_Edge& BRepBuilderAPI_MakeEdge::Edge()const
+const TopoDS_Edge& BRepBuilderAPI_MakeEdge::Edge()
{
return myMakeEdge.Edge();
}
//purpose :
//=======================================================================
-BRepBuilderAPI_MakeEdge::operator TopoDS_Edge() const
+BRepBuilderAPI_MakeEdge::operator TopoDS_Edge()
{
return Edge();
}
//! Returns the constructed edge.
//! Exceptions StdFail_NotDone if the edge is not built.
- Standard_EXPORT const TopoDS_Edge& Edge() const;
-Standard_EXPORT operator TopoDS_Edge() const;
+ Standard_EXPORT const TopoDS_Edge& Edge();
+ Standard_EXPORT operator TopoDS_Edge();
//! Returns the first vertex of the edge. May be Null.
Standard_EXPORT const TopoDS_Vertex& Vertex1() const;
//purpose :
//=======================================================================
-const TopoDS_Edge& BRepBuilderAPI_MakeEdge2d::Edge()const
+const TopoDS_Edge& BRepBuilderAPI_MakeEdge2d::Edge()
{
return myMakeEdge2d.Edge();
}
//purpose :
//=======================================================================
-BRepBuilderAPI_MakeEdge2d::operator TopoDS_Edge() const
+BRepBuilderAPI_MakeEdge2d::operator TopoDS_Edge()
{
return Edge();
}
//! Returns the error description when NotDone.
Standard_EXPORT BRepBuilderAPI_EdgeError Error() const;
- Standard_EXPORT const TopoDS_Edge& Edge() const;
-Standard_EXPORT operator TopoDS_Edge() const;
+ Standard_EXPORT const TopoDS_Edge& Edge();
+ Standard_EXPORT operator TopoDS_Edge();
//! Returns the first vertex of the edge. May be Null.
Standard_EXPORT const TopoDS_Vertex& Vertex1() const;
//purpose :
//=======================================================================
-const TopoDS_Wire& BRepBuilderAPI_MakePolygon::Wire()const
+const TopoDS_Wire& BRepBuilderAPI_MakePolygon::Wire()
{
return myMakePolygon.Wire();
}
//purpose :
//=======================================================================
-BRepBuilderAPI_MakePolygon::operator TopoDS_Wire() const
+BRepBuilderAPI_MakePolygon::operator TopoDS_Wire()
{
return Wire();
}
//! Exceptions
//! StdFail_NotDone if the wire is not built, i.e. if fewer than
//! two vertices have been chained together by this construction algorithm.
- Standard_EXPORT const TopoDS_Wire& Wire() const;
-Standard_EXPORT operator TopoDS_Wire() const;
+ Standard_EXPORT const TopoDS_Wire& Wire();
+ Standard_EXPORT operator TopoDS_Wire();
//purpose :
//=======================================================================
-const TopoDS_Shape& BRepBuilderAPI_MakeShape::Shape() const
+const TopoDS_Shape& BRepBuilderAPI_MakeShape::Shape()
{
if (!IsDone()) {
// the following is const cast away
//purpose :
//=======================================================================
-BRepBuilderAPI_MakeShape::operator TopoDS_Shape() const
+BRepBuilderAPI_MakeShape::operator TopoDS_Shape()
{
return Shape();
}
//! Returns a shape built by the shape construction algorithm.
//! Raises exception StdFail_NotDone if the shape was not built.
- Standard_EXPORT virtual const TopoDS_Shape& Shape() const;
-Standard_EXPORT operator TopoDS_Shape() const;
+ Standard_EXPORT virtual const TopoDS_Shape& Shape();
+ Standard_EXPORT operator TopoDS_Shape();
//! Returns the list of shapes generated from the
//! shape <S>.
//purpose :
//=======================================================================
-const TopoDS_Solid& BRepBuilderAPI_MakeSolid::Solid()const
+const TopoDS_Solid& BRepBuilderAPI_MakeSolid::Solid()
{
return myMakeSolid.Solid();
}
//purpose :
//=======================================================================
-BRepBuilderAPI_MakeSolid::operator TopoDS_Solid() const
+BRepBuilderAPI_MakeSolid::operator TopoDS_Solid()
{
return Solid();
}
Standard_EXPORT virtual Standard_Boolean IsDone() const Standard_OVERRIDE;
//! Returns the new Solid.
- Standard_EXPORT const TopoDS_Solid& Solid() const;
-Standard_EXPORT operator TopoDS_Solid() const;
+ Standard_EXPORT const TopoDS_Solid& Solid();
+ Standard_EXPORT operator TopoDS_Solid();
Standard_EXPORT virtual Standard_Boolean IsDeleted (const TopoDS_Shape& S) Standard_OVERRIDE;
//purpose :
//=======================================================================
-const TopoDS_Vertex& BRepBuilderAPI_MakeVertex::Vertex()const
+const TopoDS_Vertex& BRepBuilderAPI_MakeVertex::Vertex()
{
return myMakeVertex.Vertex();
}
//=======================================================================
-BRepBuilderAPI_MakeVertex::operator TopoDS_Vertex() const
+BRepBuilderAPI_MakeVertex::operator TopoDS_Vertex()
{
return Vertex();
}
Standard_EXPORT BRepBuilderAPI_MakeVertex(const gp_Pnt& P);
//! Returns the constructed vertex.
- Standard_EXPORT const TopoDS_Vertex& Vertex() const;
-Standard_EXPORT operator TopoDS_Vertex() const;
+ Standard_EXPORT const TopoDS_Vertex& Vertex();
+ Standard_EXPORT operator TopoDS_Vertex();
//purpose :
//=======================================================================
-const TopoDS_Wire& BRepBuilderAPI_MakeWire::Wire()const
+const TopoDS_Wire& BRepBuilderAPI_MakeWire::Wire()
{
return myMakeWire.Wire();
}
//purpose :
//=======================================================================
-BRepBuilderAPI_MakeWire::operator TopoDS_Wire() const
+BRepBuilderAPI_MakeWire::operator TopoDS_Wire()
{
return Wire();
}
//! Returns the constructed wire; or the part of the wire
//! under construction already built.
//! Exceptions StdFail_NotDone if a wire is not built.
- Standard_EXPORT const TopoDS_Wire& Wire() const;
-Standard_EXPORT operator TopoDS_Wire() const;
+ Standard_EXPORT const TopoDS_Wire& Wire();
+ Standard_EXPORT operator TopoDS_Wire();
//! Returns the last edge added to the wire under construction.
//! Warning
//purpose :
//=======================================================================
-const TopoDS_Edge& BRepLib_MakeEdge::Edge()const
+const TopoDS_Edge& BRepLib_MakeEdge::Edge()
{
return TopoDS::Edge(Shape());
}
//purpose :
//=======================================================================
-BRepLib_MakeEdge::operator TopoDS_Edge() const
+BRepLib_MakeEdge::operator TopoDS_Edge()
{
return Edge();
}
//! Returns the error description when NotDone.
Standard_EXPORT BRepLib_EdgeError Error() const;
- Standard_EXPORT const TopoDS_Edge& Edge() const;
-Standard_EXPORT operator TopoDS_Edge() const;
+ Standard_EXPORT const TopoDS_Edge& Edge();
+ Standard_EXPORT operator TopoDS_Edge();
//! Returns the first vertex of the edge. May be Null.
Standard_EXPORT const TopoDS_Vertex& Vertex1() const;
//purpose :
//=======================================================================
-const TopoDS_Edge& BRepLib_MakeEdge2d::Edge()const
+const TopoDS_Edge& BRepLib_MakeEdge2d::Edge()
{
return TopoDS::Edge(Shape());
}
//purpose :
//=======================================================================
-BRepLib_MakeEdge2d::operator TopoDS_Edge() const
+BRepLib_MakeEdge2d::operator TopoDS_Edge()
{
return Edge();
}
//! Returns the error description when NotDone.
Standard_EXPORT BRepLib_EdgeError Error() const;
- Standard_EXPORT const TopoDS_Edge& Edge() const;
-Standard_EXPORT operator TopoDS_Edge() const;
+ Standard_EXPORT const TopoDS_Edge& Edge();
+ Standard_EXPORT operator TopoDS_Edge();
//! Returns the first vertex of the edge. May be Null.
Standard_EXPORT const TopoDS_Vertex& Vertex1() const;
//purpose :
//=======================================================================
-const TopoDS_Wire& BRepLib_MakePolygon::Wire()const
+const TopoDS_Wire& BRepLib_MakePolygon::Wire()
{
return TopoDS::Wire(Shape());
}
//purpose :
//=======================================================================
-BRepLib_MakePolygon::operator TopoDS_Wire() const
+BRepLib_MakePolygon::operator TopoDS_Wire()
{
return Wire();
}
Standard_EXPORT const TopoDS_Edge& Edge() const;
Standard_EXPORT operator TopoDS_Edge() const;
- Standard_EXPORT const TopoDS_Wire& Wire() const;
-Standard_EXPORT operator TopoDS_Wire() const;
+ Standard_EXPORT const TopoDS_Wire& Wire();
+ Standard_EXPORT operator TopoDS_Wire();
//purpose :
//=======================================================================
-const TopoDS_Shape& BRepLib_MakeShape::Shape() const
+const TopoDS_Shape& BRepLib_MakeShape::Shape()
{
if (!IsDone()) {
// the following is const cast away
//purpose :
//=======================================================================
-BRepLib_MakeShape::operator TopoDS_Shape() const
+BRepLib_MakeShape::operator TopoDS_Shape()
{
return Shape();
}
//! may be redefined.
Standard_EXPORT void Build();
- Standard_EXPORT const TopoDS_Shape& Shape() const;
-Standard_EXPORT operator TopoDS_Shape() const;
+ Standard_EXPORT const TopoDS_Shape& Shape();
+ Standard_EXPORT operator TopoDS_Shape();
//! returns the status of the Face after
//! the shape creation.
//purpose :
//=======================================================================
-const TopoDS_Solid& BRepLib_MakeSolid::Solid()const
+const TopoDS_Solid& BRepLib_MakeSolid::Solid()
{
return TopoDS::Solid(Shape());
}
//purpose :
//=======================================================================
-BRepLib_MakeSolid::operator TopoDS_Solid() const
+BRepLib_MakeSolid::operator TopoDS_Solid()
{
return TopoDS::Solid(Shape());
}
Standard_EXPORT void Add (const TopoDS_Shell& S);
//! Returns the new Solid.
- Standard_EXPORT const TopoDS_Solid& Solid() const;
-Standard_EXPORT operator TopoDS_Solid() const;
+ Standard_EXPORT const TopoDS_Solid& Solid();
+ Standard_EXPORT operator TopoDS_Solid();
//! returns the status of the Face after
//! the shape creation.
//purpose :
//=======================================================================
-const TopoDS_Vertex& BRepLib_MakeVertex::Vertex()const
+const TopoDS_Vertex& BRepLib_MakeVertex::Vertex()
{
return TopoDS::Vertex(Shape());
}
//=======================================================================
-BRepLib_MakeVertex::operator TopoDS_Vertex() const
+BRepLib_MakeVertex::operator TopoDS_Vertex()
{
return Vertex();
}
Standard_EXPORT BRepLib_MakeVertex(const gp_Pnt& P);
- Standard_EXPORT const TopoDS_Vertex& Vertex() const;
-Standard_EXPORT operator TopoDS_Vertex() const;
+ Standard_EXPORT const TopoDS_Vertex& Vertex();
+ Standard_EXPORT operator TopoDS_Vertex();
//purpose :
//=======================================================================
-const TopoDS_Wire& BRepLib_MakeWire::Wire()const
+const TopoDS_Wire& BRepLib_MakeWire::Wire()
{
return TopoDS::Wire(Shape());
}
//purpose :
//=======================================================================
-BRepLib_MakeWire::operator TopoDS_Wire() const
+BRepLib_MakeWire::operator TopoDS_Wire()
{
return Wire();
}
Standard_EXPORT BRepLib_WireError Error() const;
//! Returns the new wire.
- Standard_EXPORT const TopoDS_Wire& Wire() const;
-Standard_EXPORT operator TopoDS_Wire() const;
+ Standard_EXPORT const TopoDS_Wire& Wire();
+ Standard_EXPORT operator TopoDS_Wire();
//! Returns the last edge added to the wire.
Standard_EXPORT const TopoDS_Edge& Edge() const;
//function : ISWRCase2
//purpose :
//=======================================================================
-Standard_Boolean QANewBRepNaming_BooleanOperationFeat::IsWRCase2(const BRepAlgoAPI_BooleanOperation& MS) {
+Standard_Boolean QANewBRepNaming_BooleanOperationFeat::IsWRCase2(BRepAlgoAPI_BooleanOperation& MS) {
const TopoDS_Shape& Result = MS.Shape();
const TopAbs_ShapeEnum& ResType = ShapeType(Result);
if(ResType == TopAbs_COMPOUND || ResType >= TopAbs_FACE) return Standard_False;
Standard_EXPORT static Standard_Boolean IsWRCase (const BRepAlgoAPI_BooleanOperation& theMS);
//! Returns true if workaround case identified
- Standard_EXPORT static Standard_Boolean IsWRCase2 (const BRepAlgoAPI_BooleanOperation& theMS);
+ Standard_EXPORT static Standard_Boolean IsWRCase2 (BRepAlgoAPI_BooleanOperation& MS);