API Reference > OdDb Classes > OdDbRevolvedSurface Class
OdDbRevolvedSurface Class
OdDbRevolvedSurfaceOdDbRevolvedSurfaceOdDbRevolvedSurfaceOdDbRevolvedSurface
Syntax
C++
class OdDbRevolvedSurface : public OdDbSurface;

DbRevolvedSurface.h

This class implements a three-dimensional revolved surface entity. 

 

 
Name 
Description 
 
 
 
Name 
Description 
 
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.
 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns a point on the revolution axis. The returned point and the axis direction define the axis of revolution. 
 
Returns a vector representing the axis of revolution. 
 
Returns the revolution angle (in radians). 
 
Returns a pointer to the entity that is to be revolved. Revolved entity can be a planar curve, region, or planar surface. 
 
Returns current revolve options. Revolve options are stored in the passed OdDbRevolveOptions object.
 
 
Returns the start revolution angle (in radians). 
 
 
 
 
 
Sets the axis point.
 
 
Sets the axis vector for revolution. The axis of revolution is defined by the axis point and axis vector.
 
 
Sets all the data needed for the revolved surface.
 
 
Sets the angle of revolution.
 
 
Sets the revolve options for the surface.
 
 
Sets the start revolution angle.
 
 
Retrieves the class information.
 
 
Applies the specified 3D transformation matrix to this entity. Only available if transformation is uniform.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.