From be5c3602076910e22fafe5e1ac3350fd22f2bebc Mon Sep 17 00:00:00 2001 From: kgv Date: Fri, 3 Jun 2016 15:35:52 +0300 Subject: [PATCH] 0027562: Coding - avoid exporting of inline methods --- src/AIS/AIS_InteractiveObject.hxx | 6 +- .../BRepExtrema_DistShapeShape.hxx | 20 +++--- src/BRepMesh/BRepMesh_CircleInspector.hxx | 4 +- .../BRepMesh_DataStructureOfDelaun.hxx | 18 +++--- src/BRepMesh/BRepMesh_Edge.hxx | 4 +- src/BRepMesh/BRepMesh_OrientedEdge.hxx | 6 +- src/BRepMesh/BRepMesh_PairOfIndex.hxx | 2 +- src/BRepMesh/BRepMesh_PairOfPolygon.hxx | 2 +- src/BRepMesh/BRepMesh_Triangle.hxx | 10 +-- src/BRepMesh/BRepMesh_Vertex.hxx | 20 +++--- src/BRepMesh/BRepMesh_VertexInspector.hxx | 6 +- src/BRepMesh/BRepMesh_VertexTool.hxx | 18 +++--- src/Bnd/Bnd_B2d.hxx | 2 +- src/ElCLib/ElCLib.hxx | 2 +- src/Message/Message_ExecStatus.hxx | 2 +- src/Message/Message_ProgressIndicator.hxx | 4 +- src/NCollection/NCollection_UBTreeFiller.hxx | 4 +- src/Precision/Precision.hxx | 26 ++++---- src/PrsMgr/PrsMgr_PresentableObject.hxx | 16 ++--- src/PrsMgr/PrsMgr_PresentationManager.hxx | 2 +- src/Select3D/Select3D_SensitivePoly.hxx | 2 +- src/Select3D/Select3D_SensitiveSet.hxx | 2 +- .../SelectBasics_SensitiveEntity.hxx | 2 +- src/SelectMgr/SelectMgr_BaseFrustum.hxx | 6 +- .../SelectMgr_SelectingVolumeManager.hxx | 2 +- .../Standard_ErrorHandlerCallback.hxx | 2 +- src/Standard/Standard_Mutex.hxx | 2 +- src/Standard/Standard_Transient.hxx | 2 +- src/Standard/Standard_Type.hxx | 2 +- src/TDF/TDF_Data.hxx | 2 +- src/TDF/TDF_Transaction.hxx | 2 +- src/TDocStd/TDocStd_Document.hxx | 2 +- src/TObj/TObj_Model.hxx | 6 +- src/TObj/TObj_Object.hxx | 4 +- src/TObj/TObj_Partition.hxx | 4 +- src/gp/gp_Ax2.hxx | 14 ++--- src/gp/gp_Ax3.hxx | 42 ++++++------- src/gp/gp_Circ2d.hxx | 2 +- src/gp/gp_Elips2d.hxx | 34 +++++----- src/gp/gp_GTrsf.hxx | 2 +- src/gp/gp_Hypr2d.hxx | 4 +- src/gp/gp_Lin.hxx | 4 +- src/gp/gp_Lin2d.hxx | 2 +- src/gp/gp_Parab.hxx | 2 +- src/gp/gp_Pnt2d.hxx | 2 +- src/gp/gp_Quaternion.hxx | 62 +++++++++---------- src/gp/gp_Torus.hxx | 2 +- src/gp/gp_Trsf.hxx | 2 +- 48 files changed, 195 insertions(+), 195 deletions(-) diff --git a/src/AIS/AIS_InteractiveObject.hxx b/src/AIS/AIS_InteractiveObject.hxx index b21994bf0b..0b238be968 100644 --- a/src/AIS/AIS_InteractiveObject.hxx +++ b/src/AIS/AIS_InteractiveObject.hxx @@ -349,10 +349,10 @@ public: Standard_Boolean HasWidth() const; //! Returns the width setting of the Interactive Object. - Standard_EXPORT Standard_Real Width() const; + Standard_Real Width() const; //! Returns true if the Interactive Object has a setting for material. - Standard_EXPORT Standard_Boolean HasMaterial() const; + Standard_Boolean HasMaterial() const; //! Returns the current material setting. //! This will be on of the following materials: @@ -362,7 +362,7 @@ public: //! - Pewter //! - Silver //! - Stone. - Standard_EXPORT virtual Graphic3d_NameOfMaterial Material() const; + virtual Graphic3d_NameOfMaterial Material() const; //! Sets the name aName for material defining this //! display attribute for the interactive object. diff --git a/src/BRepExtrema/BRepExtrema_DistShapeShape.hxx b/src/BRepExtrema/BRepExtrema_DistShapeShape.hxx index 78a8322fc5..c3040472ec 100644 --- a/src/BRepExtrema/BRepExtrema_DistShapeShape.hxx +++ b/src/BRepExtrema/BRepExtrema_DistShapeShape.hxx @@ -43,7 +43,7 @@ class BRepExtrema_DistShapeShape //! create tool and load both shapes into it
Standard_EXPORT BRepExtrema_DistShapeShape(const TopoDS_Shape& Shape1,const TopoDS_Shape& Shape2,const Standard_Real theDeflection,const Extrema_ExtFlag F = Extrema_ExtFlag_MINMAX,const Extrema_ExtAlgo A = Extrema_ExtAlgo_Grad); - Standard_EXPORT void SetDeflection(const Standard_Real theDeflection) + void SetDeflection(const Standard_Real theDeflection) { myEps = theDeflection; } @@ -58,12 +58,12 @@ class BRepExtrema_DistShapeShape //! Returns IsDone status.
Standard_EXPORT Standard_Boolean Perform(); //! True if the minimum distance is found.
- Standard_EXPORT Standard_Boolean IsDone() const + Standard_Boolean IsDone() const { return myIsDone; } //! Returns the number of solutions satisfying the minimum distance.
- Standard_EXPORT Standard_Integer NbSolution() const + Standard_Integer NbSolution() const { return mySolutionsShape1.Length(); } @@ -71,17 +71,17 @@ class BRepExtrema_DistShapeShape Standard_EXPORT Standard_Real Value() const; //! True if one of the shapes is a solid and the other shape
//! is completely or partially inside the solid.
- Standard_EXPORT Standard_Boolean InnerSolution() const + Standard_Boolean InnerSolution() const { return myInnerSol; } //! Returns the Point corresponding to the th solution on the first Shape
- Standard_EXPORT const gp_Pnt & PointOnShape1(const Standard_Integer N) const + const gp_Pnt & PointOnShape1(const Standard_Integer N) const { return mySolutionsShape1.Value(N).Point(); } //! Returns the Point corresponding to the th solution on the second Shape
- Standard_EXPORT const gp_Pnt & PointOnShape2(const Standard_Integer N) const + const gp_Pnt & PointOnShape2(const Standard_Integer N) const { return mySolutionsShape2.Value(N).Point(); } @@ -90,7 +90,7 @@ class BRepExtrema_DistShapeShape //! IsOnEdge => the Nth soluion on the first shape is on a Edge
//! IsInFace => the Nth solution on the first shape is inside a face
//! the corresponding support is obtained by the method SupportOnShape1
- Standard_EXPORT BRepExtrema_SupportType SupportTypeShape1(const Standard_Integer N) const + BRepExtrema_SupportType SupportTypeShape1(const Standard_Integer N) const { return mySolutionsShape1.Value(N).SupportKind(); } @@ -99,7 +99,7 @@ class BRepExtrema_DistShapeShape //! IsOnEdge => the Nth soluion on the secondt shape is on a Edge
//! IsInFace => the Nth solution on the second shape is inside a face
//! the corresponding support is obtained by the method SupportOnShape2
- Standard_EXPORT BRepExtrema_SupportType SupportTypeShape2(const Standard_Integer N) const + BRepExtrema_SupportType SupportTypeShape2(const Standard_Integer N) const { return mySolutionsShape2.Value(N).SupportKind(); } @@ -124,12 +124,12 @@ class BRepExtrema_DistShapeShape //! Prints on the stream o information on the current state of the object.
Standard_EXPORT void Dump(Standard_OStream& o) const; - Standard_EXPORT void SetFlag(const Extrema_ExtFlag F) + void SetFlag(const Extrema_ExtFlag F) { myFlag = F; } - Standard_EXPORT void SetAlgo(const Extrema_ExtAlgo A) + void SetAlgo(const Extrema_ExtAlgo A) { myAlgo = A; } diff --git a/src/BRepMesh/BRepMesh_CircleInspector.hxx b/src/BRepMesh/BRepMesh_CircleInspector.hxx index 2836e39b76..509f376826 100644 --- a/src/BRepMesh/BRepMesh_CircleInspector.hxx +++ b/src/BRepMesh/BRepMesh_CircleInspector.hxx @@ -33,7 +33,7 @@ public: //! @param theTolerance tolerance to be used for identification of shot circles. //! @param theReservedSize size to be reserved for vector of circles. //! @param theAllocator memory allocator to be used by internal collections. - Standard_EXPORT BRepMesh_CircleInspector( + BRepMesh_CircleInspector( const Standard_Real theTolerance, const Standard_Integer theReservedSize, const Handle(NCollection_IncAllocator)& theAllocator) @@ -87,7 +87,7 @@ public: const Standard_Integer theTargetIndex); //! Checks indices for equlity. - Standard_EXPORT static Standard_Boolean IsEqual( + static Standard_Boolean IsEqual( const Standard_Integer theIndex, const Standard_Integer theTargetIndex) { diff --git a/src/BRepMesh/BRepMesh_DataStructureOfDelaun.hxx b/src/BRepMesh/BRepMesh_DataStructureOfDelaun.hxx index fc9b639ac0..60b98f230b 100644 --- a/src/BRepMesh/BRepMesh_DataStructureOfDelaun.hxx +++ b/src/BRepMesh/BRepMesh_DataStructureOfDelaun.hxx @@ -63,7 +63,7 @@ public: //! @name API for accessing mesh nodes. //! Finds the index of the given node. //! @param theNode node to find. //! @return index of the given element of zero if node is not in the mesh. - Standard_EXPORT Standard_Integer IndexOf(const BRepMesh_Vertex& theNode) + Standard_Integer IndexOf(const BRepMesh_Vertex& theNode) { return myNodes->FindIndex(theNode); } @@ -95,8 +95,8 @@ public: //! @name API for accessing mesh nodes. //! @param theIndex index of node to be removed. //! @param isForce if TRUE node will be removed even if movability //! is not Free. - Standard_EXPORT void RemoveNode(const Standard_Integer theIndex, - const Standard_Boolean isForce = Standard_False) + void RemoveNode(const Standard_Integer theIndex, + const Standard_Boolean isForce = Standard_False) { if (isForce || myNodes->FindKey(theIndex).Movability() == BRepMesh_Free) { @@ -131,7 +131,7 @@ public: //! @name API for accessing mesh links. //! Finds the index of the given link. //! @param theLink link to find. //! @return index of the given element of zero if link is not in the mesh. - Standard_EXPORT Standard_Integer IndexOf(const BRepMesh_Edge& theLink) const + Standard_Integer IndexOf(const BRepMesh_Edge& theLink) const { return myLinks.FindIndex(theLink); } @@ -139,7 +139,7 @@ public: //! @name API for accessing mesh links. //! Get link by the index. //! @param theIndex index of a link. //! @return link with the given index. - Standard_EXPORT const BRepMesh_Edge& GetLink(const Standard_Integer theIndex) + const BRepMesh_Edge& GetLink(const Standard_Integer theIndex) { return myLinks.FindKey(theIndex); } @@ -168,7 +168,7 @@ public: //! @name API for accessing mesh links. //! Returns indices of elements conected to the link with the given index. //! @param theLinkIndex index of link whose data should be retrieved. //! @return indices of elements conected to the link. - Standard_EXPORT const BRepMesh_PairOfIndex& ElementsConnectedTo( + const BRepMesh_PairOfIndex& ElementsConnectedTo( const Standard_Integer theLinkIndex) const { return myLinks.FindFromIndex(theLinkIndex); @@ -192,7 +192,7 @@ public: //! @name API for accessing mesh elements. //! Finds the index of the given element. //! @param theElement element to find. //! @return index of the given element of zero if element is not in the mesh. - Standard_EXPORT Standard_Integer IndexOf(const BRepMesh_Triangle& theElement) const + Standard_Integer IndexOf(const BRepMesh_Triangle& theElement) const { return myElements.FindIndex(theElement); } @@ -200,7 +200,7 @@ public: //! @name API for accessing mesh elements. //! Get element by the index. //! @param theIndex index of an element. //! @return element with the given index. - Standard_EXPORT const BRepMesh_Triangle& GetElement(const Standard_Integer theIndex) + const BRepMesh_Triangle& GetElement(const Standard_Integer theIndex) { return myElements.FindKey(theIndex); } @@ -254,7 +254,7 @@ public: //! @name Auxilary API //! Substitutes deleted items by the last one from corresponding map //! to have only non-deleted elements, links or nodes in the structure. - Standard_EXPORT void ClearDeleted() + void ClearDeleted() { clearDeletedLinks(); clearDeletedNodes(); diff --git a/src/BRepMesh/BRepMesh_Edge.hxx b/src/BRepMesh/BRepMesh_Edge.hxx index 69c92e072e..0eb80ddd42 100644 --- a/src/BRepMesh/BRepMesh_Edge.hxx +++ b/src/BRepMesh/BRepMesh_Edge.hxx @@ -26,14 +26,14 @@ class BRepMesh_Edge : public BRepMesh_OrientedEdge public: //! Default constructor. - Standard_EXPORT BRepMesh_Edge() + BRepMesh_Edge() : BRepMesh_OrientedEdge(), myMovability(BRepMesh_Deleted) { } //! Constructs a link between two vertices. - Standard_EXPORT BRepMesh_Edge( + BRepMesh_Edge( const Standard_Integer theFirstNode, const Standard_Integer theLastNode, const BRepMesh_DegreeOfFreedom theMovability) diff --git a/src/BRepMesh/BRepMesh_OrientedEdge.hxx b/src/BRepMesh/BRepMesh_OrientedEdge.hxx index 0365ecab5c..6f9f154e0b 100644 --- a/src/BRepMesh/BRepMesh_OrientedEdge.hxx +++ b/src/BRepMesh/BRepMesh_OrientedEdge.hxx @@ -27,14 +27,14 @@ public: DEFINE_STANDARD_ALLOC //! Default constructor. - Standard_EXPORT BRepMesh_OrientedEdge() + BRepMesh_OrientedEdge() : myFirstNode(-1), myLastNode(-1) { } //! Constructs a link between two vertices. - Standard_EXPORT BRepMesh_OrientedEdge( + BRepMesh_OrientedEdge( const Standard_Integer theFirstNode, const Standard_Integer theLastNode) : myFirstNode(theFirstNode), @@ -57,7 +57,7 @@ public: //! Returns hash code for this edge. //! @param theUpper upper index in the container. //! @return hash code. - Standard_EXPORT Standard_Integer HashCode(const Standard_Integer theUpper) const + Standard_Integer HashCode(const Standard_Integer theUpper) const { return ::HashCode(myFirstNode + myLastNode, theUpper); } diff --git a/src/BRepMesh/BRepMesh_PairOfIndex.hxx b/src/BRepMesh/BRepMesh_PairOfIndex.hxx index a70b23b94f..761cdec6cf 100644 --- a/src/BRepMesh/BRepMesh_PairOfIndex.hxx +++ b/src/BRepMesh/BRepMesh_PairOfIndex.hxx @@ -26,7 +26,7 @@ class BRepMesh_PairOfIndex public: //! Default constructor - Standard_EXPORT BRepMesh_PairOfIndex() + BRepMesh_PairOfIndex() { Clear(); } diff --git a/src/BRepMesh/BRepMesh_PairOfPolygon.hxx b/src/BRepMesh/BRepMesh_PairOfPolygon.hxx index f9955ddde9..e6951793ed 100644 --- a/src/BRepMesh/BRepMesh_PairOfPolygon.hxx +++ b/src/BRepMesh/BRepMesh_PairOfPolygon.hxx @@ -27,7 +27,7 @@ public: DEFINE_STANDARD_ALLOC //! Constructor. Creates empty pair with null fileds. - Standard_EXPORT BRepMesh_PairOfPolygon() + BRepMesh_PairOfPolygon() { } diff --git a/src/BRepMesh/BRepMesh_Triangle.hxx b/src/BRepMesh/BRepMesh_Triangle.hxx index 7f2c1afd3a..f6a5bac399 100644 --- a/src/BRepMesh/BRepMesh_Triangle.hxx +++ b/src/BRepMesh/BRepMesh_Triangle.hxx @@ -33,7 +33,7 @@ public: DEFINE_STANDARD_ALLOC //! Default constructor. - Standard_EXPORT BRepMesh_Triangle() + BRepMesh_Triangle() : myEdge1(0), myEdge2(0), myEdge3(0), @@ -48,7 +48,7 @@ public: //! @param theEdges array of edges of triangle. //! @param theOrientations array of edge's orientations. //! @param theMovability movability of triangle. - Standard_EXPORT BRepMesh_Triangle( + BRepMesh_Triangle( const Standard_Integer (&theEdges)[3], const Standard_Boolean (&theOrientations)[3], const BRepMesh_DegreeOfFreedom theMovability) @@ -103,7 +103,7 @@ public: //! Returns hash code for this triangle. //! @param theUpper upper index in the container. //! @return hash code. - Standard_EXPORT Standard_Integer HashCode(const Standard_Integer theUpper) const + Standard_Integer HashCode(const Standard_Integer theUpper) const { return ::HashCode(myEdge1 + myEdge2 + myEdge3, theUpper); } @@ -111,7 +111,7 @@ public: //! Checks for equality with another triangle. //! @param theOther triangle to be checked against this one. //! @return TRUE if equal, FALSE if not. - Standard_EXPORT Standard_Boolean IsEqual(const BRepMesh_Triangle& theOther) const + Standard_Boolean IsEqual(const BRepMesh_Triangle& theOther) const { if (myMovability == BRepMesh_Deleted || theOther.myMovability == BRepMesh_Deleted) return Standard_False; @@ -141,7 +141,7 @@ public: } //! Alias for IsEqual. - Standard_EXPORT Standard_Boolean operator ==(const BRepMesh_Triangle& theOther) const + Standard_Boolean operator ==(const BRepMesh_Triangle& theOther) const { return IsEqual(theOther); } diff --git a/src/BRepMesh/BRepMesh_Vertex.hxx b/src/BRepMesh/BRepMesh_Vertex.hxx index a04b779042..7cb7d72346 100644 --- a/src/BRepMesh/BRepMesh_Vertex.hxx +++ b/src/BRepMesh/BRepMesh_Vertex.hxx @@ -31,7 +31,7 @@ public: DEFINE_STANDARD_ALLOC //! Default constructor - Standard_EXPORT BRepMesh_Vertex() + BRepMesh_Vertex() : myLocation3d(0), myMovability(BRepMesh_Free) { @@ -41,9 +41,9 @@ public: //! @param theUV position of vertex in parametric space. //! @param theLocation3d index of 3d point to be associated with vertex. //! @param theMovability movability of the vertex. - Standard_EXPORT BRepMesh_Vertex(const gp_XY& theUV, - const Standard_Integer theLocation3d, - const BRepMesh_DegreeOfFreedom theMovability) + BRepMesh_Vertex(const gp_XY& theUV, + const Standard_Integer theLocation3d, + const BRepMesh_DegreeOfFreedom theMovability) { Initialize(theUV, theLocation3d, theMovability); } @@ -52,9 +52,9 @@ public: //! @param theU U position of vertex in parametric space. //! @param theV V position of vertex in parametric space. //! @param theMovability movability of the vertex. - Standard_EXPORT BRepMesh_Vertex(const Standard_Real theU, - const Standard_Real theV, - const BRepMesh_DegreeOfFreedom theMovability) + BRepMesh_Vertex(const Standard_Real theU, + const Standard_Real theV, + const BRepMesh_DegreeOfFreedom theMovability) : myUV(theU, theV), myLocation3d(0), myMovability(theMovability) @@ -106,7 +106,7 @@ public: //! Returns hash code for this vertex. //! @param theUpper upper index in the container. //! @return hash code. - Standard_EXPORT Standard_Integer HashCode(const Standard_Integer Upper) const + Standard_Integer HashCode(const Standard_Integer Upper) const { return ::HashCode(Floor(1e5 * myUV.X()) * Floor(1e5 * myUV.Y()), Upper); } @@ -114,7 +114,7 @@ public: //! Checks for equality with another vertex. //! @param theOther vertex to be checked against this one. //! @return TRUE if equal, FALSE if not. - Standard_EXPORT Standard_Boolean IsEqual(const BRepMesh_Vertex& theOther) const + Standard_Boolean IsEqual(const BRepMesh_Vertex& theOther) const { if (myMovability == BRepMesh_Deleted || theOther.myMovability == BRepMesh_Deleted) @@ -126,7 +126,7 @@ public: } //! Alias for IsEqual. - Standard_EXPORT Standard_Boolean operator ==(const BRepMesh_Vertex& Other) const + Standard_Boolean operator ==(const BRepMesh_Vertex& Other) const { return IsEqual(Other); } diff --git a/src/BRepMesh/BRepMesh_VertexInspector.hxx b/src/BRepMesh/BRepMesh_VertexInspector.hxx index b3f6477877..3b22160ec6 100644 --- a/src/BRepMesh/BRepMesh_VertexInspector.hxx +++ b/src/BRepMesh/BRepMesh_VertexInspector.hxx @@ -31,7 +31,7 @@ public: //! Constructor. //! @param theAllocator memory allocator to be used by internal collections. - Standard_EXPORT BRepMesh_VertexInspector ( + BRepMesh_VertexInspector ( const Handle(NCollection_IncAllocator)& theAllocator) : myResIndices(theAllocator), myVertices (new BRepMesh::VectorOfVertex), @@ -42,7 +42,7 @@ public: //! Registers the given vertex. //! @param theVertex vertex to be registered. - Standard_EXPORT Standard_Integer Add(const BRepMesh_Vertex& theVertex) + Standard_Integer Add(const BRepMesh_Vertex& theVertex) { if( myDelNodes.IsEmpty() ) { @@ -145,7 +145,7 @@ public: Standard_EXPORT NCollection_CellFilter_Action Inspect(const Standard_Integer theTargetIndex); //! Checks indices for equlity. - Standard_EXPORT static Standard_Boolean IsEqual(const Standard_Integer theIndex, + static Standard_Boolean IsEqual(const Standard_Integer theIndex, const Standard_Integer theTargetIndex) { return (theIndex == theTargetIndex); diff --git a/src/BRepMesh/BRepMesh_VertexTool.hxx b/src/BRepMesh/BRepMesh_VertexTool.hxx index a54be37d42..b18b3e6179 100644 --- a/src/BRepMesh/BRepMesh_VertexTool.hxx +++ b/src/BRepMesh/BRepMesh_VertexTool.hxx @@ -41,7 +41,7 @@ public: const Handle(NCollection_IncAllocator)& theAllocator); //! Sets new size of cell for cellfilter equal in both directions. - Standard_EXPORT void SetCellSize(const Standard_Real theSize) + void SetCellSize(const Standard_Real theSize) { myCellFilter.Reset(theSize, myAllocator); mySelector.Clear(); @@ -50,8 +50,8 @@ public: //! Sets new size of cell for cellfilter. //! @param theSizeX size for X dimension. //! @param theSizeY size for Y dimension. - Standard_EXPORT void SetCellSize(const Standard_Real theSizeX, - const Standard_Real theSizeY) + void SetCellSize(const Standard_Real theSizeX, + const Standard_Real theSizeY) { Standard_Real aCellSizeC[2] = { theSizeX, theSizeY }; NCollection_Array1 aCellSize(aCellSizeC[0], 1, 2); @@ -61,7 +61,7 @@ public: //! Sets the tolerance to be used for identification of //! coincident vertices equal for both dimensions. - Standard_EXPORT void SetTolerance(const Standard_Real theTolerance) + void SetTolerance(const Standard_Real theTolerance) { mySelector.SetTolerance( theTolerance ); myTolerance[0] = theTolerance; @@ -72,8 +72,8 @@ public: //! coincident vertices. //! @param theToleranceX tolerance for X dimension. //! @param theToleranceY tolerance for Y dimension. - Standard_EXPORT void SetTolerance(const Standard_Real theToleranceX, - const Standard_Real theToleranceY) + void SetTolerance(const Standard_Real theToleranceX, + const Standard_Real theToleranceY) { mySelector.SetTolerance( theToleranceX, theToleranceY ); myTolerance[0] = theToleranceX; @@ -84,8 +84,8 @@ public: //! coincident vertices. //! @param theToleranceX tolerance for X dimension. //! @param theToleranceY tolerance for Y dimension. - Standard_EXPORT void GetTolerance(Standard_Real& theToleranceX, - Standard_Real& theToleranceY) + void GetTolerance(Standard_Real& theToleranceX, + Standard_Real& theToleranceY) { theToleranceX = myTolerance[0]; theToleranceY = myTolerance[1]; @@ -122,7 +122,7 @@ public: } //! Returns index of the given vertex. - Standard_EXPORT Standard_Integer FindIndex(const BRepMesh_Vertex& theVertex) + Standard_Integer FindIndex(const BRepMesh_Vertex& theVertex) { mySelector.SetPoint(theVertex.Coord()); myCellFilter.Inspect (theVertex.Coord(), mySelector); diff --git a/src/Bnd/Bnd_B2d.hxx b/src/Bnd/Bnd_B2d.hxx index 42b4908178..9a9d783faf 100644 --- a/src/Bnd/Bnd_B2d.hxx +++ b/src/Bnd/Bnd_B2d.hxx @@ -54,7 +54,7 @@ public: Standard_EXPORT void Add (const gp_XY& thePnt); //! Update the box by a point. - Standard_EXPORT void Add (const gp_Pnt2d& thePnt); + void Add (const gp_Pnt2d& thePnt); //! Update the box by another box. void Add (const Bnd_B2d& theBox); diff --git a/src/ElCLib/ElCLib.hxx b/src/ElCLib/ElCLib.hxx index 5db46bf28a..6373a6307a 100644 --- a/src/ElCLib/ElCLib.hxx +++ b/src/ElCLib/ElCLib.hxx @@ -339,7 +339,7 @@ public: //! The point P must be on the curve. These functions are //! not protected, however, and if point P is not on the //! curve, an exception may be raised. - Standard_EXPORT static Standard_Real Parameter (const gp_Lin& L, const gp_Pnt& P); + static Standard_Real Parameter (const gp_Lin& L, const gp_Pnt& P); //! parametrization //! P (U) = L.Location() + U * L.Direction() diff --git a/src/Message/Message_ExecStatus.hxx b/src/Message/Message_ExecStatus.hxx index 4568ec5bde..42eb19c6b9 100644 --- a/src/Message/Message_ExecStatus.hxx +++ b/src/Message/Message_ExecStatus.hxx @@ -39,7 +39,7 @@ * - Fail flags correspond to cases when algorithm failed to complete */ -class Standard_EXPORT Message_ExecStatus +class Message_ExecStatus { private: diff --git a/src/Message/Message_ProgressIndicator.hxx b/src/Message/Message_ProgressIndicator.hxx index 1b45088384..5c0539a8bf 100644 --- a/src/Message/Message_ProgressIndicator.hxx +++ b/src/Message/Message_ProgressIndicator.hxx @@ -162,11 +162,11 @@ public: //! Returns current number of opened scopes //! This number is always >=1 as top-level scale is always present - Standard_EXPORT Standard_Integer GetNbScopes() const; + Standard_Integer GetNbScopes() const; //! Returns data for scale of index-th scope //! The first scope is current one, the last is the top-level one - Standard_EXPORT const Message_ProgressScale& GetScope (const Standard_Integer index) const; + const Message_ProgressScale& GetScope (const Standard_Integer index) const; diff --git a/src/NCollection/NCollection_UBTreeFiller.hxx b/src/NCollection/NCollection_UBTreeFiller.hxx index a78e913598..22f6c593e5 100644 --- a/src/NCollection/NCollection_UBTreeFiller.hxx +++ b/src/NCollection/NCollection_UBTreeFiller.hxx @@ -83,7 +83,7 @@ template class NCollection_UBTreeFiller * @return * the number of objects added to the tree. */ - Standard_EXPORT Standard_Integer Fill (); + Standard_Integer Fill (); /** * Remove all data from Filler, partculary if the Tree no more needed @@ -97,7 +97,7 @@ template class NCollection_UBTreeFiller * @return * the tree size (the same value is returned by method Fill()). */ - Standard_EXPORT Standard_Integer CheckTree (Standard_OStream& theStream); + Standard_Integer CheckTree (Standard_OStream& theStream); /** * Destructor. Fills the tree with accumulated items if they have not been diff --git a/src/Precision/Precision.hxx b/src/Precision/Precision.hxx index b3c0e34a09..790363b00a 100644 --- a/src/Precision/Precision.hxx +++ b/src/Precision/Precision.hxx @@ -123,7 +123,7 @@ public: //! you can use : //! If ( Abs( D1.D2 ) < Precision::Angular() ) ... //! (although the function IsNormal does exist). - Standard_EXPORT static Standard_Real Angular(); + static Standard_Real Angular(); //! Returns the recommended precision value when @@ -166,12 +166,12 @@ public: //! distance (1 / 10 millimeter). This distance //! becomes easily measurable, but only within a restricted //! space which contains some small objects of the complete scene. - Standard_EXPORT static Standard_Real Confusion(); + static Standard_Real Confusion(); //! Returns square of Confusion. //! Created for speed and convenience. - Standard_EXPORT static Standard_Real SquareConfusion(); + static Standard_Real SquareConfusion(); //! Returns the precision value in real space, frequently //! used by intersection algorithms to decide that a solution is reached. @@ -195,7 +195,7 @@ public: //! The tolerance of intersection is equal to : //! Precision::Confusion() / 100. //! (that is, 1.e-9). - Standard_EXPORT static Standard_Real Intersection(); + static Standard_Real Intersection(); //! Returns the precision value in real space, frequently used //! by approximation algorithms. @@ -210,7 +210,7 @@ public: //! (that is, 1.e-6). //! You may use a smaller tolerance in an approximation //! algorithm, but this option might be costly. - Standard_EXPORT static Standard_Real Approximation(); + static Standard_Real Approximation(); //! Convert a real space precision to a parametric //! space precision. is the mean value of the @@ -264,7 +264,7 @@ public: //! 2.Pi without impacting on the resulting point. //! Therefore, take great care when adjusting a parametric //! tolerance to your own algorithm. - Standard_EXPORT static Standard_Real PConfusion (const Standard_Real T); + static Standard_Real PConfusion (const Standard_Real T); //! Returns a precision value in parametric space, which @@ -280,7 +280,7 @@ public: //! segment whose length is equal to 100. (default value), or T. //! The parametric tolerance of intersection is equal to : //! - Precision::Intersection() / 100., or Precision::Intersection() / T. - Standard_EXPORT static Standard_Real PIntersection (const Standard_Real T); + static Standard_Real PIntersection (const Standard_Real T); //! Returns a precision value in parametric space, which may //! be used by approximation algorithms. The purpose of this @@ -295,13 +295,13 @@ public: //! segment whose length is equal to 100. (default value), or T. //! The parametric tolerance of intersection is equal to : //! - Precision::Approximation() / 100., or Precision::Approximation() / T. - Standard_EXPORT static Standard_Real PApproximation (const Standard_Real T); + static Standard_Real PApproximation (const Standard_Real T); //! Convert a real space precision to a parametric //! space precision on a default curve. //! //! Value is Parametric(P,1.e+2) - Standard_EXPORT static Standard_Real Parametric (const Standard_Real P); + static Standard_Real Parametric (const Standard_Real P); //! Used to test distances in parametric space on a //! default curve. @@ -323,19 +323,19 @@ public: //! Returns True if R may be considered as an infinite //! number. Currently Abs(R) > 1e100 - Standard_EXPORT static Standard_Boolean IsInfinite (const Standard_Real R); + static Standard_Boolean IsInfinite (const Standard_Real R); //! Returns True if R may be considered as a positive //! infinite number. Currently R > 1e100 - Standard_EXPORT static Standard_Boolean IsPositiveInfinite (const Standard_Real R); + static Standard_Boolean IsPositiveInfinite (const Standard_Real R); //! Returns True if R may be considered as a negative //! infinite number. Currently R < -1e100 - Standard_EXPORT static Standard_Boolean IsNegativeInfinite (const Standard_Real R); + static Standard_Boolean IsNegativeInfinite (const Standard_Real R); //! Returns a big number that can be considered as //! infinite. Use -Infinite() for a negative big number. - Standard_EXPORT static Standard_Real Infinite(); + static Standard_Real Infinite(); diff --git a/src/PrsMgr/PrsMgr_PresentableObject.hxx b/src/PrsMgr/PrsMgr_PresentableObject.hxx index cb2946a0d1..e1b4db12d5 100644 --- a/src/PrsMgr/PrsMgr_PresentableObject.hxx +++ b/src/PrsMgr/PrsMgr_PresentableObject.hxx @@ -73,10 +73,10 @@ public: Standard_EXPORT PrsMgr_Presentations& Presentations(); - + //! Returns information on whether the object accepts display in HLR mode or not. - Standard_EXPORT PrsMgr_TypeOfPresentation3d TypeOfPresentation3d() const; - + PrsMgr_TypeOfPresentation3d TypeOfPresentation3d() const; + //! Sets up Transform Persistence Mode for this object. //! This function used to lock in object position, rotation and / or zooming relative to camera position. //! Object will be drawn in the origin setted by APoint parameter (except Graphic3d_TMF_TriedronPers flag @@ -191,13 +191,13 @@ public: Standard_EXPORT virtual void RemoveChild (const Handle(PrsMgr_PresentableObject)& theObject); //! Returns children of the current object. - Standard_EXPORT const PrsMgr_ListOfPresentableObjects& Children() const; - + const PrsMgr_ListOfPresentableObjects& Children() const; + //! Returns true if object should have own presentations. - Standard_EXPORT Standard_Boolean HasOwnPresentations() const; - + Standard_Boolean HasOwnPresentations() const; + //! Returns parent of current object in scene hierarchy. - Standard_EXPORT PrsMgr_PresentableObjectPointer Parent() const; + PrsMgr_PresentableObjectPointer Parent() const; friend class PrsMgr_Presentation; diff --git a/src/PrsMgr/PrsMgr_PresentationManager.hxx b/src/PrsMgr/PrsMgr_PresentationManager.hxx index ed7918d046..0372de1678 100644 --- a/src/PrsMgr/PrsMgr_PresentationManager.hxx +++ b/src/PrsMgr/PrsMgr_PresentationManager.hxx @@ -123,7 +123,7 @@ public: Standard_EXPORT void RedrawImmediate (const Handle(V3d_Viewer)& theViewer); //! Returns true if Presentation Manager is accumulating transient list of presentations to be displayed in immediate mode. - Standard_EXPORT Standard_Boolean IsImmediateModeOn() const; + Standard_Boolean IsImmediateModeOn() const; //! Highlights the graphic object thePrsObject in the color theColor. //! thePrsObject has the display mode theMode; diff --git a/src/Select3D/Select3D_SensitivePoly.hxx b/src/Select3D/Select3D_SensitivePoly.hxx index f6c368abd1..0cf476e624 100644 --- a/src/Select3D/Select3D_SensitivePoly.hxx +++ b/src/Select3D/Select3D_SensitivePoly.hxx @@ -68,7 +68,7 @@ public: Standard_EXPORT virtual Standard_Integer NbSubElements() Standard_OVERRIDE; //! Returns the 3D points of the array used at construction time. - Standard_EXPORT void Points3D (Handle(TColgp_HArray1OfPnt)& theHArrayOfPnt); + void Points3D (Handle(TColgp_HArray1OfPnt)& theHArrayOfPnt); //! Returns bounding box of a polygon. If location //! transformation is set, it will be applied diff --git a/src/Select3D/Select3D_SensitiveSet.hxx b/src/Select3D/Select3D_SensitiveSet.hxx index 4100effba9..bf69aa67d9 100644 --- a/src/Select3D/Select3D_SensitiveSet.hxx +++ b/src/Select3D/Select3D_SensitiveSet.hxx @@ -43,7 +43,7 @@ public: //! Creates new empty sensitive set and its content Standard_EXPORT Select3D_SensitiveSet (const Handle(SelectBasics_EntityOwner)& theOwnerId); - Standard_EXPORT ~Select3D_SensitiveSet() {}; + ~Select3D_SensitiveSet() {}; public: diff --git a/src/SelectBasics/SelectBasics_SensitiveEntity.hxx b/src/SelectBasics/SelectBasics_SensitiveEntity.hxx index ae0c684359..9d6da1db66 100644 --- a/src/SelectBasics/SelectBasics_SensitiveEntity.hxx +++ b/src/SelectBasics/SelectBasics_SensitiveEntity.hxx @@ -57,7 +57,7 @@ public: //! allows a better sensitivity for //! a specific entity in selection algorithms //! useful for small sized entities. - Standard_EXPORT Standard_Integer SensitivityFactor() const; + Standard_Integer SensitivityFactor() const; //! Allows to manage sensitivity of a particular sensitive entity Standard_EXPORT void SetSensitivityFactor (const Standard_Integer theNewSens); diff --git a/src/SelectMgr/SelectMgr_BaseFrustum.hxx b/src/SelectMgr/SelectMgr_BaseFrustum.hxx index 225b835445..62e7de617d 100644 --- a/src/SelectMgr/SelectMgr_BaseFrustum.hxx +++ b/src/SelectMgr/SelectMgr_BaseFrustum.hxx @@ -102,8 +102,8 @@ public: //! There are no default parameters, but in case if: //! - transformation only is needed: @theScaleFactor must be initialized as any negative value; //! - scale only is needed: @theTrsf must be set to gp_Identity. - Standard_EXPORT virtual NCollection_Handle ScaleAndTransform (const Standard_Integer /*theScaleFactor*/, - const gp_Trsf& /*theTrsf*/) { return NULL; } + virtual NCollection_Handle ScaleAndTransform (const Standard_Integer /*theScaleFactor*/, + const gp_Trsf& /*theTrsf*/) { return NULL; } //! SAT intersection test between defined volume and given axis-aligned box Standard_EXPORT virtual Standard_Boolean Overlaps (const SelectMgr_Vec3& theBoxMin, @@ -160,7 +160,7 @@ public: //! Valid for point selection only! //! Computes depth range for global (defined for the whole view) clipping planes. - Standard_EXPORT virtual void SetViewClipping (const Graphic3d_SequenceOfHClipPlane& /*thePlanes*/) {}; + virtual void SetViewClipping (const Graphic3d_SequenceOfHClipPlane& /*thePlanes*/) {}; DEFINE_STANDARD_RTTIEXT(SelectMgr_BaseFrustum,Standard_Transient) diff --git a/src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx b/src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx index 12f89014d4..ac018e6fed 100644 --- a/src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx +++ b/src/SelectMgr/SelectMgr_SelectingVolumeManager.hxx @@ -36,7 +36,7 @@ public: //! Creates instances of all available selecting volume types Standard_EXPORT SelectMgr_SelectingVolumeManager (Standard_Boolean theToAllocateFrustums = Standard_True); - Standard_EXPORT virtual ~SelectMgr_SelectingVolumeManager() {}; + virtual ~SelectMgr_SelectingVolumeManager() {}; //! IMPORTANT: Scaling makes sense only for frustum built on a single point! //! Note that this method does not perform any checks on type of the frustum. diff --git a/src/Standard/Standard_ErrorHandlerCallback.hxx b/src/Standard/Standard_ErrorHandlerCallback.hxx index 4fd96d6484..60d89debbd 100644 --- a/src/Standard/Standard_ErrorHandlerCallback.hxx +++ b/src/Standard/Standard_ErrorHandlerCallback.hxx @@ -51,7 +51,7 @@ public: void UnregisterCallback(); //! Destructor - virtual Standard_EXPORT ~Standard_ErrorHandlerCallback (); + virtual ~Standard_ErrorHandlerCallback (); //! The callback function to perform necessary callback action. //! Called by the exception handler when it is being destroyed but diff --git a/src/Standard/Standard_Mutex.hxx b/src/Standard/Standard_Mutex.hxx index 42752a324d..3f9ce595a2 100644 --- a/src/Standard/Standard_Mutex.hxx +++ b/src/Standard/Standard_Mutex.hxx @@ -150,7 +150,7 @@ public: Standard_EXPORT Standard_Boolean TryLock (); //! Method to unlock the mutex; releases it to other users - Standard_EXPORT void Unlock (); + void Unlock (); private: diff --git a/src/Standard/Standard_Transient.hxx b/src/Standard/Standard_Transient.hxx index cd47cd1f29..40f9524470 100644 --- a/src/Standard/Standard_Transient.hxx +++ b/src/Standard/Standard_Transient.hxx @@ -90,7 +90,7 @@ public: //!@name Reference counting, for use by handle<> //! Get the reference counter of this object - Standard_EXPORT Standard_Integer GetRefCount() const { return count; } + Standard_Integer GetRefCount() const { return count; } //! Increments the reference counter of this object Standard_EXPORT void IncrementRefCounter() const; diff --git a/src/Standard/Standard_Type.hxx b/src/Standard/Standard_Type.hxx index 243d3c3689..76e9725706 100644 --- a/src/Standard/Standard_Type.hxx +++ b/src/Standard/Standard_Type.hxx @@ -176,7 +176,7 @@ namespace opencascade { class type_instance { public: - Standard_EXPORT static Handle(Standard_Type) get () { return 0; } + static Handle(Standard_Type) get () { return 0; } }; // Implementation of static function returning instance of the diff --git a/src/TDF/TDF_Data.hxx b/src/TDF/TDF_Data.hxx index 7dc4d3a424..4fd9706dfd 100644 --- a/src/TDF/TDF_Data.hxx +++ b/src/TDF/TDF_Data.hxx @@ -63,7 +63,7 @@ public: const TDF_Label Root() const; //! Returns the current transaction number. - Standard_EXPORT Standard_Integer Transaction() const; + Standard_Integer Transaction() const; //! Returns the current tick. It is incremented each Commit. Standard_Integer Time() const; diff --git a/src/TDF/TDF_Transaction.hxx b/src/TDF/TDF_Transaction.hxx index a2a2427305..f5f2a59372 100644 --- a/src/TDF/TDF_Transaction.hxx +++ b/src/TDF/TDF_Transaction.hxx @@ -88,7 +88,7 @@ public: Standard_Integer Transaction() const; //! Returns the transaction name. - Standard_EXPORT const TCollection_AsciiString& Name() const; + const TCollection_AsciiString& Name() const; //! Returns true if the transaction is open. Standard_Boolean IsOpen() const; diff --git a/src/TDocStd/TDocStd_Document.hxx b/src/TDocStd/TDocStd_Document.hxx index 1b93de74e7..6c4fce304f 100644 --- a/src/TDocStd/TDocStd_Document.hxx +++ b/src/TDocStd/TDocStd_Document.hxx @@ -225,7 +225,7 @@ public: Standard_EXPORT virtual void ChangeStorageFormat (const TCollection_ExtendedString& newStorageFormat); //! Sets nested transaction mode if isAllowed == Standard_True - Standard_EXPORT void SetNestedTransactionMode (const Standard_Boolean isAllowed = Standard_True); + void SetNestedTransactionMode (const Standard_Boolean isAllowed = Standard_True); //! Returns Standard_True if mode is set Standard_Boolean IsNestedTransactionMode() const; diff --git a/src/TObj/TObj_Model.hxx b/src/TObj/TObj_Model.hxx index c224acd46d..f22292913b 100644 --- a/src/TObj/TObj_Model.hxx +++ b/src/TObj/TObj_Model.hxx @@ -73,11 +73,11 @@ class TObj_Model : public MMgt_TShared */ //! Set messenger to use for messages output - Standard_EXPORT void SetMessenger (const Handle(Message_Messenger) &theMsgr) { myMessenger = theMsgr; } + void SetMessenger (const Handle(Message_Messenger) &theMsgr) { myMessenger = theMsgr; } //! Get messenger used for messages output (by default, the messenger from //! application is used) - Standard_EXPORT Handle(Message_Messenger) Messenger () const { return myMessenger; } + Handle(Message_Messenger) Messenger () const { return myMessenger; } public: /** @@ -302,7 +302,7 @@ class TObj_Model : public MMgt_TShared //! Sets OCAF label on which model data are stored. //! Used by persistence mechanism. - void Standard_EXPORT SetLabel(const TDF_Label& theLabel) { myLabel = theLabel; } + void SetLabel(const TDF_Label& theLabel) { myLabel = theLabel; } protected: diff --git a/src/TObj/TObj_Object.hxx b/src/TObj/TObj_Object.hxx index 3cc3085e91..0e68b13699 100644 --- a/src/TObj/TObj_Object.hxx +++ b/src/TObj/TObj_Object.hxx @@ -182,7 +182,7 @@ class TObj_Object : public MMgt_TShared //! Returns name for copy //! default implementation returns the same name - virtual Standard_EXPORT Handle(TCollection_HExtendedString) GetNameForClone + virtual Handle(TCollection_HExtendedString) GetNameForClone ( const Handle(TObj_Object)& ) const { return GetName(); } @@ -272,7 +272,7 @@ class TObj_Object : public MMgt_TShared //! Invokes from TObj_TReference::BeforeForget(). //! theLabel - label on that reference become removed //! Default implementation is empty - virtual Standard_EXPORT void BeforeForgetReference( const TDF_Label& /*theLabel*/ ) + virtual void BeforeForgetReference( const TDF_Label& /*theLabel*/ ) {} public: diff --git a/src/TObj/TObj_Partition.hxx b/src/TObj/TObj_Partition.hxx index 160d857c72..14a7abed00 100644 --- a/src/TObj/TObj_Partition.hxx +++ b/src/TObj/TObj_Partition.hxx @@ -86,7 +86,7 @@ class TObj_Partition : public TObj_Object (const Handle(TCollection_HExtendedString)& thePrefix); //! Returns prefix for names of the objects in partition. - Standard_EXPORT Handle(TCollection_HExtendedString) GetNamePrefix() const + Handle(TCollection_HExtendedString) GetNamePrefix() const { return myPrefix; } //! Generates and returns name for new object in partition. @@ -117,7 +117,7 @@ class TObj_Partition : public TObj_Object */ //! Does nothing in the partition. - virtual Standard_EXPORT Standard_Boolean Update() + virtual Standard_Boolean Update() {return Standard_True;} protected: diff --git a/src/gp/gp_Ax2.hxx b/src/gp/gp_Ax2.hxx index 1014d00dbe..a33d678db2 100644 --- a/src/gp/gp_Ax2.hxx +++ b/src/gp/gp_Ax2.hxx @@ -94,7 +94,7 @@ public: //! Exceptions //! Standard_ConstructionError if A1 is parallel to the "X //! Direction" of this coordinate system. - Standard_EXPORT void SetAxis (const gp_Ax1& A1); + void SetAxis (const gp_Ax1& A1); //! Changes the "main Direction" of this coordinate system, @@ -104,11 +104,11 @@ public: //! Exceptions //! Standard_ConstructionError if V is parallel to the "X //! Direction" of this coordinate system. - Standard_EXPORT void SetDirection (const gp_Dir& V); + void SetDirection (const gp_Dir& V); //! Changes the "Location" point (origin) of . - Standard_EXPORT void SetLocation (const gp_Pnt& P); + void SetLocation (const gp_Pnt& P); //! Changes the "Xdirection" of . The main direction @@ -118,7 +118,7 @@ public: //! Exceptions //! Standard_ConstructionError if Vx or Vy is parallel to //! the "main Direction" of this coordinate system. - Standard_EXPORT void SetXDirection (const gp_Dir& Vx); + void SetXDirection (const gp_Dir& Vx); //! Changes the "Ydirection" of . The main direction is not @@ -129,13 +129,13 @@ public: //! Exceptions //! Standard_ConstructionError if Vx or Vy is parallel to //! the "main Direction" of this coordinate system. - Standard_EXPORT void SetYDirection (const gp_Dir& Vy); + void SetYDirection (const gp_Dir& Vy); //! Computes the angular value, in radians, between the main direction of //! and the main direction of . Returns the angle //! between 0 and PI in radians. - Standard_EXPORT Standard_Real Angle (const gp_Ax2& Other) const; + Standard_Real Angle (const gp_Ax2& Other) const; //! Returns the main axis of . It is the "Location" point @@ -158,7 +158,7 @@ public: //! Returns the "YDirection" of . const gp_Dir& YDirection() const; - Standard_EXPORT Standard_Boolean IsCoplanar (const gp_Ax2& Other, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance) const; + Standard_Boolean IsCoplanar (const gp_Ax2& Other, const Standard_Real LinearTolerance, const Standard_Real AngularTolerance) const; //! Returns True if diff --git a/src/gp/gp_Ax3.hxx b/src/gp/gp_Ax3.hxx index 3e4293e9f1..7294dd3855 100644 --- a/src/gp/gp_Ax3.hxx +++ b/src/gp/gp_Ax3.hxx @@ -77,17 +77,17 @@ public: //! Creates an object corresponding to the reference //! coordinate system (OXYZ). - Standard_EXPORT gp_Ax3(); + gp_Ax3(); //! Creates a coordinate system from a right-handed //! coordinate system. - Standard_EXPORT gp_Ax3(const gp_Ax2& A); + gp_Ax3(const gp_Ax2& A); //! Creates a right handed axis placement with the //! "Location" point P and two directions, N gives the //! "Direction" and Vx gives the "XDirection". //! Raises ConstructionError if N and Vx are parallel (same or opposite orientation). - Standard_EXPORT gp_Ax3(const gp_Pnt& P, const gp_Dir& N, const gp_Dir& Vx); + gp_Ax3(const gp_Pnt& P, const gp_Dir& N, const gp_Dir& Vx); //! Creates an axis placement with the "Location" point

