#include <Sphere.h>
|
| | TSphere ()=default |
| |
| | TSphere (int32) |
| |
| | TSphere (TVector< T > InV, T InW) |
| |
| | TSphere (EForceInit) |
| |
| CORE_API | TSphere (const TVector< T > *Points, int32 Count) |
| |
| CORE_API | TSphere (const TSphere< T > *Spheres, int32 Count) |
| |
| template<typename FArg UE_REQUIRES> |
| | TSphere (const TSphere< FArg > &From) |
| |
| bool | Equals (const TSphere< T > &Sphere, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| bool | operator== (const TSphere< T > &Other) const |
| |
| bool | operator!= (const TSphere< T > &Other) const |
| |
| TSphere< T > | operator+ (const TSphere< T > &Other) const |
| |
| TSphere< T > & | operator+= (const TSphere< T > &Other) |
| |
| bool | IsInside (const TSphere< T > &Other, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| bool | IsInside (const FVector &In, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| UE_FORCEINLINE_HINT bool | Intersects (const TSphere< T > &Other, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| TSphere< T > | TransformBy (const TMatrix< T > &M) const |
| |
| TSphere< T > | TransformBy (const FTransform &M) const |
| |
| T | GetVolume () const |
| |
| FString | ToString () const |
| |
| bool | Serialize (FArchive &Ar) |
| |
| bool | SerializeFromMismatchedTag (FName StructTag, FArchive &Ar) |
| |
| | TSphere (const TVector< float > *Points, int32 Count) |
| |
| | TSphere (const TVector< double > *Points, int32 Count) |
| |
| | TSphere (const TSphere< float > *Spheres, int32 Count) |
| |
| | TSphere (const TSphere< double > *Spheres, int32 Count) |
| |
| CORE_API | TSphere (const TVector< float > *Points, int32 Count) |
| |
| CORE_API | TSphere (const TVector< double > *Points, int32 Count) |
| |
| CORE_API | TSphere (const TSphere< float > *Spheres, int32 Count) |
| |
| CORE_API | TSphere (const TSphere< double > *Spheres, int32 Count) |
| |
◆ FReal
◆ TSphere() [1/15]
Default constructor (no initialization).
◆ TSphere() [2/15]
Creates and initializes a new sphere.
- Parameters
-
| int32 | Passing int32 sets up zeroed sphere. |
◆ TSphere() [3/15]
Creates and initializes a new sphere with the specified parameters.
- Parameters
-
| InV | Center of sphere. |
| InW | Radius of sphere. |
◆ TSphere() [4/15]
Constructor.
- Parameters
-
| EForceInit | Force Init Enum. |
◆ TSphere() [5/15]
Constructor.
- Parameters
-
| Points | Pointer to list of points this sphere must contain. |
| Count | How many points are in the list. |
◆ TSphere() [6/15]
Constructor.
- Parameters
-
| Spheres | Pointer to list of spheres this sphere must contain. |
| Count | How many points are in the list. |
◆ TSphere() [7/15]
◆ TSphere() [8/15]
◆ TSphere() [9/15]
◆ TSphere() [10/15]
◆ TSphere() [11/15]
◆ TSphere() [12/15]
◆ TSphere() [13/15]
◆ TSphere() [14/15]
◆ TSphere() [15/15]
◆ Equals()
Check whether two spheres are the same within specified tolerance.
- Parameters
-
| Sphere | The other sphere. |
| Tolerance | Error Tolerance. |
- Returns
- true if spheres are equal within specified tolerance, otherwise false.
◆ GetVolume()
Get volume of the current sphere
- Returns
- Volume (in Unreal units).
◆ Intersects()
Test whether this sphere intersects another.
- Parameters
-
| Other | The other sphere. |
| Tolerance | Error tolerance. |
- Returns
- true if spheres intersect, false otherwise.
◆ IsInside() [1/2]
Checks whether the given location is inside this sphere.
- Parameters
-
| In | The location to test for inside the bounding volume. |
- Returns
- true if location is inside this volume.
◆ IsInside() [2/2]
Check whether sphere is inside of another.
- Parameters
-
| Other | The other sphere. |
| Tolerance | Error Tolerance. |
- Returns
- true if sphere is inside another, otherwise false.
◆ operator!=()
Compares two spheres for inequality.
- Parameters
-
| Other | The other sphere to compare with. |
- Returns
- true if the spheres are not equal, false otherwise.
◆ operator+()
Gets the result of addition to this bounding volume.
- Parameters
-
| Other | The other volume to add to this. |
- Returns
- A new bounding volume.
◆ operator+=()
Adds to this sphere to include a new bounding volume.
- Parameters
-
| Other | the bounding volume to increase the bounding volume to. |
- Returns
- Reference to this bounding volume after resizing to include the other bounding volume.
◆ operator==()
Compares two spheres for equality.
- Parameters
-
| Other | The other sphere to compare with. |
- Returns
- true if the spheres are equal, false otherwise.
◆ Serialize()
◆ SerializeFromMismatchedTag()
◆ ToString()
Get a textual representation of the sphere.
- Returns
- Text describing the sphere.
◆ TransformBy() [1/2]
Get result of Transforming sphere with Transform.
- Parameters
-
- Returns
- Result of transformation.
◆ TransformBy() [2/2]
Get result of Transforming sphere by Matrix.
- Parameters
-
- Returns
- Result of transformation.
◆ Center
The sphere's center point.
The documentation for this struct was generated from the following files:
- Engine/Source/Runtime/Core/Public/Math/MathFwd.h
- Engine/Source/Runtime/Core/Public/Math/Sphere.h