47 if (
string.IsNullOrWhiteSpace(filePath))
52 var finalPath = filePath.EndsWith(
".ply", StringComparison.OrdinalIgnoreCase)
56 var saveOptions =
new Backend.Types.peak_icv_point_cloud_save_options();
58 DllHelper.ExecuteAndMapReturnCodes(() =>
59 CInterface.peak_icv_PointCloud_SaveToFile(pointCloud._handle, Utils.ToUtf8(finalPath), saveOptions));