Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Region Basics » CreateSegmentRegion

CreateSegmentRegion


Creates a segment region.

Name Type Range Description
inSegment Segment2D
inSegmentAlignment CoordinateSystem2D*
inWidth Integer 1 - Segment width
inFrameWidth Integer 0 - 65535
inFrameHeight Integer 0 - 65535
inRound Bool Make ends of segment round
outRegion Region Output region
outAlignedSegment Segment2D

Description

Filter creates region based on an input Segment2D. To specify line width use inWidth.

Filter creates segment region by creating rectangle located between inSegment points. To make ends round use inRound.

Examples

Example region with inRound=False
Example region with inRound=True

Complexity Level

This filter is available on Basic Complexity Level.