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 that indicates that this ModelerGeometry object is solid. |
bool bHistoryEnabled = false |
[in] Boolean flag that indicates whether history recording is enabled. |
eOk if successful or an appropriate error code otherwise.
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–2021. Open Design Alliance. All rights reserved.
|