GEOS  3.9.1dev
Public Types | Static Public Member Functions | List of all members
geos::geom::Position Class Reference

A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area). More...

#include <Position.h>

Public Types

enum  { ON = 0, LEFT, RIGHT }
 

Static Public Member Functions

static int opposite (int position)
 Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise. More...
 

Detailed Description

A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area).

Definition at line 39 of file Position.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ON 

An indicator that a Location is on a GraphComponent.

LEFT 

An indicator that a Location is to the left of a GraphComponent.

RIGHT 

An indicator that a Location is to the right of a GraphComponent.

Definition at line 41 of file Position.h.

Member Function Documentation

static int geos::geom::Position::opposite ( int  position)
static

Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise.


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