9 May
2015
9 May
'15
4:33 p.m.
Whats PathInfo class? *Is a new class for give information about a curve -or D2<SBasis>- in a PathVector.
Whath kind of info I can get? * Whats the subpath index of a curve * Whats the first or last curve in current subpath * Whats the next/previous curve index in current subpath -this maybe changed to hasNext() and hasPrev() to remove boost::optional * Is this subpath closed? * Lenght of a subpath * Number of subpaths ...
Why? *Think using this we can reduce a lot the number, complexity and size of pathvector loops.
How? *I translate a PathVector to a std::vector<size_t index, bool closed> stroring only the last curve index of each subpath and if is closed.
Why no integrate to PathVector itself? *Why not?