Skip to main content

LoadDraft

Enum LoadDraft 

Source
#[non_exhaustive]
pub enum LoadDraft { SingleForce { name: Option<String>, force: [Option<f64>; 3], moment: [Option<f64>; 3], }, LinearForce { name: Option<String>, force: [Option<f64>; 3], moment: [Option<f64>; 3], }, PlanarForce { name: Option<String>, force: [Option<f64>; 3], }, Temperature { name: Option<String>, delta: [Option<f64>; 3], }, SingleForceWarping { name: Option<String>, force: [Option<f64>; 3], moment: [Option<f64>; 3], warping_moment: Option<f64>, }, SingleDisplacement { name: Option<String>, displacement: [Option<f64>; 3], rotation: [Option<f64>; 3], }, SingleDisplacementDistortion { name: Option<String>, displacement: [Option<f64>; 3], rotation: [Option<f64>; 3], distortion: Option<f64>, }, SurfaceReinforcementArea { name: Option<String>, surface_1: Option<Vec<f64>>, surface_2: Option<Vec<f64>>, shear: Option<f64>, }, Configuration { name: Option<String>, values: Vec<EntityId>, locations: Option<Vec<[f64; 2]>>, }, }
Expand description

Staged fields for creating one core IfcStructuralLoadStatic subtype via stage_load.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

SingleForce

Stages an IfcStructuralLoadSingleForce.

Fields

§name: Option<String>

Name.

§force: [Option<f64>; 3]

ForceX/ForceY/ForceZ.

§moment: [Option<f64>; 3]

MomentX/MomentY/MomentZ.

§

LinearForce

Stages an IfcStructuralLoadLinearForce.

Fields

§name: Option<String>

Name.

§force: [Option<f64>; 3]

LinearForceX/LinearForceY/LinearForceZ.

§moment: [Option<f64>; 3]

LinearMomentX/LinearMomentY/LinearMomentZ.

§

PlanarForce

Stages an IfcStructuralLoadPlanarForce.

Fields

§name: Option<String>

Name.

§force: [Option<f64>; 3]

PlanarForceX/PlanarForceY/PlanarForceZ.

§

Temperature

Stages an IfcStructuralLoadTemperature.

Fields

§name: Option<String>

Name.

§delta: [Option<f64>; 3]

Constant, through-Y and through-Z temperature deltas (DeltaTConstant/DeltaTY/DeltaTZ, or the underscored equivalents in schemas that name them that way).

§

SingleForceWarping

Stages an IfcStructuralLoadSingleForceWarping.

Extends the single force with the bimoment that restrained warping produces in an open thin-walled section.

Fields

§name: Option<String>

Name.

§force: [Option<f64>; 3]

ForceX/ForceY/ForceZ.

§moment: [Option<f64>; 3]

MomentX/MomentY/MomentZ.

§warping_moment: Option<f64>

WarpingMoment.

§

SingleDisplacement

Stages an IfcStructuralLoadSingleDisplacement.

A prescribed movement of a point: three translations and three rotations. The distortion form below extends this with a seventh slot; this supertype stops at six.

Fields

§name: Option<String>

Name.

§displacement: [Option<f64>; 3]

DisplacementX/DisplacementY/DisplacementZ.

§rotation: [Option<f64>; 3]

RotationalDisplacementRX/RY/RZ.

§

SingleDisplacementDistortion

Stages an IfcStructuralLoadSingleDisplacementDistortion.

The displacement counterpart of the warping force: a prescribed movement rather than an applied load.

Fields

§name: Option<String>

Name.

§displacement: [Option<f64>; 3]

DisplacementX/DisplacementY/DisplacementZ.

§rotation: [Option<f64>; 3]

RotationalDisplacementRX/RY/RZ.

§distortion: Option<f64>

Distortion.

§

SurfaceReinforcementArea

Stages an IfcSurfaceReinforcementArea.

Areas are measures, not coordinates: the schema requires each to be non-negative, and requires at least one of the three to be present so the record says something.

Fields

§name: Option<String>

Name.

§surface_1: Option<Vec<f64>>

SurfaceReinforcement1, two or three entries.

§surface_2: Option<Vec<f64>>

SurfaceReinforcement2, two or three entries.

§shear: Option<f64>

ShearReinforcement.

§

Configuration

Stages an IfcStructuralLoadConfiguration.

A list of loads with optional sample locations. When locations are given the schema requires one per value, so the pairing is checked here rather than left to a downstream reader.

Fields

§name: Option<String>

Name.

§values: Vec<EntityId>

Values: the loads sampled, at least one.

§locations: Option<Vec<[f64; 2]>>

Locations: one coordinate pair per value, or none.

Trait Implementations§

Source§

impl Clone for LoadDraft

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LoadDraft

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for LoadDraft

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for LoadDraft

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.