Struct ufbx.ufbx_nurbs_basis
NURBS basis functions for an axis
Inherited Members
Namespace: ufbxWrapper
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_nurbs_basis
Fields
is_2d
true if this axis is two-dimensional.
Declaration
public bool is_2d
Field Value
| Type | Description |
|---|---|
| bool |
knot_vector
Subdivision of the parameter range to control points.
Declaration
public ufbx.ufbx_real_list knot_vector
Field Value
| Type | Description |
|---|---|
| ufbx.ufbx_real_list |
num_wrap_control_points
Number of control points that need to be copied to the end.
This is just for convenience as it could be derived from topology and
order. If for example num_wrap_control_points == 3 you should repeat
the first 3 control points after the end.
HINT: You don't need to worry about this if you use ufbx functions
like ufbx_evaluate_nurbs_curve() as they handle this internally.
Declaration
public ulong num_wrap_control_points
Field Value
| Type | Description |
|---|---|
| ulong |
order
Number of control points influencing a point on the curve/surface. Equal to the degree plus one.
Declaration
public uint order
Field Value
| Type | Description |
|---|---|
| uint |
spans
Parameter values of control points.
Declaration
public ufbx.ufbx_real_list spans
Field Value
| Type | Description |
|---|---|
| ufbx.ufbx_real_list |
t_max
Declaration
public float t_max
Field Value
| Type | Description |
|---|---|
| float |
t_min
Range for the parameter value.
Declaration
public float t_min
Field Value
| Type | Description |
|---|---|
| float |
topology
Topology (periodicity) of the dimension.
Declaration
public ufbx.ufbx_nurbs_topology topology
Field Value
| Type | Description |
|---|---|
| ufbx.ufbx_nurbs_topology |
valid
true if the parametrization is well defined.
Declaration
public bool valid
Field Value
| Type | Description |
|---|---|
| bool |