Simbody
3.4 (development)
|
This is a point through which the cable must pass. More...
#include <CablePath.h>
Public Member Functions | |
ViaPoint () | |
Default constructor creates an empty handle. | |
ViaPoint (CablePath &path, const MobilizedBody &viaMobod, const Vec3 &defaultStation) | |
Insert a via point obstacle to the given cable path. | |
Static Public Member Functions | |
static bool | isInstance (const CableObstacle &) |
Return true if the given CableObstacle is a ViaPoint. | |
static const ViaPoint & | downcast (const CableObstacle &) |
Cast the given CableObstacle to a const ViaPoint; will throw an exception if the obstacle is not a via point. | |
static ViaPoint & | updDowncast (CableObstacle &) |
Cast the given CableObstacle to a writable ViaPoint; will throw an exception if the obstacle is not a via point. |
This is a point through which the cable must pass.
SimTK::CableObstacle::ViaPoint::ViaPoint | ( | ) | [inline] |
Default constructor creates an empty handle.
SimTK::CableObstacle::ViaPoint::ViaPoint | ( | CablePath & | path, |
const MobilizedBody & | viaMobod, | ||
const Vec3 & | defaultStation | ||
) |
Insert a via point obstacle to the given cable path.
static bool SimTK::CableObstacle::ViaPoint::isInstance | ( | const CableObstacle & | ) | [static] |
Return true if the given CableObstacle is a ViaPoint.
static const ViaPoint& SimTK::CableObstacle::ViaPoint::downcast | ( | const CableObstacle & | ) | [static] |
Cast the given CableObstacle to a const ViaPoint; will throw an exception if the obstacle is not a via point.
static ViaPoint& SimTK::CableObstacle::ViaPoint::updDowncast | ( | CableObstacle & | ) | [static] |
Cast the given CableObstacle to a writable ViaPoint; will throw an exception if the obstacle is not a via point.