CustomSplineKnot Struct Reference

#include <customgui_splinecontrol.h>

详细描述

Represents a knot in a spline .

公共成员函数

  CustomSplineKnot ()

Public Attributes

向量   vPos
Int32   lFlagsSettings
Bool   bSelect
向量   vTangentLeft
向量   vTangentRight
CustomSplineKnotInterpolation   interpol

运算符

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

构造函数 & 析构函数文档编制

◆  CustomSplineKnot()

CustomSplineKnot ( )

Default constructor.

成员函数文档编制

◆  operator==()

Bool operator== ( CustomSplineKnot k )

Equality operator. Checks if two knots are equal.

参数
[in] k A spline knot.
返回
true if the knots are equal, otherwise false .

◆  operator!=()

Bool operator!= ( CustomSplineKnot k )

Inequality operator. Checks if two knots are not equal.

参数
[in] k A spline knot.
返回
true if the knots are not equal, otherwise false .

Member Data Documentation

◆  vPos

向量 vPos

Knot position.

◆  lFlagsSettings

Int32 lFlagsSettings

Knot flags: FLAG_KNOT

注意
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

向量 vTangentLeft

Left tangent.

◆  vTangentRight

向量 vTangentRight

Right tangent.

◆  interpol

CustomSplineKnotInterpolation interpol

Spline knot's interpolation: CustomSplineKnotInterpolation .