API Reference > OdDb Classes > OdDbPoint Class
OdDbPoint Class
OdDbPointOdDbPointOdDbPoint
Syntax
C++
class OdDbPoint : public OdDbEntity;

DbPoint.h

 

This class implements the point object (Point entity) in the database. This class inherits the base functionality of entities.

TD_Db 

Example of Working with the Point Object 

Working with Points 

Appearance and Size of Points 

 
Name 
Description 
 
This is the overview for the OdDbPoint constructor overload. 
 
Name 
Description 
 
Reads the .dwg file data of this object.
 
 
This is DWGMAP_DECLARE_MEMBERS, a member of class OdDbPoint. 
 
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 ECS Rotation which defines the angle in radians between the OCS X-axis for the point based on the normal vector and the X-axis that will be used for displaying the point entity (DXF 50). A positive angle value is measured clockwise. A negative angle value is measured counterclockwise. 
 
Gets an arbitrary plane passed through the point entity. This method is inherited from the OdDbEntity class.
 
 
Determines whether the point entity is planar as a Boolean value and always returns True. 
 
Returns the WCS unit vector which is the normal to the plane of the trace entity (DXF 210). The normal defines the orientation of the trace plane in world space. 
 
Returns the WCS position of the point entity (DXF 10) as three-dimensional point instance. 
 
Sets the ECS Rotation which defines the angle in the range 0 to 2PI radians between the OCS X-axis for the point based on the normal vector and the X-axis that will be used for displaying the point entity (DXF 50). A positive angle rotates clockwise. A negative angle rotates counterclockwise. The initial value is zero by default.
 
 
Sets the WCS normal to the plane of the trace entity (DXF 210). The normal defines the orientation of the trace plane in world space. The initial value is (0,0,1) by default.
 
 
Sets the WCS position of the point entity (DXF 10). The initial value is (0,0,0) by default.
 
 
Sets the thickness of the point 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 trace without thickness. The initial value is zero by default.
 
 
overridables 
 
This is subSetAttributes, a member of class OdDbPoint. 
 
This is subTransformBy, a member of class OdDbPoint. 
 
This is subViewportDraw, a member of class OdDbPoint. 
 
This is subWorldDraw, a member of class OdDbPoint. 
 
Returns the thickness of the point 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 trace without thickness. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.