Claw
1.7.3
|
The control_point class describes a control point of the curve, with the direction of the curve before and after the point. More...
#include <curve.hpp>
Public Types | |
typedef C | coordinate_type |
The type of the coordinates of the curve. |
Public Member Functions | |
control_point () | |
Constructor. | |
control_point (const coordinate_type &p) | |
Constructor. | |
control_point (const coordinate_type &p, const coordinate_type &input_direction, const coordinate_type &output_direction) | |
Constructor. | |
const coordinate_type & | get_position () const |
Get the position of this control point. | |
const coordinate_type & | get_input_direction () const |
Get the point in the direction of which the curve enters this position. | |
const coordinate_type & | get_output_direction () const |
Get the point in the direction of which the curve leaves this position. |
The control_point class describes a control point of the curve, with the direction of the curve before and after the point.
|
explicit |
claw::math::curve< C, Traits >::control_point::control_point | ( | const coordinate_type & | p, |
const coordinate_type & | input_direction, | ||
const coordinate_type & | output_direction | ||
) |