#ifndef _COM_SUN_STAR_DRAWING_DIRECTION3D_HPP_
#define _COM_SUN_STAR_DRAWING_DIRECTION3D_HPP_

#ifndef _COM_SUN_STAR_DRAWING_DIRECTION3D_HDL_
#include <com/sun/star/drawing/Direction3D.hdl>
#endif

#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include <com/sun/star/uno/Type.hxx>
#endif


namespace com
{
namespace sun
{
namespace star
{
namespace drawing
{

inline Direction3D::Direction3D() SAL_THROW( () )
    : DirectionX((double)0)
    , DirectionY((double)0)
    , DirectionZ((double)0)
{
}

inline Direction3D::Direction3D(const double& __DirectionX, const double& __DirectionY, const double& __DirectionZ) SAL_THROW( () )
    : DirectionX(__DirectionX)
    , DirectionY(__DirectionY)
    , DirectionZ(__DirectionZ)
{
}

} // drawing
} // star
} // sun
} // com

#if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
static typelib_TypeDescriptionReference * s_pType_com_sun_star_drawing_Direction3D = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::drawing::Direction3D* ) SAL_THROW( () )
{
    #if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
    static typelib_TypeDescriptionReference * s_pType_com_sun_star_drawing_Direction3D = 0;
    #endif

    if ( !s_pType_com_sun_star_drawing_Direction3D )
    {
        typelib_static_type_init( &s_pType_com_sun_star_drawing_Direction3D, typelib_TypeClass_STRUCT, "com.sun.star.drawing.Direction3D" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_drawing_Direction3D );
}

#endif // _COM_SUN_STAR_DRAWING_DIRECTION3D_HPP_
