Seamly2D
Code documentation
anonymous_namespace{vpiecepath.cpp} Namespace Reference

Functions

VSAPoint CurvePoint (VSAPoint candidate, const VContainer *data, const VPieceNode &node, const QVector< QPointF > &curvePoints)
 
VSAPoint CurveStartPoint (VSAPoint candidate, const VContainer *data, const VPieceNode &node, const QVector< QPointF > &curvePoints)
 
VSAPoint CurveEndPoint (VSAPoint candidate, const VContainer *data, const VPieceNode &node, const QVector< QPointF > &curvePoints)
 
int IndexOfNode (const QVector< VPieceNode > &list, quint32 id)
 indexOfNode return index in list node using id object. More...
 

Function Documentation

◆ CurveEndPoint()

VSAPoint anonymous_namespace{vpiecepath.cpp}::CurveEndPoint ( VSAPoint  candidate,
const VContainer data,
const VPieceNode node,
const QVector< QPointF > &  curvePoints 
)

◆ CurvePoint()

◆ CurveStartPoint()

VSAPoint anonymous_namespace{vpiecepath.cpp}::CurveStartPoint ( VSAPoint  candidate,
const VContainer data,
const VPieceNode node,
const QVector< QPointF > &  curvePoints 
)

◆ IndexOfNode()

int anonymous_namespace{vpiecepath.cpp}::IndexOfNode ( const QVector< VPieceNode > &  list,
quint32  id 
)

indexOfNode return index in list node using id object.

Parameters
listlist nodes detail.
idobject (arc, point, spline, splinePath) id.
Returns
index in list or -1 id can't find.

Definition at line 142 of file vpiecepath.cpp.

Referenced by VPiecePath::Edge(), and VPiecePath::OnEdge().