You are here: Start » AVL.NET » AVL.PathBoundingRectangle(AvlNet.Path, AvlNet.BoundingRectangleFeature, AvlNet.Rectangle2D)

AVL.PathBoundingRectangle(AvlNet.Path, AvlNet.BoundingRectangleFeature, AvlNet.Rectangle2D)

Computes the smallest rectangle (can be rotated) containing a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PathBoundingRectangle(
	AvlNet.Path inPath,
	AvlNet.BoundingRectangleFeature inBoundingRectangleFeature,
	out AvlNet.Rectangle2D outBoundingRectangle
)

Parameters

inPath
Type: AvlNet.Path
Input array of points
inBoundingRectangleFeature
Type: AvlNet.BoundingRectangleFeature
Determines what kind of bounding rectangle will be computed
outBoundingRectangle
Type: AvlNet.Rectangle2D
The smallest bounding rectangle of the input path

See also