20 #ifndef AXLABSTRACTCURVEPARAMETRIC_H
21 #define AXLABSTRACTCURVEPARAMETRIC_H
24 #include "axlCoreExport.h"
29 class axlAbstractCurveParametricPrivate;
39 Q_PROPERTY(
int samples READ samples WRITE setSamples)
46 virtual double startParam(
void);
47 virtual double endParam(
void);
50 virtual void eval(
axlPoint *point,
double u);
51 virtual axlMesh eval(
double u,
int derivs,
bool from_right =
true);
53 double parameterOf(
const axlPoint& p);
55 virtual double length(
double tolerance);
56 virtual int numSamples(
void);
57 virtual void setNumSamples(
int numSamples);
69 const int& samples(
void)
const;
72 virtual void onDirectChanged(
bool direct);
73 void setSamples(
const int& color);
76 axlAbstractCurveParametricPrivate *d;
Class axlPoint defines 3D points.
Generic interface for parametric curve.
Class axlMesh defines a piecewise-linear 3D object.