hi. I am a newbie
I am looking at using dgk with Visual Basic.
Is there a way to select a point in a point cloud?
Thanks
select a point in a cloud
Re: select a point in a cloud
Hi Mark
I do not believe there is "off the shelf" functionality for this. It is simple to code:
You probably need for a selection rectangle, which you have in pixels, to get coordinates of points which are under it in 3d?
For a 3d point to check whether it is under the selection rectangle use IView_DG.ProjectToScreen(Point_DG point3D). It returns pixels. Check that it is inside the selection area. Repeat this for all points in the cloud.
Regards
Alfio
I do not believe there is "off the shelf" functionality for this. It is simple to code:
You probably need for a selection rectangle, which you have in pixels, to get coordinates of points which are under it in 3d?
For a 3d point to check whether it is under the selection rectangle use IView_DG.ProjectToScreen(Point_DG point3D). It returns pixels. Check that it is inside the selection area. Repeat this for all points in the cloud.
Regards
Alfio
-
- Posts: 2
- Joined: Wed Aug 19, 2020 7:34 am
Re: select a point in a cloud
Nice. Thank you