TTS-Mimosa Docs
    Preparing search index...

    Class Fruit

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    curvature: "straight" | "curved" | "slightly curved"

    Type.

    epicarp: Epicarp

    Epicarp.

    height: { max?: number; min?: number; value?: number }

    Leaflet height in milimeters (mm).

    It should be null when present is false.

    numberOfSeeds: {
        max?: number;
        min?: number;
        rarelyMax?: number;
        rarelyMin?: number;
        value?: number;
    }

    Number of seeds.

    replum: Replum

    Replum.

    shape: "linear" | "oblong"

    Shape of fruit.

    sources: Source[]

    Source.

    stipe: Stipe

    Stipe of fruit.

    type: "craspedium" | "sacellum"

    Type of fruit.

    width: { max?: number; min?: number; value?: number }

    Leaflet width in milimeters (mm).

    It should be null when present is false.

    Methods

    • Sets the height values, considering the value of present.

      Parameters

      • min: number

        The minimum height value in milimeters (mm).

      • max: number

        The maximum height value in milimeters (mm).

      Returns void

      Error if present is false and either min or max is not null.

      Error if min is greater than or equal to max.

    • Sets the number of seeds values.

      Parameters

      • min: number

        The minimum height value in milimeters (mm).

      • max: number

        The maximum height value in milimeters (mm).

      Returns void

    • Sets a single value for rarely maximum.

      Parameters

      • rarelyMax: number

        The rarely maximum value (integer).

      Returns void

    • Sets a single value for rarely minimum.

      Parameters

      • rarelyMin: number

        The rarely minimum value (integer).

      Returns void

    • Sets the width values, considering the value of present.

      Parameters

      • min: number

        The minimum width value in milimeters (mm).

      • max: number

        The maximum width value in milimeters (mm).

      Returns void

      Error if present is false and either min or max is not null.

      Error if min is greater than or equal to max.