RobustDeterminant.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************
*
* Last port: algorithm/RobustDeterminant.java 1.15 (JTS-1.10)
*
**********************************************************************/
#pragma once
#include <geos/export.h>
namespace geos {
namespace algorithm { // geos::algorithm
class GEOS_DLL RobustDeterminant {
public:
static int signOfDet2x2(double x1, double y1, double x2, double y2);
};
} // namespace geos::algorithm
} // namespace geos
geos::algorithm::RobustDeterminant
Implements an algorithm to compute the sign of a 2x2 determinant for double precision values robustly...
Definition RobustDeterminant.h:50
geos::algorithm::RobustDeterminant::signOfDet2x2
static int signOfDet2x2(double x1, double y1, double x2, double y2)
Computes the sign of the determinant of the 2x2 matrix with the given entries, in a robust way.
geos::algorithm
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:32
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38