Back to Aurora Vision Library Lite website
You are here: Start » Region » Region Basics » CreateLineRegion
CreateLineRegion
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a line region.
Syntax
void avl::CreateLineRegion ( const avl::Line2D& inLine, atl::Optional<const avl::CoordinateSystem2D&> inLineAlignment, float inWidth, int inFrameWidth, int inFrameHeight, avl::Region& outRegion, atl::Optional<avl::Line2D&> outAlignedLine = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inLine | const Line2D& | ||||
inLineAlignment | Optional<const CoordinateSystem2D&> | NIL | |||
inWidth | float | 1.0 - | Width of output region line | ||
inFrameWidth | int | 0 - 65535 | |||
inFrameHeight | int | 0 - 65535 | |||
outRegion | Region& | Output region | |||
outAlignedLine | Optional<Line2D&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outAlignedLine.
Read more about Optional Outputs.
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: