Click or drag to resize

BoundingSphere Structure

A sphere that encapsulates an object.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public struct BoundingSphere : IEquatable<BoundingSphere>

The BoundingSphere type exposes the following members.

Constructors
  NameDescription
Public methodBoundingSphere
Initializes a BoundingSphere from a center (Cartesian) and a radius (double).
Top
Properties
  NameDescription
Public propertyCenter
Gets the Cartesian center of the bounding sphere.
Public propertyStatic memberMaximumRadiusBoundingSphere
Gets the bounding sphere of maximum possible radius.
Public propertyRadius
Gets the radius of the bounding sphere.
Top
Methods
  NameDescription
Public methodEquals(BoundingSphere)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEqualsEpsilon
Indicates whether the center and radius of another instance of this type is within the required tolerance of the corresponding center and radius value of this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also