Interface Flight

  • All Known Subinterfaces:
    RampFlight, StairFlight

    public interface Flight
    The Flight interface provides geometric information about the flight element shape.
    Since:
    9.10.2
    • Method Detail

      • getBottomCenterPoint

        Vector3d getBottomCenterPoint()
        Returns the 2D center point of the flight bottom segment.
        Returns:
        the point.
        Since:
        9.10.2
      • getTopCenterPoint

        Vector3d getTopCenterPoint()
        Returns the 2D center point of the flight top segment.
        Returns:
        the point.
        Since:
        9.10.2
      • getBottomDirection

        Vector3d getBottomDirection()
        Returns the 2D direction vector towards where the flight's bottom end is pointing at.
        Returns:
        the direction the bottom end of the flight is pointing at
        Since:
        9.10.2
      • getBottomElevation

        double getBottomElevation()
        Returns the elevation at the bottom of the flight element.
        Returns:
        the elevation at the bottom
        Since:
        9.10.2
      • getBottomSegment

        Segment2d getBottomSegment()
        Returns the flight bottom 2D segment.
        Returns:
        the segment at the bottom
        Since:
        9.10.2
      • getBottomWidth

        double getBottomWidth()
        Returns the width of the flight element at the bottom.
        Returns:
        the bottom width
        Since:
        9.10.2
      • getTopDirection

        Vector3d getTopDirection()
        Returns the 2D direction vector towards where the flight's top end is pointing at.
        Returns:
        the direction the top end of the flight is pointing at
        Since:
        9.10.2
      • getTopElevation

        double getTopElevation()
        Returns the elevation at the top of the flight element.
        Returns:
        the elevation at the top
        Since:
        9.10.2
      • getTopSegment

        Segment2d getTopSegment()
        Returns the flight top 2D segment.
        Returns:
        the segment at the top
        Since:
        9.10.2
      • getTopWidth

        double getTopWidth()
        Returns the width of the flight element at the top.
        Returns:
        the top width
        Since:
        9.10.2
      • getHeight

        double getHeight()
        Returns the height of the flight element. The height is the difference between the bottom and top elevations.
        Returns:
        the height
        Since:
        9.10.2
      • getHandrails

        Collection<Handrail> getHandrails()
        Returns the list of handrail elements of the flight.
        Returns:
        the list of handrail elements
        Since:
        9.10.2