QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions
geomfunction.h File Reference
#include "util.h"
Include dependency graph for geomfunction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pal
 

Functions

bool pal::computeLineIntersection (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, double *x, double *y)
 
int pal::convexHullId (int *id, const double *const x, const double *const y, int n, int *&cHull)
 
double pal::cross_product (double x1, double y1, double x2, double y2, double x3, double y3)
 
double pal::dist_euc2d (double x1, double y1, double x2, double y2)
 
double pal::dist_euc2d_sq (double x1, double y1, double x2, double y2)
 
void pal::findLineCircleIntersection (double cx, double cy, double radius, double x1, double y1, double x2, double y2, double &xRes, double &yRes)
 
bool pal::isSegIntersects (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
 
int pal::reorderPolygon (int nbPoints, double *x, double *y)