UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::TSegment< PointType > Struct Template Reference

#include <Geometry.h>

Public Member Functions

 TSegment (const PointType &InPoint0, const PointType &InPoint1)
 
constexpr const PointType & operator[] (int32 Index) const
 
double SquaredLength () const
 
PointType GetVector () const
 

Public Attributes

const PointType & Point0
 
const PointType & Point1
 
const PointType Dummy = PointType::ZeroVector
 

Constructor & Destructor Documentation

◆ TSegment()

template<class PointType >
UE::CADKernel::TSegment< PointType >::TSegment ( const PointType &  InPoint0,
const PointType &  InPoint1 
)
inline

Member Function Documentation

◆ GetVector()

template<class PointType >
PointType UE::CADKernel::TSegment< PointType >::GetVector ( ) const
inline

◆ operator[]()

template<class PointType >
constexpr const PointType & UE::CADKernel::TSegment< PointType >::operator[] ( int32  Index) const
inlineconstexpr

◆ SquaredLength()

template<class PointType >
double UE::CADKernel::TSegment< PointType >::SquaredLength ( ) const
inline

Member Data Documentation

◆ Dummy

template<class PointType >
const PointType UE::CADKernel::TSegment< PointType >::Dummy = PointType::ZeroVector

◆ Point0

template<class PointType >
const PointType& UE::CADKernel::TSegment< PointType >::Point0

◆ Point1

template<class PointType >
const PointType& UE::CADKernel::TSegment< PointType >::Point1

The documentation for this struct was generated from the following file: