> The first subpath is always at index 0. The last one is at size_default() - 1.
> The number of nodes is always equal to std::max(size_closed(), 1ul): a path
> that has no segments contains only a naked moveto, and thus has one node. Hope
> this helps.
Thanks Krzysztof for the quick reply!
Seems I ask bad the question, i want to know the index of start and end index in a intermediate "subpath" not at full pathvector.
Maybe PathVectorTime can also return this value when retrive the value of pathvector index from PathVector->nearestPoint. This solve my problem with start/end of intermediate paths.
> The first subpath is always at index 0. The last one is at size_default() - 1. size_closed( ), 1ul): a path
> The number of nodes is always equal to std::max(
> that has no segments contains only a naked moveto, and thus has one node. Hope
> this helps.
Thanks Krzysztof for the quick reply!
Seems I ask bad the question, i want to know the index of start and end index in a intermediate "subpath" not at full pathvector.
Maybe PathVectorTime can also return this value when retrive the value of pathvector index from PathVector- >nearestPoint. This solve my problem with start/end of intermediate paths.
Sorry for my bad english.