API Reference > OdDg Classes > OdDgCurveElement2d Class
OdDgCurveElement2d Class
OdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2dOdDgCurveElement2d
Syntax
C++
class OdDgCurveElement2d : public OdDgGraphicsElement;

DgCurveElement2d.h

The class is the base class for all OdDg 2d curves. 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
Takes an OdGeCurve3d and returns an OdDbCurve that is geometrically identical to the OdGeCurve3d.  
 
This is the overview for the extend method overload. 
 
Returns the area of this Curve object.
 
 
Returns the point on this Curve object closest to the given point.
 
 
Returns the distance along this Curve object from its start point to the point specified by param.
 
 
Returns the distance along this Curve object from its start point to the specified WCS point.
 
 
Returns the parameter corresponding to the end point of this Curve object.
 
 
Returns the WCS end point of this Curve object.
 
 
This is the overview for the getFirstDeriv method overload. 
 
Returns line style modifiers for curve elements. 
 
Returns line style scale for curve elements. 
 
Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve.  
 
Creates a set of curves representing the offsetting of this Curve object by the specified distance.  
 
Returns the parameter corresponding to the point a specified distance along this Curve object from its start point.
 
 
Returns the parameter corresponding to the specified WCS point on this Curve object.
 
 
Returns the WCS point a specified distance along this Curve object from its start point.
 
 
Returns the WCS point on this Curve object corresponding to the specified parameter.
 
 
This is the overview for the getSecondDeriv method overload. 
 
Returns OdDgBSplineCurve2d approximation of this Curve object.  
 
This is the overview for the getSplitCurves method overload. 
 
Returns the parameter corresponding to the start point of this Curve object.
 
 
Returns the WCS start point of this Curve object.
 
 
Returns true if and only if this Curve object is closed. 
 
Returns true if and only if this Curve object is periodic. 
 
 
 
 
 
Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d.  
 
 
 
Set style modifiers for curve elements. 
 
Set line style scale for curve elements. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.