{
}
-//=================================================================================================
-GeomAPI_Trsf::GeomAPI_Trsf(void* theTrsf)
-: GeomAPI_Interface(theTrsf)
-{
-}
-
//=================================================================================================
void GeomAPI_Trsf::setTranslation(const std::shared_ptr<GeomAPI_Ax1> theAxis,
const double theDistance)
public:
/// Keeps no transformation, it may be set by setImpl
GEOMAPI_EXPORT GeomAPI_Trsf();
+
+ /// Constructor by the impl pointer (used for internal needs)
+ template<class T> explicit GeomAPI_Trsf(T* theTrsf)
+ : GeomAPI_Interface(theTrsf)
+ {
+ }
+
/// Takes the pointer to existing transformation
GEOMAPI_EXPORT GeomAPI_Trsf(void* theTrsf);