You are here: Start » AVL.NET » Function Reference » Region » Region Basics » AVL.CreatePathRegion
Creates a region along the given path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreatePathRegion ( AvlNet.Path inPath, AvlNet.CoordinateSystem2D? inPathAlignment, float inWidth, int inFrameWidth, int inFrameHeight, AvlNet.Region outRegion, NullableRef<AvlNet.Path> outAlignedPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inPathAlignment | AvlNet.CoordinateSystem2D? | Adjusts the path to the position of the inspected object. Default value: atl::NIL. | |||
inWidth | float | <1.0f, INF> | 1.0f | Width of line used to draw path. Default value: 1.0f. | |
inFrameWidth | int | <0, 65535> | Width of the created region's frame. | ||
inFrameHeight | int | <0, 65535> | Height of the created region's frame. | ||
outRegion | AvlNet.Region | Output region. | |||
outAlignedPath | AvlNet.NullableRef<AvlNet.Path> | The input path transformed to the absolute coordinate system. Can be null to skip this parameter calculation. |
Function Overrides
- CreatePathRegion(Path, Single, Int32, Int32, Region)
- CreatePathRegion(Path, Nullable<CoordinateSystem2D>, Single, Int32, Int32, Region)
- CreatePathRegion(Path, Nullable<CoordinateSystem2D>, Single, Int32, Int32, Region, Path)