UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::FEdgeSegment Class Reference

#include <EdgeSegment.h>

+ Inheritance diagram for UE::CADKernel::FEdgeSegment:

Public Member Functions

 FEdgeSegment ()
 
 FEdgeSegment (const FEdgeSegment &Segment)=default
 
virtual ~FEdgeSegment ()=default
 
void SetBoundarySegment (bool bInIsInnerLoop, FTopologicalEdge *InEdge, double InStartU, double InEndU, const FVector2d &InStartPoint, const FVector2d &InEndPoint)
 
void UpdateReferences (TMap< int32, FEdgeSegment * > &Map)
 
double GetAxeMin () const
 
FIdent GetChainIndex () const
 
void SetChainIndex (FIdent index)
 
bool IsInner () const
 
void SetInner ()
 
FIdent GetId () const
 
FTopologicalEdgeGetEdge () const
 
double GetLength () const
 
FVector2d GetCenter () const
 
FVector2d ComputeEdgePoint (double EdgeParamU) const
 
const FVector2dGetExtemity (const ELimit Limit) const
 
double GetCoordinate (const ELimit Limit) const
 
bool IsForward () const
 
double ComputeUnorientedSlopeOf (const FEdgeSegment *Segment) const
 
double ComputeOrientedSlopeOf (const FEdgeSegment *Segment) const
 
double ComputeUnorientedSlopeOf (const FVector2d &Middle, const FVector2d &Projection) const
 
double ComputeOrientedSlopeOf (const FVector2d &Middle, const FVector2d &Projection) const
 
FEdgeSegmentGetNext () const
 
FEdgeSegmentGetPrevious () const
 
FEdgeSegmentGetCloseSegment () const
 
void ResetCloseData ()
 
void SetCloseSegment (FEdgeSegment *InSegmentA, double InDistance)
 
double GetCloseSquareDistance () const
 
void SetNext (FEdgeSegment *Segment)
 
double ComputeEdgeCoordinate (const double SegmentU) const
 
double ComputeDeltaU (const double DeltaLength) const
 
FVector2d ProjectPoint (const FVector2d &PointToProject, double &SegmentU) const
 
- Public Member Functions inherited from UE::CADKernel::FHaveStates
 FHaveStates ()
 
void Serialize (FCADKernelArchive &Ar)
 
void ResetElementStatus ()
 
bool HasMarker1 () const
 
bool HasMarker2 () const
 
bool HasMarker1And2 () const
 
bool HasMarker1Or2 () const
 
void SetMarker1 () const
 
void SetMarker2 () const
 
void ResetMarker1 () const
 
void ResetMarker2 () const
 
void ResetMarkers () const
 
bool IsDeleted () const
 
void SetDeletedMarker () const
 
void ResetDeleted () const
 
virtual bool IsDeletedOrDegenerated () const
 
virtual bool IsDegenerated () const
 
virtual void SetAsDegenerated () const
 
virtual void ResetDegenerated () const
 
void SetWaitingMarker () const
 
void ResetWaitingMarker () const
 
virtual bool IsWaiting () const
 
void SetProcessedMarker () const
 
void ResetProcessedMarker () const
 
virtual bool IsProcessed () const
 
virtual bool IsProcessedDeletedOrDegenerated () const
 
void SetToProcessMarker () const
 
void ResetToProcessMarker () const
 
virtual bool IsToProcess () const
 
virtual bool IsNotToProcess () const
 
virtual bool IsNotToOrAlreadyProcess () const
 

Additional Inherited Members

- Protected Attributes inherited from UE::CADKernel::FHaveStates
EHaveStates States
 

Constructor & Destructor Documentation

◆ FEdgeSegment() [1/2]

UE::CADKernel::FEdgeSegment::FEdgeSegment ( )
inline

◆ FEdgeSegment() [2/2]

UE::CADKernel::FEdgeSegment::FEdgeSegment ( const FEdgeSegment Segment)
default

◆ ~FEdgeSegment()

virtual UE::CADKernel::FEdgeSegment::~FEdgeSegment ( )
virtualdefault

Member Function Documentation

◆ ComputeDeltaU()

double UE::CADKernel::FEdgeSegment::ComputeDeltaU ( const double  DeltaLength) const
inline

Compute the delta U corresponding to a delta length in the 2d space

◆ ComputeEdgeCoordinate()

double UE::CADKernel::FEdgeSegment::ComputeEdgeCoordinate ( const double  SegmentU) const
inline

