Uses of Class
org.locationtech.jts.math.DD
-
Packages that use DD Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.math org.locationtech.jts.triangulate.quadedge Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams. -
-
Uses of DD in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm with parameters of type DD Modifier and Type Method Description static intCGAlgorithmsDD. signOfDet2x2(DD x1, DD y1, DD x2, DD y2)Computes the sign of the determinant of the 2x2 matrix with the given entries. -
Uses of DD in org.locationtech.jts.math
Fields in org.locationtech.jts.math declared as DD Modifier and Type Field Description static DDDD. EThe value nearest to the constant e (the natural logarithm base).static DDDD. NaNA value representing the result of an operation which does not return a valid number.static DDDD. PIThe value nearest to the constant Pi.static DDDD. PI_2The value nearest to the constant Pi / 2.static DDDD. TWO_PIThe value nearest to the constant 2 * Pi.Methods in org.locationtech.jts.math that return DD Modifier and Type Method Description DDDD. abs()Returns the absolute value of this value.DDDD. add(double y)Returns a new DoubleDouble whose value is (this + y).DDDD. add(DD y)Returns a new DoubleDouble whose value is (this + y).DDDD. ceil()Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer.static DDDD. copy(DD dd)Creates a new DoubleDouble with the value of the argument.static DDDD. determinant(double x1, double y1, double x2, double y2)Computes the determinant of the 2x2 matrix with the given entries.static DDDD. determinant(DD x1, DD y1, DD x2, DD y2)Computes the determinant of the 2x2 matrix with the given entries.DDDD. divide(double y)Computes a new DoubleDouble whose value is (this / y).DDDD. divide(DD y)Computes a new DoubleDouble whose value is (this / y).DDDD. floor()Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer.DDDD. max(DD x)Computes the maximum of this and another DD number.DDDD. min(DD x)Computes the minimum of this and another DD number.DDDD. multiply(double y)Returns a new DoubleDouble whose value is (this * y).DDDD. multiply(DD y)Returns a new DoubleDouble whose value is (this * y).DDDD. negate()Returns a new DoubleDouble whose value is -this.static DDDD. parse(String str)Converts a string representation of a real number into a DoubleDouble value.DDDD. pow(int exp)Computes the value of this number raised to an integral power.DDDD. reciprocal()Returns a DoubleDouble whose value is 1 / this.DDDD. rint()Rounds this value to the nearest integer.DDDD. selfAdd(double y)Adds the argument to the value of this.DDDD. selfAdd(DD y)Adds the argument to the value of this.DDDD. selfDivide(double y)Divides this object by the argument, returning this.DDDD. selfDivide(DD y)Divides this object by the argument, returning this.DDDD. selfMultiply(double y)Multiplies this object by the argument, returning this.DDDD. selfMultiply(DD y)Multiplies this object by the argument, returning this.DDDD. selfSqr()Squares this object.DDDD. selfSubtract(double y)Subtracts the argument from the value of this.DDDD. selfSubtract(DD y)Subtracts the argument from the value of this.DDDD. setValue(double value)Set the value for the DD object.DDDD. setValue(DD value)Set the value for the DD object.DDDD. sqr()Computes the square of this value.static DDDD. sqr(double x)Computes the square of this value.DDDD. sqrt()Computes the positive square root of this value.static DDDD. sqrt(double x)DDDD. subtract(double y)Computes a new DoubleDouble object whose value is (this - y).DDDD. subtract(DD y)Computes a new DoubleDouble object whose value is (this - y).DDDD. trunc()Returns the integer which is largest in absolute value and not further from zero than this value.static DDDD. valueOf(double x)Converts the double argument to a DoubleDouble number.static DDDD. valueOf(String str)Converts the string argument to a DoubleDouble number.Methods in org.locationtech.jts.math with parameters of type DD Modifier and Type Method Description DDDD. add(DD y)Returns a new DoubleDouble whose value is (this + y).static DDDD. copy(DD dd)Creates a new DoubleDouble with the value of the argument.static DDDD. determinant(DD x1, DD y1, DD x2, DD y2)Computes the determinant of the 2x2 matrix with the given entries.DDDD. divide(DD y)Computes a new DoubleDouble whose value is (this / y).booleanDD. equals(DD y)Tests whether this value is equal to another DoubleDouble value.booleanDD. ge(DD y)Tests whether this value is greater than or equals to another DoubleDouble value.booleanDD. gt(DD y)Tests whether this value is greater than another DoubleDouble value.booleanDD. le(DD y)Tests whether this value is less than or equal to another DoubleDouble value.booleanDD. lt(DD y)Tests whether this value is less than another DoubleDouble value.DDDD. max(DD x)Computes the maximum of this and another DD number.DDDD. min(DD x)Computes the minimum of this and another DD number.DDDD. multiply(DD y)Returns a new DoubleDouble whose value is (this * y).DDDD. selfAdd(DD y)Adds the argument to the value of this.DDDD. selfDivide(DD y)Divides this object by the argument, returning this.DDDD. selfMultiply(DD y)Multiplies this object by the argument, returning this.DDDD. selfSubtract(DD y)Subtracts the argument from the value of this.DDDD. setValue(DD value)Set the value for the DD object.DDDD. subtract(DD y)Computes a new DoubleDouble object whose value is (this - y).Constructors in org.locationtech.jts.math with parameters of type DD Constructor Description DD(DD dd)Creates a new DoubleDouble with value equal to the argument. -
Uses of DD in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge that return DD Modifier and Type Method Description static DDTrianglePredicate. triAreaDDFast(Coordinate a, Coordinate b, Coordinate c)static DDTrianglePredicate. triAreaDDSlow(DD ax, DD ay, DD bx, DD by, DD cx, DD cy)Computes twice the area of the oriented triangle (a, b, c), i.e., the area is positive if the triangle is oriented counterclockwise.Methods in org.locationtech.jts.triangulate.quadedge with parameters of type DD Modifier and Type Method Description static DDTrianglePredicate. triAreaDDSlow(DD ax, DD ay, DD bx, DD by, DD cx, DD cy)Computes twice the area of the oriented triangle (a, b, c), i.e., the area is positive if the triangle is oriented counterclockwise.
-