Skip to main content

read_pts

Function read_pts 

Source
pub fn read_pts(
    text: &str,
    columns: Option<&[XyzColumn]>,
) -> OgeomResult<PointCloud>
Expand description

Read a PTS text cloud: XYZ rows, each scan opened by a line holding its point count, the rows commonly x y z intensity red green blue.

The columns are read as read_xyz reads them; several scans in one file are read one after the other into one cloud.

ยงErrors

As read_xyz, and for a point before any count, a scan with more or fewer rows than its count, or a count line that is not a count.