You are here: Start » AVL.NET » AVL.PointsBoundingBox
Computes the smallest box containing an array of points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointsBoundingBox ( AvlNet.Point2D[] inPoints, out AvlNet.Box outBoundingBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point2D[] | |||
![]() | outBoundingBox | AvlNet.Box |
Examples
![]() |
The resulting outBoundingBox drawn with the input points.
Errors
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingBox. |