Share

acdbRawAngToS

C++

template <size_t nBufLen> inline int acdbRawAngToS(
    double v, 
    int unit, 
    int prec, 
    wchar_t (& buf)[nBufLen]
);

File

acedads.h

Description

Deprecated. Identical to acdbAngToS(), except that the input angle is not reduced to the range (-360,360).

Parameters

Parameters Description
v Angle to be converted
unit Units into which the angle is formatted; if -1, uses the current value of AUNITS
prec Number of decimal places of precision to include in the string; if -1 uses the current value of AU
buf Output string of the converted angle

Previous Declaration

AutoCAD 2024 and earlier

template <size_t nBufLen> inline int acdbRawAngToS(ads_real v, int unit, int prec, wchar_t (& buf)[nBufLen]);

Use Instead

ACCORE_PORT int acdbRawAngToS(double val, AcString & sOut, int unit = -1, int prec = -1);

History

AutoCAD 2025

v argument changed from ads_real to double.

Was this information helpful?