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.

TD_Db 

 

 
Name 
Description 
 
This is OdDbRevolvedSurface, a member of class OdDbRevolvedSurface. 
 
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.
 
 
OdDbObject methods 
 
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). 
 
This is isDependent, a member of class OdDbRevolvedSurface. 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbRevolvedSurface. 
 
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.
 
 
overridables 
 
This is subTransformBy, a member of class OdDbRevolvedSurface. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.