This is preliminary documentation and is subject to change.
A bounding sphere, specified by a center vector and a radius.
| C# | Visual Basic | C++/CLI |
[SerializableAttribute] public struct BoundingSphere : IEquatable<BoundingSphere>
<SerializableAttribute> _ Public Structure BoundingSphere _ Implements IEquatable(Of BoundingSphere)
[SerializableAttribute] public value class BoundingSphere : IEquatable<BoundingSphere>
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| BoundingSphere(Vector3, Single) |
Initializes a new instance of the BoundingSphere structure.
| |
| Center |
Specifies the center point of the sphere.
| |
| Contains(BoundingSphere, Vector3) |
Determines whether the sphere contains the specified point.
| |
| Contains(BoundingSphere, BoundingSphere) |
Determines whether the sphere contains the specified sphere.
| |
| Contains(BoundingSphere, BoundingBox) |
Determines whether the sphere contains the specified box.
| |
| Equality(BoundingSphere, BoundingSphere) |
Tests for equality between two objects.
| |
| Equals(BoundingSphere%, BoundingSphere%) |
Determines whether the specified object instances are considered equal.
| |
| Equals(BoundingSphere) |
Returns a value that indicates whether the current instance is equal to the specified object.
| |
| Equals(Object) |
Returns a value that indicates whether the current instance is equal to a specified object.
(Overrides ValueType.Equals(Object).) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromBox(BoundingBox) |
Constructs a BoundingSphere from a given box.
| |
| FromPoints(array<Vector3>[]()[]) |
Constructs a BoundingSphere that fully contains the given points.
| |
| GetHashCode()()() |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()().) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Inequality(BoundingSphere, BoundingSphere) |
Tests for inequality between two objects.
| |
| Intersects(BoundingSphere, Plane) |
Finds the intersection between a plane and a sphere.
| |
| Intersects(BoundingSphere, Ray, Single%) |
Determines whether a sphere intersects the specified object.
| |
| Intersects(BoundingSphere, BoundingSphere) |
Determines whether a sphere intersects the specified object.
| |
| Intersects(BoundingSphere, BoundingBox) |
Determines whether a sphere intersects the specified object.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge(BoundingSphere, BoundingSphere) |
Constructs a BoundingSphere that is the as large as the total combined area of the two specified spheres.
| |
| Radius |
The radius of the sphere.
| |
| ToString()()() |
Converts the value of the object to its equivalent string representation.
(Overrides ValueType.ToString()()().) |
Assembly: SlimDX (Module: SlimDX)