GEOS 3.6.2
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
42{
43public:
57 const Coordinate &a, const Coordinate &b, const Coordinate &c,
58 const Coordinate &p);
59
78 const Coordinate &a, const Coordinate &b, const Coordinate &c,
79 const Coordinate &p);
80
81private:
90 static double triArea(const Coordinate &a,
91 const Coordinate &b, const Coordinate &c);
92
93public:
105 static bool isInCircleRobust(
106 const Coordinate &a, const Coordinate &b, const Coordinate &c,
107 const Coordinate &p);
108} ;
109
110} // namespace geos.geom
111} // namespace geos
112
113#endif //GEOS_TRIANGULATE_QUADEDGE_TRIANGLEPREDICATE_H
114
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Definition TrianglePredicate.h:42
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)
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25