Fréchet View  1.6.0
A Tool for Exploring Fréchet Distance Algorithms
frechet::poly::Triangulation::Edge_iterator Class Reference

Detailed Description

edge iterator. Traverses all edges of the triangulation. Derives from TDS::Edge_iterator and supplies some additional information.

Definition at line 238 of file triangulation.h.

#include <triangulation.h>

Inherits Edge_iterator.

Public Member Functions

 Edge_iterator (TDS::Edge_iterator i)
 default constructor More...
 
Vertex_handle vertex1 () const
 
Vertex_handle vertex2 () const
 
QLineF line () const
 
Segment segment () const
 
bool is_outer_edge () const
 
bool is_polygon_edge () const
 
bool is_diagonal () const
 

Constructor & Destructor Documentation

◆ Edge_iterator()

Triangulation::Edge_iterator::Edge_iterator ( TDS::Edge_iterator  i)

default constructor

Parameters
ian edge iterator (base class)

Definition at line 602 of file triangulation.cpp.

Member Function Documentation

◆ is_diagonal()

bool Triangulation::Edge_iterator::is_diagonal ( ) const
Returns
true if the current edge is a diagonal of the polygon

Definition at line 636 of file triangulation.cpp.

◆ is_outer_edge()

bool Triangulation::Edge_iterator::is_outer_edge ( ) const
Returns
true if the current edge is an artifical edge between a polygon vertex and the south-pole

Definition at line 626 of file triangulation.cpp.

◆ is_polygon_edge()

bool Triangulation::Edge_iterator::is_polygon_edge ( ) const
Returns
true if the current edge is an edge of the polygon curve

Definition at line 631 of file triangulation.cpp.

◆ line()

QLineF Triangulation::Edge_iterator::line ( ) const
Returns
an embedding of the edge in the plane

Definition at line 641 of file triangulation.cpp.

◆ segment()

Segment Triangulation::Edge_iterator::segment ( ) const
Returns
a Segment object, encoding the vertex indices

Definition at line 645 of file triangulation.cpp.

◆ vertex1()

Triangulation::Vertex_handle Triangulation::Edge_iterator::vertex1 ( ) const
Returns
a handle to the first vertex of the edge

Definition at line 618 of file triangulation.cpp.

◆ vertex2()

Triangulation::Vertex_handle Triangulation::Edge_iterator::vertex2 ( ) const
Returns
a handle to the second vertex of the edge

Definition at line 622 of file triangulation.cpp.


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