Back to Aurora Vision Library website

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

AvsFilter_MakeArc


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 an arc structure from individual fields.

Syntax

void avs::AvsFilter_MakeArc
(
	const avl::Point2D& inCenter,
	float inRadius,
	float inStartAngle,
	float inSweepAngle,
	avl::Arc2D& outArc
)

Parameters

Name Type Range Default Description
Input value inCenter const Point2D& Center of the arc
Input value inRadius float 0.0 - The arc radius
Input value inStartAngle float Direction at which the arc begins
Input value inSweepAngle float Length of the arc (may be negative)
Output value outArc Arc2D&

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.