Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Geometry 2D Basics » AvsFilter_MakeSegment

AvsFilter_MakeSegment


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header: AVL.h
Namespace: avs
Module: FoundationLite

Creates a segment structure from individual fields.

Syntax

void avs::AvsFilter_MakeSegment
(
	const avl::Point2D& inPoint1,
	const avl::Point2D& inPoint2,
	avl::Segment2D& outSegment
)

Parameters

Name Type Default Description
Input value inPoint1 const Point2D& First point of the segment
Input value inPoint2 const Point2D& Second point of the segment
Output value outSegment Segment2D&

Hints

  • Consider using "Expand Structure Fields" command from the input port's context menu instead of this filter. This will make the program more concise and thus easier to understand in most cases.
  • "Make" filters should only be used when you need to create a structure explicitly and then use it in more than one further filters.