cgv
|
Provide arc length information of a parametric curve using an approximation via multiple cubic bezier segments. More...
#include <parametric_curve.h>
Public Member Functions | |
template<template< class > class CurveT, cgv::type::uint32_type N> | |
arc_length_bezier_approximation (const parametric_curve< CurveT< fvec< T, N > > > &curve, int num_segments=4, int num_segment_subdivisions=8) | |
T | evaluate (T t) const |
T | total_length () const |
![]() | |
T | evaluate (T t) const |
Evaluate the arc length of the curve. | |
T | total_length () const |
Return the arc length of the complete curve for t from 0 to 1. | |
Provide arc length information of a parametric curve using an approximation via multiple cubic bezier segments.
Slower than arc_length_linear_approximation with typically lower memory consumption.
Definition at line 177 of file parametric_curve.h.
|
inline |
Definition at line 180 of file parametric_curve.h.
|
inline |
Definition at line 230 of file parametric_curve.h.
|
inline |
Definition at line 254 of file parametric_curve.h.