/// <summary> /// Create from 2 length values /// </summary> /// <param name="left"></param> /// <param name="right"></param> /// <param name="format"></param> public static ScaleValue Create(LengthValue left, LengthValue right, ScaleStringFormat format) { IntPtr const_ptr_left = left.ConstPointer(); IntPtr const_ptr_right = right.ConstPointer(); IntPtr ptr = UnsafeNativeMethods.ON_ScaleValue_Create(const_ptr_left, const_ptr_right, format); return(FromIntPtr(ptr)); }
/// <summary> /// Get the Right LengthValue from Scale /// </summary> /// <returns></returns> public LengthValue RightLengthValue() { IntPtr ptr = UnsafeNativeMethods.ON_ScaleValue_RightLengthValue(ConstPointer()); return(LengthValue.FromIntPtr(ptr)); }