C++
virtual double thickness() const;
Description
Since thickness of an object is written under DXF group code kDxfThickness, derived classes need to implement this method to return thickness of the object under DXF group code kDxfThickness.
The implementation of this function is dependent on the intended use of the filer.
For the ObjectARX internal filers, this function returns the object's thickness value when filing in. The value returned is 0.0 if the object data being read does not contain a thickness data item (an AcDb::DxfCode of AcDb::kDxfThickness).
If this function is called when the filer is filing out, AutoCAD is terminated.
The default implementation of this method is to return AcDb::kDfltPrec.