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 SummaryModifier and TypeMethodDescriptionReturns the 2D center point of the flight bottom segment.Returns the 2D direction vector towards where the flight's bottom end is pointing at.doubleReturns the elevation at the bottom of the flight element.Returns the flight bottom 2D segment.doubleReturns the width of the flight element at the bottom.Returns the list of handrail elements of the flight.doubleReturns the height of the flight element.Returns the 2D center point of the flight top segment.Returns the 2D direction vector towards where the flight's top end is pointing at.doubleReturns the elevation at the top of the flight element.Returns the flight top 2D segment.doubleReturns the width of the flight element at the top.
- 
Method Details- 
getBottomCenterPointVector3d getBottomCenterPoint()Returns the 2D center point of the flight bottom segment.- Returns:
- the point.
- Since:
- 9.10.2
 
- 
getTopCenterPointVector3d getTopCenterPoint()Returns the 2D center point of the flight top segment.- Returns:
- the point.
- Since:
- 9.10.2
 
- 
getBottomDirectionVector3d 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
 
- 
getBottomElevationdouble getBottomElevation()Returns the elevation at the bottom of the flight element.- Returns:
- the elevation at the bottom
- Since:
- 9.10.2
 
- 
getBottomSegmentSegment2d getBottomSegment()Returns the flight bottom 2D segment.- Returns:
- the segment at the bottom
- Since:
- 9.10.2
 
- 
getBottomWidthdouble getBottomWidth()Returns the width of the flight element at the bottom.- Returns:
- the bottom width
- Since:
- 9.10.2
 
- 
getTopDirectionVector3d 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
 
- 
getTopElevationdouble getTopElevation()Returns the elevation at the top of the flight element.- Returns:
- the elevation at the top
- Since:
- 9.10.2
 
- 
getTopSegmentSegment2d getTopSegment()Returns the flight top 2D segment.- Returns:
- the segment at the top
- Since:
- 9.10.2
 
- 
getTopWidthdouble getTopWidth()Returns the width of the flight element at the top.- Returns:
- the top width
- Since:
- 9.10.2
 
- 
getHeightdouble 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
 
- 
getHandrailsCollection<Handrail> getHandrails()Returns the list of handrail elements of the flight.- Returns:
- the list of handrail elements
- Since:
- 9.10.2
 
 
-