Interface Handrail
public interface Handrail
Represents a handrail that can be a part of a
Flight
in stairs or ramps.- Since:
- 9.10.2
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Handrail.Side
Defines the side of the flight on which the handrail is located. -
Method Summary
Modifier and Type Method Description MPolygon2d
getFootprint()
Returns the footprint polygon of this handrail.double
getHeight()
Returns the height of the handrail.Handrail.Side
getSide()
Returns the side of the handrail element.
-
Method Details
-
getHeight
double getHeight()Returns the height of the handrail.- Returns:
- the height of the handrail
- Since:
- 9.10.2
-
getFootprint
MPolygon2d getFootprint()Returns the footprint polygon of this handrail. The footprint polygon is the outline of the handrail when it is flattened to two dimensions.- Returns:
- the footprint polygon of this handrail
- Since:
- 9.10.2
-
getSide
Handrail.Side getSide()Returns the side of the handrail element. The side is as it is seen when walking from the bottom to the top of the flight.- Returns:
- the side the side of the handrail element
- Since:
- 9.10.2
-