TemporaryBRepManager.createEllipticalCylinderOrCone Method
Parent Object:
TemporaryBRepManagerDefined in namespace "adsk::fusion" and the header file is <Fusion/BRep/TemporaryBRepManager.h>
Description
Creates a temporary elliptical solid cylinder or cone BrepBody object.
Syntax
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.returnValue = temporaryBRepManager_var.createEllipticalCylinderOrCone(pointOne, pointOneMajorRadius, pointOneMinorRadius, pointTwo, pointTwoMajorRadius, majorAxisDirection)
|
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.
#include <Fusion/BRep/TemporaryBRepManager.h>
returnValue = temporaryBRepManager_var->createEllipticalCylinderOrCone(pointOne, pointOneMajorRadius, pointOneMinorRadius, pointTwo, pointTwoMajorRadius, majorAxisDirection);
|
Return Value
BRepBody |
Returns the newly created temporary BRepBody object or null in the case of failure. |
Parameters
pointOne |
Point3D |
A point at one end of the cylinder or cone. |
pointOneMajorRadius |
double |
The major radius of the cylinder or cone at the point one end, in centimeters. |
pointOneMinorRadius |
double |
The minor radius of the cylinder or cone at the point one end, in centimeters. |
pointTwo |
Point3D |
A point at the opposite end of the cone. |
pointTwoMajorRadius |
double |
The major radius of the cylinder or cone at the point two end, in centimeters. The minor radius is automatically determined using the point one ratio of the minor and major radii. |
majorAxisDirection |
Vector3D |
A Vector3D object that defines the direction of the major axis. |
Samples
Version
Introduced in version December 2017