Parameters |
Description |
OdDbEntity* pRevEnt |
[in] A pointer to the planar curve, region, or planar surface that is to be revolved. |
const OdGePoint3d& axisPnt |
[in] A point of the revolution axis. |
const OdGeVector3d& axisDir |
[in] A revolution axis' direction represented with an OdGeVector object. |
double revAngle |
[in] An angle of rotation (radians). |
double startAngle |
[in] A start angle of rotation (radians). |
OdDbRevolveOptions& revolveOptions |
[in] Revolving options. |
const OdStreamBuf * pSat = 0 |
[in] A pointer to an output stream buffer. |
Returns eOk if surface was successfully created. If specified data is not valid, returns eInvalidInput.
Creates a revolved surface from a specified curve, region, or planar surface and an axis of revolution.
Axis of revolution is defined with a point (axisPnt) and vector (axisDir). pRevEnt will be revolved counter clockwise about the axisDir vector.
If startAngle is equal to 0, rotation starts from current position of pRevEnt.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|