Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,77 @@
|
||||
/**
|
||||
**
|
||||
** @RDE_HEADER@
|
||||
** Definition of rubberband class to define moving transformation
|
||||
** $Id$
|
||||
** $HeadURL$
|
||||
** $Author$
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Hardware-Environment: Intel-PC
|
||||
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5
|
||||
**
|
||||
** Language ........: C++ 11
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Author ...........: Jörg Turla, SPD G, Tel. 3132
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
**
|
||||
** Notes .........:
|
||||
**
|
||||
** 07.04.2016, JT : First edition for use with Qt5
|
||||
**
|
||||
** -----------------------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "rubberband_transform.h"
|
||||
|
||||
|
||||
namespace SituationMap { namespace RB
|
||||
{
|
||||
|
||||
class RubberbandPointHandle;
|
||||
|
||||
/**
|
||||
@class RubberbandTransformRotate rubberband_transform_rotate.h
|
||||
@brief Implementation of a rubberband to rotate features
|
||||
@see Rubberband
|
||||
*/
|
||||
class SITUATIONMAP_EXPORT RubberbandTransformRotate : public RubberbandTransform
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
friend class RubberbandFactory;
|
||||
|
||||
/**
|
||||
@name Construction & Destruction
|
||||
@}
|
||||
*/
|
||||
|
||||
explicit RubberbandTransformRotate( SituationMap::Map * map, QObject * parent );
|
||||
|
||||
public:
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
Returns sinus of rotation angle
|
||||
*/
|
||||
qreal rotationSin() const;
|
||||
|
||||
/**
|
||||
Return cosinus of roation angle
|
||||
*/
|
||||
qreal rotationCos() const;
|
||||
|
||||
/**
|
||||
Return rotation angle (math.) in radians
|
||||
*/
|
||||
qreal rotationAngle() const;
|
||||
|
||||
}; /* RubberbandTransformRotate */
|
||||
|
||||
} } /* namespace SituationMap::RB */
|
||||
Reference in new issue
Block a user