pub struct ContactNormalization {
pub budget: f64,
pub merged_vertices: usize,
pub inserted_nodes: usize,
pub max_displacement: f64,
}Expand description
Measured normalization budget and changes, in caller coordinate units unless stated otherwise.
Fields§
§budget: f64Maximum endpoint-to-endpoint or endpoint-to-edge merge distance, in coordinate units.
merged_vertices: usizeNumber of vertices moved to an earlier vertex within the budget; dimensionless.
inserted_nodes: usizeNumber of contact or intersection nodes inserted on edges, including exact contacts; dimensionless.
max_displacement: f64Largest measured distance of moved or inserted vertices from the original boundary, in coordinate units.
Implementations§
Trait Implementations§
Source§impl Clone for ContactNormalization
impl Clone for ContactNormalization
impl Copy for ContactNormalization
Source§impl Debug for ContactNormalization
impl Debug for ContactNormalization
Source§impl Default for ContactNormalization
impl Default for ContactNormalization
Source§impl<'de> Deserialize<'de> for ContactNormalization
impl<'de> Deserialize<'de> for ContactNormalization
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 JsonSchema for ContactNormalization
impl JsonSchema for ContactNormalization
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ContactNormalization
impl PartialEq for ContactNormalization
Source§impl Serialize for ContactNormalization
impl Serialize for ContactNormalization
impl StructuralPartialEq for ContactNormalization
Auto Trait Implementations§
impl Forget for ContactNormalization
impl Freeze for ContactNormalization
impl Move for ContactNormalization
impl RefUnwindSafe for ContactNormalization
impl Send for ContactNormalization
impl Sync for ContactNormalization
impl Unpin for ContactNormalization
impl UnsafeUnpin for ContactNormalization
impl UnwindSafe for ContactNormalization
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