예제 #1
0
 /// <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));
 }
예제 #2
0
 private void getWorldSphere_virtual(IntPtr worldSphere)
 {
     getWorldSphere(NxSphere.GetClass(worldSphere));
 }
예제 #3
0
 /// <summary>Copy constructor. </summary>
 public NxSphere(NxSphere sphere) :
     base(new_NxSphere_2_INVOKE(false, (sphere != null ? sphere.ClassPointer : NullRef)))
 {
     GC.ReRegisterForFinalize(this);
 }
예제 #4
0
 /// <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)));
 }
예제 #5
0
 /// <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)));
 }