internal IOpenPoseObject ToNative() { if (this._Imp == null) { this._Imp = CreateImp(); } return(this._Imp.ToNative(this.X, this.Y)); }
internal Point(IntPtr ptr, bool isEnabledDispose = true) { if (!SupportTypes.TryGetValue(typeof(T), out var type)) { throw new NotSupportedException($"{typeof(T).Name} does not support"); } this._Imp = CreateImp(); this.X = default(T); this.Y = default(T); }
public Point(T x, T y) { if (!SupportTypes.TryGetValue(typeof(T), out var type)) { throw new NotSupportedException($"{typeof(T).Name} does not support"); } this._Imp = CreateImp(); this.X = x; this.Y = y; }