You are here: Start » AVL.NET » Invoke.CropRegionToRectangle

Invoke.CropRegionToRectangle

Creates a region from a rectangular fragment of another one.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CropRegionToRectangle
(
	Avl.Region inRegion,
	Avl.Rectangle2D inRectangle,
	Optional<Avl.CoordinateSystem2D> inRectangleAlignment,
	Avl.Region outRegion,
	Optional<Avl.Rectangle2D> outAlignedRectangle,
	Optional<Avl.CoordinateSystem2D> outOutputAlignment
)

Parameters

Name Type Range Default Description
inRegionAvl.RegionInput region.
inRectangleAvl.Rectangle2DRectangle defining a rotated subregion.
inRectangleAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL.
outRegionAvl.RegionOutput region.
outAlignedRectangleAtl.Optional<Avl.Rectangle2D>Input rectangle after transformation (in the region coordinates).
outOutputAlignmentAtl.Optional<Avl.CoordinateSystem2D>Alignment of the output region.

See also