TemporaryBRepManager.createCylinderOrCone Method
Parent Object:
TemporaryBRepManagerDefined in namespace "adsk::fusion" and the header file is <Fusion/BRep/TemporaryBRepManager.h>
Description
Creates a temporary solid cylinder or cone BRepBody object.
Syntax
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.returnValue = temporaryBRepManager_var.createCylinderOrCone(pointOne, pointOneRadius, pointTwo, pointTwoRadius)
|
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.
#include <Fusion/BRep/TemporaryBRepManager.h>
returnValue = temporaryBRepManager_var->createCylinderOrCone(pointOne, pointOneRadius, pointTwo, pointTwoRadius);
|
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. |
pointOneRadius |
double |
The radius of the cylinder or cone at the point one end, in centimeters. |
pointTwo |
Point3D |
A point at the opposite end of the cylinder or cone. |
pointTwoRadius |
double |
The radius of the cylinder or cone at the point two end, in centimeters. For a cylinder the pointTwoRadius should be equal to the pointOneRadius. |
Samples
Version
Introduced in version December 2017