Arc2D.createByThreePoints Method

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

Description

Creates a transient 2D arc by specifying 3 points. A transient arc is not displayed or saved in a document. Transient arcs are used as a wrapper to work with raw 2D arc information.

Syntax

This is a static method.

returnValue = adsk.core.Arc2D.createByThreePoints(startPoint, point, endPoint)
This is a static method.

#include <Core/Geometry/Arc2D.h>

returnValue = adsk::core::Arc2D::createByThreePoints(startPoint, point, endPoint);

Return Value

Type Description
Arc2D Returns the newly created arc or null if the creation failed.

Parameters

Name Type Description
startPoint Point2D The start point of the arc.
point Point2D A point along the arc.
endPoint Point2D The end point of the arc.

Version

Introduced in version August 2014