15#ifndef MOMENTUM_LINEARRANGE_H
16#define MOMENTUM_LINEARRANGE_H
18#include "momentum_namespace.h"
19#include "momentum_export.h"
21#include "LinearSecondaryJoint.h"
27 class RangeController;
60#ifndef AGX_MOMENTUM_ANALYSIS_API
67 void setRange(std::pair<double, double> range);
81 std::string __str__()
const;
85 agx::RangeController* getAgxRange()
const;
Linear range will limit the motion between min and max range.
Definition: LinearRange.h:38
std::pair< double, double > getRange() const
Get the min and max position (unit: meter) of the movement that this range allow.
void setRange(std::pair< double, double > range)
Set the min and max position (unit: meter) of the movement that this range allow.
void setRange(double min, double max)
Set the min and max position (unit: meter) of the movement that this range allow.
A base class for motors, springs and ranges on linear constraints.
Definition: LinearSecondaryJoint.h:38
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29