Interface StairStep
public interface StairStep
The StairStep interface provides 2D geometric information about the top stair step shape. This can be retrieved
 through the 
StairFlight interface.- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptiondoublegetAngle()Returns the angle (in radians) between the front and back edge of the non-covered footprint of the step element.doubleReturns the elevation of the step element.Returns the footprint of the stair step element.doubleReturns the length of the step element.doublegetLength(double treadDistance) Returns the length of the step element.Returns the not covered footprint of the stair step element.booleanisWinder()Returns true if the step is a winder.
- 
Method Details- 
getFootprintMPolygon2d getFootprint()Returns the footprint of the stair step element.- Returns:
- the footprint
- Since:
- 9.10.2
 
- 
getNotCoveredFootprintPolygonMPolygon2d getNotCoveredFootprintPolygon()Returns the not covered footprint of the stair step element.- Returns:
- the not covered footprint
- Since:
- 9.10.2
 
- 
getElevationdouble getElevation()Returns the elevation of the step element.- Returns:
- the elevation
- Since:
- 9.10.2
 
- 
getLengthdouble getLength()Returns the length of the step element. The length is calculated from the middle of the step element, between the front and back edges of the not covered footprint of the step element.- Returns:
- the length
- Since:
- 9.10.2
 
- 
getLengthdouble getLength(double treadDistance) Returns the length of the step element. The length is calculated attreadDistancefrom the narrower side of the step.- Parameters:
- treadDistance- the tread distance
- Returns:
- the length
- Since:
- 9.10.2
 
- 
getAngledouble getAngle()Returns the angle (in radians) between the front and back edge of the non-covered footprint of the step element.- Returns:
- angle
- Since:
- 9.10.2
 
- 
isWinderboolean isWinder()Returns true if the step is a winder. The step element is considered to be a winder, if the step is narrower on one side than the other.- Returns:
- true, if the step is winder, false otherwise
- Since:
- 9.10.2
 
 
-