pub struct RegisterRequest {
pub points: Vec<[f64; 3]>,
pub normals: Vec<[f64; 3]>,
pub search: bool,
pub max_distance: Option<f64>,
pub facing_limit_deg: Option<f64>,
}Expand description
Points to bring onto a reference surface by a rigid motion, and how.
Fields§
§points: Vec<[f64; 3]>§normals: Vec<[f64; 3]>One per point, or none.
search: boolTry every way of matching the points’ principal axes with the reference’s as well as the points where they are, and keep the best.
max_distance: Option<f64>Pairs farther apart than this are not used.
facing_limit_deg: Option<f64>Pair a point only with reference surface turned within this many degrees of its own normal.
Trait Implementations§
Source§impl Clone for RegisterRequest
impl Clone for RegisterRequest
Source§impl Debug for RegisterRequest
impl Debug for RegisterRequest
Source§impl Default for RegisterRequest
impl Default for RegisterRequest
Source§impl<'de> Deserialize<'de> for RegisterRequest
impl<'de> Deserialize<'de> for RegisterRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RegisterRequest
impl PartialEq for RegisterRequest
Source§impl Serialize for RegisterRequest
impl Serialize for RegisterRequest
impl StructuralPartialEq for RegisterRequest
Auto Trait Implementations§
impl Forget for RegisterRequest
impl Freeze for RegisterRequest
impl RefUnwindSafe for RegisterRequest
impl Send for RegisterRequest
impl Sync for RegisterRequest
impl Unpin for RegisterRequest
impl UnsafeUnpin for RegisterRequest
impl UnwindSafe for RegisterRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more