Seamly2D
Code documentation
VSplineData Class Reference

#include <vspline_p.h>

Inheritance diagram for VSplineData:
Collaboration diagram for VSplineData:

Public Member Functions

 VSplineData ()
 
 VSplineData (const VSplineData &spline)
 
 VSplineData (VPointF p1, VPointF p4, qreal angle1, qreal angle2, qreal kAsm1, qreal kAsm2, qreal kCurve)
 
 VSplineData (VPointF p1, QPointF p2, QPointF p3, VPointF p4)
 
 VSplineData (VPointF p1, VPointF p4, qreal angle1, const QString &angle1F, qreal angle2, const QString &angle2F, qreal c1Length, const QString &c1LengthF, qreal c2Length, const QString &c2LengthF)
 
virtual ~VSplineData ()
 

Static Public Member Functions

static qreal GetL (const QPointF &p1, const QPointF &p4, qreal kCurve)
 

Public Attributes

VPointF p1
 p1 first spline point. More...
 
VPointF p4
 p4 fourth spline point. More...
 
qreal angle1
 angle1 first angle control line. More...
 
QString angle1F
 angle1F the first control point angle formula More...
 
qreal angle2
 angle2 second angle control line. More...
 
QString angle2F
 angle2F the second control point angle formula More...
 
qreal c1Length
 c1Length the length from the first spline point to the first control point. More...
 
QString c1LengthF
 c1LengthF the formula from the first spline point to the first control point. More...
 
qreal c2Length
 c2Length the length from the fourth spline point to the second control point. More...
 
QString c2LengthF
 c2LengthF the formula length from the fourth spline point to the second control point. More...
 
qreal kCurve
 kCurve coefficient of curvature spline. More...
 

Private Member Functions

VSplineDataoperator= (const VSplineData &) Q_DECL_EQ_DELETE
 

Detailed Description

Definition at line 66 of file vspline_p.h.

Constructor & Destructor Documentation

◆ VSplineData() [1/5]

VSplineData::VSplineData ( )

Definition at line 117 of file vspline_p.h.

◆ VSplineData() [2/5]

VSplineData::VSplineData ( const VSplineData spline)

Definition at line 132 of file vspline_p.h.

◆ VSplineData() [3/5]

VSplineData::VSplineData ( VPointF  p1,
VPointF  p4,
qreal  angle1,
qreal  angle2,
qreal  kAsm1,
qreal  kAsm2,
qreal  kCurve 
)

Definition at line 148 of file vspline_p.h.

References angle1, angle2, c1Length, c1LengthF, c2Length, c2LengthF, GetL(), kCurve, p1, p4, qApp, VPointF::x(), and VPointF::y().

◆ VSplineData() [4/5]

VSplineData::VSplineData ( VPointF  p1,
QPointF  p2,
QPointF  p3,
VPointF  p4 
)

Definition at line 175 of file vspline_p.h.

References angle1, angle1F, angle2, angle2F, c1Length, c1LengthF, c2Length, c2LengthF, p1, p4, and qApp.

◆ VSplineData() [5/5]

VSplineData::VSplineData ( VPointF  p1,
VPointF  p4,
qreal  angle1,
const QString &  angle1F,
qreal  angle2,
const QString &  angle2F,
qreal  c1Length,
const QString &  c1LengthF,
qreal  c2Length,
const QString &  c2LengthF 
)

Definition at line 206 of file vspline_p.h.

◆ ~VSplineData()

VSplineData::~VSplineData ( )
virtual

Definition at line 223 of file vspline_p.h.

Member Function Documentation

◆ GetL()

qreal VSplineData::GetL ( const QPointF &  p1,
const QPointF &  p4,
qreal  kCurve 
)
static

Definition at line 227 of file vspline_p.h.

References kCurve, p1, and p4.

Referenced by VSpline::GetKasm1(), VSpline::GetKasm2(), and VSplineData().

◆ operator=()

VSplineData& VSplineData::operator= ( const VSplineData )
private

Member Data Documentation

◆ angle1

qreal VSplineData::angle1

angle1 first angle control line.

Definition at line 86 of file vspline_p.h.

Referenced by VSplineData().

◆ angle1F

QString VSplineData::angle1F

angle1F the first control point angle formula

Definition at line 89 of file vspline_p.h.

Referenced by VSplineData().

◆ angle2

qreal VSplineData::angle2

angle2 second angle control line.

Definition at line 92 of file vspline_p.h.

Referenced by VSplineData().

◆ angle2F

QString VSplineData::angle2F

angle2F the second control point angle formula

Definition at line 95 of file vspline_p.h.

Referenced by VSplineData().

◆ c1Length

qreal VSplineData::c1Length

c1Length the length from the first spline point to the first control point.

Definition at line 98 of file vspline_p.h.

Referenced by VSplineData().

◆ c1LengthF

QString VSplineData::c1LengthF

c1LengthF the formula from the first spline point to the first control point.

Definition at line 101 of file vspline_p.h.

Referenced by VSplineData().

◆ c2Length

qreal VSplineData::c2Length

c2Length the length from the fourth spline point to the second control point.

Definition at line 104 of file vspline_p.h.

Referenced by VSplineData().

◆ c2LengthF

QString VSplineData::c2LengthF

c2LengthF the formula length from the fourth spline point to the second control point.

Definition at line 107 of file vspline_p.h.

Referenced by VSplineData().

◆ kCurve

qreal VSplineData::kCurve

kCurve coefficient of curvature spline.

Definition at line 110 of file vspline_p.h.

Referenced by GetL(), and VSplineData().

◆ p1

VPointF VSplineData::p1

p1 first spline point.

Definition at line 80 of file vspline_p.h.

Referenced by GetL(), and VSplineData().

◆ p4

VPointF VSplineData::p4

p4 fourth spline point.

Definition at line 83 of file vspline_p.h.

Referenced by GetL(), and VSplineData().


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