Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectangleSides
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Returns segments representing the sides of the input rectangle.
Syntax
C++
C#
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.