This class implements the line object (Line entity) in the database. This class inherits the base functionality of entities. A line is a straight segment in world space.
File: DbLine.h
Module: API Reference
(Inherited from OdDbCurve) | |
(Inherited from OdDbEntity) | |
Builds an instance of the line object. | |
(Inherited from OdDbObject) |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) |
| |
(Inherited from OdDbCurve) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
This is the overview for the TD_USING method overload. | |
Adds the specified persistent reactor to this object's reactor list. (Inherited from OdDbObject) | |
Adds the specified transient reactor to this object's reactor list. (Inherited from OdDbObject) | |
Increments the reference count of this object. (Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbEntity) | |
This function appends this object to the specified owner object during the deep or wblock clone operation. (Inherited from OdDbObject) | |
Notification function called each time an Undo operation is performed this object is using partial Undo. (Inherited from OdDbEntity) | |
Notification function called each time an Undo operation is performed this object is using partial Undo. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForNotify. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForRead. (Inherited from OdDbObject) | |
Throws an exception if this object is not open OdDb::kForWrite, and controls automatic undo and notification of modifications. (Inherited from OdDbObject) | |
Perform an audit operation on this object. (Inherited from OdDbObject) | |
Returns the Object ID of the OdDbBlockTableRecord that owns this entity. (Inherited from OdDbEntity) | |
This is the overview for the boundingBoxIntersectWith method overload. | |
Returns the CastShadows flag for this entity.. (Inherited from OdDbEntity) | |
Returns the cloneMeForDragging flag for this entity. (Inherited from OdDbEntity) | |
Returns the CollisionType for this entity. (Inherited from OdDbEntity) | |
Returns the color information of this entity as an OdCmColor instance. (Inherited from OdDbEntity) | |
Returns the Object ID of the OdDbColor object referenced by this entity. (Inherited from OdDbEntity) | |
Returns the color index of this entity (DXF 62). (Inherited from OdDbEntity) | |
After loading from file, performs necessary actions which require accessing other Database objects. For example, processing round-trip data. (Inherited from OdDbObject) | |
The method should be called from *decomposeForSave()* of custom container objects for owned child objects. It calls child's decomposeForSave() method plus performs other required actions (handOverTo, exchanging XData, etc.) (Inherited from OdDbObject) | |
Notification function called whenever the notifying object has had its clone() member function called. (Inherited from OdDbObject) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbEntity) | |
Copies the contents of the specified object into this object when possible. (Inherited from OdDbObject) | |
Creates an OdDbDictionary extension dictionary of this object. (Inherited from OdDbObject) | |
Takes an OdGeCurve3d and returns an OdDbCurve that is geometrically identical to the OdGeCurve3d. (Inherited from OdDbCurve) | |
Creates or retrieves the specified Xrecord in this object's extension dictionary. (Inherited from OdDbObject) | |
Returns the OdDbDatabase that contains this object. (Inherited from OdDbObject) | |
This is the overview for the decomposeForSave method overload. | |
Performs a deep clone of this object. (Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
Controls the undo recording of this object in OdDbDatabase. (Inherited from OdDbObject) | |
Downgrades this object from OdDb::kForWrite to OdDb::kForRead (Inherited from OdDbObject) | |
Notification function called when this entity is involved in a drag operation. (Inherited from OdDbEntity) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbEntity) | |
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. (Inherited from OdDbObject) | |
Reads the .dwg file format data of this object from the specified file. (Inherited from OdDbObject) | |
Reads the .dwg file data of this object. (Inherited from OdDbEntity) | |
Reads the .dwg file data of this object. | |
Reads the .dwg file data of this object. (Inherited from OdDbObject) | |
Writes the .dwg file format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the .dwg file data of this object. (Inherited from OdDbEntity) | |
Writes the .dwg file data of this object. | |
Writes the .dwg file data of this object. (Inherited from OdDbObject) | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbEntity) | |
Reads the DXF format data of this object from the specified filer. (Inherited from OdDbObject) | |
Reads the DXF data of this object. (Inherited from OdDbEntity) | |
Reads the DXF data of this object. | |
Reads the DXF data of this object. (Inherited from OdDbObject) | |
Reads the DXF R12 format data of this object. (Inherited from OdDbEntity) | |
Reads the DXF R12 format data of this object. | |
Reads the DXF R12 format data of this object. (Inherited from OdDbObject) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbEntity) | |
Writes the DXF format data of this object to the specified filer. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbEntity) | |
Writes the DXF data of this object. | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Writes the DXF data of this object. (Inherited from OdDbEntity) | |
Writes the DXF data of this object. | |
Writes the DXF data of this object. (Inherited from OdDbObject) | |
Returns the WCS coordinates of the end point of the line (DXF 11) as three-dimensional point instance. | |
Returns the OdCmEntityColor settings of this object. (Inherited from OdDbEntity) | |
Sets the erased mode of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object has been erased or unerased. (Inherited from OdDbObject) | |
Explodes this entity into a set of simpler entities. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities, and adds them to the specified block. (Inherited from OdDbEntity) | |
Explodes this entity into a set of simpler entities, and adds them to the specified block table record. (Inherited from OdDbEntity) | |
This is the overview for the extend method overload. | |
Returns the Object ID of this object's extension dictionary. (Inherited from OdDbObject) | |
(Inherited from OdDbCurve) | |
Returns the area of this Curve object. (Inherited from OdDbCurve) | |
Returns a zero for the line entity. | |
Returns the CLSID value associated with this object. (Inherited from OdDbObject) | |
This is the overview for the getClosestPointTo method overload. | |
Is applicable for compound objects only which return the kDrawableIsCompoundObject flag from subSetAttributes(). The matrix returned is the one that is passed to pushModelTransform before rendering nested objects. Default implementation returns OdDb::eNotApplicable and the identity matrix in xM. (Inherited from OdDbEntity) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns the distance along this Curve object from its start point to the point specified by param. (Inherited from OdDbCurve) | |
Computes the distance along the line measured from the start point in drawing units at the specified parameter. | |
Returns the distance along this Curve object from its start point to the specified WCS point. (Inherited from OdDbCurve) | |
Returns the entity coordinate system matrix. (Inherited from OdDbEntity) | |
Returns the entity coordinate system matrix. | |
Returns the parameter corresponding to the end point of this Curve object. (Inherited from OdDbCurve) | |
Gets the end parameter value. The end parameter equals the line length. Parameter is a distance measured from the start point in drawing units. | |
Returns the WCS end point of this Curve object. (Inherited from OdDbCurve) | |
Computes the WCS coordinates of the end point on the line for which the parameter equals the line length. | |
This is the overview for the getField method overload. | |
This is the overview for the getFieldDictionary method overload. | |
Computes the first derivative for the specified parameter of the line entity and returns the three-dimensional vector instance. The first derivative is constant for any point of the line. | |
This is the overview for the getFirstDeriv method overload. | |
(Inherited from OdDbEntity) | |
This is the overview for the getGripPoints method overload. | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Returns the drawing and maintenance release version into which this object must be stored. (Inherited from OdDbObject) | |
Returns an OdGeCurve3d that is geometrically identical to this OdDbCurve. (Inherited from OdDbCurve) | |
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. (Inherited from OdDbCurve) | |
Creates a set of curves representing the offsetting of this Curve object by the specified distance in a plane with the specified normal. (Inherited from OdDbCurve) | |
Creates a curve by projecting this Curve object onto the specified plane along its normal. (Inherited from OdDbCurve) | |
This is the overview for the getOsnapPoints method overload. | |
Returns the parameter corresponding to the point a specified distance along this Curve object from its start point. (Inherited from OdDbCurve) | |
Computes the parameter at the distance along the line. Parameter is a distance measured from the start point in drawing units. | |
Returns the parameter corresponding to the specified WCS point on this Curve object. (Inherited from OdDbCurve) | |
Computes the parameter at the point placed on the line. Parameter is a distance measured from the start point in drawing units. | |
Returns Object IDs of this object's persistent reactors. (Inherited from OdDbObject) | |
Returns the plane that contains this entity. (Inherited from OdDbEntity) | |
Gets an arbitrary plane passed through the line entity. This method is inherited from the OdDbEntity class. | |
Returns the PlotStyleName of this entity. (Inherited from OdDbEntity) | |
Returns the WCS point a specified distance along this Curve object from its start point. (Inherited from OdDbCurve) | |
Returns the WCS point on this Curve object corresponding to the specified parameter. (Inherited from OdDbCurve) | |
Computes the WCS coordinates of the point on the line at the specified parameter value. Parameter is a distance measured from the start point in drawing units. | |
Creates a curve by projecting this Curve object onto the specified plane along the specified direction. (Inherited from OdDbCurve) | |
Computes the second derivative for the specified parameter of the line entity and returns the three-dimensional vector instance. The second derivative is constant for any point of the line. | |
This is the overview for the getSecondDeriv method overload. | |
Returns OdDbSpline approximation of this Curve object. (Inherited from OdDbCurve) | |
This is the overview for the getSplitCurves method overload. | |
Returns the parameter corresponding to the start point of this Curve object. (Inherited from OdDbCurve) | |
Gets the start parameter value. The start parameter equals a zero for lines. Parameter is a distance measured from the start point in drawing units. | |
Returns the WCS start point of this Curve object. (Inherited from OdDbCurve) | |
Computes the WCS coordinates of the start point on the line for which the parameter equals zero. | |
Returns all stretch points of this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Creates a copy of this entity, and applies the supplied transformation to the newly created copy. (Inherited from OdDbEntity) | |
Returns this object's transient reactors. (Inherited from OdDbObject) | |
Notification function called just before an object is deleted from memory. (Inherited from OdDbObject) | |
Notification function called when this entity is involved in a grip operation. (Inherited from OdDbEntity) | |
Returns the OdGsCache of an OdGiDrawable object. (Inherited from OdDbObject) | |
Replaces this database -resident (DBRO) object with the specified non- database -resident (NDBRO) object, while retaining this object's objectId, handle, owner, and reactor list. (Inherited from OdDbObject) | |
Returns the persistent handle of this database object. (Inherited from OdDbObject) | |
Returns true if and only if this object has fields. (Inherited from OdDbObject) | |
This method returns true if objId is the Object ID of a reactor attached to this object. Otherwise, it returns false. (Inherited from OdDbObject) | |
Returns true if and only if this object has its bit set to override the filer version. (Inherited from OdDbObject) | |
Returns the hideMeForDragging flag for this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Returns the database ID corresponding to this object. (Inherited from OdDbObject) | |
This is the overview for the intersectWith method overload. | |
Returns true if and only if this object is a proxy object or entity. (Inherited from OdDbObject) | |
Returns true if and only if this Curve object is closed. (Inherited from OdDbCurve) | |
Returns true if and only if this Curve object is closed. | |
(Inherited from OdDbEntity) | |
Returns true if and only this object is a database -resident object. (Inherited from OdDbObject) | |
Returns true if and only if this object's erased status has been toggled since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object is marked as erased. (Inherited from OdDbObject) | |
Returns true if and only if this object's assertWriteEnabled() has been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if an object derived from OdDbEntity has been modified. (Inherited from OdDbObject) | |
Returns true if and only this object's assertWriteEnabled() and setXData() have been called since it was opened. (Inherited from OdDbObject) | |
Returns true if and only if this object has not been closed since it was created. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForNotify. (Inherited from OdDbObject) | |
Returns true if and only if this object is sending notification. (Inherited from OdDbObject) | |
Returns true if and only if this object's Object ID is not valid because the OdDbObject::subDeepClone or OdDbObject::subWblockClone() have yet to be completed. (Inherited from OdDbObject) | |
Returns true if and only if this Curve object is periodic. (Inherited from OdDbCurve) | |
Returns true if and only if this Curve object is periodic. | |
Return true if and only if this object is database -resident (DBRO). (Inherited from OdDbObject) | |
Returns true if and only if this entity is planar. (Inherited from OdDbEntity) | |
Determines whether the line entity is planar as a Boolean value and returns true. This method is inherited from the OdDbEntity class. | |
Returns true if and only if this object is open OdDb::kForRead. (Inherited from OdDbObject) | |
Returns true if and only if a call to close would completely close this object at this time. (Inherited from OdDbObject) | |
Returns true if and only if this object is taking part in an Undo operation. (Inherited from OdDbObject) | |
Returns true if and only if this object is open OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the name of the layer referenced by this entity (DXF 8). (Inherited from OdDbEntity) | |
Returns the Object ID of the OdDbLayerTableRecord referenced by this entity. (Inherited from OdDbEntity) | |
Returns the lineweight property of this entity (DXF 370). (Inherited from OdDbEntity) | |
Returns the name of the linetype referenced by this entity (DXF 6). (Inherited from OdDbEntity) | |
Returns the Object ID of the linetype referenced by this entity (DXF 6). (Inherited from OdDbEntity) | |
Returns the linetype scale of this entity (DXF 48). (Inherited from OdDbEntity) | |
This method is triggered by the standard LIST command and is to be display the dxf format contents of the entity to the display. (Inherited from OdDbEntity) | |
Returns the name of the material referenced by this entity (DXF 347). (Inherited from OdDbEntity) | |
Returns the Object ID of the material referenced by this entity (DXF 347). (Inherited from OdDbEntity) | |
Returns OdGiMapper used to map a material to the entity. Returns null if the default mapper is used. (Inherited from OdDbEntity) | |
Returns the merge style of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened OdDb::kForWrite, a function has been called that could modify the contents of this object, and this object is now being closed. (Inherited from OdDbObject) | |
Notification function called whenever an object derived from OdDbEntity is modified. (Inherited from OdDbObject) | |
Notification function called whenever the XData has been written to the notifying object. (Inherited from OdDbObject) | |
Notification function called whenever the notifying object is in the midst an Undo operation that is undoing modifications. (Inherited from OdDbObject) | |
This is the overview for the moveGripPointsAt method overload. | |
(Inherited from OdDbEntity) | |
Moves the specified stretch points of this entity. (Inherited from OdDbEntity) | |
Returns the WCS unit vector which is the normal to the plane of the line entity (DXF 210). The normal defines the orientation of the line plane in world space. | |
Returns the reference count of this object. (Inherited from OdDbObject) | |
Notification function called immediately before an object is closed. (Inherited from OdDbObject) | |
Returns the Object ID of this object. (Inherited from OdDbObject) | |
Notification function called whenever an object is opened for modify OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the Object ID of this object's owner. (Inherited from OdDbObject) | |
Returns the name of the plotStyleName string associated with this entity (DXF 390). (Inherited from OdDbEntity) | |
Notification function called whenever a Redo process processes the reappending of the notifying object to the database. (Inherited from OdDbObject) | |
Returns the ReceiveShadows flag for this entity.. (Inherited from OdDbEntity) | |
Sets the bit flag indicating the entity's geometry is changed. (Inherited from OdDbEntity) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) | |
Decrements the reference count of this object. (Inherited from OdDbObject) | |
Releases and erases this object's extension dictionary if it exists and is empty. (Inherited from OdDbObject) | |
This is the overview for the removeField method overload. | |
Removes the specified persistent reactor from this object's reactor list. (Inherited from OdDbObject) | |
Removes the specified transient reactor from this object's reactor list. (Inherited from OdDbObject) | |
Reverses this curve entity so the start becomes the end, and vice versa. (Inherited from OdDbCurve) | |
Reverses this curve entity so the start becomes the end, and vice versa. | |
Creates a geometric representation of this entity for saving proxy graphics or converting to previous formats. (Inherited from OdDbEntity) | |
!DOM (Inherited from OdDbObject) | |
Controls the CastShadows flag for this entity. (Inherited from OdDbEntity) | |
Sets the color information of this entity from an OdCmColor instance. (Inherited from OdDbEntity) | |
Assigns the specified OdDbColor object to this entity. (Inherited from OdDbEntity) | |
Sets the color index of this entity (DXF 62). (Inherited from OdDbEntity) | |
Applies the default properties of the specified database to this entity. (Inherited from OdDbEntity) | |
Sets the end point of the line (DXF 11) in WCS. The initial value is (0,0,0) by default. | |
Adds the specified field to the field dictionary of this object. (Inherited from OdDbObject) | |
Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d. (Inherited from OdDbCurve) | |
Takes an OdGeCurve3d and sets this OdDbCurve to be geometrically identical to the OdGeCurve3d. | |
Assigns the specified OdGsCache to the calling object. (Inherited from OdDbObject) | |
Controls the flag specifying that this object overrides the save filer version. (Inherited from OdDbObject) | |
This is the overview for the setLayer method overload. | |
Sets the lineweight property of this entity (DXF 370). (Inherited from OdDbEntity) | |
This is the overview for the setLinetype method overload. | |
Sets the Linetype scale of this entity (DXF 48). (Inherited from OdDbEntity) | |
This is the overview for the setMaterial method overload. | |
Sets the mapper used to map a material to the entity. (Inherited from OdDbEntity) | |
Sets the WCS normal to the plane of the line entity (DXF 210). The normal defines the orientation of the line plane in world space. The initial value is (0,0,1) by default. | |
Called on a new created cloned object to indicate that its Object ID is not valid. (Inherited from OdDbObject) | |
Sets this object's ownerId data member. (Inherited from OdDbObject) | |
This is the overview for the setPlotStyleName method overload. | |
Copies the properties from the specified entity to this entity. (Inherited from OdDbEntity) | |
Controls the Receivehadows flag for this entity. (Inherited from OdDbEntity) | |
Sets the start point of the line (DXF 10) in WCS. The initial value is (0,0,0) by default. | |
Sets the temporary (not saved to file) visibility status of this entity. (Inherited from OdDbEntity) | |
Sets the thickness of the line 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 line without thickness. The initial value is zero by default. | |
Sets the transparency setting of this entity, and returns eOk if successful. (Inherited from OdDbEntity) | |
Sets the visibility status of this entity (DXF 60). (Inherited from OdDbEntity) | |
Sets the *visual style* to be used by this entity. (Inherited from OdDbEntity) | |
Sets the XData of this object. (Inherited from OdDbObject) | |
Returns the WCS coordinates of the start point of the line (DXF 10) as three-dimensional point instance. | |
Called as the first operation as this object is being closed, for database -resident objects only. (Inherited from OdDbObject) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbEntity) | |
Called as the first operation as this object is being erased or unerased. (Inherited from OdDbObject) | |
overridables (Inherited from OdDbEntity) | |
overridables | |
| |
Called as the first operation of the handOverTo function. (Inherited from OdDbEntity) | |
Called as the first operation of the handOverTo function. (Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
Notification function called whenever a method of the specified subobject has called assertWriteEnabled() (Inherited from OdDbObject) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbEntity) | |
Notification function called by the Drawings framework immediately before an object is opened. (Inherited from OdDbObject) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbEntity) | |
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. (Inherited from OdDbObject) | |
Called by setDatabaseDefaults() after the values are set. (Inherited from OdDbEntity) | |
This function is called as the first operation of the swapIdWith() function. (Inherited from OdDbEntity) | |
Called as the first operation of swapIdWith (Inherited from OdDbObject) | |
| |
(Inherited from OdDbEntity) | |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
| |
(Inherited from OdDbObject) | |
(Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Swaps the objectIDs, handles, XData,and extension dictionary between this object and another object. (Inherited from OdDbObject) | |
Returns the temporary (not saved) visibility status of this entity. (Inherited from OdDbEntity) | |
Returns the thickness of the line 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 line without thickness. | |
Applies the specified 3D transformation matrix to this entity. (Inherited from OdDbEntity) | |
(Inherited from OdDbEntity) | |
Returns the transparency setting of this entity. (Inherited from OdDbEntity) | |
Notification function called whenever the Undo process processes the appending of the notifying object to the database. (Inherited from OdDbObject) | |
Returns the undo filer associated with this object. (Inherited from OdDbObject) | |
Upgrades this object from OdDb::kForRead to OdDb::kForWrite. (Inherited from OdDbObject) | |
Returns the visibility status of this entity. It takes into account both permanent (DXF 60) and temporary visibility statuses: the entity is visible only if it's visible in both parts. (Inherited from OdDbEntity) | |
Returns the Object ID of the *visual style* used by this entity. (Inherited from OdDbEntity) | |
Performs a shallow clone of this object. (Inherited from OdDbObject) | |
Returns a linked list of ResBufs containing a copy of the XData of this object. (Inherited from OdDbObject) | |
Applies the 3D transformation matrix to the XData of this object. (Inherited from OdDbObject) | |
Allows a subobject of a complex object to notify its root object that it has been changed. (Inherited from OdDbObject) |
Copyright © 2002-2022. Open Design Alliance All rights reserved.
|