17namespace CurveInternal {
64# if defined(__GNUC__) && (__GNUC__ < 3)
65 typedef bidirectional_iterator<CurvePoint<Vertex>, ptrdiff_t> bidirectional_point_iterator;
68 bidirectional_point_iterator;
73 friend class Curve::vertex_iterator;
110 if (iBrother.
_Point == 0) {
129 if (iBrother.
_Point == 0) {
149 if (iBrother.
_Point == 0) {
177 float iCurvilinearLength = 0.0f)
226 return ((
__A !=
b.__A) || (
__B !=
b.__B) || (
_t !=
b._t));
231 return !(*
this !=
b);
285 Vec3r vec_tmp((*__B)->point2d() - (*__A)->point2d());
298 Vec3r vec_tmp2((*__A)->point2d() - (*__B)->point2d());
299 float normAB = vec_tmp2.
norm();
341 Vec3r vec_tmp((*__B)->point2d() - (*__A)->point2d());
348 Vec3r vec_tmp2((*__A)->point2d() - (*__B)->point2d());
349 float normAB = vec_tmp2.
norm();
Iterators used to iterate over the elements of the Curve.
Classes to define a stroke.
deque< CurvePoint * > vertex_container
vertex_container::const_iterator vertex_container_iterator
deque< CurvePoint * > vertex_container
vertex_container::iterator vertex_container_iterator
Self & operator=(const Self &iBrother)
virtual Traits::pointer operator->() const
vertex_container_iterator _end
virtual bool operator!=(const Self &b) const
__point_iterator(const const_iterator &iBrother)
virtual bool operator==(const Self &b) const
__point_iterator< CurvePoint_const_traits > const_iterator
Traits::vertex_container_iterator vertex_container_iterator
virtual bool begin() const
__point_iterator< Traits > Self
__point_iterator< CurvePoint_nonconst_traits > iterator
vertex_container_iterator __B
virtual ~__point_iterator()
virtual Traits::reference operator*() const
__point_iterator(const iterator &iBrother)
__point_iterator(vertex_container_iterator iA, vertex_container_iterator iB, vertex_container_iterator ibegin, vertex_container_iterator iend, int currentn, int n, float step, float t=0.0f, float iCurvilinearLength=0.0f)
__point_iterator(float step=0.0f)
IteratorBase< Traits, BidirectionalIteratorTag_Traits > parent_class
vertex_container_iterator _begin
Traits::vertex_type vertex_type
vertex_container_iterator __A
local_group_size(16, 16) .push_constant(Type b
ccl_device_inline float2 fabs(const float2 a)
static const real M_EPSILON