ParametrizedLine< N, T > Class Template Reference

A parametrized line in N-D. More...

#include <ParametrizedLine.h>

List of all members.

Public Types

typedef T Number
 The number type.
typedef ads::FixedArray< N,
Number
Point
 The Cartesian point type.
typedef ads::FixedArray
< 1, Number
ParameterPoint
 The parameter point type.

Public Member Functions

Constructors etc.

 ParametrizedLine ()
 Default constructor. Uninitialized memory.
 ParametrizedLine (const Point &source, const Point &target)
 Construct from points.
void build (const Point &source, const Point &target)
 Make from points.
 ParametrizedLine (const ParametrizedLine &other)
 Copy constructor.
ParametrizedLineoperator= (const ParametrizedLine &other)
 Assignment operator.
 ~ParametrizedLine ()
 Trivial destructor.
Accesors.

Point computePosition (const ParameterPoint &parameterPoint) const
 Compute a point on the line from parameter values.
const PointcomputeDerivative (const ParameterPoint &parameterPoint) const
 Compute the derivative of position with respect to the parametrization.
Equality operators.

bool operator== (const ParametrizedLine &other)
 Return true if the lines are equal.
bool operator!= (const ParametrizedLine &other)
 Return true if the lines are not equal.

Detailed Description

template<int N, typename T = double>
class ParametrizedLine< N, T >

A parametrized line in N-D.

Parameters:
N is the space dimension.
T is the number type. By default it is double.

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3