ad_physics
|
namespace physics More...
Typedefs | |
typedef std::vector<::ad::physics::Acceleration3D > | Acceleration3DList |
DataType Acceleration3DList. More... | |
typedef std::vector<::ad::physics::Acceleration > | AccelerationList |
DataType AccelerationList. More... | |
typedef std::vector<::ad::physics::AccelerationRange > | AccelerationRangeList |
DataType AccelerationRangeList. More... | |
typedef std::vector<::ad::physics::Angle > | AngleList |
DataType AngleList. More... | |
typedef std::vector<::ad::physics::AngleRange > | AngleRangeList |
DataType AngleRangeList. More... | |
typedef std::vector<::ad::physics::AngularAcceleration > | AngularAccelerationList |
DataType AngularAccelerationList. More... | |
typedef std::vector<::ad::physics::AngularVelocity3D > | AngularVelocity3DList |
DataType AngularVelocity3DList. More... | |
typedef std::vector<::ad::physics::AngularVelocity > | AngularVelocityList |
DataType AngularVelocityList. More... | |
typedef std::vector<::ad::physics::Dimension2D > | Dimension2DList |
DataType Dimension2DList. More... | |
typedef std::vector<::ad::physics::Dimension3D > | Dimension3DList |
DataType Dimension3DList. More... | |
typedef std::vector<::ad::physics::Distance2D > | Distance2DList |
DataType Distance2DList. More... | |
typedef std::vector<::ad::physics::Distance3D > | Distance3DList |
DataType Distance3DList. More... | |
typedef std::vector<::ad::physics::Distance > | DistanceList |
DataType DistanceList. More... | |
typedef std::vector<::ad::physics::DistanceSquared > | DistanceSquaredList |
DataType DistanceSquaredList. More... | |
typedef std::vector<::ad::physics::Duration > | DurationList |
DataType DurationList. More... | |
typedef std::vector<::ad::physics::DurationSquared > | DurationSquaredList |
DataType DurationSquaredList. More... | |
typedef std::vector<::ad::physics::MetricRange > | MetricRangeList |
DataType MetricRangeList. More... | |
typedef std::vector<::ad::physics::ParametricRange > | ParametricRangeList |
DataType ParametricRangeList. More... | |
typedef std::vector<::ad::physics::ParametricValue > | ParametricValueList |
DataType ParametricValueList. More... | |
typedef std::vector<::ad::physics::Probability > | ProbabilityList |
DataType ProbabilityList. More... | |
typedef std::vector<::ad::physics::RatioValue > | RatioValueList |
DataType RatioValueList. More... | |
typedef std::vector<::ad::physics::Speed > | SpeedList |
DataType SpeedList. More... | |
typedef std::vector<::ad::physics::SpeedRange > | SpeedRangeList |
DataType SpeedRangeList. More... | |
typedef std::vector<::ad::physics::SpeedSquared > | SpeedSquaredList |
DataType SpeedSquaredList. More... | |
typedef std::vector<::ad::physics::Velocity > | VelocityList |
DataType VelocityList. More... | |
typedef std::vector<::ad::physics::Weight > | WeightList |
DataType WeightList. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, Acceleration const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Acceleration3D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, AccelerationRange const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Angle const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, AngleRange const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, AngularAcceleration const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, AngularVelocity const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, AngularVelocity3D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Dimension2D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Dimension3D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Distance const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Distance2D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Distance3D const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, DistanceSquared const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Duration const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, DurationSquared const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, MetricRange const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, ParametricRange const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, ParametricValue const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Probability const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, RatioValue const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Speed const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, SpeedRange const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, SpeedSquared const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Velocity const &_value) |
standard ostream operator More... | |
std::ostream & | operator<< (std::ostream &os, Weight const &_value) |
standard ostream operator More... | |
static const Angle | c2PI (2. *M_PI) |
constant 2*PI | |
Angle | normalizeAngle (Angle const &angle) |
Angle | normalizeAngleSigned (Angle const &angle) |
template<typename RangeType > | |
bool | isRangeValid (RangeType const &range) |
template<typename RangeType > | |
bool | isRangeEmpty (RangeType const &range) |
template<typename RangeType , typename RangeBaseType > | |
bool | isWithinRange (RangeType const &range, RangeBaseType const &value) |
Checks if value of RangeBaseType is within range. More... | |
template<typename RangeType > | |
bool | isRangeContained (RangeType const &left, RangeType const &right) |
Checks if right range is contained in left one. More... | |
template<typename RangeType > | |
bool | doRangesOverlap (RangeType const &left, RangeType const &right) |
Checks left range overlaps right one. More... | |
template<typename RangeType > | |
bool | areRangesDisjunct (RangeType const &left, RangeType const &right) |
Checks left range is disjunct from right one. More... | |
template<typename RangeType > | |
bool | doesRangePredate (RangeType const &left, RangeType const &right) |
Checks if left range comes directly before right one. More... | |
template<typename RangeType > | |
bool | doesRangeSucceed (RangeType const &left, RangeType const &right) |
Checks if left range comes directly after right one. More... | |
template<typename RangeType > | |
bool | extendRangeWith (RangeType &left, RangeType const &right) |
Extends left range with right one. Direction of extension depends of the relative position of ranges. More... | |
template<typename RangeType > | |
RangeType | getUnionRange (RangeType const &left, RangeType const &right) |
Calculate union of left and right range. More... | |
template<typename RangeType , typename RangeBaseType > | |
RangeType | getUnionRange (RangeType const &left, RangeBaseType const &value) |
Calculate union of left range with additional value. More... | |
template<typename RangeType > | |
bool | unionRangeWith (RangeType &left, RangeType const &right) |
template<typename RangeType , typename RangeBaseType > | |
bool | unionRangeWith (RangeType &left, RangeBaseType const &value) |
template<typename RangeType > | |
RangeType | getIntersectionRange (RangeType const &left, RangeType const &right) |
Intersect this range with right one. More... | |
template<typename RangeType > | |
bool | intersectRangeWith (RangeType &left, RangeType const &right) |
Intersect left range with right one and store intersection in left. More... | |
Variables | |
static const Angle | cPI (M_PI) |
constant PI | |
static const Angle | cPI_2 (M_PI_2) |
constant PI/2 | |
namespace physics
namespace for physics datatypes and operations
namespace for RSS physics datatypes and operations
typedef std::vector<::ad::physics::Acceleration3D> ad::physics::Acceleration3DList |
DataType Acceleration3DList.
List of Acceleration3D
typedef std::vector<::ad::physics::Acceleration> ad::physics::AccelerationList |
DataType AccelerationList.
List of Acceleration
typedef std::vector<::ad::physics::AccelerationRange> ad::physics::AccelerationRangeList |
DataType AccelerationRangeList.
List of AccelerationRange
typedef std::vector<::ad::physics::Angle> ad::physics::AngleList |
DataType AngleList.
List of Angle
typedef std::vector<::ad::physics::AngleRange> ad::physics::AngleRangeList |
DataType AngleRangeList.
List of AngleRange
typedef std::vector<::ad::physics::AngularAcceleration> ad::physics::AngularAccelerationList |
DataType AngularAccelerationList.
List of AngularAcceleration
typedef std::vector<::ad::physics::AngularVelocity3D> ad::physics::AngularVelocity3DList |
DataType AngularVelocity3DList.
List of AngularVelocity3D
typedef std::vector<::ad::physics::AngularVelocity> ad::physics::AngularVelocityList |
DataType AngularVelocityList.
List of AngularVelocity
typedef std::vector<::ad::physics::Dimension2D> ad::physics::Dimension2DList |
DataType Dimension2DList.
List of Dimension2D
typedef std::vector<::ad::physics::Dimension3D> ad::physics::Dimension3DList |
DataType Dimension3DList.
List of Dimension3D
typedef std::vector<::ad::physics::Distance2D> ad::physics::Distance2DList |
DataType Distance2DList.
List of Distance2D
typedef std::vector<::ad::physics::Distance3D> ad::physics::Distance3DList |
DataType Distance3DList.
List of Distance3D
typedef std::vector<::ad::physics::Distance> ad::physics::DistanceList |
DataType DistanceList.
List of Distance
typedef std::vector<::ad::physics::DistanceSquared> ad::physics::DistanceSquaredList |
DataType DistanceSquaredList.
List of DistanceSquared
typedef std::vector<::ad::physics::Duration> ad::physics::DurationList |
DataType DurationList.
List of Duration
typedef std::vector<::ad::physics::DurationSquared> ad::physics::DurationSquaredList |
DataType DurationSquaredList.
List of DurationSquared
typedef std::vector<::ad::physics::MetricRange> ad::physics::MetricRangeList |
DataType MetricRangeList.
List of MetricRange
typedef std::vector<::ad::physics::ParametricRange> ad::physics::ParametricRangeList |
DataType ParametricRangeList.
List of ParametricRange
typedef std::vector<::ad::physics::ParametricValue> ad::physics::ParametricValueList |
DataType ParametricValueList.
List of ParametricValue
typedef std::vector<::ad::physics::Probability> ad::physics::ProbabilityList |
DataType ProbabilityList.
List of Probability
typedef std::vector<::ad::physics::RatioValue> ad::physics::RatioValueList |
DataType RatioValueList.
List of RatioValue
typedef std::vector<::ad::physics::Speed> ad::physics::SpeedList |
DataType SpeedList.
List of Speed
typedef std::vector<::ad::physics::SpeedRange> ad::physics::SpeedRangeList |
DataType SpeedRangeList.
List of SpeedRange
typedef std::vector<::ad::physics::SpeedSquared> ad::physics::SpeedSquaredList |
DataType SpeedSquaredList.
List of SpeedSquared
typedef std::vector<::ad::physics::Velocity> ad::physics::VelocityList |
DataType VelocityList.
List of Velocity
typedef std::vector<::ad::physics::Weight> ad::physics::WeightList |
DataType WeightList.
List of Weight
bool ad::physics::areRangesDisjunct | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Checks left range is disjunct from right one.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::doesRangePredate | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Checks if left range comes directly before right one.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::doesRangeSucceed | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Checks if left range comes directly after right one.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::doRangesOverlap | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Checks left range overlaps right one.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::extendRangeWith | ( | RangeType & | left, |
RangeType const & | right | ||
) |
Extends left range with right one. Direction of extension depends of the relative position of ranges.
[in] | left | range object. |
[in] | right | range object. |
RangeType ad::physics::getIntersectionRange | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Intersect this range with right one.
[in] | left | range object. |
[in] | right | range object. |
RangeType ad::physics::getUnionRange | ( | RangeType const & | left, |
RangeBaseType const & | value | ||
) |
Calculate union of left range with additional value.
[in] | left | range object. |
[in] | value | value type object. |
RangeType ad::physics::getUnionRange | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Calculate union of left and right range.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::intersectRangeWith | ( | RangeType & | left, |
RangeType const & | right | ||
) |
Intersect left range with right one and store intersection in left.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::isRangeContained | ( | RangeType const & | left, |
RangeType const & | right | ||
) |
Checks if right range is contained in left one.
[in] | left | range object. |
[in] | right | range object. |
bool ad::physics::isRangeEmpty | ( | RangeType const & | range | ) |
[in] | range | range object. |
bool ad::physics::isRangeValid | ( | RangeType const & | range | ) |
[in] | range | range object. |
bool ad::physics::isWithinRange | ( | RangeType const & | range, |
RangeBaseType const & | value | ||
) |
Checks if value of RangeBaseType is within range.
[in] | range | range object. |
[in] | value | object of range base type. |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Acceleration value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Acceleration3D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AccelerationRange value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Angle value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AngleRange value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AngularAcceleration value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AngularVelocity value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | AngularVelocity3D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Dimension2D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Dimension3D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Distance value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Distance2D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Distance3D value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | DistanceSquared value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Duration value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | DurationSquared value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | MetricRange value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | ParametricRange value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | ParametricValue value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Probability value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | RatioValue value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Speed value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | SpeedRange value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | SpeedSquared value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Velocity value |
|
inline |
standard ostream operator
[in] | os | The output stream to write to |
[in] | _value | Weight value |
bool ad::physics::unionRangeWith | ( | RangeType & | left, |
RangeBaseType const & | value | ||
) |
[in] | left | range object. |
[in] | value | value type object. |
bool ad::physics::unionRangeWith | ( | RangeType & | left, |
RangeType const & | right | ||
) |
[in] | left | range object. |
[in] | right | range object. |