A parametrized line in N-D. More...
#include <ParametrizedLine.h>
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. | |
ParametrizedLine & | operator= (const ParametrizedLine &other) |
Assignment operator. | |
~ParametrizedLine () | |
Trivial destructor. | |
Accesors. | |
Point | computePosition (const ParameterPoint ¶meterPoint) const |
Compute a point on the line from parameter values. | |
const Point & | computeDerivative (const ParameterPoint ¶meterPoint) 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. |
A parametrized line in N-D.
N | is the space dimension. | |
T | is the number type. By default it is double. |