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

xchen::AffineCombineT1T2< T > Struct Template Reference

STL binary functor for affine combination of two affine elements, with coef of t1/(t1+t2), t2/(t1+t2). More...

#include <xstl.H>

List of all members.

Public Methods

 AffineCombineT1T2 (double t_1, double t_2)
operator() (T const &p1, T const &p2)

Public Attributes

double t1
double t2


Detailed Description

template<typename T>
struct xchen::AffineCombineT1T2< T >

STL binary functor for affine combination of two affine elements, with coef of t1/(t1+t2), t2/(t1+t2).


Constructor & Destructor Documentation

template<typename T>
xchen::AffineCombineT1T2< T >::AffineCombineT1T2 double    t_1,
double    t_2
[inline]
 


Member Function Documentation

template<typename T>
T xchen::AffineCombineT1T2< T >::operator() T const &    p1,
T const &    p2
[inline]
 


Member Data Documentation

template<typename T>
double xchen::AffineCombineT1T2< T >::t1
 

template<typename T>
double xchen::AffineCombineT1T2< T >::t2
 


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