You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Features » AVL.RectangleCenter
Computes the center point of a rectangle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RectangleCenter ( AvlNet.Rectangle2D inRectangle, out AvlNet.Point2D outCenterPoint )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | outCenterPoint | AvlNet.Point2D |
Examples
![]() |
RectangleCenter performed on a rectangle with parameters: X = 25, Y = 175, Angle = 325, Width = 250, Height = 125.
The center point is returned in outCenterPoint.