


	// ***** AUTOGENERATED CODE, DO NOT EDIT *****
    
        #ifndef RECMASHELLRESTRICTANGLELENGTH_H
        #define RECMASHELLRESTRICTANGLELENGTH_H

        #include <QScriptEngine>
        #include <QScriptValue>
        #include <QScriptContextInfo>
        #include <QDebug>

        
                #include "RRestrictAngleLength.h"
            

        /**
         * \ingroup scripting_ecmaapi
         */
        class REcmaShellRestrictAngleLength : public RRestrictAngleLength {

        public:
      
    // Destructor:
    
            ~REcmaShellRestrictAngleLength();
        static RRestrictAngleLength* getSelf(const QString& fName, QScriptContext* context)
    ;static REcmaShellRestrictAngleLength* getSelfShell(const QString& fName, QScriptContext* context)
    ;
    
    
      
      
      
      
    
    
    // Constructors:
    
      REcmaShellRestrictAngleLength(
                RDocumentInterface * documentInterface
        = NULL
            );
        
      REcmaShellRestrictAngleLength(
                RDocumentInterface * documentInterface, double baseAngle, double angle, double baseLength, double length
            );
        
    
    
      RVector restrictSnap(
                const RVector & position, const RVector & relativeZero
            );
        
    
    
      void setBaseAngle(
                double a
            );
        
    
    
      void setAngle(
                double a
            );
        
    
    
      void setBaseLength(
                double l
            );
        
    
    
      void setLength(
                double l
            );
        
    
    
      void setRestrictAngle(
                bool on
            );
        
    
    
      void setRestrictLength(
                bool on
            );
        
    
  
        // methods of 1st level base class RSnapRestriction:
        
      void showUiOptions(
                
            );
        
    
      void hideUiOptions(
                
            );
        
    
      RVector getLastSnap(
                
            );
        
    
      void reset(
                
            );
        
    

    // protected methods (only available for ECMA shell classes) (generated by xsl2xpp.xsl):
	QScriptValue __qtscript_self;
            };
            Q_DECLARE_METATYPE(REcmaShellRestrictAngleLength*)
        
	#endif
    