I am using this code to have the user select specific points from a loaded point cloud. The point is to allow them to manually prune the pointcloud and later create an automatic outlier detection to prune these points. However, I can't find anywhere how these points could be deleted?
{
ObjRef[] obj_refs;
var rc = Rhino.Input.RhinoGet.GetMultipleObjects("Select point", false, ObjectType.Point, out obj_refs);
if (rc != Result.Success)
return rc;
foreach (var o_ref in obj_refs)
{
var point = o_ref.Point();
RhinoApp.WriteLine("Point: x:{0}, y:{1}, z:{2}",
point.Location.X,
point.Location.Y,
point.Location.Z);
}
doc.Objects.UnselectAll();
doc.Views.Redraw();
return Result.Success;
}```