API Reference > OdDb Classes > OdDbArc Class
OdDbArc Class
OdDbArcOdDbArcOdDbArcOdDbArc
Syntax
C++
class OdDbArc : public OdDbCurve;

DbArc.h

 

This class implements the circular arc object (Arc entity) in the database. This class inherits the base functionality of entities. An arc is a circular segment in world space.

 
Name 
Description 
 
Builds an instance of the circular arc object. 
 
Name 
Description 
 
Returns the WCS coordinates of the arc center (DXF 10) as three-dimensional point instance. 
 
Reads the .dwg file data of this object.
 
 
 
 
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 end angle of the circular arc in radians (DXF 51). 
 
Returns the area calculated for the closed figure formed by the circular arc and a line passed from the end point to the start point.
 
 
Computes the distance along the circular arc measured from the start point to the point on circular curve specified by the parameter.
 
 
Returns the entity coordinate system matrix. 
 
Gets the end parameter value. The end parameter equals the end angle. 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 circular arc for which the parameter equals the end angle.
 
 
Computes the first derivative for the specified parameter of the circular arc 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 circular arc. Parameter is an angle measured from the OCS X-axis in the range 0 to 2PI radians.
 
 
Computes the parameter at the point placed on the circular arc. Parameter is an angle measured counterclockwise from the OCS X-axis in the range 0 to 2PI radians.
 
 
Gets a plane in which the circular arc entity places. This method is inherited from the OdDbEntity class.
 
 
Computes the WCS coordinates of the point on the circular arc 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 circular arc entity and returns the three-dimensional vector instance.
 
 
Gets the start parameter value. The start parameter equals equals the start angle. 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 circular arc for which the parameter equals the start angle.
 
 
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 circular arc 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 circular arc entity (DXF 210). The normal defines the orientation of the arc plane in world space. 
 
Returns the radius of the circular arc (DXF 40). 
 
Reverses this curve entity so the start becomes the end, and vice versa. 
 
Sets the center point of the circular arc (DXF 10) in WCS. The initial value is (0,0,0) by default.
 
 
Sets the end angle of the circular arc in the range ±2PI radians (DXF 51). A positive value specifies the angle measured from the OCS X-axis counterclockwise. A negative value specifies the angle measured from the OCS X-axis clockwise. The initial value is zero 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 circular arc entity (DXF 210). The normal defines the orientation of the arc plane in world space. The initial value is (0,0,1) by default.
 
 
Sets the radius of the circular arc (DXF 40). The initial value is 0.0 by default.
 
 
Sets the start angle of the circular arc in the range ±2PI radians (DXF 50). A positive value specifies the angle measured from the OCS X-axis counterclockwise. A negative value specifies the angle measured from the OCS X-axis clockwise. The initial value is zero by default.
 
 
Sets the thickness of the circular arc 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 an arc without thickness. The initial value is zero by default.
 
 
Returns the start angle of the circular arc in radians (DXF 50). 
 
overridables 
 
 
 
 
 
 
 
 
 
This is the overview for the TD_USING method overload. 
 
Returns the thickness of the circular arc 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 an arc without thickness. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.