Parameters |
Description |
OdDbEntity* pRevEnt |
[in] Pointer to the planar curve, region, or planar surface that must be revolved. |
const OdGePoint3d& axisPnt |
[in] Point on the axis of revolution. |
const OdGeVector3d& axisDir |
[in] Direction of the revolution axis. |
double revAngle |
[in] Revolve angle in radians. |
double startAngle |
[in] Start angle of rotation. If 0, then rotation will start from current position of pRevEnt. |
OdDbRevolveOptions& revolveOptions |
[in] Revolve options. |
Returns eOk if successful or an appropriate error code in other case.
Creates a solid by revolving a specified curve, region, or planar surface around the specified axis of revolution.
Axis of revolution is defined by a point (axisPnt) and vector (axisDir). pRevEnt will be revolved according to the start and revolve angles counter-clockwise about the axisDir vector.
Options for revolving can be specified with the revolveOptions object reference.
This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|