RectangleSides
Returns segments representing the sides of the input rectangle.
Syntax
C++
Python
def RectangleSides( inRectangle: Rectangle2D, /, *, outTopSide: Segment2D | None = None, outRightSide: Segment2D | None = None, outBottomSide: Segment2D | None = None, outLeftSide: Segment2D | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
outTopSide | Segment2D | None | None | |
![]() |
outRightSide | Segment2D | None | None | |
![]() |
outBottomSide | Segment2D | None | None | |
![]() |
outLeftSide | Segment2D | None | None |


