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

CRSpline Class Reference

#include <hspline.H>

Collaboration diagram for CRSpline:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CRSpline ()
 ~CRSpline ()
void clear (int all=1)
void set (mlib::CWpt_list &p, CARRAY< double > &u)
void add (mlib::CWpt &p, double u)
void get_seg (double u, int &seg, double &t) const
mlib::Wpt pt (int k, double t) const
mlib::Wvec tan (int k, double t) const
mlib::Wpt pt (double u) const
mlib::Wvec tan (double u) const

Protected Member Functions

int _update ()
int update () const
int num () const
double delt (int i) const
mlib::Wvec m (int i) const

Protected Attributes

ARRAY< mlib::Wpt_pts
ARRAY< double > _u
ARRAY< HSpline * > _H
bool _valid

Detailed Description

Definition at line 91 of file hspline.H.


Constructor & Destructor Documentation

CRSpline::CRSpline  )  [inline]
 

Definition at line 109 of file hspline.H.

CRSpline::~CRSpline  )  [inline]
 

Definition at line 110 of file hspline.H.

References clear().


Member Function Documentation

int CRSpline::_update  )  [protected]
 

Definition at line 66 of file hspline.C.

References _H, _pts, _valid, delt(), err_msg(), m(), and num().

void CRSpline::add mlib::CWpt p,
double  u
 

void CRSpline::clear int  all = 1  ) 
 

Definition at line 32 of file hspline.C.

References _H, _pts, _u, _valid, ARRAY< T >::clear(), ARRAY< T >::empty(), and ARRAY< T >::pop().

Referenced by ~CRSpline().

double CRSpline::delt int  i  )  const [inline, protected]
 

Definition at line 105 of file hspline.H.

References _u.

Referenced by _update(), get_seg(), and tan().

void CRSpline::get_seg double  u,
int &  seg,
double &  t
const
 

Definition at line 105 of file hspline.C.

References _u, delt(), ARRAY< T >::last(), m(), and num().

Referenced by pt(), and tan().

mlib::Wvec CRSpline::m int  i  )  const [inline, protected]
 

Definition at line 106 of file hspline.H.

References _pts, and _u.

Referenced by _update(), and get_seg().

int CRSpline::num  )  const [inline, protected]
 

Definition at line 104 of file hspline.H.

References _pts, and ARRAY< T >::num().

Referenced by _update(), get_seg(), pt(), and tan().

mlib::Wpt CRSpline::pt double  u  )  const [inline]
 

Definition at line 140 of file hspline.H.

References _pts, get_seg(), num(), mlib::Wpt::Origin(), and pt().

mlib::Wpt CRSpline::pt int  k,
double  t
const [inline]
 

Definition at line 127 of file hspline.H.

References _H, mlib::Wpt::Origin(), and update().

Referenced by pt().

void CRSpline::set mlib::CWpt_list p,
CARRAY< double > &  u
 

mlib::Wvec CRSpline::tan double  u  )  const [inline]
 

Definition at line 153 of file hspline.H.

References _pts, delt(), get_seg(), num(), and tan().

mlib::Wvec CRSpline::tan int  k,
double  t
const [inline]
 

Definition at line 131 of file hspline.H.

References _H, delt(), and update().

Referenced by tan().

int CRSpline::update  )  const [inline, protected]
 

Definition at line 99 of file hspline.H.

References _valid.

Referenced by pt(), and tan().


Member Data Documentation

ARRAY<HSpline*> CRSpline::_H [protected]
 

Definition at line 95 of file hspline.H.

Referenced by _update(), clear(), pt(), and tan().

ARRAY<mlib::Wpt> CRSpline::_pts [protected]
 

Definition at line 93 of file hspline.H.

Referenced by _update(), clear(), m(), num(), pt(), and tan().

ARRAY<double> CRSpline::_u [protected]
 

Definition at line 94 of file hspline.H.

Referenced by clear(), delt(), get_seg(), and m().

bool CRSpline::_valid [protected]
 

Definition at line 96 of file hspline.H.

Referenced by _update(), clear(), and update().


The documentation for this class was generated from the following files:
Generated on Mon Sep 18 11:45:00 2006 for jot by  doxygen 1.4.4