* \brief Circle in 3D
*/
-class GEOMAPI_EXPORT GeomAPI_Circ : public GeomAPI_Interface
+class GeomAPI_Circ : public GeomAPI_Interface
{
public:
/// Creation of circle defined by center point, direction and circle radius
- GeomAPI_Circ(const std::shared_ptr<GeomAPI_Pnt>& theCenter,
+ GEOMAPI_EXPORT GeomAPI_Circ(const std::shared_ptr<GeomAPI_Pnt>& theCenter,
const std::shared_ptr<GeomAPI_Dir>& theDir, double theRadius);
/// Return center of the circle
- const std::shared_ptr<GeomAPI_Pnt> center() const;
+ GEOMAPI_EXPORT const std::shared_ptr<GeomAPI_Pnt> center() const;
/// Return radius of the circle
- double radius() const;
+ GEOMAPI_EXPORT double radius() const;
/// Project point on circle
- const std::shared_ptr<GeomAPI_Pnt> project(
+ GEOMAPI_EXPORT const std::shared_ptr<GeomAPI_Pnt> project(
const std::shared_ptr<GeomAPI_Pnt>& thePoint) const;
};
* \brief General base class for all interfaces in this package
*/
-class GEOMAPI_EXPORT GeomAPI_Interface
+class GeomAPI_Interface
{
private:
std::shared_ptr<void> myImpl; ///< pointer to the internal impl object
public:
/// None - constructor
- GeomAPI_Interface();
+ GEOMAPI_EXPORT GeomAPI_Interface();
/// Constructor by the impl pointer (used for internal needs)
template<class T> explicit GeomAPI_Interface(T* theImpl)
}
/// Destructor
- virtual ~GeomAPI_Interface();
+ GEOMAPI_EXPORT virtual ~GeomAPI_Interface();
/// Returns the pointer to the impl
template<class T> inline T* implPtr()
}
/// Returns true if the impl is empty
- bool empty() const;
+ GEOMAPI_EXPORT bool empty() const;
};
#endif
}
-static double MyArrowSize = 30.;
+static double MyArrowSize = 24.;
double getArrowSize()
{
return MyArrowSize;
MyArrowSize = theSize;
}
-static double MyTextHeight = 20;
+static double MyTextHeight = 16;
double getTextHeight()
{
return MyTextHeight;
double getDefaultTextHeight()
{
- return 30;
+ return 16;
}
double getFlyoutDistance(const ModelAPI_Feature* theConstraint)