Circle2D.getData Method

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

Description

Gets all of the data defining the circle.

Syntax

"circle2D_var" is a variable referencing a Circle2D object.

(returnValue, center, radius) = circle2D_var.getData()

#include <Core/Geometry/Circle2D.h

// Declare the output arguments.
Ptr<Point2D> center;
double radius;
boolean returnValue = circle2D_var->getData(center, radius);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
center Point2D The output point defining the center position of the circle.
radius double The output radius of the circle.

Version

Introduced in version August 2014