Circle2D.createByCenter Method

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

Description

Creates a transient 2D circle object by specifying a center and radius.

Syntax

This is a static method.

returnValue = adsk.core.Circle2D.createByCenter(center, radius)
This is a static method.

#include <Core/Geometry/Circle2D.h>

returnValue = adsk::core::Circle2D::createByCenter(center, radius);

Return Value

Type Description
Circle2D Returns the new Circle2D object or null if the creation failed.

Parameters

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

Version

Introduced in version August 2014