• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

step/stepcore

  • sources
  • kde-4.12
  • kdeedu
  • step
  • stepcore
Namespaces | Functions | Variables
spring.cc File Reference
#include "spring.h"
#include "types.h"
#include <algorithm>
#include <cmath>
#include <QtGlobal>
Include dependency graph for spring.cc:

Go to the source code of this file.

Namespaces

 StepCore
 

Functions

 StepCore::QT_TR_NOOP ("Errors class for Spring")
 
 StepCore::QT_TR_NOOP ("Current length variance")
 
lengthVariance StepCore::QT_TR_NOOP ("Damping variance")
 
 StepCore::QT_TRANSLATE_NOOP ("Units","m")
 
 StepCore::QT_TRANSLATE_NOOP ("ObjectClass","SpringErrors")
 
 StepCore::QT_TRANSLATE_NOOP ("PropertyName","lengthVariance")
 
lengthVariance StepCore::QT_TRANSLATE_NOOP ("PropertyName","dampingVariance")
 
lengthVariance StepCore::QT_TRANSLATE_NOOP ("Units","N/m")
 
 StepCore::STEPCORE_META_OBJECT (Spring, QT_TRANSLATE_NOOP("ObjectClass","Spring"), QT_TR_NOOP("Massless spring which can be connected to bodies"), 0, STEPCORE_SUPER_CLASS(Item) STEPCORE_SUPER_CLASS(Force), STEPCORE_PROPERTY_RW(double, restLength, QT_TRANSLATE_NOOP("PropertyName","restLength"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Rest length"), restLength, setRestLength) STEPCORE_PROPERTY_R_D(double, length, QT_TRANSLATE_NOOP("PropertyName","length"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Current length"), length) STEPCORE_PROPERTY_RW(double, stiffness, QT_TRANSLATE_NOOP("PropertyName","stiffness"), QT_TRANSLATE_NOOP("Units","N/m"), QT_TR_NOOP("Stiffness"), stiffness, setStiffness) STEPCORE_PROPERTY_RW(double, damping, QT_TRANSLATE_NOOP("PropertyName","damping"), QT_TRANSLATE_NOOP("Units","N s/m"), QT_TR_NOOP("Damping"), damping, setDamping) STEPCORE_PROPERTY_RW(Object *, body1, QT_TRANSLATE_NOOP("PropertyName","body1"), STEPCORE_UNITS_NULL, QT_TR_NOOP("Body1"), body1, setBody1) STEPCORE_PROPERTY_RW(Object *, body2, QT_TRANSLATE_NOOP("PropertyName","body2"), STEPCORE_UNITS_NULL, QT_TR_NOOP("Body2"), body2, setBody2) STEPCORE_PROPERTY_RW(StepCore::Vector2d, localPosition1, QT_TRANSLATE_NOOP("PropertyName","localPosition1"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Local position 1"), localPosition1, setLocalPosition1) STEPCORE_PROPERTY_RW(StepCore::Vector2d, localPosition2, QT_TRANSLATE_NOOP("PropertyName","localPosition2"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Local position 2"), localPosition2, setLocalPosition2) STEPCORE_PROPERTY_R_D(StepCore::Vector2d, position1, QT_TRANSLATE_NOOP("PropertyName","position1"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Position1"), position1) STEPCORE_PROPERTY_R_D(StepCore::Vector2d, position2, QT_TRANSLATE_NOOP("PropertyName","position2"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Position2"), position2) STEPCORE_PROPERTY_R_D(double, force, QT_TRANSLATE_NOOP("PropertyName","force"), QT_TRANSLATE_NOOP("Units","N"), QT_TR_NOOP("Spring tension force"), force)) STEPCORE_META_OBJECT(SpringErrors
 
 StepCore::STEPCORE_PROPERTY_RW (double, restLengthVariance, QT_TRANSLATE_NOOP("PropertyName","restLengthVariance"), QT_TRANSLATE_NOOP("Units","m"), QT_TR_NOOP("Rest length variance"), restLengthVariance, setRestLengthVariance) STEPCORE_PROPERTY_R_D(double
 
lengthVariance StepCore::STEPCORE_PROPERTY_RW (double, stiffnessVariance, QT_TRANSLATE_NOOP("PropertyName","stiffnessVariance"), QT_TRANSLATE_NOOP("Units","N/m"), QT_TR_NOOP("Stiffness variance"), stiffnessVariance, setStiffnessVariance) STEPCORE_PROPERTY_RW(double
 
 StepCore::STEPCORE_SUPER_CLASS (ObjectErrors)
 

Variables

lengthVariance StepCore::dampingVariance
 
 StepCore::lengthVariance
 
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal