22 #include <dtkCoreSupport/dtkGlobal.h>
25 class axlSurfaceParametricOffsetPrivate
39 this->setParent(surfaceParam->parent());
51 this->setParent(other.parent());
52 d->offset = other.d->offset;
53 d->surface = other.d->surface;
71 this->setParent(other.parent());
72 d->offset = other.d->offset;
73 d->surface = other.d->surface;
133 QString result =
"axlSurfaceParametricOffset";
134 result.append(
"\noffset : "+QString::number(d->offset)+
"n" + d->surface->description());
140 return "axlSurfaceParametricOffset";
virtual ~axlSurfaceParametricOffset(void)
void setOffset(double offset)
Set the offset of this axlSurfaceParametricOffset.
virtual QString description(void) const
Class axlSurfaceParametricOffset defines offset of axlAbstractSurfaceParametric.
QDebug operator<<(QDebug dbg, axlSurfaceParametricOffset sphere)
axlSurfaceParametricOffset(axlAbstractSurfaceParametric *surfaceParam, double offset=0.0)
Constructs a axlSurfaceParametricOffset with an axlAbstractSurfaceParametric and a distance offset...
axlSurfaceParametricOffset & operator=(const axlSurfaceParametricOffset &other)
Assigns other to this axlSurfaceParametricOffset and returns a reference to this axlSurfaceParametric...
virtual QString identifier(void) const
double offset(void)
Return offset of this axlSurfaceParametricOffset.
axlAbstractSurfaceParametric * surfaceParam(void)
Return the pointer on the axlAbstractSurfaceParametric of this axlSurfaceParametricOffset.