mPhysics - A .NET Wrapper for Ageia's PhysX SDK

Sphere.Contains Method

 [This is preliminary documentation and subject to change.]

Returns true if the given bounds are contained within this sphere.

Overload List

Returns true if the given bounds are contained within this sphere.

[Visual Basic] Public Function Contains(ByVal Bounds3) As Boolean
[C#] public bool Contains(Bounds3);
[C++] public: bool Contains(Bounds3);
[JScript] public function Contains(Bounds3): bool;

Returns true if a sphere is entirely contained within this one.

[Visual Basic] Public Function Contains(ByVal Sphere) As Boolean
[C#] public bool Contains(Sphere);
[C++] public: bool Contains(Sphere);
[JScript] public function Contains(Sphere): bool;

Returns true if the given point is contained in this sphere.

[Visual Basic] Public Function Contains(ByVal Vector3) As Boolean
[C#] public bool Contains(Vector3);
[C++] public: bool Contains(Vector3);
[JScript] public function Contains(Vector3): bool;

Returns true if the given box is contained within this sphere.

[Visual Basic] Public Function Contains(ByVal Vector3,ByVal Vector3) As Boolean
[C#] public bool Contains(Vector3,Vector3);
[C++] public: bool Contains(Vector3,Vector3);
[JScript] public function Contains(Vector3,Vector3): bool;

See Also

Sphere Structure | mPhysics.Foundation Namespace