Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.BoundingSphere

Malware edited this page Jan 26, 2019 · 51 revisions

IndexNamespace Index

BoundingSphere Struct

public struct BoundingSphere: IEquatable<T>

Defines a sphere.

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

Member Description
Center The center point of the sphere.
Radius The radius of the sphere.

Constructors

Member Description
BoundingSphere(Vector3, float)

Methods

Member Description
Equals(BoundingSphere) Determines whether the specified BoundingSphere is equal to the current BoundingSphere.
Equals(object) Determines whether the specified Object is equal to the BoundingSphere.
GetHashCode() Gets the hash code for this instance.
ToString() Returns a String that represents the current BoundingSphere.
CreateMerged(BoundingSphere, BoundingSphere) Creates a BoundingSphere that contains the two specified BoundingSphere instances.
CreateMerged(ref BoundingSphere, ref BoundingSphere, out BoundingSphere) Creates a BoundingSphere that contains the two specified BoundingSphere instances.
CreateFromBoundingBox(BoundingBox) Creates the smallest BoundingSphere that can contain a specified BoundingBox.
CreateFromBoundingBox(ref BoundingBox, out BoundingSphere) Creates the smallest BoundingSphere that can contain a specified BoundingBox.
CreateFromPoints(IEnumerable)
CreateFromFrustum(BoundingFrustum) Creates the smallest BoundingSphere that can contain a specified BoundingFrustum.
Intersects(BoundingBox) Checks whether the current BoundingSphere intersects with a specified BoundingBox.
Intersects(ref BoundingBox, out bool) Checks whether the current BoundingSphere intersects a BoundingBox.
Intersects(BoundingFrustum) Checks whether the current BoundingSphere intersects with a specified BoundingFrustum.
Intersects(Plane) Checks whether the current BoundingSphere intersects with a specified Plane.
Intersects(ref Plane, out PlaneIntersectionType) Checks whether the current BoundingSphere intersects a Plane.
Intersects(Ray) Checks whether the current BoundingSphere intersects with a specified Ray.
Intersects(ref Ray, out Nullable)
Intersects(BoundingSphere) Checks whether the current BoundingSphere intersects with a specified BoundingSphere.
Intersects(ref BoundingSphere, out bool) Checks whether the current BoundingSphere intersects another BoundingSphere.
Contains(BoundingBox) Checks whether the current BoundingSphere contains the specified BoundingBox.
Contains(ref BoundingBox, out ContainmentType) Checks whether the current BoundingSphere contains the specified BoundingBox.
Contains(BoundingFrustum) Checks whether the current BoundingSphere contains the specified BoundingFrustum.
Contains(Vector3) Checks whether the current BoundingSphere contains the specified point.
Contains(ref Vector3, out ContainmentType) Checks whether the current BoundingSphere contains the specified point.
Contains(BoundingSphere) Checks whether the current BoundingSphere contains the specified BoundingSphere.
Contains(ref BoundingSphere, out ContainmentType) Checks whether the current BoundingSphere contains the specified BoundingSphere.
Transform(Matrix) Translates and scales the BoundingSphere using a given Matrix.
Transform(ref Matrix, out BoundingSphere) Translates and scales the BoundingSphere using a given Matrix.
Translate(ref Vector3)
IntersectRaySphere(Ray, out float, out float)
Include(BoundingSphere)
Include(ref BoundingSphere, ref BoundingSphere)
CreateInvalid()

Clone this wiki locally