14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
67 public static double angle(
char[] buf,
bool refuseDots) {
73 public static double angle(
char[] buf) {
79 public static int toInt(
String sValue,
int nMinValid,
int nMaxValid) {
97 public static bool isZero(
double v,
int precision) {
121 public static double number(
char[] buf,
bool pHasDot,
bool pHasExponent) {
127 public static double number(
char[] buf,
bool pHasDot) {
133 public static double number(
char[] buf) {
168 public static void decomp(
double v, out
int degs, out
int mins, out
double secs,
int prec) {
173 public static String format(
int degs,
int mins,
double secs,
int prec) {
180IntPtr tmp_list = Marshal.StringToCoTaskMemUni(list);
181 IntPtr saved_list = tmp_list;
187if (tmp_list != saved_list) list = Marshal.PtrToStringUni(tmp_list);
192IntPtr tmp_list = Marshal.StringToCoTaskMemUni(list);
193 IntPtr saved_list = tmp_list;
199if (tmp_list != saved_list) list = Marshal.PtrToStringUni(tmp_list);
219 public static string vb_format(
int degs,
int mins,
double secs,
int prec) {
return format(degs, mins, secs, prec); }
static global::System.Exception Retrieve()
static String OdUnitsFormatterTool_formatDecimal__SWIG_1(double jarg1, int jarg2, int jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4)
static int OdUnitsFormatterTool_countOccurences__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static double OdUnitsFormatterTool_number__SWIG_2([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1)
static void delete_OdUnitsFormatterTool(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdUnitsFormatterTool_formatArchitectural(bool jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7)
static double OdUnitsFormatterTool_number__SWIG_0([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1, bool jarg2, bool jarg3)
static String OdUnitsFormatterTool_formatDecimal__SWIG_0(double jarg1, int jarg2, int jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5)
static double OdUnitsFormatterTool_linear_denominator(int jarg1)
static double OdUnitsFormatterTool_integer([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1)
static double OdUnitsFormatterTool_denominator(int jarg1)
static int OdUnitsFormatterTool_toInt__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2, int jarg3)
static void OdUnitsFormatterTool_fraction(double jarg1, out int jarg2, out int jarg3, out int jarg4, int jarg5)
static int OdUnitsFormatterTool_toInt__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2)
static bool OdUnitsFormatterTool_digit(char jarg1)
static double OdUnitsFormatterTool_base_denominator(int jarg1, double jarg2)
static bool OdUnitsFormatterTool_isZero(double jarg1, int jarg2)
static String OdUnitsFormatterTool_next__SWIG_1(ref IntPtr jarg1)
static double OdUnitsFormatterTool_angle__SWIG_0([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1, bool jarg2)
static String OdUnitsFormatterTool_next__SWIG_0(ref IntPtr jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static double OdUnitsFormatterTool_angle__SWIG_1([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1)
static double OdUnitsFormatterTool_number__SWIG_1([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1, bool jarg2)
static String OdUnitsFormatterTool_format(int jarg1, int jarg2, double jarg3, int jarg4)
static void OdUnitsFormatterTool_decomp(double jarg1, out int jarg2, out int jarg3, out double jarg4, int jarg5)
static int OdUnitsFormatterTool_toInt__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static bool OdUnitsFormatterTool_negative([In, MarshalAs(UnmanagedType.LPArray)]char[] jarg1)
static int OdUnitsFormatterTool_countOccurences__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, char jarg2)