◆ ComputeEdgePoint()

FVector2d UE::CADKernel::FEdgeSegment::ComputeEdgePoint ( double  EdgeParamU) const
inline
Returns
Point a parameter U of the segment in uniform scaled space

◆ ComputeOrientedSlopeOf() [1/2]

double UE::CADKernel::FEdgeSegment::ComputeOrientedSlopeOf ( const FEdgeSegment Segment) const
inline

Compute the slope of the input Segment according to this.

◆ ComputeOrientedSlopeOf() [2/2]

double UE::CADKernel::FEdgeSegment::ComputeOrientedSlopeOf ( const FVector2d Middle,
const FVector2d Projection 
) const
inline

Compute the slope of the Segment defined by the two input points according to this.

◆ ComputeUnorientedSlopeOf() [1/2]

double UE::CADKernel::FEdgeSegment::ComputeUnorientedSlopeOf ( const FEdgeSegment Segment) const
inline

Compute the slope of the input Segment according to this.

◆ ComputeUnorientedSlopeOf() [2/2]

double UE::CADKernel::FEdgeSegment::ComputeUnorientedSlopeOf ( const FVector2d Middle,
const FVector2d Projection 
) const
inline

Compute the slope of the Segment defined by the two input points according to this.

◆ GetAxeMin()

double UE::CADKernel::FEdgeSegment::GetAxeMin ( ) const
inline

◆ GetCenter()

FVector2d UE::CADKernel::FEdgeSegment::GetCenter ( ) const
inline
Returns
Center of the segment in uniform scaled space

◆ GetChainIndex()

FIdent UE::CADKernel::FEdgeSegment::GetChainIndex ( ) const
inline

◆ GetCloseSegment()

FEdgeSegment * UE::CADKernel::FEdgeSegment::GetCloseSegment ( ) const
inline

◆ GetCloseSquareDistance()

double UE::CADKernel::FEdgeSegment::GetCloseSquareDistance ( ) const
inline

◆ GetCoordinate()

double UE::CADKernel::FEdgeSegment::GetCoordinate ( const ELimit  Limit) const
inline

◆ GetEdge()

FTopologicalEdge * UE::CADKernel::FEdgeSegment::GetEdge ( ) const
inline

◆ GetExtemity()

const FVector2d & UE::CADKernel::FEdgeSegment::GetExtemity ( const ELimit  Limit) const
inline
Returns
the extremity Point of the segment in uniform scaled space

◆ GetId()

FIdent UE::CADKernel::FEdgeSegment::GetId ( ) const
inline

◆ GetLength()

double UE::CADKernel::FEdgeSegment::GetLength ( ) const
inline

◆ GetNext()

FEdgeSegment * UE::CADKernel::FEdgeSegment::GetNext ( ) const
inline

◆ GetPrevious()

FEdgeSegment * UE::CADKernel::FEdgeSegment::GetPrevious ( ) const
inline

◆ IsForward()

bool UE::CADKernel::FEdgeSegment::IsForward ( ) const
inline

◆ IsInner()

bool UE::CADKernel::FEdgeSegment::IsInner ( ) const
inline

◆ ProjectPoint()

FVector2d UE::CADKernel::FEdgeSegment::ProjectPoint ( const FVector2d PointToProject,
double SegmentU 
) const
inline

◆ ResetCloseData()

void UE::CADKernel::FEdgeSegment::ResetCloseData ( )
inline

◆ SetBoundarySegment()

void UE::CADKernel::FEdgeSegment::SetBoundarySegment ( bool  bInIsInnerLoop,
FTopologicalEdge InEdge,
double  InStartU,
double  InEndU,
const FVector2d InStartPoint,
const FVector2d InEndPoint 
)
inline

◆ SetChainIndex()

void UE::CADKernel::FEdgeSegment::SetChainIndex ( FIdent  index)
inline

◆ SetCloseSegment()

void UE::CADKernel::FEdgeSegment::SetCloseSegment ( FEdgeSegment InSegmentA,
double  InDistance 
)
inline

◆ SetInner()

void UE::CADKernel::FEdgeSegment::SetInner ( )
inline

◆ SetNext()

void UE::CADKernel::FEdgeSegment::SetNext ( FEdgeSegment Segment)
inline

◆ UpdateReferences()

void UE::CADKernel::FEdgeSegment::UpdateReferences ( TMap< int32, FEdgeSegment * > &  Map)
inline

The documentation for this class was generated from the following files: