geom::ControlPointCurveBase< n > Class Template Reference

The base class for any curve defined by control points. More...

#include <Curve.h>

Inheritance diagram for geom::ControlPointCurveBase< n >:

geom::ParametricCurve< n > util::Parameterized geom::Line< n > geom::Polyline< n > List of all members.

Public Member Functions

virtual ~ControlPointCurveBase ()
virtual int getNumCpts () const =0
virtual PointNd< n > getControlPoint (int i) const =0
virtual void setControlPoint (int i, const PointNd< n > &pt)=0
virtual double getWeight (int i) const =0

Detailed Description

template<int n>
class geom::ControlPointCurveBase< n >

The base class for any curve defined by control points.


Constructor & Destructor Documentation

template<int n>
virtual geom::ControlPointCurveBase< n >::~ControlPointCurveBase  )  [virtual]
 


Member Function Documentation

template<int n>
virtual PointNd<n> geom::ControlPointCurveBase< n >::getControlPoint int  i  )  const [pure virtual]
 

Get the i th control point.

Parameters:
i The index of the control point to get.
Returns:
The control point.

template<int n>
virtual int geom::ControlPointCurveBase< n >::getNumCpts  )  const [pure virtual]
 

Get the number of control points.

Returns:
The number of control points.

template<int n>
virtual double geom::ControlPointCurveBase< n >::getWeight int  i  )  const [pure virtual]
 

Get the weight associated with the control point.

Returns:
The weight, equal to 1.0 if there is no explicit weight associated.

template<int n>
virtual void geom::ControlPointCurveBase< n >::setControlPoint int  i,
const PointNd< n > &  pt
[pure virtual]
 

Set the i th control point.

Parameters:
i The index of the control point to set.
pt The desired position of the control point.


The documentation for this class was generated from the following file:
Generated on Tue Jan 29 21:37:58 2008 for VoluMill Universal Client by  doxygen 1.4.6