[][src]Struct hulc2envolventecte::parsers::bdl::Floor

pub struct Floor {
    pub name: String,
    pub z: f32,
    pub height: f32,
    pub multiplier: f32,
    pub previous: String,
}

Planta (agrupación de espacios)

Fields

name: String

Nombre de la planta

z: f32

Cota de la planta en el sistema coordenado del edificio

height: f32

Altura suelo a suelo de la planta (incluye plenum y forjados)

multiplier: f32

Multiplicador de planta

previous: String

Planta anterior (inferior)

Trait Implementations

impl Clone for Floor[src]

impl Debug for Floor[src]

impl Default for Floor[src]

impl TryFrom<BdlBlock> for Floor[src]

type Error = Error

The type returned in the event of a conversion error.

pub fn try_from(value: BdlBlock) -> Result<Self, Self::Error>[src]

Convierte bloque BDL a planta (agrupación de espacios)

Ejemplo:

    "P01" = FLOOR
        POLYGON       =  "P01_Poligono1"
        FLOOR-HEIGHT  =            3.5
        SPACE-HEIGHT  =            3.5
        SHAPE         =  POLYGON
        PREVIOUS      =  ""
        ..
    "P02" = FLOOR
        Z             =               3
        POLYGON       =  "P02_Poligono1"
        FLOOR-HEIGHT  =              3
        SPACE-HEIGHT  =              3
        MULTIPLIER    = 12
        SHAPE         =  POLYGON
        PREVIOUS      =  "P01"
        ..

XXX: Atributos no trasladados: FLOOR-HEIGHT, POLYGON, SHAPE LIDER no usa bien la propiedad SPACE-HEIGHT, que permitiría definir plenum (o reducir la altura de forjados) sino que la usa como si fuese FLOOR-HEIGHT. HULC pone igual FLOOR-HEIGHT y SPACE-HEIGHT (la altura de los espacios de tipo PLENUM es floorheight - spaceheight) XXX: SHAPE y POLYGON no tienen información relevante, solo vale para exportar a BDL XXX: HULC solo maneja plantas con SHAPE = POLYGON

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.