Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

sheep::CatmullRomCurve3 Class Reference

#include <catmullromcurve3.h>

Inheritance diagram for sheep::CatmullRomCurve3:

sheep::ICurve3 List of all members.

Public Member Functions

 CatmullRomCurve3 (const Vector3 p[4])
virtual Point3 GetPointAt (Real t) const
 t is in interval [0..1].

virtual Vector3 GetTangentAt (Real t) const

Private Attributes

Vector3 m_c [4]
Vector3 m_c2 [2]

Constructor & Destructor Documentation

CatmullRomCurve3::CatmullRomCurve3 const Vector3  p[4]  ) 
 

Definition at line 27 of file catmullromcurve3.cpp.

References m_c, and m_c2.


Member Function Documentation

Point3 CatmullRomCurve3::GetPointAt Real  t  )  const [inline, virtual]
 

t is in interval [0..1].

Implements sheep::ICurve3.

Definition at line 71 of file catmullromcurve3.h.

Referenced by sheep::FixedPathJoint::CorrectError(), and sheep::FixedPathJoint::project_on_curve().

Vector3 CatmullRomCurve3::GetTangentAt Real  t  )  const [inline, virtual]
 

Implements sheep::ICurve3.

Definition at line 79 of file catmullromcurve3.h.

Referenced by sheep::FixedPathJoint::Update().


Member Data Documentation

Vector3 sheep::CatmullRomCurve3::m_c[4] [private]
 

Definition at line 44 of file catmullromcurve3.h.

Referenced by CatmullRomCurve3().

Vector3 sheep::CatmullRomCurve3::m_c2[2] [private]
 

Definition at line 45 of file catmullromcurve3.h.

Referenced by CatmullRomCurve3().


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:54 2004 for toxic by doxygen 1.3.6