TSphere3

3D Sphere stored as Center point and Radius

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/SphereTypes.h

Include

#include "SphereTypes.h"

Syntax

template<typename T>
struct TSphere3

Remarks

3D Sphere stored as Center point and Radius

Variables

Name Description

Public variable

FVector3< T >

 

Center

Center of the sphere

Public variable

T

 

Radius

Radius of the sphere

Constructors

Name Description

Public function

TSphere3()

Public function

TSphere3

(
    const FVector3< T >& CenterIn,
    T RadiusIn
)

Functions

Name Description

Public function Const

T

 

Area()

Public function Static

T

 

Area

(
    T Radius
)

Sphere utility functions

Public function Const

T

 

Circumference()

Public function Const

bool

 

Contains

(
    const FVector3< T >& Point
)

Public function Const

bool

 

Contains

(
    const TSphere3< T >& OtherSphere
)

Public function Const

T

 

Diameter()

Public function Const

T

 

DistanceSquared

(
    const FVector3< T >& Point
)

Public function Const

T

 

SignedDistance

(
    const FVector3< T >& Point
)

Public function Const

T

 

Volume()

Public function Static

T

 

Volume

(
    T Radius
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss