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, rotation will start from the current position of pRevEnt. |
OdDbRevolveOptions& revolveOptions |
[in] Revolve options. |
bool isSolid = true |
[in] Boolean flag. |
Returns eOk if successful or an appropriate error code in the other case.
Creates an object 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.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|