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
QTessellatorPrivate::Edge Struct Reference
+ Collaboration diagram for QTessellatorPrivate::Edge:

Public Member Functions

 Edge (const Vertices &v, int _edge)
 
bool isLeftOf (const Edge &other, Q27Dot5 y) const
 
Q27Dot5 positionAt (Q27Dot5 y) const
 
bool intersect (const Edge &other, Q27Dot5 *y, bool *det_positive) const
 

Public Attributes

int edge
 
const Vertexv0
 
const Vertexv1
 
Q27Dot5 y_left
 
Q27Dot5 y_right
 
signed int winding: 8
 
bool mark
 
bool free
 
bool intersect_left
 
bool intersect_right
 

Detailed Description

Definition at line 75 of file qtessellator.cpp.

Constructor & Destructor Documentation

◆ Edge()

QTessellatorPrivate::Edge::Edge ( const Vertices & v,
int _edge )

Definition at line 205 of file qtessellator.cpp.

References edge, free, intersect_left, intersect_right, mark, QTessellatorPrivate::Vertices::next(), Q_ASSERT, qSwap(), QTessellatorPrivate::vertices, winding, y_left, and y_right.

+ Here is the call graph for this function:

Member Function Documentation

◆ intersect()

bool QTessellatorPrivate::Edge::intersect ( const Edge & other,
Q27Dot5 * y,
bool * det_positive ) const

Definition at line 248 of file qtessellator.cpp.

References a1, a2, c2, other(), QDEBUG, r1, r2, and sameSign().

+ Here is the call graph for this function:

◆ isLeftOf()

bool QTessellatorPrivate::Edge::isLeftOf ( const Edge & other,
Q27Dot5 y ) const

Definition at line 298 of file qtessellator.cpp.

References a1, a2, c2, other(), and r1.

Referenced by QTessellatorPrivate::EdgeSorter::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ positionAt()

Q27Dot5 QTessellatorPrivate::Edge::positionAt ( Q27Dot5 y) const

Definition at line 343 of file qtessellator.cpp.

References d.

Referenced by QTessellatorPrivate::processIntersections().

+ Here is the caller graph for this function:

Member Data Documentation

◆ edge

◆ free

bool QTessellatorPrivate::Edge::free

Definition at line 84 of file qtessellator.cpp.

Referenced by Edge(), and QTessellatorPrivate::Scanline::removeAt().

◆ intersect_left

bool QTessellatorPrivate::Edge::intersect_left

◆ intersect_right

bool QTessellatorPrivate::Edge::intersect_right

◆ mark

◆ v0

const Vertex* QTessellatorPrivate::Edge::v0

Definition at line 78 of file qtessellator.cpp.

Referenced by QTessellatorPrivate::Scanline::findEdgePosition().

◆ v1

const Vertex* QTessellatorPrivate::Edge::v1

Definition at line 79 of file qtessellator.cpp.

◆ winding

signed int QTessellatorPrivate::Edge::winding

Definition at line 82 of file qtessellator.cpp.

Referenced by Edge(), and QTessellatorPrivate::emitEdges().

◆ y_left

Q27Dot5 QTessellatorPrivate::Edge::y_left

Definition at line 80 of file qtessellator.cpp.

Referenced by Edge(), and QTessellatorPrivate::emitEdges().

◆ y_right

Q27Dot5 QTessellatorPrivate::Edge::y_right

Definition at line 81 of file qtessellator.cpp.

Referenced by Edge(), and QTessellatorPrivate::emitEdges().


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