Share

acdbUcsMatrix

C++

bool acdbUcsMatrix(
    AcGeMatrix3d& mat, 
    AcDbDatabase * pDb = nullptr
);

File

dbxutil.h

Description

This function fills in mat with values such that it can be used as a transformation matrix to go from the UCS coordinates currently used in pDb, to WCS coordinates.

Returns true if successful and false if not.

Parameters

Parameters Description
mat Output transformation matrix to go from UCS to WCS coordinates
pDb Input database containing UCS

Was this information helpful?