@@ -95,13 +95,13 @@ public: Standard_EXPORT gp_Ax3(const gp_Pnt& P, const gp_Dir& V); //! Reverses the X direction of . - Standard_EXPORT void XReverse(); + void XReverse(); //! Reverses the Y direction of . - Standard_EXPORT void YReverse(); + void YReverse(); //! Reverses the Z direction of . - Standard_EXPORT void ZReverse(); + void ZReverse(); //! Assigns the origin and "main Direction" of the axis A1 to //! this coordinate system, then recomputes its "X Direction" and "Y Direction". @@ -115,7 +115,7 @@ public: //! are parallel (same or opposite orientation) because it is //! impossible to calculate the new "XDirection" and the new //! "YDirection". - Standard_EXPORT void SetAxis (const gp_Ax1& A1); + void SetAxis (const gp_Ax1& A1); //! Changes the main direction of this coordinate system, @@ -127,11 +127,11 @@ public: //! Raises ConstructionError if . - Standard_EXPORT void SetLocation (const gp_Pnt& P); + void SetLocation (const gp_Pnt& P); //! Changes the "Xdirection" of . The main direction @@ -140,7 +140,7 @@ public: //! is computed as follows XDirection = Direction ^ (Vx ^ Direction). //! Raises ConstructionError if is parallel (same or opposite //! orientation) to the main direction of - Standard_EXPORT void SetXDirection (const gp_Dir& Vx); + void SetXDirection (const gp_Dir& Vx); //! Changes the "Ydirection" of . The main direction is not @@ -168,7 +168,7 @@ public: //! If this coordinate system is right-handed, the result //! returned is the same coordinate system. If this //! coordinate system is left-handed, the result is reversed. - Standard_EXPORT gp_Ax2 Ax2() const; + gp_Ax2 Ax2() const; //! Returns the main direction of . @@ -245,15 +245,15 @@ public: //! the "XDirection" and the "YDirection" after transformation. Standard_EXPORT gp_Ax3 Mirrored (const gp_Ax2& A2) const; - Standard_EXPORT void Rotate (const gp_Ax1& A1, const Standard_Real Ang); + void Rotate (const gp_Ax1& A1, const Standard_Real Ang); //! Rotates an axis placement. is the axis of the //! rotation . Ang is the angular value of the rotation //! in radians. - Standard_EXPORT gp_Ax3 Rotated (const gp_Ax1& A1, const Standard_Real Ang) const; + gp_Ax3 Rotated (const gp_Ax1& A1, const Standard_Real Ang) const; - Standard_EXPORT void Scale (const gp_Pnt& P, const Standard_Real S); + void Scale (const gp_Pnt& P, const Standard_Real S); //! Applies a scaling transformation on the axis placement. @@ -263,9 +263,9 @@ public: //! . the main direction of the axis placement is not changed. //! . The "XDirection" and the "YDirection" are reversed. //! So the axis placement stay right handed. - Standard_EXPORT gp_Ax3 Scaled (const gp_Pnt& P, const Standard_Real S) const; + gp_Ax3 Scaled (const gp_Pnt& P, const Standard_Real S) const; - Standard_EXPORT void Transform (const gp_Trsf& T); + void Transform (const gp_Trsf& T); //! Transforms an axis placement with a Trsf. @@ -273,21 +273,21 @@ public: //! "YDirection" are transformed with T. The resulting //! main "Direction" of is the cross product between //! the "XDirection" and the "YDirection" after transformation. - Standard_EXPORT gp_Ax3 Transformed (const gp_Trsf& T) const; + gp_Ax3 Transformed (const gp_Trsf& T) const; - Standard_EXPORT void Translate (const gp_Vec& V); + void Translate (const gp_Vec& V); //! Translates an axis plaxement in the direction of the vector //! . The magnitude of the translation is the vector's magnitude. - Standard_EXPORT gp_Ax3 Translated (const gp_Vec& V) const; + gp_Ax3 Translated (const gp_Vec& V) const; - Standard_EXPORT void Translate (const gp_Pnt& P1, const gp_Pnt& P2); + void Translate (const gp_Pnt& P1, const gp_Pnt& P2); //! Translates an axis placement from the point to the //! point . - Standard_EXPORT gp_Ax3 Translated (const gp_Pnt& P1, const gp_Pnt& P2) const; + gp_Ax3 Translated (const gp_Pnt& P1, const gp_Pnt& P2) const; diff --git a/src/gp/gp_Circ2d.hxx b/src/gp/gp_Circ2d.hxx index 4d9e1ec748..316682033c 100644 --- a/src/gp/gp_Circ2d.hxx +++ b/src/gp/gp_Circ2d.hxx @@ -82,7 +82,7 @@ public: gp_Circ2d(const gp_Ax22d& Axis, const Standard_Real Radius); //! Changes the location point (center) of the circle. - Standard_EXPORT void SetLocation (const gp_Pnt2d& P); + void SetLocation (const gp_Pnt2d& P); //! Changes the X axis of the circle. void SetXAxis (const gp_Ax2d& A); diff --git a/src/gp/gp_Elips2d.hxx b/src/gp/gp_Elips2d.hxx index be240ac36a..72f7d4269e 100644 --- a/src/gp/gp_Elips2d.hxx +++ b/src/gp/gp_Elips2d.hxx @@ -87,37 +87,37 @@ public: //! It is possible to create an ellipse with //! MajorRadius = MinorRadius. //! Raises ConstructionError if MajorRadius < MinorRadius or MinorRadius < 0.0 - Standard_EXPORT gp_Elips2d(const gp_Ax22d& A, const Standard_Real MajorRadius, const Standard_Real MinorRadius); + gp_Elips2d(const gp_Ax22d& A, const Standard_Real MajorRadius, const Standard_Real MinorRadius); //! Modifies this ellipse, by redefining its local coordinate system so that //! - its origin becomes P. - Standard_EXPORT void SetLocation (const gp_Pnt2d& P); + void SetLocation (const gp_Pnt2d& P); //! Changes the value of the major radius. //! Raises ConstructionError if MajorRadius < MinorRadius. - Standard_EXPORT void SetMajorRadius (const Standard_Real MajorRadius); + void SetMajorRadius (const Standard_Real MajorRadius); //! Changes the value of the minor radius. //! Raises ConstructionError if MajorRadius < MinorRadius or MinorRadius < 0.0 - Standard_EXPORT void SetMinorRadius (const Standard_Real MinorRadius); + void SetMinorRadius (const Standard_Real MinorRadius); //! Modifies this ellipse, by redefining its local coordinate system so that //! it becomes A. - Standard_EXPORT void SetAxis (const gp_Ax22d& A); + void SetAxis (const gp_Ax22d& A); //! Modifies this ellipse, by redefining its local coordinate system so that //! its origin and its "X Direction" become those //! of the axis A. The "Y Direction" is then //! recomputed. The orientation of the local coordinate //! system is not modified. - Standard_EXPORT void SetXAxis (const gp_Ax2d& A); + void SetXAxis (const gp_Ax2d& A); //! Modifies this ellipse, by redefining its local coordinate system so that //! its origin and its "Y Direction" become those //! of the axis A. The "X Direction" is then //! recomputed. The orientation of the local coordinate //! system is not modified. - Standard_EXPORT void SetYAxis (const gp_Ax2d& A); + void SetYAxis (const gp_Ax2d& A); //! Computes the area of the ellipse. Standard_Real Area() const; @@ -217,34 +217,34 @@ public: //! to an axis placement which is the axis of the symmetry. Standard_EXPORT gp_Elips2d Mirrored (const gp_Ax2d& A) const; - Standard_EXPORT void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); + void Rotate (const gp_Pnt2d& P, const Standard_Real Ang); - Standard_EXPORT gp_Elips2d Rotated (const gp_Pnt2d& P, const Standard_Real Ang) const; + gp_Elips2d Rotated (const gp_Pnt2d& P, const Standard_Real Ang) const; - Standard_EXPORT void Scale (const gp_Pnt2d& P, const Standard_Real S); + void Scale (const gp_Pnt2d& P, const Standard_Real S); //! Scales a ellipse. S is the scaling value. - Standard_EXPORT gp_Elips2d Scaled (const gp_Pnt2d& P, const Standard_Real S) const; + gp_Elips2d Scaled (const gp_Pnt2d& P, const Standard_Real S) const; - Standard_EXPORT void Transform (const gp_Trsf2d& T); + void Transform (const gp_Trsf2d& T); //! Transforms an ellipse with the transformation T from class Trsf2d. - Standard_EXPORT gp_Elips2d Transformed (const gp_Trsf2d& T) const; + gp_Elips2d Transformed (const gp_Trsf2d& T) const; - Standard_EXPORT void Translate (const gp_Vec2d& V); + void Translate (const gp_Vec2d& V); //! Translates a ellipse in the direction of the vector V. //! The magnitude of the translation is the vector's magnitude. - Standard_EXPORT gp_Elips2d Translated (const gp_Vec2d& V) const; + gp_Elips2d Translated (const gp_Vec2d& V) const; - Standard_EXPORT void Translate (const gp_Pnt2d& P1, const gp_Pnt2d& P2); + void Translate (const gp_Pnt2d& P1, const gp_Pnt2d& P2); //! Translates a ellipse from the point P1 to the point P2. - Standard_EXPORT gp_Elips2d Translated (const gp_Pnt2d& P1, const gp_Pnt2d& P2) const; + gp_Elips2d Translated (const gp_Pnt2d& P1, const gp_Pnt2d& P2) const; diff --git a/src/gp/gp_GTrsf.hxx b/src/gp/gp_GTrsf.hxx index 9976dc1182..08f374fc09 100644 --- a/src/gp/gp_GTrsf.hxx +++ b/src/gp/gp_GTrsf.hxx @@ -145,7 +145,7 @@ public: //! transformation (relative to a point, an axis or a plane), a //! scaling transformation, a compound transformation or //! some other type of transformation. - Standard_EXPORT gp_TrsfForm Form() const; + gp_TrsfForm Form() const; //! verify and set the shape of the GTrsf Other or CompoundTrsf diff --git a/src/gp/gp_Hypr2d.hxx b/src/gp/gp_Hypr2d.hxx index be1e29c869..8013f9d06b 100644 --- a/src/gp/gp_Hypr2d.hxx +++ b/src/gp/gp_Hypr2d.hxx @@ -94,7 +94,7 @@ public: //! It is yet possible to create an Hyperbola with //! MajorRadius <= MinorRadius. //! Raises ConstructionError if MajorRadius < 0.0 or MinorRadius < 0.0 - Standard_EXPORT gp_Hypr2d(const gp_Ax2d& MajorAxis, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Boolean Sense = Standard_True); + gp_Hypr2d(const gp_Ax2d& MajorAxis, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Boolean Sense = Standard_True); //! a hyperbola with radii MajorRadius and @@ -251,7 +251,7 @@ public: //! - the unit vector is the "X Direction" or "Y Direction" //! respectively of the local coordinate system of this hyperbola //! Returns the major axis of the hyperbola. - Standard_EXPORT gp_Ax2d XAxis() const; + gp_Ax2d XAxis() const; //! Computes an axis whose //! - the origin is the center of this hyperbola, and diff --git a/src/gp/gp_Lin.hxx b/src/gp/gp_Lin.hxx index cf9f9700b8..e7b143f4d8 100644 --- a/src/gp/gp_Lin.hxx +++ b/src/gp/gp_Lin.hxx @@ -63,8 +63,8 @@ public: //! Creates a line passing through point P and parallel to //! vector V (P and V are, respectively, the origin and //! the unit vector of the positioning axis of the line). - Standard_EXPORT gp_Lin(const gp_Pnt& P, const gp_Dir& V); - + gp_Lin(const gp_Pnt& P, const gp_Dir& V); + void Reverse(); //! Reverses the direction of the line. diff --git a/src/gp/gp_Lin2d.hxx b/src/gp/gp_Lin2d.hxx index 89b9ce9a93..d8064342b0 100644 --- a/src/gp/gp_Lin2d.hxx +++ b/src/gp/gp_Lin2d.hxx @@ -160,7 +160,7 @@ public: //! Ang is the angular value of the rotation in radians. gp_Lin2d Rotated (const gp_Pnt2d& P, const Standard_Real Ang) const; - Standard_EXPORT void Scale (const gp_Pnt2d& P, const Standard_Real S); + void Scale (const gp_Pnt2d& P, const Standard_Real S); //! Scales a line. S is the scaling value. Only the diff --git a/src/gp/gp_Parab.hxx b/src/gp/gp_Parab.hxx index 5730118925..8b7b3e488e 100644 --- a/src/gp/gp_Parab.hxx +++ b/src/gp/gp_Parab.hxx @@ -107,7 +107,7 @@ public: void SetLocation (const gp_Pnt& P); //! Changes the local coordinate system of the parabola. - Standard_EXPORT void SetPosition (const gp_Ax2& A2); + void SetPosition (const gp_Ax2& A2); //! Returns the main axis of the parabola. diff --git a/src/gp/gp_Pnt2d.hxx b/src/gp/gp_Pnt2d.hxx index d2a94df240..d6073ec337 100644 --- a/src/gp/gp_Pnt2d.hxx +++ b/src/gp/gp_Pnt2d.hxx @@ -72,7 +72,7 @@ public: //! Index = 1 => X is returned //! Index = 2 => Y is returned //! Raises OutOfRange if Index != {1, 2}. - Standard_EXPORT Standard_Real Coord (const Standard_Integer Index) const; + Standard_Real Coord (const Standard_Integer Index) const; //! For this point returns its two coordinates as a number pair. void Coord (Standard_Real& Xp, Standard_Real& Yp) const; diff --git a/src/gp/gp_Quaternion.hxx b/src/gp/gp_Quaternion.hxx index 933ae6648b..9a84169e2c 100644 --- a/src/gp/gp_Quaternion.hxx +++ b/src/gp/gp_Quaternion.hxx @@ -43,32 +43,32 @@ public: //! Creates an identity quaternion - gp_Quaternion(); + gp_Quaternion(); //! Creates quaternion directly from component values - Standard_EXPORT gp_Quaternion(const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); + gp_Quaternion(const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); //! Creates copy of another quaternion - Standard_EXPORT gp_Quaternion(const gp_Quaternion& theToCopy); + gp_Quaternion(const gp_Quaternion& theToCopy); //! Creates quaternion representing shortest-arc rotation //! operator producing vector theVecTo from vector theVecFrom. - Standard_EXPORT gp_Quaternion(const gp_Vec& theVecFrom, const gp_Vec& theVecTo); + gp_Quaternion(const gp_Vec& theVecFrom, const gp_Vec& theVecTo); //! Creates quaternion representing shortest-arc rotation //! operator producing vector theVecTo from vector theVecFrom. //! Additional vector theHelpCrossVec defines preferred direction for //! rotation and is used when theVecTo and theVecFrom are directed //! oppositely. - Standard_EXPORT gp_Quaternion(const gp_Vec& theVecFrom, const gp_Vec& theVecTo, const gp_Vec& theHelpCrossVec); + gp_Quaternion(const gp_Vec& theVecFrom, const gp_Vec& theVecTo, const gp_Vec& theHelpCrossVec); //! Creates quaternion representing rotation on angle //! theAngle around vector theAxis - Standard_EXPORT gp_Quaternion(const gp_Vec& theAxis, const Standard_Real theAngle); + gp_Quaternion(const gp_Vec& theAxis, const Standard_Real theAngle); //! Creates quaternion from rotation matrix 3*3 //! (which should be orthonormal skew-symmetric matrix) - Standard_EXPORT gp_Quaternion(const gp_Mat& theMat); + gp_Quaternion(const gp_Mat& theMat); //! Simple equal test without precision Standard_EXPORT Standard_Boolean IsEqual (const gp_Quaternion& theOther) const; @@ -109,49 +109,49 @@ public: //! Returns Euler angles describing current rotation Standard_EXPORT void GetEulerAngles (const gp_EulerSequence theOrder, Standard_Real& theAlpha, Standard_Real& theBeta, Standard_Real& theGamma) const; - Standard_EXPORT void Set (const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); + void Set (const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Real w); - Standard_EXPORT void Set (const gp_Quaternion& theQuaternion); + void Set (const gp_Quaternion& theQuaternion); - Standard_EXPORT Standard_Real X() const; + Standard_Real X() const; - Standard_EXPORT Standard_Real Y() const; + Standard_Real Y() const; - Standard_EXPORT Standard_Real Z() const; + Standard_Real Z() const; - Standard_EXPORT Standard_Real W() const; + Standard_Real W() const; //! Make identity quaternion (zero-rotation) - Standard_EXPORT void SetIdent(); + void SetIdent(); //! Reverse direction of rotation (conjugate quaternion) - Standard_EXPORT void Reverse(); + void Reverse(); //! Return rotation with reversed direction (conjugated quaternion) - Standard_EXPORT gp_Quaternion Reversed() const; + gp_Quaternion Reversed() const; //! Inverts quaternion (both rotation direction and norm) - Standard_EXPORT void Invert(); + void Invert(); //! Return inversed quaternion q^-1 - Standard_EXPORT gp_Quaternion Inverted() const; + gp_Quaternion Inverted() const; //! Returns square norm of quaternion - Standard_EXPORT Standard_Real SquareNorm() const; + Standard_Real SquareNorm() const; //! Returns norm of quaternion - Standard_EXPORT Standard_Real Norm() const; + Standard_Real Norm() const; //! Scale all components by quaternion by theScale; note that //! rotation is not changed by this operation (except 0-scaling) - Standard_EXPORT void Scale (const Standard_Real theScale); + void Scale (const Standard_Real theScale); void operator *= (const Standard_Real theScale) { Scale(theScale); } //! Returns scaled quaternion - Standard_EXPORT gp_Quaternion Scaled (const Standard_Real theScale) const; + gp_Quaternion Scaled (const Standard_Real theScale) const; gp_Quaternion operator * (const Standard_Real theScale) const { return Scaled(theScale); @@ -168,26 +168,26 @@ gp_Quaternion operator * (const Standard_Real theScale) const Standard_EXPORT void Normalize(); //! Returns quaternion scaled so that its norm goes to 1. - Standard_EXPORT gp_Quaternion Normalized() const; + gp_Quaternion Normalized() const; //! Returns quaternion with all components negated. //! Note that this operation does not affect neither //! rotation operator defined by quaternion nor its norm. - Standard_EXPORT gp_Quaternion Negated() const; + gp_Quaternion Negated() const; gp_Quaternion operator -() const { return Negated(); } //! Makes sum of quaternion components; result is "rotations mix" - Standard_EXPORT gp_Quaternion Added (const gp_Quaternion& theOther) const; + gp_Quaternion Added (const gp_Quaternion& theOther) const; gp_Quaternion operator + (const gp_Quaternion& theOther) const { return Added(theOther); } //! Makes difference of quaternion components; result is "rotations mix" - Standard_EXPORT gp_Quaternion Subtracted (const gp_Quaternion& theOther) const; + gp_Quaternion Subtracted (const gp_Quaternion& theOther) const; gp_Quaternion operator - (const gp_Quaternion& theOther) const { return Subtracted(theOther); @@ -199,35 +199,35 @@ gp_Quaternion operator - (const gp_Quaternion& theOther) const //! Notices than: //! qq' != q'q; //! qq^-1 = q; - Standard_EXPORT gp_Quaternion Multiplied (const gp_Quaternion& theOther) const; + gp_Quaternion Multiplied (const gp_Quaternion& theOther) const; gp_Quaternion operator * (const gp_Quaternion& theOther) const { return Multiplied(theOther); } //! Adds componnets of other quaternion; result is "rotations mix" - Standard_EXPORT void Add (const gp_Quaternion& theOther); + void Add (const gp_Quaternion& theOther); void operator += (const gp_Quaternion& theOther) { Add(theOther); } //! Subtracts componnets of other quaternion; result is "rotations mix" - Standard_EXPORT void Subtract (const gp_Quaternion& theOther); + void Subtract (const gp_Quaternion& theOther); void operator -= (const gp_Quaternion& theOther) { Subtract(theOther); } //! Adds rotation by multiplication - Standard_EXPORT void Multiply (const gp_Quaternion& theOther); + void Multiply (const gp_Quaternion& theOther); void operator *= (const gp_Quaternion& theOther) { Multiply(theOther); } //! Computes inner product / scalar product / Dot - Standard_EXPORT Standard_Real Dot (const gp_Quaternion& theOther) const; + Standard_Real Dot (const gp_Quaternion& theOther) const; //! Return rotation angle from -PI to PI Standard_EXPORT Standard_Real GetRotationAngle() const; diff --git a/src/gp/gp_Torus.hxx b/src/gp/gp_Torus.hxx index e1d5beaeb1..69279b3a31 100644 --- a/src/gp/gp_Torus.hxx +++ b/src/gp/gp_Torus.hxx @@ -120,7 +120,7 @@ public: //! Reverses the V parametrization of the torus //! reversing the ZAxis. - Standard_EXPORT void VReverse(); + void VReverse(); //! returns true if the Ax3, the local coordinate system of this torus, is right handed. Standard_Boolean Direct() const; diff --git a/src/gp/gp_Trsf.hxx b/src/gp/gp_Trsf.hxx index de7e7f59ce..dce0985006 100644 --- a/src/gp/gp_Trsf.hxx +++ b/src/gp/gp_Trsf.hxx @@ -197,7 +197,7 @@ public: //! Raises ConstructionError If S is null. Standard_EXPORT void SetScaleFactor (const Standard_Real S); - Standard_EXPORT void SetForm (const gp_TrsfForm P); + void SetForm (const gp_TrsfForm P); //! Sets the coefficients of the transformation. The //! transformation of the point x,y,z is the point