claw  1.9.0
Classes | Public Types | Public Member Functions | List of all members
claw::math::curve< C, Traits >::section Class Reference

A section is a part of the curve between two control points. More...

#include <curve.hpp>

Classes

class  resolved_point
 The resolved point class is a point found on a section. More...
 

Public Types

typedef C coordinate_type
 The type of the coordinates of the curve.
 
typedef Traits traits_type
 The traits provide an access to the properties of the coordinates.
 
typedef traits_type::value_type value_type
 The type of the components of the coordinates.
 
typedef const_iterator iterator_type
 The type of the iterators on the ends of the section.
 

Public Member Functions

 section (const iterator_type &origin, const iterator_type &end)
 
coordinate_type get_point_at (double t) const
 
coordinate_type get_tangent_at (double t) const
 
std::vector< resolved_pointget_point_at_x (value_type x, bool off_domain=false) const
 
const iterator_typeget_origin () const
 
bool empty () const
 

Detailed Description

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

A section is a part of the curve between two control points.

Author
Julien Jorge

Definition at line 116 of file curve.hpp.


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