Arc3D.getData Method

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

Description

Gets all of the data defining the arc.

Syntax

"arc3D_var" is a variable referencing an Arc3D object.

(returnValue, center, normal, referenceVector, radius, startAngle, endAngle) = arc3D_var.getData()

#include <Core/Geometry/Arc3D.h

// Declare the output arguments.
Ptr<Point3D> center;
Ptr<Vector3D> normal;
Ptr<Vector3D> referenceVector;
double radius;
double startAngle;
double endAngle;
boolean returnValue = arc3D_var->getData(center, normal, referenceVector, radius, startAngle, endAngle);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
center Point3D The output center point of the arc.
normal Vector3D The output normal vector.
referenceVector Vector3D The output reference vector.
radius double The output radius of the arc.
startAngle double The output start angle in radians. This angle is measured from the reference vector using the right hand rule around the normal vector.
endAngle double The output end angle in radians. This angle is measured from the reference vector using the right hand rule around the normal vector.

Samples

Name Description
Get Circle and Arc Data from Edge API Sample Display the arc and circle geometric information from a selected circular edge.

Version

Introduced in version August 2014