Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CapsuleTypes.h |
| Include | #include "CapsuleTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries3.h |
Syntax
template<typename T>
struct TCapsule3
Remarks
3D Capsule stored as Line Segment and Radius
Variables
| Type | Name | Description | |
|---|---|---|---|
| T | Radius | Radius of the capsule | |
| TSegment3< T > | Segment | Line segment of the capsule |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TCapsule3 () |
|||
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TVector< T > & | Center () |
||
| bool | |||
| const TVector< T > & |
Direction ()
|
||
| T | DistanceSquared
(
const TVector< T >& Point |
||
| T | Extent () |
||
| TAxisAlignedBox3< T > | GetBounds () |
||
| TOrientedBox3< T > | |||
| T | Length () |
||
| T | SignedDistance
(
const TVector< T >& Point |
||
| T | Volume () |
||
| T | Volume
(
T Radius, |
Sphere utility functions |