Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Features » RectangleSides
RectangleSides
Header: | AVL.h |
---|---|
Namespace: | avl |
Returns segments representing the sides of the input rectangle.
Syntax
void avl::RectangleSides ( const avl::Rectangle2D& inRectangle, atl::Optional<avl::Segment2D&> outTopSide = atl::NIL, atl::Optional<avl::Segment2D&> outRightSide = atl::NIL, atl::Optional<avl::Segment2D&> outBottomSide = atl::NIL, atl::Optional<avl::Segment2D&> outLeftSide = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRectangle | const Rectangle2D& | |||
outTopSide | Optional<Segment2D&> | NIL | ||
outRightSide | Optional<Segment2D&> | NIL | ||
outBottomSide | Optional<Segment2D&> | NIL | ||
outLeftSide | Optional<Segment2D&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outTopSide, outRightSide, outBottomSide, outLeftSide.
Read more about Optional Outputs.