Bifrost SDK
Bifrost SDK documentation
Bifrost::Math::FCurve::SegmentPoint Class Reference

Struct for one point. More...

#include <FCurve.h>

Public Member Functions

constexpr SegmentPoint ()=default
 Default constructor. More...
 
constexpr SegmentPoint (ControlPoints const &coords)
 Constructor with control points and default interpolation methods. More...
 
constexpr SegmentPoint (ControlPoints const &coords, SpanInterpolationMethod spanInterpolation, CurveInterpolationMethod curveInterpolation, bool locked)
 Constructor with control points and interpolation methods. More...
 
ControlPoints const & getControlPoints () const
 Get the control points for the segment. More...
 
SpanInterpolationMethod getSpanInterpolation () const
 Get the interpolation method for the span between this point and the next point. More...
 
CurveInterpolationMethod getCurveInterpolation () const
 Get the interpolation method for the curve segment. More...
 
bool isLocked () const
 Check if this point is locked. More...
 

Detailed Description

Struct for one point.

Definition at line 117 of file FCurve.h.

Constructor & Destructor Documentation

◆ SegmentPoint() [1/3]

constexpr Bifrost::Math::FCurve::SegmentPoint::SegmentPoint ( )
constexprdefault

Default constructor.

◆ SegmentPoint() [2/3]

constexpr Bifrost::Math::FCurve::SegmentPoint::SegmentPoint ( ControlPoints const &  coords)
inlineexplicitconstexpr

Constructor with control points and default interpolation methods.

Definition at line 124 of file FCurve.h.

◆ SegmentPoint() [3/3]

constexpr Bifrost::Math::FCurve::SegmentPoint::SegmentPoint ( ControlPoints const &  coords,
SpanInterpolationMethod  spanInterpolation,
CurveInterpolationMethod  curveInterpolation,
bool  locked 
)
inlineconstexpr

Constructor with control points and interpolation methods.

Definition at line 128 of file FCurve.h.

Member Function Documentation

◆ getControlPoints()

ControlPoints const & Bifrost::Math::FCurve::SegmentPoint::getControlPoints ( ) const
inline

Get the control points for the segment.

Definition at line 139 of file FCurve.h.

◆ getCurveInterpolation()

CurveInterpolationMethod Bifrost::Math::FCurve::SegmentPoint::getCurveInterpolation ( ) const
inline

Get the interpolation method for the curve segment.

Definition at line 148 of file FCurve.h.

◆ getSpanInterpolation()

SpanInterpolationMethod Bifrost::Math::FCurve::SegmentPoint::getSpanInterpolation ( ) const
inline

Get the interpolation method for the span between this point and the next point.

Definition at line 143 of file FCurve.h.

◆ isLocked()

bool Bifrost::Math::FCurve::SegmentPoint::isLocked ( ) const
inline

Check if this point is locked.

Definition at line 153 of file FCurve.h.