Back to FabImage Library website

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

CreateCircle


Header: FIL.h
Namespace: fil
Module: FoundationLite

Creates a circle from an aligned point and radius.

Syntax

C++
C#
 
void fil::CreateCircle
(
	const fil::Point2D& inPoint,
	fil::Anchor2D::Type inPointAnchor,
	float inRadius,
	fil::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&