Enum las::point::Classification
[−]
[src]
pub enum Classification { Optional(u8), Mandatory { classification: ASPRSClassification, synthetic: bool, key_point: bool, withheld: bool, }, }
Point classification.
In version 1.0, this was a user-defined and optional u8. In subsequent versions, this field was defined more rigidly.
Variants
Optional(u8)
An optional classification, used in LAS 1.0 only.
Mandatory
A mandatory classification, used in all subsequent versions.
Fields
classification: ASPRSClassification | The ASPRS type classification. |
synthetic: bool | True if this point was created via sythetic means, such as through photogrammetry. |
key_point: bool | True if this is a model keypoint and should not be removed by future thinning. |
withheld: bool | True if this point should be excluded from processing. |
Methods
impl Classification
[src]
fn from(n: u8, version: Version) -> Classification
Converts a u8, a major version, and a minor version into a Classification.
Trait Implementations
impl PartialEq for Classification
[src]
fn eq(&self, __arg_0: &Classification) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Classification) -> bool
This method tests for !=
.
impl Debug for Classification
[src]
impl Copy for Classification
[src]
impl Clone for Classification
[src]
fn clone(&self) -> Classification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Classification
[src]
fn default() -> Classification
Returns the "default value" for a type. Read more