Open Source 2D CAD
RSplineProxy Class Referenceabstract

Copyright (c) 2011-2018 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 rec=false)=0
virtual ~RSplineProxy ()

Detailed Description

Copyright (c) 2011-2018 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

◆ ~RSplineProxy()

virtual RSplineProxy::~RSplineProxy ( )

Member Function Documentation

◆ approximateWithArcs()

virtual RPolyline RSplineProxy::approximateWithArcs ( const RSpline spline,
double  tolerance = 0.001 
pure virtual

◆ getDistanceAtT()

virtual double RSplineProxy::getDistanceAtT ( const RSpline spline,
double  t 
pure virtual

◆ getIntersectionPoints()

virtual QList<RVector> RSplineProxy::getIntersectionPoints ( const RSpline spline,
const RShape other,
bool  limited = true,
bool  same = false 
pure virtual

◆ getTAtDistance()

virtual double RSplineProxy::getTAtDistance ( const RSpline spline,
double  dist 
pure virtual

◆ getTAtPoint()

virtual double RSplineProxy::getTAtPoint ( const RSpline spline,
const RVector point 
pure virtual

◆ getVectorTo()

virtual RVector RSplineProxy::getVectorTo ( const RSpline spline,
const RVector point,
bool  limited = true,
double  strictRange = RMAXDOUBLE 
pure virtual

◆ init()

virtual void RSplineProxy::init ( )
pure virtual

◆ simplify()

virtual RSpline RSplineProxy::simplify ( const RSpline spline,
double  tolerance 
pure virtual

◆ split()

virtual QList<RSpline> RSplineProxy::split ( const RSpline spline,
const QList< double > &  params 
pure virtual

◆ splitEqual()

virtual QList<RSpline> RSplineProxy::splitEqual ( const RSpline spline,
int  pieces 
pure virtual

◆ uninit()

virtual void RSplineProxy::uninit ( )
pure virtual

◆ updateFromFitPoints()

virtual RSpline RSplineProxy::updateFromFitPoints ( const RSpline spline,
bool  rec = false 
pure virtual

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