You are here: Start » AVL.NET » Function Reference » Region » Region Basics » AVL.CreateLineRegion

AVL.CreateLineRegion

Creates a line region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateLineRegion
(
	AvlNet.Line2D inLine,
	AvlNet.CoordinateSystem2D? inLineAlignment,
	float inWidth,
	int inFrameWidth,
	int inFrameHeight,
	AvlNet.Region outRegion,
	NullableValue<AvlNet.Line2D> outAlignedLine
)

Parameters

Name Type Range Default Description
inLineAvlNet.Line2D
inLineAlignmentAvlNet.CoordinateSystem2D?
inWidthfloat<1.0f, INF>Width of output region line.
inFrameWidthint<0, 65535>
inFrameHeightint<0, 65535>
outRegionAvlNet.RegionOutput region.
outAlignedLineAvlNet.NullableValue<AvlNet.Line2D> Can be null to skip this parameter calculation.

Description

Filter creates a region defined by an input Line2D with width of inWidth.

Examples

Filter CreateLineRegion is used to split region int two parts:

Function Overrides

See also