You are here: Start » AVL.NET » AVS.CropRegionToQuadrangle Method

AVS.CropRegionToQuadrangle Method

Creates a region from a quadrangular fragment of another one. The quadrangle must be convex.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropRegionToQuadrangle
(
	AvlNet.Region inRegion,
	AvlNet.Path inQuadrangle,
	AvlNet.Size? inOutputSize,
	AvlNet.CoordinateSystem2D? inQuadrangleAlignment,
	AvlNet.Region outRegion,
	AvlNet.Path outAlignedShape
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inQuadrangleAvlNet.PathA convex quadrangle defining a region to be cropped (points must be clockwise).
inOutputSizeAvlNet.Size?Width and height of the output region. Default value: atl::NIL.
inQuadrangleAlignmentAvlNet.CoordinateSystem2D?Adjusts the quadrangle to the position of the inspected object. Default value: atl::NIL.
outRegionAvlNet.RegionOutput region.
outAlignedShapeAvlNet.PathThe input quadrangle after transformation (in the region coordinates).

Function Overrides

See also