pointcloudset.diff.origin module¶
Functions to calculate distances of points in pointcloud to origin.
- pointcloudset.diff.origin.calculate_distance_to_origin(pointcloud, **kwargs)¶
Calculate the Euclidian distance to the origin (0,0,0) for each point in the pointcloud.
Note
Adds the result as a new column to the data of the pointcloud.
- Parameters
pointcloud (PointCloud) – PointCloud for which the Euclidean distance to the origin is calculated.
- Returns
PointCloud including Euclidean distances to the origin for each point.
- Return type