Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
 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 76 of file qtessellator.cpp.

Constructor & Destructor Documentation

◆ Edge() [1/2]

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

Definition at line 206 of file qtessellator.cpp.

References edge, free, intersect_left, intersect_right, mark, QTessellatorPrivate::Vertices::next(), QTessellatorPrivate::Vertices::operator[](), v0, v1, winding, QTessellator::Vertex::y, y_left, and y_right.

Referenced by QTessellatorPrivate::addEdges().

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

◆ Edge() [2/2]

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

Member Function Documentation

◆ intersect() [1/2]

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

Definition at line 249 of file qtessellator.cpp.

References v0, v1, QTessellator::Vertex::x, and QTessellator::Vertex::y.

◆ intersect() [2/2]

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

◆ isLeftOf() [1/2]

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

Definition at line 299 of file qtessellator.cpp.

References edge, v0, v1, QTessellator::Vertex::x, and QTessellator::Vertex::y.

Referenced by QTessellatorPrivate::Scanline::findEdgePosition(), and QTessellatorPrivate::EdgeSorter::operator()().

Here is the caller graph for this function:

◆ isLeftOf() [2/2]

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

◆ positionAt() [1/2]

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

Definition at line 344 of file qtessellator.cpp.

References v0, v1, QTessellator::Vertex::x, and QTessellator::Vertex::y.

Referenced by QTessellatorPrivate::Scanline::findEdgePosition(), and QTessellatorPrivate::processIntersections().

Here is the caller graph for this function:

◆ positionAt() [2/2]

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

Member Data Documentation

◆ edge

◆ free

bool QTessellatorPrivate::Edge::free

◆ intersect_left

◆ intersect_right

◆ mark

◆ v0

const Vertex * QTessellatorPrivate::Edge::v0

◆ v1

const Vertex * QTessellatorPrivate::Edge::v1

Definition at line 80 of file qtessellator.cpp.

Referenced by Edge(), intersect(), isLeftOf(), and positionAt().

◆ winding

signed int QTessellatorPrivate::Edge::winding

Definition at line 83 of file qtessellator.cpp.

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

◆ y_left

Q27Dot5 QTessellatorPrivate::Edge::y_left

Definition at line 81 of file qtessellator.cpp.

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

◆ y_right

Q27Dot5 QTessellatorPrivate::Edge::y_right

Definition at line 82 of file qtessellator.cpp.

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


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