/// <summary>Gets the sphere data in world space. </summary> /// <param name="worldSphere">Retrieves the description of the sphere in world space.</param> public virtual void getWorldSphere(NxSphere worldSphere) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } NxSphereShape_getWorldSphere_INVOKE(ClassPointer, doSetFunctionPointers, (worldSphere != null ? worldSphere.ClassPointer : NullRef)); }
private void getWorldSphere_virtual(IntPtr worldSphere) { getWorldSphere(NxSphere.GetClass(worldSphere)); }
/// <summary>Copy constructor. </summary> public NxSphere(NxSphere sphere) : base(new_NxSphere_2_INVOKE(false, (sphere != null ? sphere.ClassPointer : NullRef))) { GC.ReRegisterForFinalize(this); }
/// <summary>Tests if a sphere is contained within the sphere. </summary> /// <param name="sphere">[in] the sphere to test </param> public bool Contains(NxSphere sphere) { return(NxSphere_Contains_1_INVOKE(ClassPointer, doSetFunctionPointers, (sphere != null ? sphere.ClassPointer : NullRef))); }
/// <summary>Tests if the sphere intersects another sphere. </summary> /// <param name="sphere">[in] the other sphere </param> public bool Intersect(NxSphere sphere) { return(NxSphere_Intersect_INVOKE(ClassPointer, doSetFunctionPointers, (sphere != null ? sphere.ClassPointer : NullRef))); }