Page 1 of 1

section Extraction about polyline

Posted: Thu May 17, 2018 6:27 am
by kasper
now i have a pointcloud ,and i want to input two points data to extract the polyline of it.

i found that in ccSectionExtractionTool.cpp ,there is a function named "ccSectionExtractionTool::extractPoints()"

but i dont really understand what is i need to use in my code.

is anyone know how to achieve my goal? any step tutorial, example or help.

its a big problem to me ..... thanks

Re: section Extraction about polyline

Posted: Thu May 17, 2018 11:17 am
by daniel
Not sure to understand: do you simply want to connect two points by a line? (then you should simply create a ccPolyline instance) or do you want to extract the points that are close to a segment? (in this case, you still have to create a polyline instance, but then you have to call the segmentation algorithm from CCLib if I'm not mistaken.

Re: section Extraction about polyline

Posted: Tue Oct 09, 2018 2:34 am
by kasper
Got it , thanks Daniel