Skip to main content

PanelHalfExtent

Struct PanelHalfExtent 

Source
pub struct PanelHalfExtent {
    pub column_half: f64,
    pub beam_half: f64,
}
Expand description

接合部が占める領域の半寸法 [mm]。

部材は節点そのものではなく、パネルの面で接合する。その面までの距離が パネル分のオフセットになる。

  • はりは柱フェースで接合するため、オフセットは Self::column_half
  • 柱は梁フェースで接合するため、オフセットは Self::beam_half

§危険断面位置(RigidZone::face_i / face_j)と分けている理由

フェース距離は現在「接合する直交部材せいの 1/2」だが、これは断面算定の 既定の危険断面位置でもあり、将来は任意位置を取りうる。一方パネルの オフセットは接合部の物理的な寸法そのもので、設計上の評価位置がどこへ動いても 変わってはいけない。両者を別の量として扱う。

また face_i は「概ね直交する全部材の最大せい/2」であり、はりにとっては 直交するはりも候補に入る。本構造体は柱・はりを明示的に区別するため、 はりのオフセットが直交ばりのせいで決まることがない。

Fields§

§column_half: f64

柱せいの最大値の 1/2 [mm](=はりのオフセット、パネルの水平半寸法)。

§beam_half: f64

はりせいの最大値の 1/2 [mm](=柱のオフセット、パネルの鉛直半寸法)。

Implementations§

Source§

impl PanelHalfExtent

Source

pub fn offset_for(&self, orientation: MemberOrientation) -> f64

向き orientation の部材が接合する面までのオフセット [mm]。

Trait Implementations§

Source§

impl Clone for PanelHalfExtent

Source§

fn clone(&self) -> PanelHalfExtent

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 Copy for PanelHalfExtent

Source§

impl Debug for PanelHalfExtent

Source§

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

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

impl Default for PanelHalfExtent

Source§

fn default() -> PanelHalfExtent

Returns the “default value” for a type. Read more
Source§

impl PartialEq for PanelHalfExtent

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for PanelHalfExtent

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<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> 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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.