section Extraction about polyline

Any question about the database & algorithms library 'CCLib'
Post Reply
kasper
Posts: 29
Joined: Thu May 17, 2018 6:13 am

section Extraction about polyline

Post 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
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: section Extraction about polyline

Post 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.
Daniel, CloudCompare admin
kasper
Posts: 29
Joined: Thu May 17, 2018 6:13 am

Re: section Extraction about polyline

Post by kasper »

Got it , thanks Daniel
Post Reply