GEOS 3.8.1
TrianglePredicate.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2012 Excensus LLC.
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************
14 *
15 * Last port: triangulate/quadedge/TrianglePredicate.java r524
16 *
17 **********************************************************************/
18
19#ifndef GEOS_TRIANGULATE_QUADEDGE_TRIANGLEPREDICATE_H
20#define GEOS_TRIANGULATE_QUADEDGE_TRIANGLEPREDICATE_H
21
22namespace geos {
23namespace geom { // geos.geom
24
25class Coordinate;
26
42public:
56 const Coordinate& a, const Coordinate& b, const Coordinate& c,
57 const Coordinate& p);
58
77 const Coordinate& a, const Coordinate& b, const Coordinate& c,
78 const Coordinate& p);
79
80private:
89 static double triArea(const Coordinate& a,
90 const Coordinate& b, const Coordinate& c);
91
92public:
104 static bool isInCircleRobust(
105 const Coordinate& a, const Coordinate& b, const Coordinate& c,
106 const Coordinate& p);
107} ;
108
109} // namespace geos.geom
110} // namespace geos
111
112#endif //GEOS_TRIANGULATE_QUADEDGE_TRIANGLEPREDICATE_H
113
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Definition: TrianglePredicate.h:41
static bool isInCircleNonRobust(const Coordinate &a, const Coordinate &b, const Coordinate &c, const Coordinate &p)
static bool isInCircleRobust(const Coordinate &a, const Coordinate &b, const Coordinate &c, const Coordinate &p)
static bool isInCircleNormalized(const Coordinate &a, const Coordinate &b, const Coordinate &c, const Coordinate &p)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25