QCAD
Open Source 2D CAD
RPolylineProxy Class Referenceabstract

Proxy for advanced polyline functionality. More...

#include <RPolylineProxy.h>

Public Member Functions

virtual double getArea (const RPolyline &polyline, double segmentLength)=0
 
virtual RVector getPointInside (const RPolyline &polyline)=0
 
virtual int getSegmentAtDist (const RPolyline &polyline, double dist)=0
 
virtual RS::Ending getTrimEnd (RPolyline &polyline, const RVector &trimPoint, const RVector &clickPoint)=0
 
virtual bool relocateStartPoint (RPolyline &polyline, const RVector &p)=0
 
virtual bool relocateStartPoint (RPolyline &polyline, double dist)=0
 
virtual QList< RPolylinerenderThickPolyline (const RPolyline &polyline)=0
 
virtual QList< RPolylinesplitAtDiscontinuities (const RPolyline &polyline, double tolerance)=0
 
virtual bool trimEndPoint (RPolyline &polyline, const RVector &trimPoint, const RVector &clickPoint, bool extend=false)=0
 
virtual bool trimEndPoint (RPolyline &polyline, double trimDist)=0
 
virtual bool trimStartPoint (RPolyline &polyline, const RVector &trimPoint, const RVector &clickPoint, bool extend=false)=0
 
virtual bool trimStartPoint (RPolyline &polyline, double trimDist)=0
 
virtual QList< RVectorverifyTangency (const RPolyline &polyline, double toleranceMin=RS::AngleTolerance, double toleranceMax=M_PI_4)=0
 
virtual ~RPolylineProxy ()
 

Detailed Description

Proxy for advanced polyline functionality.

May be implemented by a plugin.

Constructor & Destructor Documentation

virtual RPolylineProxy::~RPolylineProxy ( )
inlinevirtual

Member Function Documentation

virtual double RPolylineProxy::getArea ( const RPolyline polyline,
double  segmentLength 
)
pure virtual
virtual RVector RPolylineProxy::getPointInside ( const RPolyline polyline)
pure virtual
virtual int RPolylineProxy::getSegmentAtDist ( const RPolyline polyline,
double  dist 
)
pure virtual
virtual RS::Ending RPolylineProxy::getTrimEnd ( RPolyline polyline,
const RVector trimPoint,
const RVector clickPoint 
)
pure virtual
virtual bool RPolylineProxy::relocateStartPoint ( RPolyline polyline,
const RVector p 
)
pure virtual
virtual bool RPolylineProxy::relocateStartPoint ( RPolyline polyline,
double  dist 
)
pure virtual
virtual QList<RPolyline> RPolylineProxy::renderThickPolyline ( const RPolyline polyline)
pure virtual
virtual QList<RPolyline> RPolylineProxy::splitAtDiscontinuities ( const RPolyline polyline,
double  tolerance 
)
pure virtual
virtual bool RPolylineProxy::trimEndPoint ( RPolyline polyline,
const RVector trimPoint,
const RVector clickPoint,
bool  extend = false 
)
pure virtual
virtual bool RPolylineProxy::trimEndPoint ( RPolyline polyline,
double  trimDist 
)
pure virtual
virtual bool RPolylineProxy::trimStartPoint ( RPolyline polyline,
const RVector trimPoint,
const RVector clickPoint,
bool  extend = false 
)
pure virtual
virtual bool RPolylineProxy::trimStartPoint ( RPolyline polyline,
double  trimDist 
)
pure virtual
virtual QList<RVector> RPolylineProxy::verifyTangency ( const RPolyline polyline,
double  toleranceMin = RS::AngleTolerance,
double  toleranceMax = M_PI_4 
)
pure virtual

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