# SphericalBall struct

Namespace: [Grasshopper2.Geometry.SpatialTree](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.geometry.spatialtree.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public struct SphericalBall
```

Represents a spherical volume.

## Constructors

- [SphericalBall](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/ctor.md): (2 overloads) Create a new sphere.

## Properties

- [Area](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/area.md): Gets the area of this sphere.
- [Centre](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/centre.md): Gets the centre of this sphere.
- [Circumference](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/circumference.md): Gets the circumference of this sphere.
- [Diameter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/diameter.md): Gets the diameter of this sphere.
- [IsEmpty](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/isempty.md): Gets whether this sphere is (nearly) empty.
- [IsInfinite](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/isinfinite.md): Gets whether this sphere is infinite.
- [IsUnset](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/isunset.md): Gets whether this sphere is unset.
- [Norm](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/norm.md): Gets the norm of this sphere (the radius squared).
- [Radius](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/radius.md): Gets the radius of this sphere.
- [Volume](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/volume.md): Gets the volume of this sphere.

## Methods

- [ClosestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/closestpoint.md): Gets the point on or in the sphere closest to another point.
- [DistanceToFurthestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/distancetofurthestpoint.md): Gets the distance from the interior of this sphere to a point.
- [DistanceToNearestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/distancetonearestpoint.md): Gets the distance from the interior of this sphere to a point.
- [FurthestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/furthestpoint.md): Gets the point on the sphere furthest from another point.
- [IsInside](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/isinside.md): Gets whether a point is on or in the sphere.
- [QuadranceToFurthestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/quadrancetofurthestpoint.md): Gets the largest quadrance from the interior of this sphere to a point.
- [QuadranceToNearestPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/quadrancetonearestpoint.md): Gets the quadrance from the interior of this sphere to a point.
- [QuadranceToPoint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/quadrancetopoint.md): Measure the minimum and maximum quadrance to a point.
- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.sphericalball/tostring.md): Returns the fully qualified type name of this instance.
