pub struct Layer {
pub index: usize,
pub name: String,
pub bottom: StoryId,
pub top: StoryId,
pub height: f64,
pub bottom_elevation: f64,
pub top_elevation: f64,
pub level_kind: StoryLevelKind,
pub weight: Option<f64>,
pub node_ids: Vec<NodeId>,
pub structure: StoryStructure,
}Expand description
層(隣り合う 2 つの階の間)。法規上の「i 階」はこれを指す。
Model::layers が Model::stories から組み立てる導出値であり、
モデルには保持しない(保持すると Story::node_ids と同種の同期ずれを
1 つ増やすことになる)。層を数える処理は必ずこれを介し、
Model::stories を層として直接走査してはならない。
層と床の対応は実務の慣行に従う。
| 量 | 由来 |
|---|---|
| 名前 | 下端床(法令の「i 階」は下の床の呼び名) |
| 階高 | 上端床の標高 − 下端床の標高 |
| 重量・所属節点・階種別 | 上端床 |
重量が上端床なのは、層の質量が上端の床に集中するためである。
Fields§
§index: usize下から 0 始まりの層の番号。層を識別する添字。
name: String層の名前(下端床の階名)。
bottom: StoryId下端の階(床)。
top: StoryId上端の階(床)。層の重量・所属節点・階種別はこの階が持つ。
height: f64層の高さ(階高)[mm]。
bottom_elevation: f64下端床の標高 [mm]。
top_elevation: f64上端床の標高 [mm]。
level_kind: StoryLevelKind層の種別(一般/PH/地下)。
weight: Option<f64>設計に用いる地震用重量 [N](未算定なら None)。
node_ids: Vec<NodeId>層に属する節点(=上端床の所属節点)。
structure: StoryStructure主要構造種別(略算周期の鉄骨造比 α 算定用)。
Trait Implementations§
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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