Uses of Class
org.locationtech.jts.math.DD
Packages that use DD
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
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 DDModifier and TypeMethodDescriptionstatic int
CGAlgorithmsDD.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 DDModifier and TypeFieldDescriptionstatic final DD
DD.E
The value nearest to the constant e (the natural logarithm base).static final DD
DD.NaN
A value representing the result of an operation which does not return a valid number.private static final DD
DD.ONE
static final DD
DD.PI
The value nearest to the constant Pi.static final DD
DD.PI_2
The value nearest to the constant Pi / 2.private static final DD
DD.TEN
static final DD
DD.TWO_PI
The value nearest to the constant 2 * Pi.Methods in org.locationtech.jts.math that return DDModifier and TypeMethodDescriptionDD.abs()
Returns the absolute value of this value.final DD
DD.add
(double y) Returns a new DoubleDouble whose value is (this + y).final DD
Returns a new DoubleDouble whose value is (this + y).DD.ceil()
Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer.static DD
Creates a new DoubleDouble with the value of the argument.private static DD
DD.createNaN()
final DD
DD.divide
(double y) Computes a new DoubleDouble whose value is (this / y).final DD
Computes a new DoubleDouble whose value is (this / y).DD.floor()
Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer.Computes the maximum of this and another DD number.Computes the minimum of this and another DD number.final DD
DD.multiply
(double y) Returns a new DoubleDouble whose value is (this * y).final DD
Returns a new DoubleDouble whose value is (this * y).final DD
DD.negate()
Returns a new DoubleDouble whose value is -this.static DD
Converts a string representation of a real number into a DoubleDouble value.DD.pow
(int exp) Computes the value of this number raised to an integral power.final DD
DD.reciprocal()
Returns a DoubleDouble whose value is 1 / this.DD.rint()
Rounds this value to the nearest integer.final DD
DD.selfAdd
(double y) Adds the argument to the value of this.private final DD
DD.selfAdd
(double yhi, double ylo) final DD
Adds the argument to the value of this.final DD
DD.selfDivide
(double y) Divides this object by the argument, returning this.private final DD
DD.selfDivide
(double yhi, double ylo) final DD
DD.selfDivide
(DD y) Divides this object by the argument, returning this.final DD
DD.selfMultiply
(double y) Multiplies this object by the argument, returning this.private final DD
DD.selfMultiply
(double yhi, double ylo) final DD
DD.selfMultiply
(DD y) Multiplies this object by the argument, returning this.DD.selfSqr()
Squares this object.final DD
DD.selfSubtract
(double y) Subtracts the argument from the value of this.final DD
DD.selfSubtract
(DD y) Subtracts the argument from the value of this.DD.setValue
(double value) Set the value for the DD object.Set the value for the DD object.DD.sqr()
Computes the square of this value.static DD
DD.sqr
(double x) Computes the square of this value.DD.sqrt()
Computes the positive square root of this value.static DD
DD.sqrt
(double x) final DD
DD.subtract
(double y) Computes a new DoubleDouble object whose value is (this - y).final DD
Computes a new DoubleDouble object whose value is (this - y).DD.trunc()
Returns the integer which is largest in absolute value and not further from zero than this value.static DD
DD.valueOf
(double x) Converts the double argument to a DoubleDouble number.static DD
Converts the string argument to a DoubleDouble number.Methods in org.locationtech.jts.math with parameters of type DDModifier and TypeMethodDescriptionfinal DD
Returns a new DoubleDouble whose value is (this + y).static DD
Creates a new DoubleDouble with the value of the argument.final DD
Computes a new DoubleDouble whose value is (this / y).boolean
Tests whether this value is equal to another DoubleDouble value.boolean
Tests whether this value is greater than or equals to another DoubleDouble value.boolean
Tests whether this value is greater than another DoubleDouble value.private final void
boolean
Tests whether this value is less than or equal to another DoubleDouble value.boolean
Tests whether this value is less than another DoubleDouble value.Computes the maximum of this and another DD number.Computes the minimum of this and another DD number.final DD
Returns a new DoubleDouble whose value is (this * y).final DD
Adds the argument to the value of this.final DD
DD.selfDivide
(DD y) Divides this object by the argument, returning this.final DD
DD.selfMultiply
(DD y) Multiplies this object by the argument, returning this.final DD
DD.selfSubtract
(DD y) Subtracts the argument from the value of this.Set the value for the DD object.final DD
Computes a new DoubleDouble object whose value is (this - y).Constructors in org.locationtech.jts.math with parameters of type DD -
Uses of DD in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge that return DDModifier and TypeMethodDescriptionstatic DD
TrianglePredicate.triAreaDDFast
(Coordinate a, Coordinate b, Coordinate c) static DD
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