public override b2Shape Clone(b2BlockAllocator allocator) { global::System.IntPtr cPtr = Box2DPINVOKE.b2CircleShape_Clone(swigCPtr, b2BlockAllocator.getCPtr(allocator)); b2Shape ret = (cPtr == global::System.IntPtr.Zero) ? null : new b2Shape(cPtr, false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(b2BlockAllocator obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }