Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/SphereTypes.h |
| Include | #include "SphereTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct TSphere3
Remarks
3D Sphere stored as Center point and Radius
Variables
| Type | Name | Description | |
|---|---|---|---|
| TVector< T > | Center | Center of the sphere | |
| T | Radius | Radius of the sphere |
Constructors
Functions
| Type | Name | Description | |
|---|---|---|---|
| T | Area () |
||
| T | Area
(
T Radius |
Sphere utility functions | |
| T | |||
| bool | |||
| bool | |||
| T | Diameter () |
||
| T | DistanceSquared
(
const TVector< T >& Point |
||
| T | SignedDistance
(
const TVector< T >& Point |
||
| T | Volume () |
||
| T | Volume
(
T Radius |