API Reference > OdDb Classes > OdDbXline Class
OdDbXline Class
OdDbXlineOdDbXlineOdDbXlineOdDbXline
Syntax
C++
class OdDbXline : public OdDbCurve;

DbXline.h

 

This class implements the Xline object (Infinity Line entity) in the database. This class inherits the base functionality of entities. It is used as a construction line passed through a point.

 
Name 
Description 
 
Builds an instance of the Xline object. 
 
Name 
Description 
 
Returns the WCS coordinates of the base point through which the inifinity line passes (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.
 
 
Writes the DXF data of this object.
 
 
This method is not applicable for the infinity line entity. 
 
Computes the distance along the infinite line measured from the base point in drawing units at the specified parameter.
 
 
This method is not applicable for the infinity line entity.
 
 
This method is not applicable for the infinity line entity.
 
 
Computes the first derivative for the specified parameter of the infinity line entity and returns the three-dimensional vector instance. The first derivative is constant for any point of the infinite line.
 
 
Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve.  
 
Computes the parameter at the distance along the infinite line measured from the base point.
 
 
Computes the parameter at the point placed on the infinite line.
 
 
Gets an arbitrary plane passed through the infinity line entity. This method is inherited from the OdDbEntity class.
 
 
Computes the WCS coordinates of the point on the infinity line at the specified parameter value.
 
 
Computes the second derivative for the specified parameter of the infinity line entity and returns the three-dimensional vector instance. The second derivative has (0,0,0) coordinates for any point of the infinite line.
 
 
This method is not applicable for the infinity line entity.
 
 
This method is not applicable for the infinity line entity.
 
 
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 infinity line entity is planar as a Boolean value and returns True. This method is inherited from the OdDbEntity class. 
 
Sets the base point of the infinity line (DXF 10). 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 unit direction vector of the infinity line (DXF 11) in WCS. The initial value is (0,0,1) by default.
 
 
overridables 
 
 
 
 
 
 
 
This is the overview for the TD_USING method overload. 
 
Returns the WCS unit direction vector of the infinity line (DXF 11) as three-dimensional vector instance. This vector orients the infinity line in would space. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.