Back to Aurora Vision Library Lite website

You are here: Start » Path » Path Basics » CreateCirclePath

CreateCirclePath


Header: AVL.h
Namespace: avl

Creates a closed path containing cocircular, equidistant points.

Syntax

void avl::CreateCirclePath
(
	const avl::Circle2D& inCircle,
	int inPointCount,
	avl::Path& outPath
)

Parameters

Name Type Range Default Description
Input value inCircle const Circle2D&
Input value inPointCount int 2 - 8 Number of points in the resulting path
Output value outPath Path& Output path

Description

The operation produces a closed path that consist of inPointCount equidistant points selected along the inCircle circumference.

Examples

CreateCirclePath run using a sample circle with inPointCount = 12.

See Also

  • CreateSegmentPath – Creates an open path containing collinear, equidistant points.
  • CreateArcPath – Creates an open path containing cocircular, equidistant points.