var searchIndex = {}; searchIndex["las"] = {"doc":"Library for reading and writing las files.","items":[[0,"error","las","Error results for las operations.",null,null],[4,"LasError","las::error","",null,null],[13,"ByteOrderError","","",0,null],[13,"InvalidFileSignature","","",0,null],[13,"InvalidPointFormatId","","",0,null],[13,"InvalidVersionString","","",0,null],[13,"IoError","","",0,null],[13,"ReadError","","",0,null],[13,"WriteError","","",0,null],[11,"fmt","","",0,null],[11,"from","","",0,{"inputs":[{"name":"error"}],"output":{"name":"laserror"}}],[11,"from","","",0,{"inputs":[{"name":"error"}],"output":{"name":"laserror"}}],[0,"classification","las","Point classification information (e.g. ground, building, etc).",null,null],[4,"Classification","las::classification","The classification enum, which contains all the point classifications defined through las 1.2.",null,null],[13,"CreatedNeverClassified","","",1,null],[13,"Unclassified","","",1,null],[13,"Ground","","",1,null],[13,"LowVegetation","","",1,null],[13,"MediumVegetation","","",1,null],[13,"HighVegetation","","",1,null],[13,"Building","","",1,null],[13,"LowPoint","","",1,null],[13,"ModelKeyPoint","","",1,null],[13,"Water","","",1,null],[13,"Overlap","","",1,null],[13,"Reserved","","",1,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"default","","",1,{"inputs":[],"output":{"name":"classification"}}],[11,"lookup","","Lookup the classification value by its integer code.",1,{"inputs":[{"name":"u8"}],"output":{"name":"classification"}}],[0,"file","las","Brings together all the pieces and parts into a lasfile.",null,null],[3,"File","las::file","A lasfile.",null,null],[12,"header","","",2,null],[12,"vlrs","","",2,null],[3,"FileIter","","Iterator for moving through each point in a lasfile.",null,null],[11,"new","","Initializes a lasfile from a generic reader.",2,{"inputs":[{"name":"t"}],"output":{"name":"lasresult"}}],[11,"read_next_point","","Reads the next point from the file.",2,null],[11,"point_iter","","Returns an interator over the file's points.",2,null],[11,"write_to","","Writes the las data to a writer.",2,null],[11,"open","","Open a lasfile.",2,{"inputs":[{"name":"str"}],"output":{"name":"lasresult"}}],[11,"next","","Gets the next point from the lasfile.",3,null],[0,"header","las","Module for working with las headers.",null,null],[3,"Header","las::header","A las header.",null,null],[12,"file_signature","","",4,null],[12,"file_source_id","","",4,null],[12,"global_encoding","","",4,null],[12,"project_id","","",4,null],[12,"version_major","","",4,null],[12,"version_minor","","",4,null],[12,"system_identifier","","",4,null],[12,"generating_software","","",4,null],[12,"file_creation_day_of_year","","",4,null],[12,"file_creation_year","","",4,null],[12,"header_size","","",4,null],[12,"offset_to_point_data","","",4,null],[12,"number_of_variable_length_records","","",4,null],[12,"point_data_format_id","","",4,null],[12,"point_data_record_length","","",4,null],[12,"number_of_point_records","","",4,null],[12,"number_of_points_by_return","","",4,null],[12,"x_scale_factor","","",4,null],[12,"y_scale_factor","","",4,null],[12,"z_scale_factor","","",4,null],[12,"x_offset","","",4,null],[12,"y_offset","","",4,null],[12,"z_offset","","",4,null],[12,"max_x","","",4,null],[12,"min_x","","",4,null],[12,"max_y","","",4,null],[12,"min_y","","",4,null],[12,"max_z","","",4,null],[12,"min_z","","",4,null],[11,"clone","","",4,null],[11,"default","","Creates a basic header that makes very few assumptions.",4,{"inputs":[],"output":{"name":"header"}}],[11,"new","","Reads a las header.",4,{"inputs":[{"name":"t"}],"output":{"name":"lasresult"}}],[11,"from_file","","Read a las header from a file.",4,{"inputs":[{"name":"str"}],"output":{"name":"lasresult"}}],[11,"get_version_string","","Returns the header version as a string",4,null],[11,"get_project_id_string","","Returns the project id as a string, with hyphens in various places",4,null],[11,"get_system_identifier_string","","Returns the system id as a string, trimming any null bytes.",4,null],[11,"get_generating_software_string","","Returns the generating software as a string, trimming any null bytes.",4,null],[11,"set_version_from_string","","Sets the header version from a "major.minor" string.",4,null],[11,"set_point_data_format_id","","Sets the point data format id.",4,null],[11,"write_to","","Writes the header data to a writer.",4,null],[0,"point","las","Module for working with las points.",null,null],[3,"Point","las::point","A las point.",null,null],[12,"x","","",5,null],[12,"y","","",5,null],[12,"z","","",5,null],[12,"intensity","","",5,null],[12,"info_byte","","",5,null],[12,"classification_byte","","",5,null],[12,"scan_angle_rank","","",5,null],[12,"user_data","","",5,null],[12,"point_source_id","","",5,null],[12,"time","","",5,null],[12,"red","","",5,null],[12,"green","","",5,null],[12,"blue","","",5,null],[11,"default","","",5,{"inputs":[],"output":{"name":"point"}}],[11,"fmt","","",5,null],[11,"get_return_number","","Returns the return number of the point.",5,null],[11,"get_return_count","","Returns the number of returns associated with this point.",5,null],[11,"get_scan_direction","","Returns the scan direction of this point.",5,null],[11,"is_edge_of_flightline","","Retuns true if this point is defined as being on the edge of a flightline.",5,null],[11,"get_classification","","Returns the `Classification` of this point.",5,null],[11,"is_synthetic","","Returns true if this point is flagged as synthetic.",5,null],[11,"is_keypoint","","Returns true if this point is flagged as a keypoint.",5,null],[11,"is_withheld","","Returns true if this point is flagged as withheld.",5,null],[11,"new","","Creates a new point from a reader.",5,{"inputs":[{"name":"r"},{"name":"u8"}],"output":{"name":"lasresult"}}],[11,"write_to","","Writes the point to a writer.",5,null],[0,"scan_direction","las","Simple enums for identifying a scan direction",null,null],[4,"ScanDirection","las::scan_direction","",null,null],[13,"Positive","","",6,null],[13,"Negative","","",6,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"default","","",6,{"inputs":[],"output":{"name":"scandirection"}}],[0,"util","las","General utility methods for the las library.",null,null],[5,"trim_to_string","las::util","Trim trailing null characters from a u8 buffer.",null,null],[0,"vlr","las","Module for working with Variable Length Records.",null,null],[3,"Vlr","las::vlr","A Variable Length Record.",null,null],[12,"reserved","","",7,null],[12,"user_id","","",7,null],[12,"record_id","","",7,null],[12,"record_length_after_header","","",7,null],[12,"description","","",7,null],[12,"body","","",7,null],[11,"default","","",7,{"inputs":[],"output":{"name":"vlr"}}],[11,"new","","Create a new VLR from a reader.",7,{"inputs":[{"name":"t"}],"output":{"name":"lasresult"}}],[11,"write_to","","Writes the vlr to a writer.",7,null],[6,"LasResult","las","",null,null],[14,"try_to_read_bytes!","","Read bytes from a reader into a [u8].",null,null]],"paths":[[4,"LasError"],[4,"Classification"],[3,"File"],[3,"FileIter"],[3,"Header"],[3,"Point"],[4,"ScanDirection"],[3,"Vlr"]]}; initSearch(searchIndex);