Static Public Member Functions

SurveyGeometry Class Reference

List of all members.

Static Public Member Functions

static Coord getEdgePoint (const Coord &from, const Coord &to)
static bool hasEdgePoint (const Coord &, const Coord &)

Member Function Documentation

static Coord SurveyGeometry::getEdgePoint ( const Coord from,
const Coord to 
) [static]

Calculates where the line (or extension of it) through the coords exits the survey box. if !hasEdgePoint() returns the nearest corner.

static bool SurveyGeometry::hasEdgePoint ( const Coord ,
const Coord  
) [static]

Calculates whether the line between the coords visits the survey box.