Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

xchen::KnotVector< dims > Class Template Reference

Defined mainly for list assignment to knot vectors of tensor manifolds. More...

#include <KnotVector.H>

List of all members.

Public Methods

void Insert (double u, int i=0)
 insert knot value u into the 'th knot vector.

int UpperBound (double u, int &repeat, int i=0)
 Return idx of first kv[i] > u. multiplicity put in 'repeat'.

vector< double > & operator[] (int i)
 access i'th knot vector

vector< double > const & operator[] (int i) const
 access i'th knot vector

double & operator() (int j, int i=0)
 access j'th knot in i'th knot vector.

void operator= (double *v)
 assign from a pointer to concated knot vectors.

lst_asg_t operator= (double v)
 list assignment.

void Clear ()

Friends

ostream & operator<< (ostream &os, KnotVector const &)


Detailed Description

template<int dims>
class xchen::KnotVector< dims >

Defined mainly for list assignment to knot vectors of tensor manifolds.


Member Function Documentation

template<int dims>
void xchen::KnotVector< dims >::Clear   [inline]
 

template<int dims>
void xchen::KnotVector< dims >::Insert double    u,
int    i = 0
 

insert knot value u into the 'th knot vector.

template<int dims>
double& xchen::KnotVector< dims >::operator() int    j,
int    i = 0
[inline]
 

access j'th knot in i'th knot vector.

template<int dims>
lst_asg_t xchen::KnotVector< dims >::operator= double    v [inline]
 

list assignment.

template<int dims>
void xchen::KnotVector< dims >::operator= double *    v [inline]
 

assign from a pointer to concated knot vectors.

template<int dims>
vector<double> const& xchen::KnotVector< dims >::operator[] int    i const [inline]
 

access i'th knot vector

template<int dims>
vector<double>& xchen::KnotVector< dims >::operator[] int    i [inline]
 

access i'th knot vector

template<int dims>
int xchen::KnotVector< dims >::UpperBound double    u,
int &    repeat,
int    i = 0
 

Return idx of first kv[i] > u. multiplicity put in 'repeat'.

Parameters:
i  Return idx of first kv[i] > u. multiplicity put in 'repeat'.


Friends And Related Function Documentation

template<int dims>
ostream& operator<< ostream &    os,
KnotVector< dims > const &    kv
[friend]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 7 21:40:51 2004 by doxygen1.2.18