EllipticalCylinder.set Method
Parent Object:
EllipticalCylinderDefined in namespace "adsk::core" and the header file is <Core/Geometry/EllipticalCylinder.h>
Description
Sets the data defining the elliptical cylinder.
Syntax
"ellipticalCylinder_var" is a variable referencing an EllipticalCylinder object.returnValue = ellipticalCylinder_var.set(origin, axis, majorAxis, majorRadius, minorRadius)
|
"ellipticalCylinder_var" is a variable referencing an EllipticalCylinder object.
#include <Core/Geometry/EllipticalCylinder.h>
returnValue = ellipticalCylinder_var->set(origin, axis, majorAxis, majorRadius, minorRadius);
|
Return Value
boolean |
Returns true if successful. |
Parameters
origin |
Point3D |
The origin point (center) of the base of the cylinder. |
axis |
Vector3D |
The center axis (along the length) of the cylinder that defines its normal direction. |
majorAxis |
Vector3D |
The direction of the major axis of the ellipse that defines the cylinder. |
majorRadius |
double |
The major radius of the ellipse that defines the cylinder. |
minorRadius |
double |
The minor radius of the ellipse that defines the cylinder. |
Version
Introduced in version August 2014