Simbody  3.4 (development)
SimTK::CableObstacle::ViaPoint Class Reference

This is a point through which the cable must pass. More...

#include <CablePath.h>

+ Inheritance diagram for SimTK::CableObstacle::ViaPoint:

List of all members.

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 ViaPointdowncast (const CableObstacle &)
 Cast the given CableObstacle to a const ViaPoint; will throw an exception if the obstacle is not a via point.
static ViaPointupdDowncast (CableObstacle &)
 Cast the given CableObstacle to a writable ViaPoint; will throw an exception if the obstacle is not a via point.

Detailed Description

This is a point through which the cable must pass.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Cast the given CableObstacle to a writable ViaPoint; will throw an exception if the obstacle is not a via point.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines