Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
PCK.h File Reference

Utilities to write geometric predicates (Predicate Construction Kit). More...

#include <geogram/basic/common.h>
#include <geogram/basic/numeric.h>
#include <geogram/basic/logger.h>
#include <functional>
#include <algorithm>
#include <atomic>

Go to the source code of this file.

Classes

class  GEO::PCK::PredicateStats
 Logs statistics for predicates. The statistics are displayed on exit if the command line flag "sys:statistics" is set. It is used as follows in a predicate: More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 
 GEO::PCK
 PCK (Predicate Construction Kit) implements a set of geometric predicates. PCK uses arithmetic filters (Meyer and Pion), expansion arithmetics (Shewchuk) and simulation of simplicity (Edelsbrunner).
 

Macros

#define SOS_result(x)   [&]()->Sign { return Sign(x); }
 Shorthand for writing lambdas for symbolic perturbations. More...
 

Functions

template<class POINT , class COMPARE , class FUNC1 , class FUNC2 , class FUNC3 , class FUNC4 >
Sign GEO::PCK::SOS (COMPARE compare, const POINT &p1, FUNC1 sos_p1, const POINT &p2, FUNC2 sos_p2, const POINT &p3, FUNC3 sos_p3, const POINT &p4, FUNC4 sos_p4)
 template for writing symbolic perturbation in predicates More...
 

Detailed Description

Utilities to write geometric predicates (Predicate Construction Kit).

Definition in file PCK.h.

Macro Definition Documentation

◆ SOS_result

#define SOS_result (   x)    [&]()->Sign { return Sign(x); }

Shorthand for writing lambdas for symbolic perturbations.

See also
SOS()

Definition at line 145 of file PCK.h.