Circle2D.set Method

Parent Object: Circle2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Circle2D.h>

Description

Sets all of the data defining the circle.

Syntax

"circle2D_var" is a variable referencing a Circle2D object.
returnValue = circle2D_var.set(center, radius)
"circle2D_var" is a variable referencing a Circle2D object.

#include <Core/Geometry/Circle2D.h>

returnValue = circle2D_var->set(center, radius);

Return Value

Type Description
boolean Returns true if redefining the circle is successful

Parameters

Name Type Description
center Point2D A point that defines the center position of the circle.
radius double The radius of the circle.

Version

Introduced in version August 2014