CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGeDwgIO Class Reference

#include <GeDwgIO.h>

Static Public Member Functions

static OdResult inFields (OdDbDwgFiler *pFiler, OdGeMatrix3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeLine3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeLineSeg3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeCircArc3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeEllipArc3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeCompositeCurve3d &object)
 
static OdResult inFields (OdDbDwgFiler *pFiler, OdGeNurbCurve3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeMatrix3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeLine3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeLineSeg3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeCircArc3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeEllipArc3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeNurbCurve3d &object)
 
static void outFields (OdDbDwgFiler *pFiler, const OdGeCompositeCurve3d &object)
 
static OdResult loadGeCurve3d (OdDbDwgFiler *filer, OdSharedPtr< OdGeCurve3d > &curve)
 
static void writeGeCurve3d (OdDbDwgFiler *pFiler, const OdSharedPtr< OdGeCurve3d > &curve)
 

Detailed Description

This class reads information from and writes information to a .dwg file.

Corresponding C++ library: TD_DbEntity

<group OdDb_Classes>

Definition at line 43 of file GeDwgIO.h.

Member Function Documentation

◆ inFields() [1/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeCircArc3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [2/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeCompositeCurve3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [3/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeEllipArc3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [4/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeLine3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [5/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeLineSeg3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [6/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeMatrix3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ inFields() [7/7]

static OdResult OdGeDwgIO::inFields ( OdDbDwgFiler * pFiler,
OdGeNurbCurve3d & object )
static

Reads information from a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be read.

◆ loadGeCurve3d()

static OdResult OdGeDwgIO::loadGeCurve3d ( OdDbDwgFiler * filer,
OdSharedPtr< OdGeCurve3d > & curve )
static

Reads optional arbitrary Ge curve from a .dwg filer.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
curve[out] shared pointer that recieves read OdGe curve. May return null.
Returns
eOk if reading succeeds and error code otherwise.

◆ outFields() [1/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeCircArc3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [2/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeCompositeCurve3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [3/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeEllipArc3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [4/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeLine3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [5/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeLineSeg3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [6/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeMatrix3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ outFields() [7/7]

static void OdGeDwgIO::outFields ( OdDbDwgFiler * pFiler,
const OdGeNurbCurve3d & object )
static

Writes information to a .dwg file.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
object[in] OdGe object to be written.

◆ writeGeCurve3d()

static void OdGeDwgIO::writeGeCurve3d ( OdDbDwgFiler * pFiler,
const OdSharedPtr< OdGeCurve3d > & curve )
static

Writes optional arbitrary Ge curve to a .dwg filer.

Parameters
pFiler[in] Pointer to the OdDbDwgFiler object.
curve[in] shared pointer to OdGe curve to be written.
Remarks
When curve pointer is not null then this function writes boolean value true indicating that curve data is follows, then writes curve type code as 32-bit integer and then writes curve data calling corresponding outFields() method. When curve pointer is null then this function writes only boolean value false indicating that curve is absent.

The documentation for this class was generated from the following file: