Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectanglePerimeterLength
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Computes the perimeter length of a rectangle.
Syntax
C++
C#
void avl::RectanglePerimeterLength ( const avl::Rectangle2D& inRectangle, float& outPerimeterLength )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
outPerimeterLength | float& |
Examples
![]() |
RectanglePerimeterLength performed on a rectangle with parameters: X = 25, Y = 175, Angle = 325, Width = 250, Height = 125.
The outPerimeterLength returns a value of 750.