QCAD
Open Source 2D CAD
RSplineProxy Class Referenceabstract

Copyright (c) 2011-2016 by Andrew Mustun. More...

#include <RSplineProxy.h>

Public Member Functions

virtual RPolyline approximateWithArcs (const RSpline &spline, double tolerance=0.001)=0
 
virtual double getDistanceAtT (const RSpline &spline, double t)=0
 
virtual QList< RVectorgetIntersectionPoints (const RSpline &spline, const RShape &other, bool limited=true, bool same=false)=0
 
virtual double getTAtDistance (const RSpline &spline, double dist)=0
 
virtual double getTAtPoint (const RSpline &spline, const RVector &point)=0
 
virtual RVector getVectorTo (const RSpline &spline, const RVector &point, bool limited=true, double strictRange=RMAXDOUBLE)=0
 
virtual void init ()=0
 
virtual RSpline simplify (const RSpline &spline, double tolerance)=0
 
virtual QList< RSplinesplit (const RSpline &spline, const QList< double > &params)=0
 
virtual QList< RSplinesplitEqual (const RSpline &spline, int pieces)=0
 
virtual void uninit ()=0
 
virtual RSpline updateFromFitPoints (const RSpline &spline, bool useTangents)=0
 
virtual ~RSplineProxy ()
 

Detailed Description

Copyright (c) 2011-2016 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. Proxy for advanced spline functionality. May be implemented by a plugin.

Constructor & Destructor Documentation

virtual RSplineProxy::~RSplineProxy ( )
inlinevirtual

Member Function Documentation

virtual RPolyline RSplineProxy::approximateWithArcs ( const RSpline spline,
double  tolerance = 0.001 
)
pure virtual
virtual double RSplineProxy::getDistanceAtT ( const RSpline spline,
double  t 
)
pure virtual
virtual QList<RVector> RSplineProxy::getIntersectionPoints ( const RSpline spline,
const RShape other,
bool  limited = true,
bool  same = false 
)
pure virtual
virtual double RSplineProxy::getTAtDistance ( const RSpline spline,
double  dist 
)
pure virtual
virtual double RSplineProxy::getTAtPoint ( const RSpline spline,
const RVector point 
)
pure virtual
virtual RVector RSplineProxy::getVectorTo ( const RSpline spline,
const RVector point,
bool  limited = true,
double  strictRange = RMAXDOUBLE 
)
pure virtual
virtual void RSplineProxy::init ( )
pure virtual
virtual RSpline RSplineProxy::simplify ( const RSpline spline,
double  tolerance 
)
pure virtual
virtual QList<RSpline> RSplineProxy::split ( const RSpline spline,
const QList< double > &  params 
)
pure virtual
virtual QList<RSpline> RSplineProxy::splitEqual ( const RSpline spline,
int  pieces 
)
pure virtual
virtual void RSplineProxy::uninit ( )
pure virtual
virtual RSpline RSplineProxy::updateFromFitPoints ( const RSpline spline,
bool  useTangents 
)
pure virtual

The documentation for this class was generated from the following file: