Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Types | Public Member Functions | Private Attributes

Geom::D2< T > Class Template Reference

#include <d2.h>

Inheritance diagram for Geom::D2< T >:
Inheritance graph
Collaboration diagram for Geom::D2< T >:
Collaboration graph

List of all members.

Public Types

typedef Point output_type

Public Member Functions

Point at0 () const
Point at1 () const
 D2 (Point const &a)
 D2 (T const &a, T const &b)
bool isConstant () const
bool isFinite () const
bool isZero () const
Point operator() (double x, double y) const
Point operator() (double t) const
T const & operator[] (unsigned i) const
T & operator[] (unsigned i)
D2< SBasistoSBasis () const
std::vector< PointvalueAndDerivatives (double t, unsigned n) const
Point valueAt (double t) const

Private Attributes

f [2]

Detailed Description

template<class T>
class Geom::D2< T >

The D2 class takes two instances of a scalar data type and treats them like a point. All operations which make sense on a point are deļ¬ned for D2. A D2<double> is a Point. A D2<Interval> is a standard axis aligned rectangle. D2<SBasis> provides a 2d parametric function which maps t to a point x(t), y(t)

Definition at line 51 of file d2.h.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index