Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPathEdge Class Reference

#include <qpathclipper_p.h>

+ Collaboration diagram for QPathEdge:

Public Types

enum  Traversal { RightTraversal , LeftTraversal }
 
enum  Direction { Forward , Backward }
 
enum  Type { Line , Curve }
 

Public Member Functions

 QPathEdge (int a=-1, int b=-1)
 
int next (Traversal traversal, Direction direction) const
 
void setNext (Traversal traversal, Direction direction, int next)
 
void setNext (Direction direction, int next)
 
Direction directionTo (int vertex) const
 
int vertex (Direction direction) const
 

Public Attributes

int flag
 
int windingA
 
int windingB
 
int first
 
int second
 
double angle
 
double invAngle
 

Detailed Description

Definition at line 84 of file qpathclipper_p.h.

Member Enumeration Documentation

◆ Direction

Enumerator
Forward 
Backward 

Definition at line 92 of file qpathclipper_p.h.

◆ Traversal

Enumerator
RightTraversal 
LeftTraversal 

Definition at line 87 of file qpathclipper_p.h.

◆ Type

Enumerator
Line 
Curve 

Definition at line 97 of file qpathclipper_p.h.

Constructor & Destructor Documentation

◆ QPathEdge()

QPathEdge::QPathEdge ( int a = -1,
int b = -1 )
inlineexplicit

Definition at line 260 of file qpathclipper_p.h.

Member Function Documentation

◆ directionTo()

QPathEdge::Direction QPathEdge::directionTo ( int vertex) const
inline

Definition at line 287 of file qpathclipper_p.h.

References Backward, Forward, and vertex().

+ Here is the call graph for this function:

◆ next()

int QPathEdge::next ( Traversal traversal,
Direction direction ) const
inline

Definition at line 271 of file qpathclipper_p.h.

References direction.

Referenced by QWingedEdge::addEdge().

+ Here is the caller graph for this function:

◆ setNext() [1/2]

void QPathEdge::setNext ( Direction direction,
int next )
inline

Definition at line 281 of file qpathclipper_p.h.

References direction, and next.

◆ setNext() [2/2]

void QPathEdge::setNext ( Traversal traversal,
Direction direction,
int next )
inline

Definition at line 276 of file qpathclipper_p.h.

References direction, and next.

Referenced by QWingedEdge::addEdge().

+ Here is the caller graph for this function:

◆ vertex()

int QPathEdge::vertex ( Direction direction) const
inline

Definition at line 292 of file qpathclipper_p.h.

References Backward, direction, first, and second.

Referenced by add(), QWingedEdge::addEdge(), directionTo(), and QWingedEdge::next().

+ Here is the caller graph for this function:

Member Data Documentation

◆ angle

double QPathEdge::angle

Definition at line 112 of file qpathclipper_p.h.

Referenced by QWingedEdge::addEdge().

◆ first

int QPathEdge::first

Definition at line 109 of file qpathclipper_p.h.

Referenced by commonEdge(), findCrossings(), QWingedEdge::isInside(), and vertex().

◆ flag

int QPathEdge::flag
mutable

◆ invAngle

double QPathEdge::invAngle

Definition at line 113 of file qpathclipper_p.h.

Referenced by QWingedEdge::addEdge().

◆ second

int QPathEdge::second

Definition at line 110 of file qpathclipper_p.h.

Referenced by commonEdge(), findCrossings(), QWingedEdge::isInside(), and vertex().

◆ windingA

int QPathEdge::windingA

Definition at line 106 of file qpathclipper_p.h.

◆ windingB

int QPathEdge::windingB

Definition at line 107 of file qpathclipper_p.h.


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