Claw  1.7.3
Public Types | Public Member Functions | List of all members
claw::math::curve< C, Traits >::control_point Class Reference

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)
 
 control_point (const coordinate_type &p, const coordinate_type &input_direction, const coordinate_type &output_direction)
 
const coordinate_typeget_position () const
 Get the position of this control point.
 
const coordinate_typeget_input_direction () const
 Get the point in the direction of which the curve enters this position.
 
const coordinate_typeget_output_direction () const
 Get the point in the direction of which the curve leaves this position.
 

Detailed Description

template<typename C, typename Traits = coordinate_traits<C>>
class claw::math::curve< C, Traits >::control_point

The control_point class describes a control point of the curve, with the direction of the curve before and after the point.

Author
Julien Jorge

Definition at line 67 of file curve.hpp.


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