![]() |
Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
R^n上の曲線
#include <TCurve.h>
Public 型 | |
typedef V | pos_t |
typedef V | vel_t |
typedef T | real_t |
![]() | |
typedef V | pos_t |
typedef V | vel_t |
typedef T | real_t |
Public メソッド | |
pos_t | CalcPos (real_t t) |
vel_t | CalcVel (real_t t) |
vel_t | CalcAcc (real_t t) |
![]() | |
void | SetType (int t) |
int | GetType () const |
int | AddPoint (real_t t) |
点を追加する [詳細] | |
int | IndexFromID (int id) |
IDからインデックスを取得 | |
void | RemovePoint (int idx) |
size_t | NPoints () const |
real_t | GetTime (int idx) const |
void | SetTime (int idx, real_t t) |
pos_t | GetPos (int idx) const |
void | SetPos (int idx, pos_t p) |
vel_t | GetVel (int idx) const |
void | SetVel (int idx, vel_t v) |
std::pair< int, int > | GetSegment (real_t t) const |
int | GetNearest (real_t t) const |
Additional Inherited Members | |
![]() | |
void | SortPoints () |
![]() | |
int | type |
std::vector< struct Point > | points |