Back to Aurora Vision Library Lite website

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

CreateCircle


Header: AVL.h
Namespace: avl

Creates a circle from an aligned point and radius.

Syntax

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&