Back to Adaptive Vision Library Lite website

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

CreateEllipsePath


Header: AVL.h
Namespace: avl

Creates a closed path containing elliptical, equidistant points.

Syntax

void avl::CreateEllipsePath
(
	const avl::Point2D& inCenter,
	float inRadiusX,
	float inRadiusY,
	int inPointCount,
	avl::Path& outPath
)

Parameters

Name Type Range Default Description
inCenter const Point2D&
inRadiusX float 0.0 -
inRadiusY float 0.0 -
inPointCount int 2 - 8 Number of points in the resulting path
outPath Path& Output path