Start » Filter Reference » Region » Region Basics » CreateSegmentRegion

CreateSegmentRegion


Module: FoundationLite

Creates a segment region.

Name Type Range Description
Input value
inSegment Segment2D
Input value
inSegmentAlignment CoordinateSystem2D*
Input value
inWidth Real 1.0 - Segment width
Input value
inFrameWidth Integer 0 - 65535
Input value
inFrameHeight Integer 0 - 65535
Input value
inRound Bool Make ends of segment round
Output value
outRegion Region Output region
Output value
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.