137 void derivatives(
float u,
int n, std::vector<Imath::V3f>& derivatives)
const;
147 float param_from_length(
149 bool relative =
false,
150 float error = 0.001f,
162 float error = 0.001f,
164 const gsl::span<const Imath::V3f>& cache = {}
175 void resample(
const gsl::span<const float> &knots,
int degree);
186 bool split(
float u, NurbsCurve& lower, NurbsCurve& upper)
const;
194 NurbsCurve(std::shared_ptr<Impl> impl) { _impl=impl; }
Definition: ImathFrame.h:42
void error(const char *format, const Args &... args)
Log an error message using the Rumba logger.
Definition: Logger.h:50
Mode
The surface curves mode.
Definition: NurbsCurve.h:27
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
A nurbs curve value.
Definition: NurbsCurve.h:23
#define MAQUINA_EXPORT
Definition: Export.h:31
Definition: ImathVec.h:61
static const NurbsCurve default_value
The default value.
Definition: NurbsCurve.h:191
A writable buffer for basic types like floats, integers, Imath::V3f, Imath::M44f..
Definition: Buffer.h:106
A set of 3d points.
Definition: Points.h:26
Base class of all Rumba values.
Definition: Value.h:34