Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Basics » CreateCircle

CreateCircle


Header: AVL.h
Namespace: avl
Module: FoundationLite

Creates a circle from an aligned point and radius.

Syntax

C++
C#
 
void avl::CreateCircle
(
	const avl::Point2D& inPoint,
	avl::Anchor2D::Type inPointAnchor,
	float inRadius,
	avl::Circle2D& outCircle
)

Parameters

Name Type Range Default Description
Input value inPoint const Point2D&
Input value inPointAnchor Anchor2D::Type MiddleCenter Alignment of the point relatively to the box of the circle
Input value inRadius float 0.0 - Circle radius
Output value outCircle Circle2D&