Ellipse3D.set Method

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

Description

Sets all of the data defining the ellipse.

Syntax

"ellipse3D_var" is a variable referencing an Ellipse3D object.
returnValue = ellipse3D_var.set(center, normal, majorAxis, majorRadius, minorRadius)
"ellipse3D_var" is a variable referencing an Ellipse3D object.

#include <Core/Geometry/Ellipse3D.h>

returnValue = ellipse3D_var->set(center, normal, majorAxis, majorRadius, minorRadius);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
center Point3D The center point of the ellipse.
normal Vector3D The normal vector of the ellipse. The plane through the center point and perpendicular to the normal vector defines the plane of the ellipse.
majorAxis Vector3D The major axis of the ellipse.
majorRadius double The major radius of the of the ellipse.
minorRadius double The minor radius of the of the ellipse.

Version

Introduced in version August 2014