API Reference > OdDb Classes > OdDbCircle Class
OdDbCircle Class
OdDbCircleOdDbCircleOdDbCircleOdDbCircle
Syntax
C++
class OdDbCircle : public OdDbCurve;

DbCircle.h

 

This class implements the circle object (Circle entity) in the database. This class inherits the base functionality of entities. A circle is a circular closed figure in world space.

TD_Db 

Example of Working with the Circle Object 

Working with Circles 

OdDbArc, OdDbEllipse classes

 
Name 
Description 
 
Builds an instance of the circle object. 
 
Name 
Description 
 
Returns the WCS coordinates of the circle center (DXF 10) as three-dimensional point instance. 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbCircle. 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Reads the DXF R12 format data of this object.
 
 
Writes the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns the area of the circle calculated using the classic formula (PIRR).
 
 
Computes the distance along the circle measured from the OCS X-axis to the point on the circle specified the parameter.
 
 
Returns the entity coordinate system matrix. 
 
Gets the end parameter value. The end parameter equals the 2PI. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Computes the WCS coordinates of the end point on the circle for which the parameter equals the circumference. The end point coincides with the start point.
 
 
Computes the first derivative for the specified parameter of the circle entity and returns the three-dimensional vector instance.
 
 
Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve.  
 
Computes the parameter at the distance along the circle. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Computes the parameter at the point placed on the circle. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Gets a plane in which the circle entity places. This method is inherited from the OdDbEntity class.
 
 
Computes the WCS coordinates of the point on the circle at the specified parameter value. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Computes the second derivative for the specified parameter of the circle entity and returns the three-dimensional vector instance.
 
 
Gets the start parameter value. The start parameter equals zero for circles. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Computes the WCS coordinates of the start point on the circle for which the parameter equals zero. The start point coincides with the end point.
 
 
Returns true if and only if this Curve object is closed. 
 
Returns true if and only if this Curve object is periodic. 
 
Determines whether the circle entity is planar as a Boolean value and returns True. This method is inherited from the OdDbEntity class. 
 
Returns the WCS unit vector which is the normal to the plane of the circle entity (DXF 210). The normal defines the orientation of the circle plane in world space. 
 
Returns the radius of the circle entity (DXF 40). 
 
Sets the center of the circle entity (DXF 10) in WCS. The initial value is (0,0,0) by default.
 
 
Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d.  
 
Sets the WCS normal to the plane of the circle entity (DXF 210). The normal defines the orientation of the circle plane in world space. The initial value is (0,0,1) by default.
 
 
Sets the radius of the circle entity (DXF 40). The initial value is 0.0 by default.
 
 
Sets the thickness of the circle entity (DXF 39) in drawing units. Thickness is the extrusion length along the normal. A positive value extrudes along the normal. A negative value extrudes opposite from the normal. A zero value defines a circle without thickness. The initial value is zero by default.
 
 
overridables 
 
This is subGetTransformedCopy, a member of class OdDbCircle. 
 
This is subTransformBy, a member of class OdDbCircle. 
 
This is subWorldDraw, a member of class OdDbCircle. 
 
This is the overview for the TD_USING method overload. 
 
Returns the thickness of the circle entity (DXF 39) in drawing units. Thickness is the extrusion length along the normal. A positive value defines the thickness to be drawn along the normal direction. A negative value defines the thickness to be drawn in the opposite direction from the normal. A zero value defines a circle without thickness. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.