mercator  0.4.0
A terrain generation library for the Worldforge system.
Mercator::EdgeAtZ Class Reference

The edge of an area parallel to the x axis. More...

Public Member Functions

 EdgeAtZ (WFMath::CoordType y)
 
bool operator() (const Edge &u, const Edge &v) const
 Determine which edge crosses this edge at a lower x coordinate. More...
 

Detailed Description

The edge of an area parallel to the x axis.

Definition at line 92 of file AreaShader.cpp.

Constructor & Destructor Documentation

◆ EdgeAtZ()

Mercator::EdgeAtZ::EdgeAtZ ( WFMath::CoordType  y)
inlineexplicit

Constructor

Parameters
ycoordinate on the y axis of the edge.

Definition at line 98 of file AreaShader.cpp.

Member Function Documentation

◆ operator()()

bool Mercator::EdgeAtZ::operator() ( const Edge u,
const Edge v 
) const
inline

Determine which edge crosses this edge at a lower x coordinate.

Definition at line 101 of file AreaShader.cpp.

References Mercator::Edge::end(), Mercator::Buffer< DataType >::getSize(), and Mercator::Edge::xValueAtZ().


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