C++
virtual Acad::ErrorStatus writePoint3d( AcDb::DxfCode code, const AcGePoint3d& val, int prec = kDfltPrec ) = 0;
Description
The implementation of this function should follow that of the ObjectARX internal filers. It should:
- Check the current filer status. If it's Acad::eOk, then continue, or else return the current status.
- Write out the AcDb::DxfCode in code.
- Write out the X, and Y doubles in val. If filing to a DXF file, file the X value out, then file out the DxfCode code+10, then file out the Y value, then file out the DxfCode code+20, and last file out the Z value.
If prec is the default of kDfltPrec ( a value of -1) then the internal default precision is used. If this filing operation is for a DXFOUT command, the precision that's been set by the user executing the DXFOUT command is considered the internal default.
- Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).
Parameters
Parameters | Description |
---|---|
unnamed1 | DXF group code to be written out |
unnamed2 | 3D point to be written out |
unnamed3 | Decimal places to use when writing out the 3D point |