Click or drag to resize

BSphere Structure

The bounding sphere of a mesh/visual. A zero radius sphere is ignored when combining two spheres.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public struct BSphere

The BSphere type exposes the following members.

Constructors
  NameDescription
Public methodBSphere(Single)
Initializes a new instance of the BSphere class
Public methodBSphere(Vector3, Single)
Initializes a new instance of the BSphere class
Top
Methods
  NameDescription
Public methodAdd(BSphere)
Add the bounding sphere s2 to this bounding sphere, growing and re-centering it if needed.
Public methodStatic memberAdd(BSphere, BSphere)
Add two bounding spheres and return the resulting sphere that encompasses the two input bounding spheres.
Public methodCollides(BSphere)
Public methodStatic memberCollides(BSphere, BSphere)
Public methodStatic memberFromPoints
Public methodIntersects(Ray)
Whether the specified ray intersects the bounding box.
Public methodIntersects(Ray, Single)
Whether the specified ray intersects the bounding box.
Public methodIsNull
Public methodTransform
Top
Fields
  NameDescription
Public fieldCenter
Public fieldStatic memberEmpty
Public fieldRadius
Top
See Also