CustomSplineKnot Struct Reference

#include <customgui_splinecontrol.h>

Detailed Description

Represents a knot in a spline.

Public Member Functions

 CustomSplineKnot ()
 

Public Attributes

Vector vPos
 
Int32 lFlagsSettings
 
Bool bSelect
 
Vector vTangentLeft
 
Vector vTangentRight
 
CustomSplineKnotInterpolation interpol
 

Operators

Bool operator== (CustomSplineKnot &k)
 
Bool operator!= (CustomSplineKnot &k)
 

Constructor & Destructor Documentation

◆ CustomSplineKnot()

Default constructor.

Member Function Documentation

◆ operator==()

Bool operator== ( CustomSplineKnot k)

Equality operator. Checks if two knots are equal.

Parameters
[in]kA spline knot.
Returns
true if the knots are equal, otherwise false.

◆ operator!=()

Bool operator!= ( CustomSplineKnot k)

Inequality operator. Checks if two knots are not equal.

Parameters
[in]kA spline knot.
Returns
true if the knots are not equal, otherwise false.

Member Data Documentation

◆ vPos

Vector vPos

Knot position.

◆ lFlagsSettings

Int32 lFlagsSettings

Knot flags: FLAG_KNOT

Note
The flags must be accessed using |= and &=. Also contains the point ID.
The knot ID must only be retrieved using the helpers SPLINE_KNOT_GET_ID() and SPLINE_KNOT_SET_ID().

◆ bSelect

Bool bSelect

Internal select state. Do not change this.

◆ vTangentLeft

Vector vTangentLeft

Left tangent.

◆ vTangentRight

Vector vTangentRight

Right tangent.

◆ interpol

Spline knot's interpolation: CustomSplineKnotInterpolation.