GEOS  3.9.1dev
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
geos::edgegraph::MarkHalfEdge Class Reference

#include <MarkHalfEdge.h>

Inheritance diagram for geos::edgegraph::MarkHalfEdge:
[legend]
Collaboration diagram for geos::edgegraph::MarkHalfEdge:
[legend]

Public Member Functions

 MarkHalfEdge (const geom::Coordinate &p_orig)
 
bool isMarked () const
 
void mark ()
 
void setMark (bool p_isMarked)
 
- Public Member Functions inherited from geos::edgegraph::HalfEdge
 HalfEdge (const geom::Coordinate &p_orig)
 
virtual ~HalfEdge ()
 
void link (HalfEdge *p_sym)
 
const geom::Coordinateorig () const
 
const geom::Coordinatedest () const
 
double directionX () const
 
double directionY () const
 
HalfEdgesym () const
 
HalfEdgenext () const
 
HalfEdgeprev () const
 
HalfEdgeoNext () const
 
void setNext (HalfEdge *e)
 
HalfEdgefind (const geom::Coordinate &dest)
 
bool equals (const geom::Coordinate &p0, const geom::Coordinate &p1) const
 
void insert (HalfEdge *eAdd)
 
bool isEdgesSorted () const
 
int compareAngularDirection (const HalfEdge *e) const
 
int compareTo (const HalfEdge *e) const
 
int degree ()
 
HalfEdgeprevNode ()
 

Static Public Member Functions

static bool isMarked (HalfEdge *e)
 
static void mark (HalfEdge *e)
 
static void setMark (HalfEdge *e, bool isMarked)
 
static void setMarkBoth (HalfEdge *e, bool isMarked)
 
static void markBoth (HalfEdge *e)
 
- Static Public Member Functions inherited from geos::edgegraph::HalfEdge
static HalfEdgecreate (const geom::Coordinate &p0, const geom::Coordinate &p1)
 
static void toStringNode (const HalfEdge *he, std::ostream &os)
 

Private Attributes

bool m_isMarked
 

Additional Inherited Members

- Protected Member Functions inherited from geos::edgegraph::HalfEdge
virtual const geom::CoordinatedirectionPt () const
 

Detailed Description

Definition at line 34 of file MarkHalfEdge.h.

Constructor & Destructor Documentation

geos::edgegraph::MarkHalfEdge::MarkHalfEdge ( const geom::Coordinate p_orig)
inline

Creates a new marked edge.

Parameters
origthe coordinate of the edge origin

Definition at line 47 of file MarkHalfEdge.h.

Member Function Documentation

static bool geos::edgegraph::MarkHalfEdge::isMarked ( HalfEdge e)
static

Tests whether the given edge is marked.

Parameters
ethe edge to test
Returns
true if the edge is marked
bool geos::edgegraph::MarkHalfEdge::isMarked ( ) const
inline

Tests whether this edge is marked.

Returns
true if this edge is marked

Definition at line 95 of file MarkHalfEdge.h.

static void geos::edgegraph::MarkHalfEdge::mark ( HalfEdge e)
static

Marks the given edge.

Parameters
ethe edge to mark
void geos::edgegraph::MarkHalfEdge::mark ( )
inline

Marks this edge.

Definition at line 101 of file MarkHalfEdge.h.

static void geos::edgegraph::MarkHalfEdge::markBoth ( HalfEdge e)
static

Marks the edges in a pair.

Parameters
ean edge of the pair to mark
static void geos::edgegraph::MarkHalfEdge::setMark ( HalfEdge e,
bool  isMarked 
)
static

Sets the mark for the given edge to a boolean value.

Parameters
ethe edge to set
isMarkedthe mark value
void geos::edgegraph::MarkHalfEdge::setMark ( bool  p_isMarked)
inline

Sets the value of the mark on this edge.

Parameters
isMarkedthe mark value to set

Definition at line 108 of file MarkHalfEdge.h.

static void geos::edgegraph::MarkHalfEdge::setMarkBoth ( HalfEdge e,
bool  isMarked 
)
static

Sets the mark for the given edge pair to a boolean value.

Parameters
ean edge of the pair to update
isMarkedthe mark value to set

Member Data Documentation

bool geos::edgegraph::MarkHalfEdge::m_isMarked
private

Definition at line 38 of file MarkHalfEdge.h.


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