You are here: Start » AVL.NET » AVL.PointsBoundingParallelogram
Computes the smallest parallelogram containing an array of points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointsBoundingParallelogram ( AvlNet.Point2D[] inPoints, AvlNet.BoundingRectangleFeature inBoundingParallelogramFeature, out AvlNet.Path outBoundingParallelogram )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point2D[] | Input array of points. | ||
![]() | inBoundingParallelogramFeature | AvlNet.BoundingRectangleFeature | MinimalArea | Determines what kind of bounding parallelogram will be computed. Default value: MinimalArea. | |
![]() | outBoundingParallelogram | AvlNet.Path | Smallest bounding parallelogram of the input points. |
Errors
Error type | Description |
---|---|
DomainError | No points on input in PointsBoundingParallelogram. |
DomainError | Unknown parallelogram feature in PointsBoundingParallelogram. |